summaryrefslogtreecommitdiff
path: root/src/mbgl/style/parser.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-06-12 15:21:15 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-06-15 07:43:51 -0700
commit5a8729182652a5cb4d78644a5b9b9a2a2ff343b6 (patch)
tree32a946fe3e728a4436d720058bd98c364f7760ac /src/mbgl/style/parser.hpp
parentae5b0391b62b537ba6813df54221283685edd6f2 (diff)
downloadqtlocation-mapboxgl-5a8729182652a5cb4d78644a5b9b9a2a2ff343b6.tar.gz
[core] Obey "transition" property from style and its default value
Diffstat (limited to 'src/mbgl/style/parser.hpp')
-rw-r--r--src/mbgl/style/parser.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/style/parser.hpp b/src/mbgl/style/parser.hpp
index 32b8a7a8bc..401b5ff513 100644
--- a/src/mbgl/style/parser.hpp
+++ b/src/mbgl/style/parser.hpp
@@ -32,6 +32,7 @@ public:
std::vector<std::unique_ptr<Source>> sources;
std::vector<std::unique_ptr<Layer>> layers;
+ TransitionOptions transition;
Light light;
std::string name;
@@ -44,6 +45,7 @@ public:
std::vector<FontStack> fontStacks() const;
private:
+ void parseTransition(const JSValue&);
void parseLight(const JSValue&);
void parseSources(const JSValue&);
void parseLayers(const JSValue&);