To use react-leaflet-map-editor component in your own project first,
import {EditableMap} from "react-leaflet-map-editor";
To use the component you will need to specify a few parameters, as shown here.
< EditableMap fetchUrl={"https://editablemapbackend.onrender.com/api/features"} deleteUrl={"https://editablemapbackend.onrender.com/api/features/"} saveUrl={"https://editablemapbackend.onrender.com/react/api/features"} putUrl={"https://editablemapbackend.onrender.com/api/features/"} maptiler_api_key={"MAPTILER-API-KEY"} />
For a sample express app which has the above endpoints see https://github.com/sanjeevdg/editableMapBackend/tree/main/src
This app is built with leaflet and leaflet-draw.
You may raise any issues you have on Github.
