maplibre-gl-basemaps
maplibre-gl-basemaps copied to clipboard
Export default doesn't exist in target module
Hello there,
I've used pnpm to install the maplibre-gl-basemaps package and imported as import BasemapsControl from 'maplibre-gl-basemaps'; import 'maplibre-gl-basemaps/lib/basemaps.css';
Added the control as .addControl(new BasemapsControl({ basemaps: baseMaps, initialBasemap: 'Dark' }), "bottom-left")
Unfortunately when running the app I receive and what can I fix ?
Thanks