Is there a way to make a map zoom in as far as possible but keeping all of the markers on screen at the same time. I have six markers in a non uniform shape. I was thinking of just taking their centre and locating the map to that, but I still then do not know how far programmatically I can zoom in the map.
These markers change location every time the map is created. Ideally I would have a script that zooms the map in so all are included in the view.
So you understand. I am creating the markers one at a time from json with the following line in a loop.
mMap.addMarker(new MarkerOptions().position(new LatLng(lat,lng)).title(c.getString("title")));