Skip to content

How to create a new marker using MapMouseEvent? #252

Answered by mrMetalWood
lmykhailo asked this question in Q&A
Discussion options

You must be logged in to vote

The latLng property is available via the detail property on the MapMouseEvent.

Should be event.detail.latLng.lat and event.detail.latLng.lng.

Does that work for you?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lmykhailo
Comment options

Answer selected by lmykhailo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants