From 514485502db8ecacf2b11abad4599d7af09b0cf8 Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Wed, 4 Jul 2018 23:12:58 +0300 Subject: Rename `HeatmapColorPropertyValue` to `ColorRampPropertyValue` Based on patch from @lbud (Lauren Budorick). Give `HeatmapColorPropertyValue` a more generic name, since the same value type will be used for both `heatmap-color` and `line-gradient` properties. --- src/mbgl/style/layers/heatmap_layer_properties.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mbgl/style/layers/heatmap_layer_properties.hpp') diff --git a/src/mbgl/style/layers/heatmap_layer_properties.hpp b/src/mbgl/style/layers/heatmap_layer_properties.hpp index f7afa5fbeb..fe7257a78a 100644 --- a/src/mbgl/style/layers/heatmap_layer_properties.hpp +++ b/src/mbgl/style/layers/heatmap_layer_properties.hpp @@ -24,6 +24,8 @@ struct HeatmapIntensity : PaintProperty { static float defaultValue() { return 1; } }; +using HeatmapColor = ColorRampProperty; + struct HeatmapOpacity : PaintProperty { static float defaultValue() { return 1; } }; -- cgit v1.2.1