diff options
Diffstat (limited to 'platform/ios/src/MGLMapView.h')
-rw-r--r-- | platform/ios/src/MGLMapView.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h index 0339a5457b..9435564942 100644 --- a/platform/ios/src/MGLMapView.h +++ b/platform/ios/src/MGLMapView.h @@ -8,6 +8,7 @@ NS_ASSUME_NONNULL_BEGIN +@class MGLAnnotationView; @class MGLAnnotationImage; @class MGLUserLocation; @class MGLPolyline; @@ -931,6 +932,8 @@ IB_DESIGNABLE */ - (nullable MGLAnnotationImage *)dequeueReusableAnnotationImageWithIdentifier:(NSString *)identifier; +- (nullable MGLAnnotationView *)dequeueReusableAnnotationViewWithIdentifier:(NSString *)identifier; + #pragma mark Managing Annotation Selections /** @@ -1151,6 +1154,8 @@ IB_DESIGNABLE #pragma mark Managing the Display of Annotations +- (nullable MGLAnnotationView *)mapView:(MGLMapView *)mapView viewForAnnotation:(id <MGLAnnotation>)annotation; + /** Returns an image object to use for the marker for the specified point annotation object. |