Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not issue, but question: move the callout to follow object? #69

Open
awedeebawe opened this issue Oct 3, 2014 · 1 comment
Open

Not issue, but question: move the callout to follow object? #69

awedeebawe opened this issue Oct 3, 2014 · 1 comment

Comments

@awedeebawe
Copy link

Allright, I use mapbox iOS SDK from source and I added callout to polygons. However the callout appears on top middle of the bounding box of the polygon. And when I zoom in/out, the map and the polygon size changes, but the callout stays "anchored". Can you point me where to look and change code, to make the callout to follow the polygon? (I know markers are anchored objects too and that's why it works there, but the polygons...... :) )

@nfarina
Copy link
Owner

nfarina commented Oct 3, 2014

So typically the callout is presented from "inside" the object it's pointing to; that way it stays attached to the view as the view moves around.

For mapbox, I'm not sure how they do it - they may be repositioning the callout manually? Does the callout follow non-polygon objects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants