MapLibre Native Core
get_covering_stops.hpp
Go to the documentation of this file.
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
13
Range<float>
getCoveringStops
(
const
std::map<
double
, std::unique_ptr<Expression>>& stops,
double
lower,
double
upper);
14
15
}
// namespace expression
16
}
// namespace style
17
}
// namespace mbgl
mbgl::Range
Definition:
range.hpp:8
expression.hpp
mbgl::style::expression::getCoveringStops
Range< float > getCoveringStops(const std::map< double, std::unique_ptr< Expression >> &stops, double lower, double upper)
Return the smallest range of stops that covers the interval [lower, upper].
mbgl
Definition:
actor.hpp:15
range.hpp
include
mbgl
style
expression
get_covering_stops.hpp
MapLibre website
|
GitHub repository