How to disable crossOnDrag on component AdvancedMarker? #834
NguyenChiTrung1310
started this conversation in
General
Replies: 0 comments
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.
-
Have a nice day everyone,
I’m facing an issue where I cannot remove the
X iconon theAdvancedMarker, which appears when dragging or even hovering (please see the attached image).According to the Google Maps Platform documentation (https://developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.crossOnDrag), the
crossOnDragproperty should disable the cross that appears beneath the marker when dragging. However, it seems this option is not directly supported forAdvancedMarkeror documented in the@vis.gl/react-google-mapslibrary.Could anyone please help me resolve this issue?
Thanks a lot for your support.
Beta Was this translation helpful? Give feedback.
All reactions