MapFilterOperation
geovisto-map / MapFilterOperation
Class: MapFilterOperation
This class wraps a filter operation defined by constructor props.
Author
Jiri Hynek
Extends
Implements
Constructors
new MapFilterOperation()
new MapFilterOperation(
label
,acceptFunction
):MapFilterOperation
It creates a new filter operation.
Parameters
• label: string
• acceptFunction
Returns
Overrides
Source
model/internal/filter/basic/MapFilterOperation.ts:27
Properties
label
private
label:string
Source
model/internal/filter/basic/MapFilterOperation.ts:11
match()
match: (
value
,pattern
) =>boolean
It performs the filter operation which compare a value with a pattern.
Parameters
• value: unknown
• pattern: unknown
Returns
boolean
Implementation of
Source
model/internal/filter/basic/MapFilterOperation.ts:19
Methods
getName()
getName():
string
It returns a unique string label of the filter representing operator given by the parameter of constructor.
Returns
string
Implementation of
Overrides
Source
model/internal/filter/basic/MapFilterOperation.ts:36
toString()
toString():
string
The string representation is equal to the name of the map domain.
Returns
string