UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

19 lines • 974 B
import { type StyleSpecification } from 'maplibre-gl'; /** * Paint properties to set, keyed by the id of the style layer they apply to. * A property named here replaces the layer's own value; the rest of its paint * stays as the style wrote it. */ export type PaintOverrides = Readonly<Record<string, Readonly<Record<string, unknown>>>>; /** * Return a copy of `style` whose named layers carry the override paint. * * Overrides for layers the style does not have are skipped, so an upstream * rename falls back to the upstream color rather than breaking the map. */ export declare function recolorStyle(style: StyleSpecification, overrides: PaintOverrides): StyleSpecification; /** CARTO Positron colors for the OpenFreeMap `positron` style. */ export declare const POSITRON_PAINT: PaintOverrides; /** CARTO Dark Matter colors for the OpenFreeMap `dark` style. */ export declare const DARK_MATTER_PAINT: PaintOverrides; //# sourceMappingURL=basemap-palette.d.ts.map