VectorTileFeature class final
A vector tile feature.
A vector tile feature is a type of GeoElement that represents a feature in an ArcGISVectorTiledLayer. Each vector tile feature corresponds to a specific style layer in the vector tile source, but its attributes are defined by the tile data. The GeoElement.geometry property is only populated for point-based features (circles and symbol icons). For line and fill style layers, since the full fidelity of the geometry cannot be guaranteed, the geometry is returned as null. Vector tile data must be published with IDs in order to be identified. Symbol icons along a line (such as highway shields), as well as text, are not identifiable. Vector tile features support attributes of the following types: bool, int64, uint64, float, double, and String.
- Implemented types
Properties
-
attributes
→ Map<
CaseInsensitiveString, dynamic> -
The attributes of the GeoElement as a collection of name/value pairs.
Keys are case-insensitive.
no setteroverride
- geometry → Geometry?
-
The geometry defines the shape and location of the GeoElement.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The feature ID.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleLayerId → String
-
The ID of the style layer from which this feature originates.
no setter
- styleLayerType → VectorTileStyleLayerType
-
The VectorTileStyleLayerType of the style layer from which this feature
originates.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited