QueriedFeature class
Represents query result that is returned in QueryFeaturesCallback.
@see queryRenderedFeatures
or querySourceFeatures
Constructors
Properties
-
feature
↔ Map<
String?, Object?> -
Feature returned by the query.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source ↔ String
-
Source id for a queried feature.
getter/setter pair
- sourceLayer ↔ String?
-
Source layer id for a queried feature. May be null if source does not support layers, e.g., 'geojson' source,
or when data provided by the source is not layered.
getter/setter pair
- state ↔ String
-
Feature state for a queried feature. Type of the value is an Object.
@see
setFeatureState
andgetFeatureState
getter/setter pair
Methods
-
encode(
) → Object -
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
Static Methods
-
decode(
Object result) → QueriedFeature