开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜