// This file is generated. Edit build/generate-style-code.ts, then run 'npm run codegen'. /* eslint-disable */ import {latest as styleSpec} from '@maplibre/maplibre-gl-style-spec'; import { Properties, DataConstantProperty, DataDrivenProperty, CrossFadedDataDrivenProperty, CrossFadedProperty, ColorRampProperty, PossiblyEvaluatedPropertyValue, CrossFaded } from '../properties'; import type {Color, Formatted, Padding, NumberArray, ColorArray, ResolvedImage, VariableAnchorOffsetCollection} from '@maplibre/maplibre-gl-style-spec'; import {StylePropertySpecification} from '@maplibre/maplibre-gl-style-spec'; export type HillshadePaintProps = { "hillshade-illumination-direction": DataConstantProperty, "hillshade-illumination-altitude": DataConstantProperty, "hillshade-illumination-anchor": DataConstantProperty<"map" | "viewport">, "hillshade-exaggeration": DataConstantProperty, "hillshade-shadow-color": DataConstantProperty, "hillshade-highlight-color": DataConstantProperty, "hillshade-accent-color": DataConstantProperty, "hillshade-method": DataConstantProperty<"standard" | "basic" | "combined" | "igor" | "multidirectional">, "resampling": DataConstantProperty<"linear" | "nearest">, }; export type HillshadePaintPropsPossiblyEvaluated = { "hillshade-illumination-direction": NumberArray, "hillshade-illumination-altitude": NumberArray, "hillshade-illumination-anchor": "map" | "viewport", "hillshade-exaggeration": number, "hillshade-shadow-color": ColorArray, "hillshade-highlight-color": ColorArray, "hillshade-accent-color": Color, "hillshade-method": "standard" | "basic" | "combined" | "igor" | "multidirectional", "resampling": "linear" | "nearest", }; let paint: Properties; const getPaint = () => paint = paint || new Properties({ "hillshade-illumination-direction": new DataConstantProperty(styleSpec["paint_hillshade"]["hillshade-illumination-direction"] as any as StylePropertySpecification), "hillshade-illumination-altitude": new DataConstantProperty(styleSpec["paint_hillshade"]["hillshade-illumination-altitude"] as any as StylePropertySpecification), "hillshade-illumination-anchor": new DataConstantProperty(styleSpec["paint_hillshade"]["hillshade-illumination-anchor"] as any as StylePropertySpecification), "hillshade-exaggeration": new DataConstantProperty(styleSpec["paint_hillshade"]["hillshade-exaggeration"] as any as StylePropertySpecification), "hillshade-shadow-color": new DataConstantProperty(styleSpec["paint_hillshade"]["hillshade-shadow-color"] as any as StylePropertySpecification), "hillshade-highlight-color": new DataConstantProperty(styleSpec["paint_hillshade"]["hillshade-highlight-color"] as any as StylePropertySpecification), "hillshade-accent-color": new DataConstantProperty(styleSpec["paint_hillshade"]["hillshade-accent-color"] as any as StylePropertySpecification), "hillshade-method": new DataConstantProperty(styleSpec["paint_hillshade"]["hillshade-method"] as any as StylePropertySpecification), "resampling": new DataConstantProperty(styleSpec["paint_hillshade"]["resampling"] as any as StylePropertySpecification), }); export default ({ get paint() { return getPaint() } });