You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Success importing maplibre-gl module
But with instruction [ import "https://cdn.jsdelivr.net/npm/[email protected]/dist/maplibre-gl.js"; ], instruction [ new maplibregl.Map() ] returns a map.
Import module error
Running jsfiddle.net from link in https://www.jsdelivr.com/package/npm/@geoblocks/ol-maplibre-layer returns an error message pointing to maplibre-gl library missing an export named 'Map'. I have the same problem running from Javascript.
Success importing maplibre-gl module
But with instruction [ import "https://cdn.jsdelivr.net/npm/[email protected]/dist/maplibre-gl.js"; ], instruction [ new maplibregl.Map() ] returns a map.
jsFiddle.net instructions
import * as geoblocksolMaplibreLayer from 'https://esm.run/@geoblocks/ol-maplibre-layer';
Console log message
"Uncaught SyntaxError: The requested module '/npm/[email protected]/+esm' does not provide an export named 'Map'"
The text was updated successfully, but these errors were encountered: