diff options
Diffstat (limited to 'platform/ios/src/MGLMapView.mm')
-rw-r--r-- | platform/ios/src/MGLMapView.mm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index 4c3e192c1e..60ba726e4f 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -4547,7 +4547,13 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration) MGLAnnotationContext &annotationContext = pair.second; MGLAnnotationView *annotationView = annotationContext.annotationView; - + + // Defer to the shape/polygon styling delegate methods + if ([annotationContext.annotation isKindOfClass:[MGLMultiPoint class]]) + { + continue; + } + if (!annotationView) { MGLAnnotationView *annotationView = [self annotationViewForAnnotation:annotationContext.annotation]; |