vue2-leaflet-draw icon indicating copy to clipboard operation
vue2-leaflet-draw copied to clipboard

Save drawing

Open ctiberiu opened this issue 4 years ago • 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!

ctiberiu avatar May 28 '20 22:05 ctiberiu

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!

hubertokf avatar May 29 '20 01:05 hubertokf

I have implemented an emit hook in this pull request - https://github.com/hubertokf/vue2-leaflet-draw/pull/12

imanmagomedov avatar Jul 17 '20 10:07 imanmagomedov

@hubertokf , can u approve my pull request?

imanmagomedov avatar Jul 17 '20 10:07 imanmagomedov