[ios, macos] Fix an issue that triggers didSelectAnnotations for MGLAnnotationImage based annotations.
This commit is contained in:
committed by
Fabian Guerra Soto
parent
787c782749
commit
0c50da6913
@@ -4046,7 +4046,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
if ([annotation isKindOfClass:[MGLShape class]])
|
||||
if ([annotation isKindOfClass:[MGLMultiPoint class]])
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -2077,7 +2077,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
if ([annotation isKindOfClass:[MGLShape class]])
|
||||
if ([annotation isKindOfClass:[MGLMultiPoint class]])
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user