Skip to main content

Interface: BaseMapSpec

Defined in: spec/types.ts:375

Properties

attribution?

optional attribution?: string

Defined in: spec/types.ts:377


labels?

optional labels?: boolean

Defined in: spec/types.ts:397

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:376


visible?

optional visible?: boolean

Defined in: spec/types.ts:383

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