// This file is generated. Edit build/generate-style-code.ts, then run 'npm run codegen'. /* eslint-disable */ import styleSpec from '../../style-spec/reference/latest'; import { Properties, DataConstantProperty, DataDrivenProperty, CrossFadedDataDrivenProperty, CrossFadedProperty, ColorRampProperty, PossiblyEvaluatedPropertyValue, CrossFaded } from '../properties'; import type Color from '../../style-spec/util/color'; import type Formatted from '../../style-spec/expression/types/formatted'; import type ResolvedImage from '../../style-spec/expression/types/resolved_image'; import {StylePropertySpecification} from '../../style-spec/style-spec'; export type HeatmapPaintProps = { "heatmap-radius": DataDrivenProperty, "heatmap-weight": DataDrivenProperty, "heatmap-intensity": DataConstantProperty, "heatmap-color": ColorRampProperty, "heatmap-opacity": DataConstantProperty, }; export type HeatmapPaintPropsPossiblyEvaluated = { "heatmap-radius": PossiblyEvaluatedPropertyValue, "heatmap-weight": PossiblyEvaluatedPropertyValue, "heatmap-intensity": number, "heatmap-color": ColorRampProperty, "heatmap-opacity": number, }; const paint: Properties = new Properties({ "heatmap-radius": new DataDrivenProperty(styleSpec["paint_heatmap"]["heatmap-radius"] as any as StylePropertySpecification), "heatmap-weight": new DataDrivenProperty(styleSpec["paint_heatmap"]["heatmap-weight"] as any as StylePropertySpecification), "heatmap-intensity": new DataConstantProperty(styleSpec["paint_heatmap"]["heatmap-intensity"] as any as StylePropertySpecification), "heatmap-color": new ColorRampProperty(styleSpec["paint_heatmap"]["heatmap-color"] as any as StylePropertySpecification), "heatmap-opacity": new DataConstantProperty(styleSpec["paint_heatmap"]["heatmap-opacity"] as any as StylePropertySpecification), }); export default ({ paint } as { paint: Properties });