React-leaflet-figure-editor
Install
npm install react-leaflet-figure-editoryarn add react-leaflet-figure-editor
;;; Component { return <div className="App"> <Map center=47445745 40272891666666666 zoom=10 ref="map"> <TileLayer attribution='&copy <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" /> <FigureEditor /> </Map> </div> ; } ;
Prop | Type | Default | Description |
---|---|---|---|
calbackChange | Function | () => {} | Called after change figures |