ERROR TypeError: leaflet__WEBPACK_IMPORTED_MODULE_0__.Control.Fullscreen is not a constructor
rezapaydar opened this issue · 1 comments
rezapaydar commented
i have this error on angular 13 and leaflet 1.8.0 .
i try to add this code for fullscreen control :
this.map = L.map('map',{
fullscreenControl: true,
}).setView([0, 0], 1);
rezapaydar commented
oh sorry .I didn't know leaflet.fullscreen is a library and i should be install that.
i install it and its worked