Lattice Grid Buy a licence

mapview ยท console.warn

createMapView: {library} {is/are} not on the...

Printed by mapview, prefixed [lattice], since 1.85.0.

Warnings reference › mapview:libs

Identifier
mapview:libs
Raised by
mapview
Since
1.85.0

What happened

The map view imports neither deck.gl nor MapLibre GL: the page supplies them, as the globals deck and maplibregl that their UMD builds set, or as options.libs. The one(s) named were not found (deck.gl must include MapboxOverlay), so the map's box was placed and left empty.

The fix

Load MapLibre GL and deck.gl on the page before creating the map view, or pass them in libs.

The smallest fix

<script src="https://cdn.jsdelivr.net/npm/maplibre-gl@4.7.1/dist/maplibre-gl.js"></script>
<script src="https://cdn.jsdelivr.net/npm/deck.gl@9.1.0/dist.min.js"></script>

Reference

Covered in full at the API reference.