From 4f6a94b959e755a1d7cc156122ecccd16ac014ce Mon Sep 17 00:00:00 2001 From: Tim McGee Date: Mon, 11 Apr 2016 10:19:58 -0700 Subject: [PATCH] `currentBasemap` should not be set prior to updating the basemap. --- viewer/js/gis/dijit/Basemaps.js | 1 - 1 file changed, 1 deletion(-) diff --git a/viewer/js/gis/dijit/Basemaps.js b/viewer/js/gis/dijit/Basemaps.js index 3939f845b..18415f7e2 100644 --- a/viewer/js/gis/dijit/Basemaps.js +++ b/viewer/js/gis/dijit/Basemaps.js @@ -142,7 +142,6 @@ define([ startup: function () { this.inherited(arguments); if (this.mapStartBasemap) { - this.currentBasemap = this.mapStartBasemap; if (this.map.getBasemap() !== this.mapStartBasemap) { this.updateBasemap(this.mapStartBasemap); }