how to use "leaflet-buffer" in react-leaflet?

297 Views Asked by At

I want to buffer the shapes I drew on the react-leaflet. But I can't find any npm library to react like "leaflet-buffer". Please help me.

enter image description here

1

There are 1 best solutions below

0
On

There seems to be a way of doing it using turf buffer package. Check this sandbox https://codesandbox.io/s/hue8o?file=/src/index.js

But I need to try it for myself and try this result here