cloudybay / leaflet.latlng-graticule

Lat/Lon Graticule for Leaflet map
MIT License
56 stars 40 forks source link

Do not seems to work with Leaflet 1.0.3 #6

Closed Victs closed 7 years ago

Victs commented 7 years ago

Just changed Leaflet js version to 1.0.3 in Demo html. Looks that some callback function was not be able to be registered properly. Sorry to say, was not able to resolve it by myself.

gn00672312 commented 7 years ago

Thank you for your report. This plugin is for Leaflet 0.7.7. We haven't upgraded our leaflet yet. I'll check the issue sometime during the week.

gn00672312 commented 7 years ago

Good day. This issue was solved. L.LatLngGraticule extended from L.Class at Leaflet 0.7.7, but new version of Leaflet used L.Layer to replace L.Class. So, we released v1.0 and v1.1 to support it. You could update to v1.1 now.

Victs commented 7 years ago

Thank you for kind reply and quick resolution. Works fine with 1.0.3