ConstOptionaloptions: OsmOptionsReadonlycolorKeys: readonly (keyof ColorsOptions)[]All color key names accepted by ColorsOptions.
Readonlycolors: (palette: Palette) => ResolvedColorsReturn a palette's resolved colors.
Readonlylanguages: (tileJSON: TileJSONSpecification) => string[]Return the language codes available in a given TileJSON.
Readonlypalettes: readonly Palette[]All available palette names: five light themes, each followed by its -dark theme.
ReadonlyresolveOptions: (options?: OsmOptions) => ResolvedOsmResolve raw OsmOptions to a fully validated ResolvedOsm.
Readonlyslots: Readonly<Stable layer IDs for use as MapLibre beforeId.
Whether a tileset can back features.landcover: its land layer starts below the zoom where
plain Shortbread's first land kind appears, so it carries the low-zoom landcover extension.
Readonlytileset: {How guessStyle recognises a Shortbread tileset and builds a style for it.
Fully resolved defaults (theme: 'colorful').
Maps each LayerGroupOptions key to the layer IDs it controls.
Maps each topic of text (water.rivers, pois.transit, …) to the text layer IDs its label style
sets. Built from the same group tags as layerGroups.
The smallest options object that builds the same style: every value equal to its default is dropped, colours compared against the chosen palette. For storing a style in a URL or config.
A runnable @versatiles/style snippet for these options, minimised first.
target: 'browser' writes the <script> form for a plain HTML page that loads the CDN bundle,
instead of the ES module a bundler would take.
Check options without throwing, reporting every problem at once as data rather than as a message
to parse. resolveOptions stays the call for a program that cannot proceed: it throws on the
first problem.
osm()with the authoring helpers attached.They live here rather than on the function object itself so that the browser bundle, whose entry is
browser.ts, can leave them out: attached, they are a property of an exported object and nothing can tree-shake them away. Only a tool that stores or emits options needs them; a page that just builds a style does not, and every consumer of the CDN bundle is the latter.