Replies: 1 comment
-
|
Marker doesnt have className, but has the style property. You can do this by wrapping the marker in a span div with onMouseEnter/onMouseLeave properties and then modifying the zIndex through the style property on the Marker. See my example: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a problem with the overlay of markers. I would like to change z-index of Marker element when cursor overs Marker. Generally, it can be solved using CSS, but Marker component doesn't provide className prop, only style prop but without mouse enter/hover and mouse leave events.
Beta Was this translation helpful? Give feedback.
All reactions