Skip to content

Commit

Permalink
Merge pull request #427 from jgravois/logo-patch
Browse files Browse the repository at this point in the history
set map._hasEsriLogo to false when a basemap is removed
  • Loading branch information
patrickarlt committed Dec 26, 2014
2 parents 2a509f6 + 1f0d030 commit f9c8a86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Layers/BasemapLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@
onRemove: function(map){
if(this._logo){
map.removeControl(this._logo);
map._hasEsriLogo = false;
}

L.TileLayer.prototype.onRemove.call(this, map);
Expand Down

0 comments on commit f9c8a86

Please sign in to comment.