开发者

How to limit the map in Android?

开发者 https://www.devze.com 2022-12-10 18:25 出处:网络
I\'m developing my first Android application and it is based partly on displaying some information in Google Maps. I\'ve managed to set a new center point and a new default zoom level (the area I want

I'm developing my first Android application and it is based partly on displaying some information in Google Maps. I've managed to set a new center point and a new default zoom level (the area I want to display is a city).

Now is it possible to "lock" that new default view somehow? That is, the user should be able to zoom in/out and pan around开发者_JAVA技巧 only within this default area.


Turns out this is not possible to do.

0

精彩评论

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