[ios, macos] Fix an issue that triggers didSelectAnnotations for MGLAnnotationImage based annotations.

This commit is contained in:
Fabian Guerra
2017-11-22 17:40:50 -05:00
committed by Fabian Guerra Soto
parent 787c782749
commit 0c50da6913
2 changed files with 2 additions and 2 deletions

View File

@@ -4046,7 +4046,7 @@ public:
}
else
{
if ([annotation isKindOfClass:[MGLShape class]])
if ([annotation isKindOfClass:[MGLMultiPoint class]])
{
return false;
}

View File

@@ -2077,7 +2077,7 @@ public:
return true;
}
if ([annotation isKindOfClass:[MGLShape class]])
if ([annotation isKindOfClass:[MGLMultiPoint class]])
{
return false;
}