简体   繁体   中英

How to prevent entire map from loading in IOS

I have a mapview with many annotations which loads when the user touches a button. The problem is that loading and populating the map with all the annotations already takes a long time. Is there a way to prevent unused areas of the map from loading in IOS? Is there a way to load only the part of the map that I am using on my App? Thanks

The more annotations you have the slower the map will be. I recommend either showing less annotations at a time or clustering annotations. Here are a few cocoapods that do annotation clustering

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM