For Android google maps API V2 how do you set zindex of marker?
Asked Answered
P

1

5

I'm basically trying to figure out how in a cluster of markers to make a marker become selected without clicking on it? Or bring it to the top? I can't seem to find any API methods for this.

Phosphorescence answered 11/1, 2013 at 8:18 Comment(4)
Hi Jeffrey could you find any solution to this problem , Please share i can't find anyLoaiasis
The conclusion I came to at the time is that it wasn't possible.Phosphorescence
@Loaiasis this SO may solve the problem https://mcmap.net/q/544075/-google-maps-v2-marker-zordering-set-to-topTesch
it's possible, use marker.setZIndex(float value)Ehrsam
M
8

There aren't any. Unfortunately, Markers in Google Map API V2 for Android do not have z-indices. They handle their own draw order.

Moffitt answered 5/3, 2013 at 9:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.