This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Two annotations with identical coordinates but different titles are considered equal #8351
Labels
annotations
Annotations on iOS and macOS or markers on Android
bug
iOS
Mapbox Maps SDK for iOS
macOS
Mapbox Maps SDK for macOS
MapKit parity
For feature parity with MapKit on iOS or macOS
As of #6559, if you create two MGLPointAnnotations with identical
coordinate
s but differenttitle
s orsubtitle
s, calling-isEqual:
on them will returnYES
. This means you can’t add both to the same map view, the same behavior noted in #7811. The-isEqual:
implementations should consider all the properties of the objects, even ones that don’t get displayed on the map. (For macOS, this includes thetooltip
property.)/cc @frederoni @boundsj
The text was updated successfully, but these errors were encountered: