summaryrefslogtreecommitdiff
path: root/include/mbgl/style
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-08-26 15:24:16 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-10-17 10:44:38 -0700
commit4603ca037cab2d0f732285ce9e006744ad3118d6 (patch)
tree0c14ef89bfc59a4501f63fb34e89bfc8ce6ccb01 /include/mbgl/style
parent48a310406621957db4154e844d28e98f460a0226 (diff)
downloadqtlocation-mapboxgl-4603ca037cab2d0f732285ce9e006744ad3118d6.tar.gz
background-image support
Diffstat (limited to 'include/mbgl/style')
-rw-r--r--include/mbgl/style/property_key.hpp3
-rw-r--r--include/mbgl/style/style_properties.hpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/mbgl/style/property_key.hpp b/include/mbgl/style/property_key.hpp
index 28aa800607..cbf9ad2ac5 100644
--- a/include/mbgl/style/property_key.hpp
+++ b/include/mbgl/style/property_key.hpp
@@ -61,7 +61,8 @@ enum class PropertyKey {
RasterFade,
BackgroundOpacity,
- BackgroundColor
+ BackgroundColor,
+ BackgroundImage
};
}
diff --git a/include/mbgl/style/style_properties.hpp b/include/mbgl/style/style_properties.hpp
index 20200a0dd7..0a5e993411 100644
--- a/include/mbgl/style/style_properties.hpp
+++ b/include/mbgl/style/style_properties.hpp
@@ -94,6 +94,7 @@ struct BackgroundProperties {
inline BackgroundProperties() {}
float opacity = 1.0f;
Color color = {{ 0, 0, 0, 1 }};
+ std::string image;
};
typedef mapbox::util::variant<