arthur-e / Wicket

A modest library for moving between Well-Known Text (WKT) and various framework geometries
https://arthur-e.github.io/Wicket/
Other
586 stars 226 forks source link

Latest leaflet compatibility #126

Closed nickescallon closed 6 years ago

nickescallon commented 6 years ago

leaflet changed the API for coordsToLatLngs in v1.x.

removed line: https://github.com/Leaflet/Leaflet/commit/703ae02aa8cbd0b87be5b01e77754b83ad732267#diff-cd7cdd28f50ed77d5b608a3b1d53e45bL223

added line: https://github.com/Leaflet/Leaflet/commit/703ae02aa8cbd0b87be5b01e77754b83ad732267#diff-cd7cdd28f50ed77d5b608a3b1d53e45bR235

My changes here just use the new API and reintroduce https://github.com/arthur-e/Wicket/pull/98

nickescallon commented 6 years ago

@arthur-e just requesting an npm publish if we merge this as otherwise we need to link to the specific commit.

arthur-e commented 6 years ago

Thanks so much! I will attempt to revive my knowledge about how to update npm now.

arthur-e commented 6 years ago

Great! I re-learned how to publish it to npm. Thank you, internets. And thank you @nickescallon for your patch.