pub struct TileStore<M: HasLayer + Clone> { /* private fields */ }
Expand description
TileStore Class is a tile-lookup system that splits and simplifies as needed for each tile request */
Implementations§
Source§impl<M: HasLayer + Clone> TileStore<M>
impl<M: HasLayer + Clone> TileStore<M>
Sourcepub fn new(data: JSONCollection<M>, options: TileStoreOptions) -> Self
pub fn new(data: JSONCollection<M>, options: TileStoreOptions) -> Self
Create a new TileStore
Sourcepub fn add_feature(&mut self, feature: VectorFeature<M>)
pub fn add_feature(&mut self, feature: VectorFeature<M>)
Add a feature to the tile store
Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for TileStore<M>
impl<M> RefUnwindSafe for TileStore<M>where
M: RefUnwindSafe,
impl<M> Send for TileStore<M>where
M: Send,
impl<M> Sync for TileStore<M>where
M: Sync,
impl<M> Unpin for TileStore<M>
impl<M> UnwindSafe for TileStore<M>where
M: RefUnwindSafe,
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