pub struct TileStoreOptions {
pub projection: Option<Projection>,
pub minzoom: Option<u8>,
pub maxzoom: Option<u8>,
pub index_maxzoom: Option<u8>,
pub tolerance: Option<f64>,
pub buffer: Option<f64>,
}
Expand description
Options for creating a TileStore
Fields§
§projection: Option<Projection>
manually set the projection, otherwise it defaults to whatever the data type is
minzoom: Option<u8>
min zoom to generate data on
maxzoom: Option<u8>
max zoom level to cluster the points on
index_maxzoom: Option<u8>
tile buffer on each side in pixels
tolerance: Option<f64>
simplification tolerance (higher means simpler)
buffer: Option<f64>
tile buffer on each side so lines and polygons don’t get clipped
Auto Trait Implementations§
impl Freeze for TileStoreOptions
impl RefUnwindSafe for TileStoreOptions
impl Send for TileStoreOptions
impl Sync for TileStoreOptions
impl Unpin for TileStoreOptions
impl UnwindSafe for TileStoreOptions
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