Can you offer an option to auto-center the map? Given a few geo-locations are provided in the map, your plugin could automatically compute the bounds that contain all these locations and then zoom the map automatically to it. (cf. https://leafletjs.com/reference.html#map-fitbounds)
This frees the user from manually specifying the center of the map.
Can you offer an option to auto-center the map? Given a few geo-locations are provided in the map, your plugin could automatically compute the bounds that contain all these locations and then zoom the map automatically to it. (cf. https://leafletjs.com/reference.html#map-fitbounds)
This frees the user from manually specifying the center of the map.