Senén
Senén

Reputation: 21

Android Mapview MyLocationOverlay Always drawn on top

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?

Upvotes: 0

Views: 625

Answers (1)

Renard
Renard

Reputation: 6929

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

Upvotes: 2

Related Questions