Reputation: 1
I used mapbox and swift to add custom markers on the map. Now I want to display these markers one by one on the map, NOT simultaneously.
How can I display these markers one by one on the map in the example below?
Visit https://www.mapbox.com/ios-sdk/maps/examples/annotation-views/
Upvotes: 0
Views: 209
Reputation: 976
The example that you linked to uses the -addAnnotations:
method, which can be used to add an array of MGLAnnotation
objects to a map view. In order to add individual annotations, use the -addAnnotation: method.
Upvotes: 1