Google map v2 api: how to show a specific map area
I am using google map api v2. I'd like to show a specific map area based on map bound (northeast and southwest coordinates). However, google map api v2 only supports setCenter() method. Is there any formula to calcul开发者_C百科ate center position based on map area?
Use the map's GetBounds()
method from which you can get the center along with other information.
精彩评论