Lattice Grid Buy a licence

Charts ยท console.warn

geometry pack "{name}" has not been loaded, so the map fell back to the schematic continents. Import the pack module and pass it as `shapes`

Printed by Charts, prefixed [lattice], since 1.63.0.

Warnings referencechart:geomap:pack:*

Identifier
chart:geomap:pack:*
Raised by
Charts
Since
1.63.0

What happened

A map named a geometry pack by name and no pack of that name has been loaded. Rather than quietly drawing a different map, the chart says so and falls back to the schematic continents. The message lists the packs that *are* loaded, when there are any.

The fix

Import the pack module and pass the pack itself as shapes - the packs are separate modules so that a map of one country does not ship the whole world.

The smallest fix

import { pack } from '@toclocoinc/lattice-grid/modules/geo-uk';
createChart({ grid, container, type: 'geomap', shapes: pack });

Reference

Covered in full at the API reference.