Better cities and towns labels in 3D view

This commit is contained in:
Rayzeq 2021-06-21 16:15:27 +02:00
parent af1d369e31
commit 5cc2454765
2 changed files with 142 additions and 1 deletions

View file

@ -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") {