Access the latLng property of the google.maps.MapMouseEvent interface #231
Replies: 1 comment
-
Hi Please refer to #91 (comment) |
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.
-
When I click on the map, I want to capture the underlying coordinates to set a Marker at that position later on. It's not clear to me how can I access the
latLng
property of thegoogle.maps.MapMouseEvent
interface?https://developers.google.com/maps/documentation/javascript/reference/map#MapMouseEvent
Example here:
https://developers.google.com/maps/documentation/javascript/examples/event-click-latlng
Beta Was this translation helpful? Give feedback.
All reactions