A new class, `MGLUserLocationAnnotationView`, has been added that inherits from `MGLAnnotationView`. Use a subclass of `MGLUserLocationAnnotationView` to customize the appearance of the user location annotation. Use your custom view with the `MGLMapView.userLocation` annotation via the `-mapView:viewForAnnotation:` delegate method.
6 lines
106 B
Objective-C
6 lines
106 B
Objective-C
#import <Mapbox/Mapbox.h>
|
|
|
|
@interface MBXUserLocationAnnotationView : MGLUserLocationAnnotationView
|
|
|
|
@end
|