SourceFeatureQueryOptions class final

Options for a source feature query.

See mln_source_feature_query_options in the C API reference.

Constructors

SourceFeatureQueryOptions({List<String>? sourceLayerIds, Object? filter})

Properties

filter → Object?
A [filter](https://maplibre.org/maplibre-style-spec/expressions/) that each feature must match. Empty matches every feature.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceLayerIds → List<String>?
The source layers to query. A vector source finds features only in the source layers named here.
final

Methods

copyWith({List<String>? sourceLayerIds, Object? filter = _unchanged}) → SourceFeatureQueryOptions
A copy of this value with the given members replaced.
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