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