Closed smissaertj closed 1 year ago
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 the google.maps.MapMouseEvent interface?
latLng
google.maps.MapMouseEvent
https://developers.google.com/maps/documentation/javascript/reference/map#MapMouseEvent
Example here: https://developers.google.com/maps/documentation/javascript/examples/event-click-latlng
Hi
Please refer to https://github.com/inocan-group/vue3-google-map/issues/91#issuecomment-1179765783
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