Open jarodsim opened 1 year ago
Ok, in this repo i has the resolution https://github.com/jarodsim/react-with-leaflet-distorcable-image
u must import manualy
u need to add the leaflet-toolbar lib in ur project to
import L from "leaflet";
import "leaflet-toolbar";
import "leaflet-distortableimage";
import "leaflet-toolbar/dist/leaflet.toolbar.css";
import "leaflet-distortableimage/dist/leaflet.distortableimage.css";
We need a React Js support, please. When i add the import to my react component i got this error:
Here is the import in my react component: Yes, just importing it already breaks everything