1 #pragma once 2 3 #include <mbgl/style/expression/expression.hpp> 4 #include <mbgl/util/range.hpp> 5 #include <memory> 6 #include <map> 7 8 namespace mbgl { 9 namespace style { 10 namespace expression { 11 12 // Return the smallest range of stops that covers the interval [lower, upper] 13 Range<float> getCoveringStops(const std::map<double, std::unique_ptr<Expression>>& stops, 14 const double lower, const double upper); 15 16 } // namespace expression 17 } // namespace style 18 } // namespace mbgl 19