1 // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
2 
3 #pragma once
4 
5 #include <mbgl/style/types.hpp>
6 #include <mbgl/style/layout_property.hpp>
7 #include <mbgl/style/paint_property.hpp>
8 #include <mbgl/style/properties.hpp>
9 #include <mbgl/programs/attributes.hpp>
10 #include <mbgl/programs/uniforms.hpp>
11 
12 namespace mbgl {
13 namespace style {
14 
15 struct HeatmapRadius : DataDrivenPaintProperty<float, attributes::a_radius, uniforms::u_radius> {
defaultValuembgl::style::HeatmapRadius16     static float defaultValue() { return 30; }
17 };
18 
19 struct HeatmapWeight : DataDrivenPaintProperty<float, attributes::a_weight, uniforms::u_weight> {
defaultValuembgl::style::HeatmapWeight20     static float defaultValue() { return 1; }
21 };
22 
23 struct HeatmapIntensity : PaintProperty<float> {
defaultValuembgl::style::HeatmapIntensity24     static float defaultValue() { return 1; }
25 };
26 
27 using HeatmapColor = ColorRampProperty;
28 
29 struct HeatmapOpacity : PaintProperty<float> {
defaultValuembgl::style::HeatmapOpacity30     static float defaultValue() { return 1; }
31 };
32 
33 class HeatmapPaintProperties : public Properties<
34     HeatmapRadius,
35     HeatmapWeight,
36     HeatmapIntensity,
37     HeatmapColor,
38     HeatmapOpacity
39 > {};
40 
41 } // namespace style
42 } // namespace mbgl
43