Struct supercluster::Options
source · pub struct Options {
pub min_zoom: u8,
pub max_zoom: u8,
pub min_points: u8,
pub radius: f64,
pub extent: f64,
pub node_size: usize,
}
Expand description
Supercluster configuration options.
Fields§
§min_zoom: u8
Minimal zoom level to generate clusters on.
max_zoom: u8
Maximal zoom level to cluster the points on.
min_points: u8
Minimum points to form a cluster.
radius: f64
Cluster radius in pixels.
extent: f64
Tile extent (radius is calculated relative to it).
node_size: usize
Size 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