Closed rahils-mitre closed 1 year ago
In the useMapEvent example at the bottom of this page: https://react-leaflet.js.org/docs/api-map/ it should say setView instead of setCenter.
Good catch, thanks for reporting this. Should be fixed now.
In the useMapEvent example at the bottom of this page: https://react-leaflet.js.org/docs/api-map/ it should say setView instead of setCenter.