Android Question Add Popupmenu to Marker

John Calhoun

Member
Licensed User
Is there a way to add a popupmenu to a google map marker so that the popupmenu shows when the marker is selected?

Thanks,

--msgball
 

DonManfred

Expert
Licensed User
Longtime User
As far as i know: NO
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
popupmenu shows when the marker is selected
no, but you can program your own solution. For example you have a panel in this panel you have your views you want. This Panel is hidden under the activity, if you click the marker, then is trigger an click event, with this event you have a tag, in this tag you can store informations about this marker and you can build for example your query to the popup with the tag value. (get informations from a sqlite with this query for example) Then you can program a slide in animation for the panel and you have a nice own solution for your custom marker popup menu.

I use this method in my Apps and i can expand according to my wishes.
 
Upvote 0
Top