You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: configure/src/metaconfigs/layer-vector-config.json
+76Lines changed: 76 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -555,6 +555,82 @@
555
555
}
556
556
]
557
557
},
558
+
{
559
+
"name": "Filter",
560
+
"rows": [
561
+
{
562
+
"name": "Filters",
563
+
"components": [
564
+
{
565
+
"field": "variables.initialFilters",
566
+
"name": "Initial Filters",
567
+
"description": "Configures the layer's filters for displaying an initial custom subset of the data.",
568
+
"type": "objectarray",
569
+
"width": 12,
570
+
"object": [
571
+
{
572
+
"field": "type",
573
+
"name": "Type of Property",
574
+
"description": "If not a Group, whether the property's value should be treated as a string or as a number.",
575
+
"type": "dropdown",
576
+
"width": 2,
577
+
"options": ["string", "number"]
578
+
},
579
+
{
580
+
"field": "key",
581
+
"name": "Property",
582
+
"description": "If not a Group, a field name from the properties object of each feature of this layer to be to construct a filter. Supports dot.notation for nested properties.",
583
+
"type": "text",
584
+
"width": 4
585
+
},
586
+
{
587
+
"field": "op",
588
+
"name": "Operator",
589
+
"description": "If not a Group, the operator to use between the 'Property' and 'Value'.",
590
+
"type": "dropdown",
591
+
"width": 2,
592
+
"options": [
593
+
"=",
594
+
"!=",
595
+
",",
596
+
"<",
597
+
">",
598
+
"<=",
599
+
">=",
600
+
"contains",
601
+
"beginswith",
602
+
"endswith"
603
+
]
604
+
},
605
+
{
606
+
"field": "value",
607
+
"name": "Value",
608
+
"description": "If not a Group, a value for the equation to operate on.",
609
+
"type": "text",
610
+
"width": 4
611
+
},
612
+
{
613
+
"field": "isGroup",
614
+
"name": "Is A Group",
615
+
"description": "A group contains all property-value rows beneath this row and up until the next Group row or up until the end. Groups themselves are always ANDed together but enables member rows within them to abide by a different operator. If this entry 'Is A Group', then the type, property, operator and values fields are ignored.",
616
+
"type": "switch",
617
+
"width": 6,
618
+
"defaultChecked": false
619
+
},
620
+
{
621
+
"field": "groupOp",
622
+
"name": "Group Operator",
623
+
"description": "If 'Is A Group', the operator to use for members within the group. 'AND' ands all the group members together. 'OR' ors all the group members together. 'NOT_AND' ands all the group members together and then negates the evaluation. 'NOT_OR' ors all the group members together and then negates the evaluation.",
0 commit comments