xon52/x5-gmaps

Drop and move marker

Closed this issue · 5 comments

kossa commented

Hello,

There is a way to move/marker and get the lat/lng ?

Thanks

xon52 commented

I recommend having a look at the marker options example. You will notice that the @move event emits the position for you to use.

The update for this I'm working on now will change the event name to be more consistent with the Google Maps docs, but for now I think you want @move.

kossa commented

Alright what I need thanks :)

kossa commented

The move event does not fired on my code, also in marker options example

check the demo

image

xon52 commented

Thanks for finding this. Problem solved. Surprised it hasn't been complained about before 🤔
Check it's working on your side @kossa and then close this if it's good.
The next version will have much better support in this area.

kossa commented

I confirm it works fine

image