Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using this library on Google Maps #726

Open
glaukon-ariston opened this issue Jul 1, 2020 · 0 comments
Open

Using this library on Google Maps #726

glaukon-ariston opened this issue Jul 1, 2020 · 0 comments

Comments

@glaukon-ariston
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant