WraithLux
WraithLux

Reputation: 699

How to detect current zoom level on map view?

I have a map view that draws radius overlay from current location. But for that, I need to know current zoomlevel on the map. How can I do this?

Upvotes: 1

Views: 3282

Answers (4)

quilkin
quilkin

Reputation: 1427

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

Upvotes: 1

abhi
abhi

Reputation: 513

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

Upvotes: 0

Martyn
Martyn

Reputation: 16622

Use the function:

mapView.getZoomLevel()

Upvotes: 1

anujprashar
anujprashar

Reputation: 6335

Use getZoomLevel() method of MapView class.

Upvotes: 7

Related Questions