Searched refs:maxTile (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/ |
| H A D | tile_range.hpp | 26 const auto maxTile = std::pow(2.0, maxZoom); in fromLatLngBounds() local 29 const auto minY = static_cast<uint32_t>(util::clamp(std::floor(neProj.y), 0.0 , maxTile)); in fromLatLngBounds() 30 const auto maxY = static_cast<uint32_t>(util::clamp(std::floor(swProj.y), 0.0, maxTile)); in fromLatLngBounds()
|
| H A D | tile_cover.cpp | 195 auto maxTile = std::pow(2.0, zoom); in tileCount() local 198 auto y1 = util::clamp(floor(sw.y), 0.0, maxTile - 1); in tileCount() 199 auto y2 = util::clamp(floor(ne.y), 0.0, maxTile - 1); in tileCount() 201 auto dx = x1 > x2 ? (maxTile - x1) + x2 : x2 - x1; in tileCount()
|
| H A D | tile_cover_impl.cpp | 101 void build_bounds_map(PointList& points, uint32_t maxTile, BoundsMap& et, bool closed = false) { in build_bounds_map() argument 116 …t auto y = static_cast<uint32_t>(std::floor(clamp(to_max.points.front().y, 0.0, (double)maxTile))); in build_bounds_map() 120 …t auto y = static_cast<uint32_t>(std::floor(clamp(to_min.points.front().y, 0.0, (double)maxTile))); in build_bounds_map()
|