Skip to main content

Interface: BaseMapSpec

Defined in: spec/types.ts:580

Properties​

attribution?​

optional attribution?: string

Defined in: spec/types.ts:582


labels?​

optional labels?: boolean

Defined in: spec/types.ts:602

Controls the visibility of the basemap's text/icon labels (its symbol layers). When false, every symbol layer is hidden, leaving a clean geography with no place names, road names, or POI markers.

Remarks​

Like the historical HideBasemapLabels pattern, hiding affects all symbol layers — including any symbol layers you declare in spec.layers. Toggling back to true restores the basemap's own label layers without overriding the visibility you manage on your own layers.

Defaults to true.


styleUrl?​

optional styleUrl?: string

Defined in: spec/types.ts:581


visible?​

optional visible?: boolean

Defined in: spec/types.ts:588

When false, the basemap tiles are hidden — the map renders with a blank background. GeoJSON layers remain fully interactive. Defaults to true.