Closed sw1mming closed 8 years ago
This is the repository for the former Mapbox iOS SDK that displays raster map tiles. The “Mapbox-iOS-SDK” pod installs a newer SDK that displays vector map tiles; please report bugs in that SDK in the mapbox/mapbox-gl-native repository.
Regarding the issue you’re seeing, you need to implement -mapView:annotationCanShowCallout:
in your MGLMapViewDelegate to return YES
in order for a callout to appear when the annotation is selected. The annotation also needs to have a title.
I'm using pods to load Mapbox: pod 'Mapbox-iOS-SDK', '~> 3.0'
And when I'm trying call method:
it doesn't work.
Annotation is on screen and I pass actual annotation object to this method.