hubertokf/vue2-leaflet-draw

Save drawing

Opened this issue · 3 comments

Hello!

First of all, let me congrats you for the awesome plugin!

Secondly, is there a way to save the drawing?

Can't figure it out.

Thanks for your time!

Hello!

First of all, let me congrats you for the awesome plugin!

Secondly, is there a way to save the drawing?

Can't figure it out.

Thanks for your time!

Hi!

You could use leaflet events to get what is drawn.

https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html#l-draw-event

thank you!

I have implemented an emit hook in this pull request - #12

@hubertokf , can u approve my pull request?