开发者

Change annotations on MKMapView on zoom out

开发者 https://www.devze.com 2023-03-26 08:26 出处:网络
I have some custom annotations and annotation views that I have added on my mapview, I want to swap those with standard pin annotations when the user zooms out.

I have some custom annotations and annotation views that I have added on my mapview, I want to swap those with standard pin annotations when the user zooms out.

At present I am able to detect a zoom out, the bit I'm struggling on is how to do the actual swap. I.e. how do I开发者_C百科 remove the custom annotations and replace them with standard pins.

0

精彩评论

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