diff options
-rw-r--r-- | platform/ios/MGLMapView.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm index e805f84f08..81b8fc886b 100644 --- a/platform/ios/MGLMapView.mm +++ b/platform/ios/MGLMapView.mm @@ -1453,6 +1453,11 @@ std::chrono::steady_clock::duration secondsAsDuration(float duration) } } +- (BOOL)calloutViewShouldHighlight:(__unused SMCalloutView *)calloutView +{ + return [self.delegate respondsToSelector:@selector(mapView:tapOnCalloutForAnnotation:)]; +} + - (void)calloutViewClicked:(__unused SMCalloutView *)calloutView { if ([self.delegate respondsToSelector:@selector(mapView:tapOnCalloutForAnnotation:)]) |