iOS - How to limit the MapView to a specific region?

前端 未结 3 1805
星月不相逢
星月不相逢 2020-11-29 21:38

I have the following problem:

I have a \"drawn map\" (image) which I add to the MapView as an Overlay. No Problem with that.. but I need to limit the MapView to the

3条回答
  •  误落风尘
    2020-11-29 22:19

    I know this is a pretty old question, but to avoid the infinite loop you could try something like this: https://stackoverflow.com/a/4126011/1234011

    Basically set a flag to prevent the callback from firing again if it was you who set the value.

    • Ken

提交回复
热议问题