How programmatically show Google Maps v2 toolbar
Asked Answered
M

0

6

I'm trying to display the toolbar on Google Maps v2 but it's only work when I touch on Marker.

I'm already implemented Litle mode and worked, but I also need user interaction (drag).

What I've tried:

  • Force marker click

  • Force showInfoWindow();

Anyone knows how to do that?

Thanks!

enter image description here

Mountbatten answered 6/2, 2015 at 13:33 Comment(2)
Have you tried setting setMapToolbarEnabled(boolean) to true?Acord
@Acord That enables to toolbar, but does not necessarily show it. The toolbar is only shown when a Marker is selected by the user. I have not found a way to show the toolbar programmatically.Esma

© 2022 - 2024 — McMap. All rights reserved.