Open jarodsim opened 10 months 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:![image](https://github.com/publiclab/Leaflet.DistortableImage/assets/38592929/75272cc1-fffd-4d5e-b7e1-a0a427d200ec)
Here is the import in my react component:
Yes, just importing it already breaks everything