diff --git a/modules/ui/3d.js b/modules/ui/3d.js index 7c43838d..2ca03d3a 100644 --- a/modules/ui/3d.js +++ b/modules/ui/3d.js @@ -351,7 +351,10 @@ function extendWater(width, height) { async function update3dTexture() { if (texture) texture.dispose(); - const url = await getMapURL("mesh"); + const mapOptions = [] + if (options.labels3d) mapOptions.push("noLabels"); + if (options.extendedWater) mapOptions.push("noWater"); + const url = await getMapURL("mesh", mapOptions); window.setTimeout(() => window.URL.revokeObjectURL(url), 3000); texture = new THREE.TextureLoader().load(url, render); material.map = texture;