Home
last modified time | relevance | path

Searched refs:maxZoom (Results 1 – 25 of 27) sorted by relevance

12

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/
H A Dtile_range.hpp17 … static TileRange fromLatLngBounds(const LatLngBounds& bounds, uint8_t minZoom, uint8_t maxZoom) { in fromLatLngBounds() argument
18 if (minZoom > maxZoom) { in fromLatLngBounds()
19 std::swap(minZoom, maxZoom); in fromLatLngBounds()
22 auto swProj = Projection::project(bounds.southwest().wrapped(), maxZoom); in fromLatLngBounds()
24 …o neProj = Projection::project(ne.longitude() > util::LONGITUDE_MAX ? ne.wrapped() : ne , maxZoom); in fromLatLngBounds()
26 const auto maxTile = std::pow(2.0, maxZoom); in fromLatLngBounds()
32 return TileRange({ {minX, minY}, {maxX, maxY} }, {minZoom, maxZoom}); in fromLatLngBounds()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/mbgl/storage/
H A Doffline.cpp19 maxZoom(maxZoom_), in OfflineTilePyramidRegionDefinition()
21 if (minZoom < 0 || maxZoom < 0 || maxZoom < minZoom || pixelRatio < 0 || in OfflineTilePyramidRegionDefinition()
22 !std::isfinite(minZoom) || std::isnan(maxZoom) || !std::isfinite(pixelRatio)) { in OfflineTilePyramidRegionDefinition()
54 double maxZ = std::min<double>(util::coveringZoomLevel(maxZoom, type, tileSize), zoomRange.max); in coveringZoomRange()
83 double maxZoom = doc.HasMember("max_zoom") ? doc["max_zoom"].GetDouble() : INFINITY; in decodeOfflineRegionDefinition() local
86 return { styleURL, bounds, minZoom, maxZoom, pixelRatio }; in decodeOfflineRegionDefinition()
103 if (std::isfinite(region.maxZoom)) { in encodeOfflineRegionDefinition()
104 doc.AddMember("max_zoom", region.maxZoom, doc.GetAllocator()); in encodeOfflineRegionDefinition()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/layers/
H A Dcustom_layer.cpp47 void CustomLayer::setMaxZoom(float maxZoom) { in setMaxZoom() argument
49 impl_->maxZoom = maxZoom; in setMaxZoom()
H A Dbackground_layer.cpp59 void BackgroundLayer::setMaxZoom(float maxZoom) { in setMaxZoom() argument
61 impl_->maxZoom = maxZoom; in setMaxZoom()
H A Dheatmap_layer.cpp91 void HeatmapLayer::setMaxZoom(float maxZoom) { in setMaxZoom() argument
93 impl_->maxZoom = maxZoom; in setMaxZoom()
H A Dhillshade_layer.cpp65 void HillshadeLayer::setMaxZoom(float maxZoom) { in setMaxZoom() argument
67 impl_->maxZoom = maxZoom; in setMaxZoom()
H A Dfill_layer.cpp87 void FillLayer::setMaxZoom(float maxZoom) { in setMaxZoom() argument
89 impl_->maxZoom = maxZoom; in setMaxZoom()
H A Draster_layer.cpp65 void RasterLayer::setMaxZoom(float maxZoom) { in setMaxZoom() argument
67 impl_->maxZoom = maxZoom; in setMaxZoom()
H A Dfill_extrusion_layer.cpp87 void FillExtrusionLayer::setMaxZoom(float maxZoom) { in setMaxZoom() argument
89 impl_->maxZoom = maxZoom; in setMaxZoom()
H A Dlayer.cpp.ejs114 void <%- camelize(type) %>Layer::setMaxZoom(float maxZoom) {
116 impl_->maxZoom = maxZoom;
H A Dcircle_layer.cpp87 void CircleLayer::setMaxZoom(float maxZoom) { in setMaxZoom() argument
89 impl_->maxZoom = maxZoom; in setMaxZoom()
H A Dline_layer.cpp88 void LineLayer::setMaxZoom(float maxZoom) { in setMaxZoom() argument
90 impl_->maxZoom = maxZoom; in setMaxZoom()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/supercluster/0.2.2/include/
H A Dsupercluster.hpp81 std::uint8_t maxZoom = 16; // max zoom level to cluster the points on member
105 zooms.emplace(options.maxZoom + 1, features); in Supercluster()
109 for (int z = options.maxZoom; z >= options.minZoom; z--) { in Supercluster()
214 if (z > options.maxZoom + 1) in limitZoom()
215 return options.maxZoom + 1; in limitZoom()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1/include/mapbox/
H A Dgeojsonvt.hpp47 uint8_t maxZoom = 18; member
94 const uint32_t z2 = 1u << options.maxZoom; in GeoJSONVT()
111 if (z > options.maxZoom) in getTile()
185 (z == options.maxZoom ? 0 : options.tolerance / (z2 * options.extent)); in splitTile()
211 if (z == options.maxZoom) in splitTile()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/sources/
H A Dgeojson_source_impl.cpp56 clusterOptions.maxZoom = options.clusterMaxZoom; in Impl()
63 vtOptions.maxZoom = options.maxzoom; in Impl()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/
H A Dlayer.cpp34 return baseImpl->maxZoom; in getMaxZoom()
H A Dlayer_impl.hpp50 float maxZoom = std::numeric_limits<float>::infinity(); member in mbgl::style::Layer::Impl
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/
H A Dtransform_state.cpp195 void TransformState::setMaxZoom(const double maxZoom) { in setMaxZoom() argument
196 if (maxZoom >= getMinZoom()) { in setMaxZoom()
197 max_scale = zoomScale(util::clamp(maxZoom, util::MIN_ZOOM, util::MAX_ZOOM)); in setMaxZoom()
H A Dmap.cpp501 void Map::setMaxZoom(const double maxZoom) { in setMaxZoom() argument
502 impl->transform.setMaxZoom(maxZoom); in setMaxZoom()
503 if (getZoom() > maxZoom) { in setMaxZoom()
504 setZoom(maxZoom); in setMaxZoom()
H A Dtransform.cpp422 void Transform::setMaxZoom(const double maxZoom) { in setMaxZoom() argument
423 if (std::isnan(maxZoom)) return; in setMaxZoom()
424 state.setMaxZoom(maxZoom); in setMaxZoom()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/
H A Dgroup_by_layout.cpp25 writer.Double(layer.baseImpl->maxZoom); in layoutKey()
H A Drender_layer.cpp71 && baseImpl->maxZoom >= zoom; in needsRendering()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/osm/
H A Dqgeotileproviderosm.cpp489 const QJsonValue maxZoom = json.value(QLatin1String("MaximumZoomLevel")); in onNetworkReplyFinished() local
490 if (maxZoom.isDouble()) in onNetworkReplyFinished()
491 m_maximumZoomLevel = qBound(0, int(maxZoom.toDouble()), maxValidZoom); in onNetworkReplyFinished()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/annotation/
H A Dshape_annotation_impl.cpp32 options.maxZoom = 16; in updateTileData()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/storage/
H A Doffline.hpp38 const double maxZoom; member in mbgl::OfflineTilePyramidRegionDefinition

12