Add 'labels' to tagRenderings, allow to hide tagRenderings with a certain label

This commit is contained in:
Pieter Vander Vennet 2022-02-08 02:23:38 +01:00
parent 18bd4c3dfe
commit 018908b39b
4 changed files with 68 additions and 14 deletions

View file

@ -202,7 +202,14 @@ export interface LayoutConfigJson {
* }
*```
*/
layers: (LayerConfigJson | string | { builtin: string | string[], override: any })[],
layers: (LayerConfigJson | string |
{ builtin: string | string[],
override: any,
/**
* TagRenderings with any of these labels will be removed from the layer.
* Note that the 'id' and 'group' are considered labels too
*/
hideTagRenderingsWithLabels?: string[]})[],
/**
* If defined, data will be clustered.