Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How perform click operation on marker custom info window on google map V2 in android

I am implementing google map V2 in my app.I have added custom info window to marker.There are three images cancel,delete & edit.

onclick, cancel image window hide. delete data delete & on edit dialog open for editing.

My problem is, how perform click operation on on these images?

Image

like image 390
user2251725 Avatar asked May 17 '13 07:05

user2251725


People also ask

How do I change the marker on Google Maps Android?

For adding a custom marker to Google Maps navigate to the app > res > drawable > Right-Click on it > New > Vector Assets and select the icon which we have to show on your Map. You can change the color according to our requirements. After creating this icon now we will move towards adding this marker to our Map.


1 Answers

There is no direct way to do it, but there seems to be workaround for this (which I haven't tested myself yet). You may see a long description in this answer: https://stackoverflow.com/a/15040761/2183804.

like image 173
MaciejGórski Avatar answered Oct 02 '22 00:10

MaciejGórski