Is it possible to add markers to a map without hard coding lat, long coordinates? I'd like a user to click anywhere on the map to drop a marker.
Have you seen what you you receive in onClick event? Or just seen this https://github.com/istarkov/google-map-react#onclick-func
I must be blind. Thanks.
FYI the link from @istarkov's earlier comment is broken, here's an updated one: https://github.com/google-map-react/google-map-react/blob/master/API.md#onclick-func
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
FYI the link from @istarkov's earlier comment is broken, here's an updated one: https://github.com/google-map-react/google-map-react/blob/master/API.md#onclick-func