Skip to content

Commit

Permalink
#128 Fixed bug raised by sonarcloud.
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwinderg committed Dec 20, 2023
1 parent ec0a489 commit 7d8ae33
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions app/app/public/js/esriMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@ define([
'esri/views/MapView',
'esri/Graphic',
'esri/geometry/Point',
], function (
Map,
MapView,
Graphic,
Point,
) {
], function (EsriMap, MapView, Graphic, Point) {
let map = null;
let view = null;

function init() {
// Create the Map with an initial basemap
map = new Map({
map = new EsriMap({
basemap: 'topo-vector',
});
// Create the MapView and reference the Map in the instance
Expand Down

0 comments on commit 7d8ae33

Please sign in to comment.