[ios] Do not allow multipoint annotations to be assigned views
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user