android mapview maximum zoom level only 19

后端 未结 1 779
星月不相逢
星月不相逢 2020-12-11 12:21

I created a simple MapActivity on my android and discovered that its MapView can\'t be zoomed in to more than level 19. The zoom-in button just greys out. Calling the zoomIn

相关标签:
1条回答
  • 2020-12-11 12:37

    The maximum zoom level depends on the area of the map you are in.

    You can get the maximum zoom level available by calling #getMaxZoomLevel() in your MapView. That's the closest zoom you will be able to get, no matter what happens in the official Google Maps application.

    0 讨论(0)
提交回复
热议问题