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.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/style/layers/line_layer_properties.hpp b/src/mbgl/style/layers/line_layer_properties.hpp
index 07458cd634..2ea7f6b125 100644
--- a/src/mbgl/style/layers/line_layer_properties.hpp
+++ b/src/mbgl/style/layers/line_layer_properties.hpp
@@ -10,18 +10,22 @@ namespace mbgl {
namespace style {
struct LineCap : LayoutProperty<LineCapType> {
+ static constexpr const char * key = "line-cap";
static LineCapType defaultValue() { return LineCapType::Butt; }
};
struct LineJoin : LayoutProperty<LineJoinType> {
+ static constexpr const char * key = "line-join";
static LineJoinType defaultValue() { return LineJoinType::Miter; }
};
struct LineMiterLimit : LayoutProperty<float> {
+ static constexpr const char * key = "line-miter-limit";
static float defaultValue() { return 2; }
};
struct LineRoundLimit : LayoutProperty<float> {
+ static constexpr const char * key = "line-round-limit";
static float defaultValue() { return 1; }
};