pub struct CoveringTilesOptions {
pub min_zoom: u8,
pub max_zoom: u8,
pub round_zoom: bool,
pub tile_size: u32,
pub max_tiles: usize,
pub allow_variable_zoom: bool,
pub render_world_copies: bool,
}Expand description
Options controlling the covering-tiles quadtree traversal.
This is the Rustial equivalent of MapLibre’s CoveringTilesOptionsInternal.
It couples frustum culling, per-tile variable zoom heuristics, wrap
handling, and tile-budget enforcement into a single covering-selection
call.
Fields§
§min_zoom: u8Smallest allowed tile zoom (inclusive). Tiles at zooms below this are never emitted but may still be traversed.
max_zoom: u8Largest allowed tile zoom (inclusive). The traversal never descends past this zoom regardless of the per-tile heuristic.
round_zoom: boolWhether to round (true) or floor (false) the computed tile zoom.
tile_size: u32Source tile size in screen pixels (typically 256 or 512).
max_tiles: usizeMaximum number of result tiles.
allow_variable_zoom: boolWhether to allow per-tile variable zoom heuristics at steep pitch.
When false all tiles use the single nominal zoom level.
render_world_copies: boolWhether to emit world-copy tiles across the antimeridian.
Trait Implementations§
Source§impl Clone for CoveringTilesOptions
impl Clone for CoveringTilesOptions
Source§fn clone(&self) -> CoveringTilesOptions
fn clone(&self) -> CoveringTilesOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more