diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-02 11:30:07 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-04 09:59:56 -0700 |
commit | e7d2796762c3ba05e824177969c501ab2370336f (patch) | |
tree | 22caa9990d87f94c68b346993b5956b6792b5dbe /src/mbgl/map/update.hpp | |
parent | 89f1ffc6d29d5631dfd322834397ec2247c5c9d7 (diff) | |
download | qtlocation-mapboxgl-e7d2796762c3ba05e824177969c501ab2370336f.tar.gz |
[core] Omnibus Style::update method
Combine Style::cascade, recalculate, relayout, and updateTiles into a single method. This allows multiple loops over sources and layers to be consolidated and prepares for additional Style-Map decoupling: rather than tracking pending updates via a set of Update flags held by the Map and passed to the Style, the Style can use its own data to determine what to update.
Diffstat (limited to 'src/mbgl/map/update.hpp')
-rw-r--r-- | src/mbgl/map/update.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/map/update.hpp b/src/mbgl/map/update.hpp index 74ab22dd8a..5e87515eac 100644 --- a/src/mbgl/map/update.hpp +++ b/src/mbgl/map/update.hpp @@ -10,8 +10,7 @@ enum class Update { Classes = 1 << 2, RecalculateStyle = 1 << 3, AnnotationStyle = 1 << 6, - AnnotationData = 1 << 7, - Layout = 1 << 8 + AnnotationData = 1 << 7 }; constexpr Update operator|(Update lhs, Update rhs) { |