You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.
I have extended Arrays using Array.prototype. The added function swap completely breaks Layer Control (leaflet-1.X branch) and adds an overlay with the title "swap" on master branch. On leaflet-1.X branch I get t.on is not a function.
After some searching for a solution I found an open issue in tombatossals/angular-leaflet-directive#1024. Switching from [] to {} in master and leaflet-1.X fixed the error for me.
Should I open a pull request for this?
The text was updated successfully, but these errors were encountered:
v1r0x
added a commit
to v1r0x/ui-leaflet
that referenced
this issue
Jul 10, 2017
Hi,
I have extended Arrays using
Array.prototype
. The added functionswap
completely breaks Layer Control (leaflet-1.X branch) and adds an overlay with the title "swap" on master branch. On leaflet-1.X branch I gett.on is not a function
.After some searching for a solution I found an open issue in tombatossals/angular-leaflet-directive#1024. Switching from
[]
to{}
in master and leaflet-1.X fixed the error for me.Should I open a pull request for this?
The text was updated successfully, but these errors were encountered: