summaryrefslogtreecommitdiff
path: root/src/mbgl/style/style_properties.hpp
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2015-01-14 22:24:44 -0500
committerAnsis Brammanis <brammanis@gmail.com>2015-01-14 22:24:44 -0500
commit2c615b613c3f4031cf7d40d37cee7ca5c6c96265 (patch)
tree33adab55791e6803e0c09a51376663739a924877 /src/mbgl/style/style_properties.hpp
parent84e9dbdc09043a22d35a3d903dc9b024f1bf23a2 (diff)
downloadqtlocation-mapboxgl-2c615b613c3f4031cf7d40d37cee7ca5c6c96265.tar.gz
support dash arrays that are any length
Diffstat (limited to 'src/mbgl/style/style_properties.hpp')
-rw-r--r--src/mbgl/style/style_properties.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/style/style_properties.hpp b/src/mbgl/style/style_properties.hpp
index e50cd87d3f..c5149b2d1c 100644
--- a/src/mbgl/style/style_properties.hpp
+++ b/src/mbgl/style/style_properties.hpp
@@ -9,6 +9,7 @@
#include <string>
#include <type_traits>
#include <memory>
+#include <vector>
namespace mbgl {
@@ -36,7 +37,7 @@ struct LineProperties {
float width = 1;
float gap_width = 0;
float blur = 0;
- std::array<float, 2> dash_array = {{ 1, -1 }};
+ std::vector<float> dash_array;
float dash_line_width = 1;
std::string image;