Files
MapLibreParticleLab/platform/ios/src/MGLUserLocationAnnotationView_Private.h
Jason Wray f489ec2ee1 [ios] Refactored user location annotation into a customizable class (#5882)
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.
2016-08-16 15:16:59 -04:00

16 lines
325 B
Objective-C

#import "MGLUserLocationAnnotationView.h"
#import "MGLUserLocation.h"
NS_ASSUME_NONNULL_BEGIN
@class MGLMapView;
@interface MGLUserLocationAnnotationView (Private)
@property (nonatomic, weak, nullable) MGLUserLocation *userLocation;
@property (nonatomic, weak, nullable) MGLMapView *mapView;
@end
NS_ASSUME_NONNULL_END