You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But i don't get the event, are supported mapbox-gl-draw events or any workaround to be able to know when a line have been created using linestring tool?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi! I trying to listen the events fired by mapbox-gl-draw, but I dont get the way to do that. I have tried with this code:
@map-draw.created ="elementCreated"
...
methods: {
elementCreated(map, e){
console.log(e);
},
But i don't get the event, are supported mapbox-gl-draw events or any workaround to be able to know when a line have been created using linestring tool?
Thanks!
The text was updated successfully, but these errors were encountered: