mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-23 04:21:24 +01:00
Better cities and towns labels in 3D view
This commit is contained in:
parent
af1d369e31
commit
5cc2454765
2 changed files with 142 additions and 1 deletions
|
|
@ -82,6 +82,10 @@ async function getMapURL(type, subtype) {
|
|||
const svgDefs = document.getElementById("defElements");
|
||||
|
||||
const isFirefox = navigator.userAgent.toLowerCase().indexOf("firefox") > -1;
|
||||
if (type === "mesh") {
|
||||
clone.select("#labels #burgLabels").remove();
|
||||
clone.select("#icons #burgIcons").remove();
|
||||
}
|
||||
if (isFirefox && type === "mesh") clone.select("#oceanPattern").remove();
|
||||
if (subtype === "globe") clone.select("#scaleBar").remove();
|
||||
if (subtype === "noWater") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue