开发者

Android MapView zoom level doesn't exceed 19? [duplicate]

开发者 https://www.devze.com 2023-02-16 15:38 出处:网络
This question already has an answer here: android mapview maximum zoom level only 19 (1 answer) Closed 2 years ago.
This question already has an answer here: android mapview maximum zoom level only 19 (1 answer) Closed 2 years ago.

I am have just completed the hello-mapview tutorial and I am confused by the max zoom levels I can achieve. The documentation for the MapController class states that the zoom can go up to level 21 however I cannot seem to exceed 19. I also notice that the google Maps app from the market can go 2 extra zoom levels. Is there a way that I can get these extra two zoom level开发者_如何学Cs?


Try using:

// decrement it until you get map visible...
controller.setZoom(map.getMaxZoomLevel() - 1) 
0

精彩评论

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