I need to populate my overlay with many (~400) points, add them to PathOverlay and then set the zoom level so that the user could see the whole path on the screen.
One solution would be to keep max longitude, min longitude, min longitude, min longitude and on the end based on these 4 numbers calculate (this is the part I haven't figured out yet, as I don't know how is the int in the setZoom() related to distances on the map) calculate the appropriate zoom level. Then I would use setCenter() method.
Is there any simpler way to do this using OSMDroid? If not, how should I determine correct zoom level?