Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[iOS] Wrong annotation type provided when target is near the user location #5743

Closed
whiskey opened this issue Jul 21, 2016 · 3 comments
Closed
Labels
annotations Annotations on iOS and macOS or markers on Android iOS Mapbox Maps SDK for iOS

Comments

@whiskey
Copy link

whiskey commented Jul 21, 2016

Platform:
iOS 9.3

Mapbox SDK version:
Mapbox-iOS-SDK 3.3.1

Steps to trigger behavior

Then I tap on annotations that are within the 'accuracy circle' of the user annotation all delegate calls like mapView(mapView: MGLMapView, annotationCanShowCallout annotation: MGLAnnotation) -> Bool provide me the user annotation instead of the custom annotation of the tapped entity.

screen shot 2016-07-21 at 11 38 15

Expected behavior

annotation parameter in delegate method is not kind of MGLUserLocation when one of the orange annotations is tapped

Actual behavior

annotation parameter is kind of MGLUserLocation

@fabioknoedt
Copy link

Exactly the same for me. Was this bug introduced in 3.3.0 or 3.3.1? In 3.2.3 works fine.

@boundsj boundsj added iOS Mapbox Maps SDK for iOS annotations Annotations on iOS and macOS or markers on Android labels Jul 21, 2016
@boundsj
Copy link
Contributor

boundsj commented Jul 21, 2016

Noting that this appears to be a duplicate of #5571

@1ec5
Copy link
Contributor

1ec5 commented Jul 21, 2016

Yes, duplicate of #5571.

@1ec5 1ec5 closed this as completed Jul 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
annotations Annotations on iOS and macOS or markers on Android iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

4 participants