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,
noScaleBar = false,
noIce = false,
fullMap = false,
for3DRender = false
fullMap = false
} = options;
if (fullMap) drawScaleBar(1);

View file

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