SourceFeature class

A feature that MapController.querySourceFeatures found in a source.

Annotations

Constructors

SourceFeature({required Object? id, required Map<String, Object?> properties, Geometry? geometry, String? sourceLayer})
Creates a SourceFeature.
const

Properties

geometry → Geometry?
The geometry of the feature, in the precision of the tile that holds it, or null if it has none.
final
hashCode → int
The hash code for this object.
no setteroverride
id → Object?
The id of the feature in its source, a string or a number, if it has one.
final
properties → Map<String, Object?>
The properties of the feature as provided by its source.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceLayer → String?
The source layer that holds the feature, for vector tile sources.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override