TapInteraction<T extends FeaturesetDescriptor> class final

A single tap interaction on a Featureset with a typed FeaturesetDescriptor or on the map.

Inheritance

Constructors

TapInteraction(T featuresetDescriptor, OnInteractionFeatureContext<TypedFeaturesetFeature<T>> actionFeatureContext, {String? filter, double? radius, bool stopPropagation = true})
TapInteraction.onMap(OnInteractionContext actionContext, {bool stopPropagation = true})

Properties

action ↔ OnInteraction<TypedFeaturesetFeature<T>>
getter/setter pairinherited
featuresetDescriptor ↔ FeaturesetDescriptor?
The featureset descriptor that specifies the featureset to be included in the interaction.
getter/setter pairinherited
filter ↔ String?
An optional filter of features that should trigger the interaction.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
interactionType ↔ _InteractionType
The type of interaction, either tap or longTap
getter/setter pairinherited
radius ↔ double?
Radius of a tappable area
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stopPropagation ↔ bool
Whether to stop the propagation of the interaction to the map. Defaults to true.
getter/setter pairinherited

Methods

encode() → Object
inherited
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