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.
For Android google maps API V2 how do you set zindex of marker?
Asked Answered
Hi Jeffrey could you find any solution to this problem , Please share i can't find any –
Loaiasis
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-top –
Tesch
it's possible, use marker.setZIndex(float value) –
Ehrsam
There aren't any. Unfortunately, Marker
s in Google Map API V2 for Android do not have z-indices. They handle their own draw order.
© 2022 - 2024 — McMap. All rights reserved.