> Hi, I want to add a popup menu in google maps. I've a polyline and I > want to show popup menu when I right click on line..
Add a right-click listener to your map http://code.google.com/apis/maps/documentation/reference.html#GMap2.singlerightclick When triggered, examine the passed parameters to see if a polyline was clicked. If so, do whatever it is you want to do. You'd need to make the polyline 'clickable' http://code.google.com/apis/maps/documentation/reference.html#GPolylineOptions cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
