Skip to main content

GeoJsonFeature

Type Alias GeoJsonFeature 

Source
pub type GeoJsonFeature = Feature<i16, Arc<PropertyMap>>;
Expand description

A feature in tile coordinates, as GeoJSON and custom geometry sources cut them.

Aliased Type§

pub struct GeoJsonFeature {
    pub geometry: Option<Geometry<i16>>,
    pub properties: Arc<VecMap<String, Value>>,
    pub id: Identifier,
}

Fields§

§geometry: Option<Geometry<i16>>§properties: Arc<VecMap<String, Value>>§id: Identifier