Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Removed esri imports
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresKasekamp committed Aug 17, 2023
1 parent 4d5e7d1 commit 008a38f
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@
// TODO legendi widget

require([
"esri/widgets/Expand",

"esri/Graphic",

"esri/widgets/Sketch/SketchViewModel",

"esri/widgets/CoordinateConversion/support/Conversion",
"esri/geometry/Point",

"./modules/layers.js",
"./modules/scene.js",
Expand All @@ -19,16 +12,9 @@ require([
"./modules/search.js",
"./modules/sketch.js",
], (
Expand,

Graphic,

SketchViewModel,

Conversion,
Point,

layers,
initLayers,
initScene,
initLayerList,
initCoordinates,
Expand All @@ -40,8 +26,8 @@ require([
* Init scene (/w layers) and view
************************************************************/

const graphicsLayer = layers.setupGraphicsLayer();
const communicationTower = layers.setupInternalLayer();
const graphicsLayer = initLayers.setupGraphicsLayer();
const communicationTower = initLayers.setupInternalLayer();

const scene = initScene.setupWebScene(graphicsLayer, communicationTower);
const view = initScene.setupWebView(scene);
Expand Down

0 comments on commit 008a38f

Please sign in to comment.