Open awedeebawe opened 10 years ago
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?
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...... :) )