API / geotoolkit / schematics / labeling / LabelsFilter / LabelsFilter
labeling.LabelsFilter.LabelsFilter
Constructors
Methods
▸ afterLabeling(labels, context, labelShape): LabelData[]
Runs after labeling, can be used for filter overlapped labels
| Name | Type | Description |
|---|---|---|
labels | LabelData[] | input array |
context | RenderingContext | rendering context |
labelShape | LabelShape | label shape template |
result filtered labels array
▸ beforeLabeling(iterator, context, options): Iterator<ComponentNode>
Gets iterator over filtered components
| Name | Type | Description |
|---|---|---|
iterator | Iterator<ComponentNode> | input components iterator |
context | RenderingContext | rendering context |
options | BeforeLabelingOptions | options |
iterator iterator over components to label
▸ getClassName(): string
string
▸ labelInfo(node): string
Returns label in non legend mode
| Name | Type | Description |
|---|---|---|
node | ComponentNode | component |
string
▸ nextLabel(): string
Returns label in legend mode
string
▸ reset(): LabelsFilter
Resets itself
this
▸ Static getClassName(): string
string