diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-06-12 15:21:15 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-06-15 07:43:51 -0700 |
commit | 5a8729182652a5cb4d78644a5b9b9a2a2ff343b6 (patch) | |
tree | 32a946fe3e728a4436d720058bd98c364f7760ac /src/mbgl/style/style.cpp | |
parent | ae5b0391b62b537ba6813df54221283685edd6f2 (diff) | |
download | qtlocation-mapboxgl-5a8729182652a5cb4d78644a5b9b9a2a2ff343b6.tar.gz |
[core] Obey "transition" property from style and its default value
Diffstat (limited to 'src/mbgl/style/style.cpp')
-rw-r--r-- | src/mbgl/style/style.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/style/style.cpp b/src/mbgl/style/style.cpp index 27ca58e85d..94e003df51 100644 --- a/src/mbgl/style/style.cpp +++ b/src/mbgl/style/style.cpp @@ -57,6 +57,7 @@ void Style::setJSON(const std::string& json) { images.clear(); transitionOptions = {}; + transitionOptions.duration = util::DEFAULT_TRANSITION_DURATION; Parser parser; auto error = parser.parse(json); |