title: Android calculate bounding box for mapview
body: <p>I am not using Google maps or Openstreet maps. I am using another <a href="https://github.com/tangrams/tangram-es/tree/master/android" rel="nofollow">third party custom maps</a> which do not provide any bounding box classes or methods. So What i want to achieve is to zoom to fit all markers on the map or zoom to route drawn on map. Like Google provide <code>LatLngBounds bounds = mMap.getProjection().getVisibleRegion().latLngBounds;</code> classes and OpenStreetMaps provides <code>zoomToBoundingBox()</code> to achieve this functionality. I only have latlng points and map dimensions width/height. How can i calculate bounds or bounding box zoom level for markers or route drawn on map to fit it to screen? Any formula or mathematical calculations?</p>