Android Mapview MyLocationOverlay Always drawn on top

634 Views Asked by At

I have a mapview, with the MyLocationOverlay, and other overlays. MyLocationOverlay is drawn under the other overlays, I want it on top. How can I change that? Is there any option to sort the overlays?

1

There are 1 best solutions below

0
On BEST ANSWER

The z-index of your layers depends on the order you added these layer. So add your MyLocationOverlay last.