summaryrefslogtreecommitdiff
path: root/src/mbgl/layer/fill_layer.cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-11-04 13:21:47 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-11-06 10:39:06 -0800
commit10858ab382b006476d2c9b8f8f68910ec086068f (patch)
tree86febb46ded4eb26d02e0048f551a0fa8ce6caeb /src/mbgl/layer/fill_layer.cpp
parent9b537fab29735bd7969c8781c4c54df3d5786d15 (diff)
downloadqtlocation-mapboxgl-10858ab382b006476d2c9b8f8f68910ec086068f.tar.gz
[core] Remove the ability to change cross-fade durations via transition
We shouldn't overload transition duration to mean the duration of the cross-fade when moving between stops. If we want to allow styles to override the default 300ms fade duration, it should be a dedicated property like raster-fade-duration. I don't think any styles use this functionality -- if they did, they were broken for MapMode::Still rendering.
Diffstat (limited to 'src/mbgl/layer/fill_layer.cpp')
-rw-r--r--src/mbgl/layer/fill_layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/layer/fill_layer.cpp b/src/mbgl/layer/fill_layer.cpp
index 7d53fa97cb..b5e0727559 100644
--- a/src/mbgl/layer/fill_layer.cpp
+++ b/src/mbgl/layer/fill_layer.cpp
@@ -17,7 +17,7 @@ void FillLayer::parsePaints(const JSVal& layer) {
parseProperty<Function<std::array<float, 2>>>("fill-translate", PropertyKey::FillTranslate, paint, value);
parseProperty<PropertyTransition>("fill-translate-transition", PropertyKey::FillTranslate, paint, value);
parseProperty<Function<TranslateAnchorType>>("fill-translate-anchor", PropertyKey::FillTranslateAnchor, paint, value);
- parseProperty<Function<Faded<std::string>>>("fill-pattern", PropertyKey::FillImage, paint, value, "fill-pattern-transition");
+ parseProperty<Function<Faded<std::string>>>("fill-pattern", PropertyKey::FillImage, paint, value);
});
}