@vertigis/viewer-spec 61.17.0 → 61.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,111 @@
1
+ # command: attribute-table.add
2
+ Description: Displays the attribute table interface for a given layer or set of layers. Each layer will be displayed in a separate tab. The supplied layers will be appended to the currently present layers in the attribute table. If there are no layers in the table, then this command behaves as if the "display" command was used. Web only.
3
+
4
+ **Example:** Adding a layer to the attribute table.
5
+
6
+ ```
7
+ {
8
+ "layers": "item://layer-extension/your-layerExtension-id"
9
+ }
10
+ ```
11
+
12
+ **Example:** Adding more than one layer to the attribute table.
13
+
14
+ ```
15
+ {
16
+ "layers": [
17
+ "item://layer-extension/your-layerExtension-id",
18
+ "item://table-extension/your-tableExtension-id"
19
+ ]
20
+ }
21
+ ```
22
+
23
+ Inputs: `AttributeTableArgs`
24
+
25
+ AttributeTableArgs properties:
26
+ ```json
27
+ {
28
+ "attributeTable": {
29
+ "description": "The attribute table component that will be targeted. If not specified, all active attribute table components in the layout will be targeted."
30
+ },
31
+ "layers": {
32
+ "description": "Layer(s) to use for the command/operation."
33
+ }
34
+ }
35
+ ```
36
+
37
+ ---
38
+ # command: attribute-table.display
39
+ Description: Displays the attribute table interface for a given layer or set of layers. Each layer will be displayed in a separate tab. The supplied layers will replace the layers currently displayed in the table. Web only.
40
+
41
+ **Example:** Displaying the attribute table for a layer.
42
+
43
+ ```
44
+ {
45
+ "layers": "item://layer-extension/your-layerExtension-id"
46
+ }
47
+ ```
48
+
49
+ **Example:** Displaying the attribute table for more than one layer.
50
+
51
+ ```
52
+ {
53
+ "layers": [
54
+ "item://layer-extension/your-layerExtension-id",
55
+ "item://table-extension/your-tableExtension-id"
56
+ ]
57
+ }
58
+ ```
59
+
60
+ Inputs: `AttributeTableArgs`
61
+
62
+ AttributeTableArgs properties:
63
+ ```json
64
+ {
65
+ "attributeTable": {
66
+ "description": "The attribute table component that will be targeted. If not specified, all active attribute table components in the layout will be targeted."
67
+ },
68
+ "layers": {
69
+ "description": "Layer(s) to use for the command/operation."
70
+ }
71
+ }
72
+ ```
73
+
74
+ ---
75
+ # command: attribute-table.remove
76
+ Description: Remove one or more layers from the attribute table. Web only.
77
+
78
+ **Example:** Removing a layer from the attribute table.
79
+
80
+ ```
81
+ {
82
+ "layers": "item://layer-extension/your-layerExtension-id"
83
+ }
84
+ ```
85
+
86
+ **Example:** Removing more than one layer from the attribute table.
87
+
88
+ ```
89
+ {
90
+ "layers": [
91
+ "item://layer-extension/your-layerExtension-id",
92
+ "item://table-extension/your-tableExtension-id"
93
+ ]
94
+ }
95
+ ```
96
+
97
+ Inputs: `AttributeTableArgs`
98
+
99
+ AttributeTableArgs properties:
100
+ ```json
101
+ {
102
+ "attributeTable": {
103
+ "description": "The attribute table component that will be targeted. If not specified, all active attribute table components in the layout will be targeted."
104
+ },
105
+ "layers": {
106
+ "description": "Layer(s) to use for the command/operation."
107
+ }
108
+ }
109
+ ```
110
+
111
+ ---