Update Marker.js
According to the Leaflet documentation, setOpacity must return "this".
This commit is contained in:
parent
001f975b22
commit
bde6b34502
@ -283,6 +283,8 @@ L.Marker = L.Class.extend({
|
||||
if (this._map) {
|
||||
this._updateOpacity();
|
||||
}
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
_updateOpacity: function () {
|
||||
|
Loading…
Reference in New Issue
Block a user