Closed andreinechaev closed 9 years ago
I tried to attach zPositions to different types of annotations but without stable result. It seems that every time it redraws the map and all annotations on it. And somehow adjust default zPositions to layers. iOS8.0-8.3 MapBox 1.6.1
I found a method, which should be overridden for sorting annotation layers. Closing the issue.
Yep, you want the delegate method:
https://www.mapbox.com/mapbox-ios-sdk/api/Protocols/RMMapViewDelegate.html#//api/name/annotationSortingComparatorForMapView:
I tried to attach zPositions to different types of annotations but without stable result. It seems that every time it redraws the map and all annotations on it. And somehow adjust default zPositions to layers. iOS8.0-8.3 MapBox 1.6.1