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

[ios, macos] Display the shape annotation's callout when the center coordinate is off viewport. #10229

Closed
fabian-guerra opened this issue Oct 18, 2017 · 2 comments
Assignees
Labels
annotations Annotations on iOS and macOS or markers on Android iOS Mapbox Maps SDK for iOS

Comments

@fabian-guerra
Copy link
Contributor

For shapes that outbound the current viewport the center coordinate may be outside the current viewport thus will not be able to display the callout when selected.

From this comment's thread two possible solutions would be either pan to the selected shape annotation’s centroid or anchor the callout at the tap location when the centroid is off the current viewport.

/cc @bounds @frederoni @1ec5

@fabian-guerra fabian-guerra self-assigned this Oct 18, 2017
@fabian-guerra fabian-guerra added annotations Annotations on iOS and macOS or markers on Android iOS Mapbox Maps SDK for iOS labels Oct 18, 2017
@fabian-guerra fabian-guerra added this to the ios-v3.7.0 milestone Oct 18, 2017
@lilykaiser
Copy link

Can this be closed?

@fabian-guerra
Copy link
Contributor Author

Fixed in #10255

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

2 participants