summaryrefslogtreecommitdiff
path: root/platform/macos
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/macos
parent787c782749966e89a7da485eae99820c249e1525 (diff)
downloadqtlocation-mapboxgl-0c50da69137c2de26166aa05f983c384588d93ee.tar.gz
[ios, macos] Fix an issue that triggers didSelectAnnotations for MGLAnnotationImage based annotations.
Diffstat (limited to 'platform/macos')
-rw-r--r--platform/macos/src/MGLMapView.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/src/MGLMapView.mm b/platform/macos/src/MGLMapView.mm
index 8df6f4545d..8df6e2969d 100644
--- a/platform/macos/src/MGLMapView.mm
+++ b/platform/macos/src/MGLMapView.mm
@@ -2077,7 +2077,7 @@ public:
return true;
}
- if ([annotation isKindOfClass:[MGLShape class]])
+ if ([annotation isKindOfClass:[MGLMultiPoint class]])
{
return false;
}