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.
精彩评论