summaryrefslogtreecommitdiff
path: root/platform/ios
diff options
context:
space:
mode:
authorFabian Guerra <fabian.guerra@mapbox.com>2017-11-22 17:40:50 -0500
committerFabian Guerra Soto <fabian.guerra@mapbox.com>2017-11-30 14:31:30 -0500
commit0c50da69137c2de26166aa05f983c384588d93ee (patch)
treedc0974e11a004f357e02bf9353794427084c4986 /platform/ios
parent787c782749966e89a7da485eae99820c249e1525 (diff)
downloadqtlocation-mapboxgl-0c50da69137c2de26166aa05f983c384588d93ee.tar.gz
[ios, macos] Fix an issue that triggers didSelectAnnotations for MGLAnnotationImage based annotations.
Diffstat (limited to 'platform/ios')
-rw-r--r--platform/ios/src/MGLMapView.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm
index faff12f02f..f9690c70f0 100644
--- a/platform/ios/src/MGLMapView.mm
+++ b/platform/ios/src/MGLMapView.mm
@@ -4046,7 +4046,7 @@ public:
}
else
{
- if ([annotation isKindOfClass:[MGLShape class]])
+ if ([annotation isKindOfClass:[MGLMultiPoint class]])
{
return false;
}