开发者

How to detect current zoom level on map view?

I have a map view that draws radius overlay from current lo开发者_如何学Gocation. But for that, I need to know current zoomlevel on the map. How can I do this?


Use getZoomLevel() method of MapView class.


Use the function:

mapView.getZoomLevel()


getZoomLevel() is deprecated now (v 6+) Use getZoomLevelDouble() instead.


In MapView Class, call method - getZoomLevel(). It returns the current zoom level of the map.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜