summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/line_layer_properties.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/layers/line_layer_properties.hpp')
-rw-r--r--src/mbgl/style/layers/line_layer_properties.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mbgl/style/layers/line_layer_properties.hpp b/src/mbgl/style/layers/line_layer_properties.hpp
index aeaf51698a..ee6789205c 100644
--- a/src/mbgl/style/layers/line_layer_properties.hpp
+++ b/src/mbgl/style/layers/line_layer_properties.hpp
@@ -72,6 +72,8 @@ struct LinePattern : CrossFadedPaintProperty<std::string> {
static std::string defaultValue() { return ""; }
};
+struct LineGradient : ColorRampProperty {};
+
class LineLayoutProperties : public Properties<
LineCap,
LineJoin,
@@ -89,7 +91,8 @@ class LinePaintProperties : public Properties<
LineOffset,
LineBlur,
LineDasharray,
- LinePattern
+ LinePattern,
+ LineGradient
> {};
} // namespace style