You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Handle transfer of annotations from one container view to another #5212
In #5194 we added a container view to hold annotation objects. This allowed us to use a strategy of adding all annotation views to the container view before adding it the container to the map as a subview. This resulted in a dramatic speed gain for annotation subview additions to the container. When additional subviews are added, that implementation expects to be able to take all of the subviews from the previous container and add them to a new container (enjoying the same speed benefit as when the annotation subviews were added the first time). However, even when the annotation views are removed from the previous container view, they trigger the trigger the UIKit Visitor performance issue. We should investigate more to support this case of N+1 annotation views. In the meantime, the workaround (when dealing with annotation views at scale) is to simply remove all existing annotation views and re-add all of them when you add any additional views.
Activity
stale commentedon Nov 20, 2018
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.