defaultBasemapFor
The basemap a catalogue shows in a theme when nobody has chosen one: the host's default for that theme, else the catalogue's default.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { defaultBasemapFor } from "@mapcairn/core";
function defaultBasemapFor(catalogue: BasemapCatalogue, theme: ResolvedTheme): BasemapDefinition;
Parameters
catalogue(BasemapCatalogue)theme(ResolvedTheme)
Returns
BasemapDefinition