Feature class
Features are described in section 4.2 of the specification.
Constructors
-
Feature.new({required int id, required Map<
String, dynamic> properties, required List<Geometry> geometries}) -
The default constructor.
const
- Feature.fromRaw(Feature feature)
-
Creates a Feature from a
vt.Feature
instance.
Properties
-
geometries
→ List<
Geometry> -
Geometries of this feature.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Id of this feature.
final
-
properties
→ Map<
String, dynamic> -
Properties of this feature.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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