Mapkit: Only show annotations in current view

Posted by Nic Hubbard on Stack Overflow See other posts from Stack Overflow or by Nic Hubbard
Published on 2010-05-03T17:22:17Z Indexed on 2010/05/03 17:28 UTC
Read the original article Hit count: 457

Filed under:
|
|
|

Instead of loading all annotations that are in my array, I would only like to load the annotations that the user could currently see cased on how far they are zoomed in on the map. So, if the user pans to a place where there are annotations, those would be added, and if they pan away, those would be removed. I assume this would help with memory.

Does anyone know how to do something like this? And, is it worth it, or needed?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk