From b583032e0daa9c8c01cee7070a95314e0f630f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Efruz=20Y=C4=B1ld=C4=B1r=C4=B1r?= <30903352+yldrefruz@users.noreply.github.com> Date: Sat, 5 Aug 2023 14:36:17 +0300 Subject: [PATCH] Remove unused code.(for3DRender) --- modules/io/export.js | 3 +-- modules/ui/3d.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/io/export.js b/modules/io/export.js index bcf802ad..4d9f2a88 100644 --- a/modules/io/export.js +++ b/modules/io/export.js @@ -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); diff --git a/modules/ui/3d.js b/modules/ui/3d.js index ffe65299..0fa647f8 100644 --- a/modules/ui/3d.js +++ b/modules/ui/3d.js @@ -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");