Remove unused code.(for3DRender)

This commit is contained in:
Efruz Yıldırır 2023-08-05 14:36:17 +03:00
parent 3804c6522c
commit b583032e0d
2 changed files with 2 additions and 4 deletions

View file

@ -157,8 +157,7 @@ async function getMapURL(type, options = {}) {
noWater = false, noWater = false,
noScaleBar = false, noScaleBar = false,
noIce = false, noIce = false,
fullMap = false, fullMap = false
for3DRender = false
} = options; } = options;
if (fullMap) drawScaleBar(1); if (fullMap) drawScaleBar(1);

View file

@ -427,8 +427,7 @@ window.ThreeD = (function () {
const mapOptions = { const mapOptions = {
noLabels: options.labels3d, noLabels: options.labels3d,
noWater: options.extendedWater, noWater: options.extendedWater,
fullMap: true, fullMap: true
for3DRender: true
}; };
const url = await getMapURL("mesh",mapOptions); const url = await getMapURL("mesh",mapOptions);
const canvas = document.createElement("canvas"); const canvas = document.createElement("canvas");