diff options
-rw-r--r-- | include/mbgl/util/feature.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/util/feature.hpp b/include/mbgl/util/feature.hpp index 9e2286018c..56db250de0 100644 --- a/include/mbgl/util/feature.hpp +++ b/include/mbgl/util/feature.hpp @@ -11,6 +11,9 @@ using NullValue = mapbox::feature::null_value_t; using PropertyMap = mapbox::feature::property_map; using FeatureIdentifier = mapbox::feature::identifier; using Feature = mapbox::feature::feature<double>; +using FeatureState = PropertyMap; +using FeatureStates = std::unordered_map<std::string, FeatureState>; // <featureID, FeatureState> +using LayerFeatureStates = std::unordered_map<std::string, FeatureStates>; // <sourceLayer, FeatureStates> template <class T> optional<T> numericValue(const Value& value) { |