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

reposition map on iOS to properly show callouts #5769

Closed
incanus opened this issue Jul 22, 2016 · 1 comment
Closed

reposition map on iOS to properly show callouts #5769

incanus opened this issue Jul 22, 2016 · 1 comment
Labels
feature GL JS parity For feature parity with Mapbox GL JS iOS Mapbox Maps SDK for iOS

Comments

@incanus
Copy link
Contributor

incanus commented Jul 22, 2016

Lost from the raster version is SMCalloutView's ability to reposition the map slightly between annotation selection time and callout presentation time. Without this, tapping or selection an annotation near the map edge could cut off the callout.

screen shot 2016-07-22 at 3 10 33 pm

What should happen is the map should pan slightly automatically, then present the callout.

The relevant API in the old SDK's callout is here.

Related: #2412 #3154

@incanus incanus added feature GL JS parity For feature parity with Mapbox GL JS iOS Mapbox Maps SDK for iOS labels Jul 22, 2016
@1ec5
Copy link
Contributor

1ec5 commented Jul 22, 2016

Duplicate of #3249.

@1ec5 1ec5 closed this as completed Jul 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature GL JS parity For feature parity with Mapbox GL JS iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

2 participants