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.
MGLPointAnnotation's do not appear when added asynchronously #2693
I'm using 2.1.2 as pulled down using Cocoapods. Perhaps there's an issue with pod. I'll have a go at using the latest binary/src and see if the issue is resolved for me.
It appears my local test project was using a newer version than 2.1.2, which indicates this has been fixed in master by some aspect of the recent annotation refactoring.
Until the 2.2.0 release, the solution here is to load annotations only after the map has finished loading itself, which, coincidentally, is also difficult to wrangle until 2.2.0. This is a sloppy hack, but...
Activity
friedbunny commentedon Oct 21, 2015
This looks like an issue that was fixed in #2289 — can you confirm that you're using >=v2.1.0, @Jtango18? The code here works as expected for me.
Jtango18 commentedon Oct 21, 2015
I'm using 2.1.2 as pulled down using Cocoapods. Perhaps there's an issue with pod. I'll have a go at using the latest binary/src and see if the issue is resolved for me.
Jtango18 commentedon Oct 22, 2015
Just created a brand new project and added MapBox via Binary linking method. Same problem.
Before Zooming

After Zooming

friedbunny commentedon Oct 22, 2015
It appears my local test project was using a newer version than 2.1.2, which indicates this has been fixed in master by some aspect of the recent annotation refactoring.
Until the 2.2.0 release, the solution here is to load annotations only after the map has finished loading itself, which, coincidentally, is also difficult to wrangle until 2.2.0. This is a sloppy hack, but...
Jtango18 commentedon Oct 22, 2015
Thanks for all the help. I've been looking at MapBox as a crop in replacement for MapKit. Might stick with MapKit until 2.2.0