Skip to main content

DEFAULT_BASEMAP_BACKGROUND

The default basemap's background (land) colour: the background layer of the OpenFreeMap Bright style, written as that style writes it (Liberty's is the same). The server paints the map region in this colour before the map loads, in both themes, so the first view does not flash a different colour before Bright draws.

This is a constant exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { DEFAULT_BASEMAP_BACKGROUND } from "@mapcairn/core";

DEFAULT_BASEMAP_BACKGROUND = "#f8f4f0"

Source: packages/core/src/basemaps/basemaps.ts:26