calloutview icon indicating copy to clipboard operation
calloutview copied to clipboard

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

Open awedeebawe opened this issue 10 years ago • 1 comments

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...... :) )

awedeebawe avatar Oct 03 '14 09:10 awedeebawe

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?

nfarina avatar Oct 03 '14 16:10 nfarina