We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73fa7ea commit 048db99Copy full SHA for 048db99
platform/ios/src/MGLMapView.mm
@@ -2922,6 +2922,8 @@ - (void)addAnnotations:(NS_ARRAY_OF(id <MGLAnnotation>) *)annotations
2922
MGLAnnotationTag annotationTag = _mbglMap->addAnnotation([multiPoint annotationObjectWithDelegate:self]);
2923
MGLAnnotationContext context;
2924
context.annotation = annotation;
2925
+
2926
+ _annotationTagsByAnnotation[annotation] = annotationTag;
2927
_annotationContextsByAnnotationTag[annotationTag] = context;
2928
2929
[(NSObject *)annotation addObserver:self forKeyPath:@"coordinates" options:0 context:(void *)(NSUInteger)annotationTag];
0 commit comments