mapbox-gl-native icon indicating copy to clipboard operation
mapbox-gl-native copied to clipboard

How to set z-index to a marker in a Android App?

Open zhangkaiyue0701 opened this issue 10 years ago • 3 comments

How to set z-index to a marker? And how to draw a circle on the mapview?

zhangkaiyue0701 avatar Aug 19 '16 03:08 zhangkaiyue0701

Re. Z-index marker

Can you clarify which type of marker you are using? Marker extending from Marker of MarkerView?

Re. Circle

we currently don't expose a addCircle method directly on MapboxMap but we support adding circles through runtime styling. I made an example for this in #8086. The feature request to add this as a separate feature is tracked in #2167 .

tobrun avatar Aug 19 '16 10:08 tobrun

Marker extends from Annotation.

zhangkaiyue0701 avatar Aug 23 '16 02:08 zhangkaiyue0701

#1728 is the issue that tracks a z-index API for annotations.

jfirebaugh avatar Sep 21 '16 23:09 jfirebaugh