You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to use this library on Google Maps. The Google Maps provides google.maps.event.addListener API to register rightclick event and then the callback receives and event object containing pixel (with (x,y) coordinates), latLng and possibly feature object if there is a geo feature under the mouse. I would like to use this data to provide context sensitive menu e.g. if right clicked on a geo feature object to list actions available on that specific object.
Any idea if that's possible out of the box without changing the library?
Here's an old Gmaps-Context-Menu library for Google Maps as an example of how it works.
The text was updated successfully, but these errors were encountered:
I would like to be able to use this library on Google Maps. The Google Maps provides
google.maps.event.addListener
API to registerrightclick
event and then the callback receives andevent
object containingpixel
(with(x,y)
coordinates),latLng
and possiblyfeature
object if there is a geo feature under the mouse. I would like to use this data to provide context sensitive menu e.g. if right clicked on a geo feature object to list actions available on that specific object.Any idea if that's possible out of the box without changing the library?
Here's an old Gmaps-Context-Menu library for Google Maps as an example of how it works.
The text was updated successfully, but these errors were encountered: