OptionalapiTile-service API key substituted into any {apikey} placeholder.
OptionalapiWhen true, the basemap is disabled if apiKey is missing (avoids silent 403).
OptionaloptionsLegacy provider option bag carrying attribution / maxZoom.
OptionaldemTop-level DEM tile URL (hillshade shortcut for hillshade.demUrl).
OptionaldemTop-level DEM encoding (hillshade shortcut for hillshade.demEncoding).
OptionaldemTop-level DEM max zoom (hillshade shortcut for hillshade.demMaxZoom).
OptionalidUnique basemap key (mirrors the record key).
OptionallabelDisplay label shown in the basemap switcher.
OptionaltypeBasemap rendering type.
"tile" / "raster": XYZ raster tiles (default when url or tiles are set)."maplibre": MapLibre GL vector style (requires style)."image": Static georeferenced image overlay (requires imageSource)."hillshade": Hillshade terrain shading (requires hillshade.demUrl)."wmts": WMTS tile service via GetCapabilities (requires wmts.getCapabilitiesUrl)."wms": WMS tile service (requires wms.url and wms.layers).OptionalurlTile URL template, e.g. "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png".
OptionalfallbackFallback tile URL when MapLibre GL is unavailable.
OptionalattributionMap attribution string (HTML allowed).
OptionalminMinimum zoom level.
OptionalmaxMaximum zoom level.
OptionalstyleMapLibre GL style URL (only for type: 'maplibre').
OptionalsubdomainsTile subdomains, e.g. "abc" or ["a", "b", "c"].
OptionaltilesExplicit tiles array for MapLibre raster sources (overrides {s} subdomain template).
OptionaltileTile size in pixels. Default 256.
OptionaldefaultWhen true, this basemap is active on startup.
OptionalofflineWhen true, this basemap supports offline tile caching.
OptionalofflineGeographic bounds for offline caching.
OptionalcacheMinimum zoom level to cache offline.
OptionalcacheMaximum zoom level to cache offline.
Optionalterrain3D terrain / raster-dem configuration for this basemap.
OptionalimageStatic image overlay configuration. Required when type: "image".
OptionalhillshadeHillshade terrain-shading configuration. Required when type: "hillshade".
OptionalwmtsWMTS service configuration. Required when type: "wmts".
OptionalwmsWMS service configuration. Required when type: "wms".
A basemap definition as handled at runtime by the basemaps module.
Extends the canonical BasemapConfig contract with fields the module reads but which are not part of the public config surface (they originate from provider presets and profile overrides):
apiKey/apiKeyRequired: tile API-key injection (seenormalizeTilesArray).options: legacy provider option bag (attribution,maxZoom).demUrl/demEncoding/demMaxZoom: hillshade DEM shortcuts accepted alongside the nestedhillshade.*form.All extra fields are optional, so every
BasemapConfigis assignable here.