Swift obtain visible annotations/clusters shown in map
问题 I'm currently developing an app where I load user images as an annotation onto a map. Currently, I use an API to load images in viewForAnnotation for each image annotation and if the user has more than a few thousand photos, this image loading function is called every time and degrades performance significantly. Is there anyway I can obtain just the annotations which are shown on the map currently, i.e. only the annotations and clusters of annotations that are visible to the user? Apple's API