visgl / visgl/react-google-maps
[Feat] Add new property allows user enable/disable cross when dragging of component AdvancedMarker
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 193
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 13
Description
Target Use Case
Have a nice day everyone,
I’m facing an issue where I cannot remove the X icon on the AdvancedMarker, 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 crossOnDrag property should disable the cross that appears beneath the marker when dragging. However, it seems this option is not directly supported for AdvancedMarker or documented in the @vis.gl/react-google-maps library as well as Google Maps Platform documentation AdvancedMarker (https://developers.google.com/maps/documentation/javascript/reference/advanced-markers) .
Proposal
Add new property allows user enable/disable cross on dragging
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the AdvancedMarker component and reviewing the Google Maps AdvancedMarker reference linked in the issue, alongside the crossOnDrag documentation. Determine how the requested enable/disable property should affect the marker's dragging behavior, then verify that the cross can be controlled through the public component API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100