Open krabouilleur opened 2 years ago
This is probably since this library isn't compatible with the latest leaflet version. From leaflet 1.9.0 change log https://leafletjs.com/2022/09/21/leaflet-1.9.0.html:
Removing the Leaflet global. As a developer using Leaflet, the capital letter L is probably intimately familiar to you. This is the Leaflet global where all of Leaflet’s functionality lives. To allow compiler tooling to better eliminate dead-code through a process called tree-shaking, we are removing this global variable. To preserve backwards compatibility with older plugins, we will provide a shim that can be imported manually that will restore this functionality.
The shim mentioned in the change log could provide a solution, but I don't know if it is available yet.
On "ng build" the following error : "export 'markerClusterGroup' (imported as 'L') was not found in 'leaflet'"
the package.json :