swift - Add text under markers in mapbox ios -


i'm using mapbox sdk in ios app (using swift). want label show under every marker this:

enter image description here

i couldn't find anywhere in docs or on stackoverflow how can achieve that. tried make text part of marker image, text not resize way , things mess when markers close (or when zoom out).

does know how can make happen?

right now, you'll want @ the gl style level using mapbox studio — not dynamic annotations.

doing in style allows labels recalculated , customized based on surrounding data , map state, whereas annotations aren't customizable.


Comments