AdvancedMarker on mouseover event #286
Replies: 7 comments 5 replies
-
You're bringing up a good point. I think the I'll add a ticket to address this. |
Beta Was this translation helpful? Give feedback.
-
Same request! |
Beta Was this translation helpful? Give feedback.
-
Same request. |
Beta Was this translation helpful? Give feedback.
-
I noticed the onMouseEnter and onMouseLeave functions for AdvancedMarker 3 days ago. Hopefully, we will have a release soon. 👍 |
Beta Was this translation helpful? Give feedback.
-
I just released the 1.2.0 version containing the new AdvancedMarker implementation which now supports the enter/leave events. |
Beta Was this translation helpful? Give feedback.
-
Workaround and a quick how to get it working. This is our start. -> https://jsfiddle.net/gh/get/library/pure/googlemaps/js-samples/tree/master/dist/samples/advanced-markers-html/jsfiddle
and in the css:
just change them to:
u just need to reverse the colors of the icons/infobox. You can test this, you just need to put the new CSS into the JSfiddle i posted.
*Edits: cleaned up |
Beta Was this translation helpful? Give feedback.
-
I am trying to add mouseover event on the AdvancedMarker component. However, only onClick and a few other events are supported. In my use case, I want to add two actions on the marker:
One way that I am doing this is by adding a div inside AdvancedMarker and adding an onMouseOver event to that div.
Beta Was this translation helpful? Give feedback.
All reactions