maplibre-gl-basemaps icon indicating copy to clipboard operation
maplibre-gl-basemaps copied to clipboard

Export default doesn't exist in target module

Open vick25 opened this issue 1 year ago • 0 comments

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 ? Image

Thanks

vick25 avatar Mar 27 '25 08:03 vick25