RenderedFeature class final

A feature that a rendered feature query found.

See mln_rendered_feature in the C API reference.

Constructors

RenderedFeature({Object? feature, String layerId = '', String sourceId = '', String sourceLayerId = '', Object? state})
const

Properties

feature → Object?
The feature, as a GeoJSON feature.
final
hashCode → int
The hash code for this object.
no setterinherited
layerId → String
The layer that drew the feature.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceId → String
final
sourceLayerId → String
The feature's source layer, or empty when its source has none.
final
state → Object?
The feature's state, as a JSON object.
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.
inherited