Skip to main content

Interface: Basemap

Defined in: packages/sdvplot/src/maplibre.ts:389

basemap's result.

Properties​

attribution​

attribution: string

Defined in: packages/sdvplot/src/maplibre.ts:396

The provider's credit (HTML). MapLibre shows it by itself from the style's source, in its attribution control (on by default; keep it). Anything else that draws these tiles, or a static export of the map, must show it.


background​

background: string

Defined in: packages/sdvplot/src/maplibre.ts:402

The colour of the style's background layer, the land (read from the style on 2026-10-27), for routeLines' and passArcLayer's background (dark mode). Their 3:1 contrast is measured against it, not against the water, which is a little lighter on the dark style (#1b1b1d) and a little darker on the light one (#c2c8ca).


style​

style: string

Defined in: packages/sdvplot/src/maplibre.ts:391

The style URL, for the map's style option.