Assigned
Status Update
Comments
ra...@google.com <ra...@google.com> #2
Thanks for this report.
It seems that you are using addListener
, hence contextmenu
is not working. Can I please confirm? If so, could you please use addEventListener
instead? It seems that contextmenu is being fired. Here's a sample demo:
ca...@gmail.com <ca...@gmail.com> #3
Yes I am using addListener
since addEventListener
is only available using the beta. Is there a non-beta way to listen for contextmenu
events?
Description
Add a contextmenu event for advanced markers.
Using the now deprecated markers I could detect right clicks on markers with
This does not seem to work for advanced markers.
When I checked the documentation, advanced markers only seem to have events for click, drag, dragstart, drangend, and gmp-click. I can't migrate to advanced markers until contextmenu events are also detected.