Autofit map
-
Hi,
I saw that the markerclusterer.js script uses the map.fitBounds() function to fit markers into a marker cluster.
I would like it if auto-zoom and auto-center were possible for all markers on the map (with selection in the admin area).
map.fitBounds(boundaries); // auto zoom
map.panToBounds(boundaries); // auto centerThank you,
- The topic ‘Autofit map’ is closed to new replies.