sylvainjule / kirby-locator

A simple map & geolocation field, built on top of open-source services and Mapbox. Kirby 3 and 4.
97 stars 14 forks source link

Zooming before picking location is causing error when autoSaveZoom is active #37

Closed Ventricule closed 3 years ago

Ventricule commented 3 years ago

Hello,

I got an error when zooming on the map field before selecting a place.

To reproduce the error set true so saveZoom and autoSaveZoom then zoom the map before picking a location : you will get an error Invalid LatLng object: (undefined, undefined).

Otherwise, it's a great plugin ;)

Ventricule commented 3 years ago

Merci pour le fix ! Et bravo pour ton boulot (tes plugins, mais aussi ton travail en général. Big up pour Qalqalah)