Repository navigation
How to create a new marker using MapMouseEvent? #252
|
When trying to integrate a function that adds a new marker to the array I get this error What should I change to make it work? |
Answered by
mrMetalWood
Mar 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

The
latLngproperty is available via thedetailproperty on the MapMouseEvent.Should be
event.detail.latLng.latandevent.detail.latLng.lng.Does that work for you?