pub struct BaseVectorTile {
pub layers: BTreeMap<String, BaseVectorLayer>,
}
Expand description
Base Vector Tile This is an intermediary for storing feature data in the Open Vector Tile format. Convert from either a Mapbox vector tile or GeoJSON data.
Fields§
§layers: BTreeMap<String, BaseVectorLayer>
the layers in the tile that hold features
Implementations§
Source§impl BaseVectorTile
impl BaseVectorTile
Sourcepub fn add_layer(&mut self, layer: BaseVectorLayer)
pub fn add_layer(&mut self, layer: BaseVectorLayer)
Add a new layer to the tile
Trait Implementations§
Source§impl Debug for BaseVectorTile
impl Debug for BaseVectorTile
Source§impl Default for BaseVectorTile
impl Default for BaseVectorTile
Source§fn default() -> BaseVectorTile
fn default() -> BaseVectorTile
Returns the “default value” for a type. Read more
Source§impl From<&mut MapboxVectorTile> for BaseVectorTile
impl From<&mut MapboxVectorTile> for BaseVectorTile
Source§fn from(vector_tile: &mut MapboxVectorTile) -> Self
fn from(vector_tile: &mut MapboxVectorTile) -> Self
Convert from Mapbox vector layer
Source§impl From<&mut VectorTile> for BaseVectorTile
impl From<&mut VectorTile> for BaseVectorTile
Source§fn from(vector_tile: &mut VectorTile) -> Self
fn from(vector_tile: &mut VectorTile) -> Self
Convert from Mapbox vector tile
Auto Trait Implementations§
impl Freeze for BaseVectorTile
impl RefUnwindSafe for BaseVectorTile
impl Send for BaseVectorTile
impl Sync for BaseVectorTile
impl Unpin for BaseVectorTile
impl UnwindSafe for BaseVectorTile
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