Patch Leaflet bug
This has already been fixed for the next release.
This commit is contained in:
parent
6ecb8dbe8e
commit
e8c02b49e4
1 changed files with 1 additions and 1 deletions
2
vendor/assets/leaflet/leaflet.js
vendored
2
vendor/assets/leaflet/leaflet.js
vendored
|
@ -1704,7 +1704,7 @@ L.Map = L.Class.extend({
|
|||
removeLayer: function (layer) {
|
||||
var id = L.stamp(layer);
|
||||
|
||||
if (!this._layers[id]) { return; }
|
||||
if (!this._layers[id]) { return this; }
|
||||
|
||||
if (this._loaded) {
|
||||
layer.onRemove(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue