QueriedRenderedFeature class

Represents query result that is returned in QueryRenderedFeaturesCallback. @see queryRenderedFeatures

Constructors

QueriedRenderedFeature({required QueriedFeature queriedFeature, required List<String?> layers})

Properties

hashCode int
The hash code for this object.
no setterinherited
layers List<String?>
An array of layer Ids for the queried feature. If the feature has been rendered in multiple layers, multiple Ids will be provided. If the feature is only rendered in one layer, a single Id will be provided.
getter/setter pair
queriedFeature QueriedFeature
Feature returned by the query.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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) QueriedRenderedFeature