Skip to content

Commit

Permalink
Merge pull request #536 from cmv/fix/dont-set-current-basemap
Browse files Browse the repository at this point in the history
`currentBasemap` should not be set prior to updating the basemap.
  • Loading branch information
DavidSpriggs committed Apr 12, 2016
2 parents e7ac203 + 4f6a94b commit 069b500
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion viewer/js/gis/dijit/Basemaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 069b500

Please sign in to comment.