spatial-monorepo / core/src / PROTOMAPS_LIGHT_STYLE
Variable: PROTOMAPS_LIGHT_STYLE
constPROTOMAPS_LIGHT_STYLE:object
Defined in: packages/core/src/styles/protomaps-light.ts:12
Issue #103 — Protomaps fallback style constant.
Exported as a named const for consumers who need a reference to the bundled style object (e.g. for inspection or comparison in tests).
NOTE: MapLibre mutates the style object it receives. Consumers who pass this directly to a MapLibre constructor should call getProtomapsLightStyle() from './protomapsLight' instead, which returns a fresh object on each call.
Type Declaration
glyphs
readonlyglyphs:"https://protomaps.github.io/basemaps-assets/fonts/{fontstack}/{range}.pbf"='https://protomaps.github.io/basemaps-assets/fonts/{fontstack}/{range}.pbf'
layers
readonlylayers: readonly [{id:"background";paint: {background-color:"#e8e0d8"; };type:"background"; }, {id:"water";paint: {fill-color:"#a8c8e8"; };source:"protomaps";source-layer:"water";type:"fill"; }, {id:"roads";paint: {line-color:"#ffffff";line-width:1.5; };source:"protomaps";source-layer:"roads";type:"line"; }]
name
readonlyname:"Protomaps Light"='Protomaps Light'
sources
readonlysources:object
sources.protomaps
readonlyprotomaps:object
sources.protomaps.attribution
readonlyattribution:"© OpenStreetMap contributors"='© OpenStreetMap contributors'
sources.protomaps.tiles
readonlytiles: readonly ["pmtiles:///{z}/{x}/{y}"]
sources.protomaps.type
readonlytype:"vector"='vector'
sprite
readonlysprite:""=''
version
readonlyversion:8=8
