Answer the question
In order to leave comments, you need to log in
Place all markers on the map (autodetect center and scale)?
Hello! How to make all markers on the map visible at once? That is, you need to somehow determine the center of the map and its scale by markers. Or are there some built-in methods?
Answer the question
In order to leave comments, you need to log in
This is done by the fitBounds() function. Here 's how to do it!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question