Hi.
I have a simple react project with leaflet and used pure leaflet (not react-leaflet).
then I installed "leaflet-mapbox-vector-tile" with npm. but when I want to run the project, the following error shows:
TypeError: __WEBPACK_IMPORTED_MODULE_1_leaflet___default.a.TileLayer.MVTSource is not a constructor
Hi. I have a simple react project with leaflet and used pure leaflet (not react-leaflet). then I installed "leaflet-mapbox-vector-tile" with npm. but when I want to run the project, the following error shows:
TypeError: __WEBPACK_IMPORTED_MODULE_1_leaflet___default.a.TileLayer.MVTSource is not a constructor
can anyone help me?!