LongTapInteraction<T extends FeaturesetDescriptor> constructor
- T featuresetDescriptor,
- OnInteractionFeatureContext<
TypedFeaturesetFeature< actionFeatureContext, {T> > - String? filter,
- double? radius,
- bool stopPropagation = true,
Implementation
LongTapInteraction(
T featuresetDescriptor,
OnInteractionFeatureContext<TypedFeaturesetFeature<T>>
actionFeatureContext,
{super.filter,
super.radius,
super.stopPropagation = true})
: super(
featuresetDescriptor: featuresetDescriptor,
interactionType: "LONG_TAP",
action: (feature, context) {
if (feature != null) {
actionFeatureContext(feature, context);
}
});