I am trying to achieve a buffer similar to Leaflet.buffer on my map. However, Leaflet.buffer seems to be only working with Leaflet.Draw.
I am using Leaflet Editable to draw my layers and I have a polyline I would like to add a buffer to. However, I could not find any plugin that does the job.
I know that I can create a buffer with Turf@buffer:
let lineString = turf.lineString(coordArr);
let bufferedLine = turf.buffer(lineString, 0.5, {units: 'miles'});
but I want it to be similar to Leaflet.buffer so that you can slide the buffer around on the map. (More user friendly)
Is there a way to achieve that by using Turf.js with Leaflet.Editable?