Hi I'm currently attempting to display multiple points on google maps. Everything works fine apart for the zooming feature. I cannot work out how to set the zoom so it displays all the points. The code displays well if the points are close, but if there far away it doesn't. I've searched around but cant find anything.
Any help?
Marker storeMarker = mMap.addMarker(new MarkerOptions().position(latLng).title(name).snippet("test"));
CameraUpdate center = CameraUpdateFactory.newLatLng(new LatLng(lat, lng));
CameraUpdate zoom = CameraUpdateFactory.zoomTo(10);
mMap.moveCamera(center);
mMap.animateCamera(zoom);