Struct supercluster::Options
source · pub struct Options {
pub min_zoom: i32,
pub max_zoom: i32,
pub min_points: i32,
pub radius: f64,
pub extent: f64,
pub node_size: usize,
}Expand description
Supercluster configuration options
Fields§
§min_zoom: i32Min zoom level to generate clusters on
max_zoom: i32Max zoom level to cluster the points on
min_points: i32Minimum points to form a cluster
radius: f64Cluster radius in pixels
extent: f64Tile extent (radius is calculated relative to it)
node_size: usizeSize of the KD-tree leaf node, affects performance
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more