diff options
-rw-r--r-- | include/mbgl/style/sources/geojson_source.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/style/sources/geojson_source.hpp b/include/mbgl/style/sources/geojson_source.hpp index 4bd250b895..7c75433c6a 100644 --- a/include/mbgl/style/sources/geojson_source.hpp +++ b/include/mbgl/style/sources/geojson_source.hpp @@ -7,8 +7,8 @@ #include <mbgl/util/geojson.hpp> #include <mbgl/util/optional.hpp> +#include <map> #include <memory> -#include <unordered_map> #include <utility> namespace mbgl { @@ -32,7 +32,7 @@ struct GeoJSONOptions { uint8_t clusterMaxZoom = 17; using ClusterExpression = std::pair<std::shared_ptr<mbgl::style::expression::Expression>, std::shared_ptr<mbgl::style::expression::Expression>>; - using ClusterProperties = std::unordered_map<std::string, ClusterExpression>; + using ClusterProperties = std::map<std::string, ClusterExpression>; ClusterProperties clusterProperties; static Immutable<GeoJSONOptions> defaultOptions(); |