pub type S2Feature<M = ()> = VectorFeature<M>;Expand description
Component to build an S2 Feature. Uses VectorFeature but “face” property is applicable
Aliased Type§
pub struct S2Feature<M = ()> {
pub _type: String,
pub id: Option<u64>,
pub face: Face,
pub properties: BTreeMap<String, ValueType>,
pub geometry: VectorGeometry,
pub metadata: Option<M>,
}Fields§
§_type: StringType will always be “VectorFeature”
id: Option<u64>Unique identifier
face: FaceFace of the feature
properties: BTreeMap<String, ValueType>Properties of the feature
geometry: VectorGeometryGeometry of the feature
metadata: Option<M>Metadata of the feature