@vertigis/viewer-spec 60.7.0 → 60.8.1
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.
- package/messaging/schema/web-app-operation-definitions.md +30 -0
- package/messaging/schema/web-arcade-operation-definitions.md +93 -0
- package/messaging/schema/web-auth-command-definitions.md +12 -0
- package/messaging/schema/web-auth-operation-definitions.md +16 -0
- package/messaging/schema/web-basemap-command-definitions.md +20 -0
- package/messaging/schema/web-basemap-operation-definitions.md +31 -0
- package/messaging/schema/web-bulk-editing-command-definitions.md +54 -0
- package/messaging/schema/web-charts-command-definitions.md +135 -0
- package/messaging/schema/web-charts-operation-definitions.md +48 -0
- package/messaging/schema/web-drawing-command-definitions.md +551 -0
- package/messaging/schema/web-drawing-operation-definitions.md +720 -0
- package/messaging/schema/web-edit-command-definitions.md +540 -0
- package/messaging/schema/web-edit-operation-definitions.md +50 -0
- package/messaging/schema/web-filter-builder-command-definitions.md +50 -0
- package/messaging/schema/web-filter-builder-operation-definitions.md +18 -0
- package/messaging/schema/web-geocode-operation-definitions.md +132 -0
- package/messaging/schema/web-geolocation-command-definitions.md +27 -0
- package/messaging/schema/web-geolocation-operation-definitions.md +24 -0
- package/messaging/schema/web-geometry-command-definitions.md +34 -0
- package/messaging/schema/web-geometry-operation-definitions.md +438 -0
- package/messaging/schema/web-highlights-command-definitions.md +120 -0
- package/messaging/schema/web-kpi-command-definitions.md +139 -0
- package/messaging/schema/web-kpi-operation-definitions.md +48 -0
- package/messaging/schema/web-layer-comparison-command-definitions.md +214 -0
- package/messaging/schema/web-layer-list-command-definitions.md +30 -0
- package/messaging/schema/web-layers-command-definitions.md +1466 -0
- package/messaging/schema/web-layers-operation-definitions.md +612 -0
- package/messaging/schema/web-licensing-command-definitions.md +24 -0
- package/messaging/schema/web-licensing-operation-definitions.md +26 -0
- package/messaging/schema/web-location-marker-command-definitions.md +209 -0
- package/messaging/schema/web-map-command-definitions.md +2157 -0
- package/messaging/schema/web-map-operation-definitions.md +147 -0
- package/messaging/schema/web-measurement-command-definitions.md +556 -0
- package/messaging/schema/web-measurement-operation-definitions.md +314 -0
- package/messaging/schema/web-messaging-operation-definitions.md +16 -0
- package/messaging/schema/web-panel-command-definitions.md +44 -0
- package/messaging/schema/web-portal-operation-definitions.md +87 -0
- package/messaging/schema/web-printing-command-definitions.md +105 -0
- package/messaging/schema/web-printing-operation-definitions.md +21 -0
- package/messaging/schema/web-project-command-definitions.md +418 -0
- package/messaging/schema/web-project-operation-definitions.md +120 -0
- package/messaging/schema/web-query-builder-command-definitions.md +83 -0
- package/messaging/schema/web-query-builder-operation-definitions.md +18 -0
- package/messaging/schema/web-region-command-definitions.md +6 -0
- package/messaging/schema/web-reports-command-definitions.md +44 -0
- package/messaging/schema/web-results-command-definitions.md +348 -0
- package/messaging/schema/web-results-operation-definitions.md +1242 -0
- package/messaging/schema/web-search-command-definitions.md +6 -0
- package/messaging/schema/web-sketching-command-definitions.md +328 -0
- package/messaging/schema/web-sketching-operation-definitions.md +442 -0
- package/messaging/schema/web-studio-analytics-command-definitions.md +21 -0
- package/messaging/schema/web-system-command-definitions.md +159 -0
- package/messaging/schema/web-system-operation-definitions.md +104 -0
- package/messaging/schema/web-tasks-operation-definitions.md +360 -0
- package/messaging/schema/web-ui-command-definitions.md +340 -0
- package/messaging/schema/web-ui-operation-definitions.md +146 -0
- package/messaging/schema/web-viewer-command-definitions.md +40 -0
- package/messaging/schema/web-viewer-operation-definitions.md +48 -0
- package/messaging/schema/web-workflow-command-definitions.md +47 -0
- package/messaging/schema/web-workflow-operation-definitions.md +45 -0
- package/package.json +10 -9
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,551 @@
|
|
|
1
|
+
# command: drawing.set-default-symbol
|
|
2
|
+
Description: Sets the value of the default point, line, or polygon symbol. The symbol can be configured with an instance of the Esri symbol or with the Esri WebMap JSON. Web only.
|
|
3
|
+
|
|
4
|
+
**Example:** Set the default point symbol to a square.
|
|
5
|
+
|
|
6
|
+
```
|
|
7
|
+
{
|
|
8
|
+
"type": "esriSMS",
|
|
9
|
+
"color": [251, 43, 17, 85],
|
|
10
|
+
"size": 12,
|
|
11
|
+
"style": "esriSMSSquare",
|
|
12
|
+
"outline": {
|
|
13
|
+
"type": "esriSLS",
|
|
14
|
+
"color": [251, 43, 17, 255],
|
|
15
|
+
"width": 1.5,
|
|
16
|
+
"style": "esriSLSSolid"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Inputs: `( esri.PictureFillSymbol | esri.PictureMarkerSymbol | esri.SimpleFillSymbol | esri.SimpleLineSymbol | esri.SimpleMarkerSymbol | esri.TextSymbol | esri.CIMSymbol | esri.LineSymbol3D | esri.PointSymbol3D | esri.PolygonSymbol3D | esri.rest-api.SymbolJson.CIMSymbolReferenceJson | esri.rest-api.SymbolJson.PictureFillSymbolJson | esri.rest-api.SymbolJson.PictureMarkerSymbolJson | esri.rest-api.SymbolJson.SimpleFillSymbolJson | esri.rest-api.SymbolJson.SimpleLineSymbolJson | esri.rest-api.SymbolJson.SimpleMarkerSymbolJson | esri.rest-api.SymbolJson.TextSymbolJson | esri.rest-api.SymbolJson.LineSymbol3DJson | esri.rest-api.SymbolJson.PointSymbol3DJson | esri.rest-api.SymbolJson.PolygonSymbol3DJson | HasSymbols )`
|
|
22
|
+
|
|
23
|
+
esri.rest-api.SymbolJson.CIMSymbolReferenceJson properties:
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"symbol": {
|
|
27
|
+
"anyOf": [
|
|
28
|
+
{
|
|
29
|
+
"$ref": "esri.CIMLineSymbol"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"$ref": "esri.CIMPointSymbol"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"$ref": "esri.CIMPolygonSymbol"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"description": "The symbol. Supported values are CIMPointSymbol, CIMLineSymbol, and CIMPolygonSymbol."
|
|
39
|
+
},
|
|
40
|
+
"type": {
|
|
41
|
+
"const": "CIMSymbolReference",
|
|
42
|
+
"description": "Specifies the type of symbol used.",
|
|
43
|
+
"type": "string",
|
|
44
|
+
"isRequired": "true"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
esri.rest-api.SymbolJson.PictureFillSymbolJson properties:
|
|
50
|
+
```json
|
|
51
|
+
{
|
|
52
|
+
"angle": {
|
|
53
|
+
"description": "Numeric value that defines the number of degrees ranging from 0-360, that a marker symbol is rotated. The rotation is from East in a counter-clockwise direction where East is the 0° axis.",
|
|
54
|
+
"type": "number"
|
|
55
|
+
},
|
|
56
|
+
"contentType": {
|
|
57
|
+
"description": "String value indicating the content type for the image.",
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"height": {
|
|
61
|
+
"description": "Numeric value used if needing to resize the symbol. Specify a value in points. If images are to be displayed in their original size, leave this blank.",
|
|
62
|
+
"type": "number"
|
|
63
|
+
},
|
|
64
|
+
"imageData": {
|
|
65
|
+
"description": "String value indicating the base64 encoded data.",
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"outline": {
|
|
69
|
+
"description": "Sets the outline of the symbol."
|
|
70
|
+
},
|
|
71
|
+
"type": {
|
|
72
|
+
"const": "esriPFS",
|
|
73
|
+
"description": "The type of symbol. See {@link SymbolJsonType}.",
|
|
74
|
+
"type": "string",
|
|
75
|
+
"isRequired": "true"
|
|
76
|
+
},
|
|
77
|
+
"url": {
|
|
78
|
+
"description": "Relative URL for static layers and full URL for dynamic layers. Access relative URL using http://<mapservice-url>/<layerId1>/images/<imageUrl11>.",
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"width": {
|
|
82
|
+
"description": "Numeric value used if needing to resize the symbol. If images are to be displayed in their original size, leave this blank.",
|
|
83
|
+
"type": "number"
|
|
84
|
+
},
|
|
85
|
+
"xoffset": {
|
|
86
|
+
"description": "Numeric value indicating the offset on the x-axis in pixels.",
|
|
87
|
+
"type": "number"
|
|
88
|
+
},
|
|
89
|
+
"xscale": {
|
|
90
|
+
"description": "Numeric value indicating the scale factor in x direction.",
|
|
91
|
+
"type": "number"
|
|
92
|
+
},
|
|
93
|
+
"yoffset": {
|
|
94
|
+
"description": "Numeric value indicating the offset on the y-axis in pixels.",
|
|
95
|
+
"type": "number"
|
|
96
|
+
},
|
|
97
|
+
"yscale": {
|
|
98
|
+
"description": "Numeric value indicating the scale factor in y direction.",
|
|
99
|
+
"type": "number"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
esri.rest-api.SymbolJson.PictureMarkerSymbolJson properties:
|
|
105
|
+
```json
|
|
106
|
+
{
|
|
107
|
+
"angle": {
|
|
108
|
+
"description": "Numeric value that defines the number of degrees ranging from 0-360, that a marker symbol is rotated. The rotation is from East in a counter-clockwise direction where East is the 0° axis.",
|
|
109
|
+
"type": "number"
|
|
110
|
+
},
|
|
111
|
+
"contentType": {
|
|
112
|
+
"description": "String value indicating the content type for the image.",
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
"height": {
|
|
116
|
+
"description": "Numeric value used if needing to resize the symbol. If images are to be displayed in their original size, leave this blank.",
|
|
117
|
+
"type": "number"
|
|
118
|
+
},
|
|
119
|
+
"imageData": {
|
|
120
|
+
"description": "String value indicating the base64 encoded data.",
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
"type": {
|
|
124
|
+
"const": "esriPMS",
|
|
125
|
+
"description": "The type of symbol. See {@link SymbolJsonType}.",
|
|
126
|
+
"type": "string",
|
|
127
|
+
"isRequired": "true"
|
|
128
|
+
},
|
|
129
|
+
"url": {
|
|
130
|
+
"description": "String value indicating the URL of the image. The URL should be relative if working with static layers. A full URL should be used for map service dynamic layers. A relative URL can be dereferenced by accessing the map layer image resource or the feature layer image resource.",
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
133
|
+
"width": {
|
|
134
|
+
"description": "Numeric value used if needing to resize the symbol. If images are to be displayed in their original size, leave this blank.",
|
|
135
|
+
"type": "number"
|
|
136
|
+
},
|
|
137
|
+
"xoffset": {
|
|
138
|
+
"description": "Numeric value indicating the offset on the x-axis in pixels.",
|
|
139
|
+
"type": "number"
|
|
140
|
+
},
|
|
141
|
+
"yoffset": {
|
|
142
|
+
"description": "Numeric value indicating the offset on the y-axis in pixels.",
|
|
143
|
+
"type": "number"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
esri.rest-api.SymbolJson.SimpleFillSymbolJson properties:
|
|
149
|
+
```json
|
|
150
|
+
{
|
|
151
|
+
"color": {
|
|
152
|
+
"description": "Color is represented as a four-element array. The four elements represent values for red, green, blue, and alpha in that order. Values range from 0 through 255. If color is undefined for a symbol, the color value is null.",
|
|
153
|
+
"items": {
|
|
154
|
+
"type": "number"
|
|
155
|
+
},
|
|
156
|
+
"type": "array"
|
|
157
|
+
},
|
|
158
|
+
"outline": {
|
|
159
|
+
"description": "Sets the outline of the fill symbol."
|
|
160
|
+
},
|
|
161
|
+
"style": {
|
|
162
|
+
"description": "The fill style.",
|
|
163
|
+
"enum": [
|
|
164
|
+
"esriSFSBackwardDiagonal",
|
|
165
|
+
"esriSFSCross",
|
|
166
|
+
"esriSFSDiagonalCross",
|
|
167
|
+
"esriSFSForwardDiagonal",
|
|
168
|
+
"esriSFSHorizontal",
|
|
169
|
+
"esriSFSNull",
|
|
170
|
+
"esriSFSSolid",
|
|
171
|
+
"esriSFSVertical"
|
|
172
|
+
],
|
|
173
|
+
"type": "string"
|
|
174
|
+
},
|
|
175
|
+
"type": {
|
|
176
|
+
"const": "esriSFS",
|
|
177
|
+
"description": "The type of symbol. See {@link SymbolJsonType}.",
|
|
178
|
+
"type": "string",
|
|
179
|
+
"isRequired": "true"
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
esri.rest-api.SymbolJson.SimpleLineSymbolJson properties:
|
|
185
|
+
```json
|
|
186
|
+
{
|
|
187
|
+
"color": {
|
|
188
|
+
"description": "Color is represented as a four-element array. The four elements represent values for red, green, blue, and alpha in that order. Values range from 0 through 255. If color is undefined for a symbol, the color value is null.",
|
|
189
|
+
"items": {
|
|
190
|
+
"type": "number"
|
|
191
|
+
},
|
|
192
|
+
"type": "array"
|
|
193
|
+
},
|
|
194
|
+
"style": {
|
|
195
|
+
"description": "The line style.",
|
|
196
|
+
"enum": [
|
|
197
|
+
"esriSLSDash",
|
|
198
|
+
"esriSLSDashDot",
|
|
199
|
+
"esriSLSDashDotDot",
|
|
200
|
+
"esriSLSDot",
|
|
201
|
+
"esriSLSNull",
|
|
202
|
+
"esriSLSSolid"
|
|
203
|
+
],
|
|
204
|
+
"type": "string"
|
|
205
|
+
},
|
|
206
|
+
"type": {
|
|
207
|
+
"const": "esriSLS",
|
|
208
|
+
"description": "The type of symbol. See {@link SymbolJsonType}.",
|
|
209
|
+
"type": "string",
|
|
210
|
+
"isRequired": "true"
|
|
211
|
+
},
|
|
212
|
+
"width": {
|
|
213
|
+
"description": "Numeric value indicating the width of the line in pixels.",
|
|
214
|
+
"type": "number"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
esri.rest-api.SymbolJson.SimpleMarkerSymbolJson properties:
|
|
220
|
+
```json
|
|
221
|
+
{
|
|
222
|
+
"angle": {
|
|
223
|
+
"description": "Numeric value used to rotate the symbol. The symbol is rotated counter-clockwise. For example, The following, angle=-30, in will create a symbol rotated -30 degrees counter-clockwise; that is, 30 degrees clockwise.",
|
|
224
|
+
"type": "number"
|
|
225
|
+
},
|
|
226
|
+
"color": {
|
|
227
|
+
"description": "Color is represented as a four-element array. The four elements represent values for red, green, blue, and alpha in that order. Values range from 0 through 255. If color is undefined for a symbol, the color value is null.",
|
|
228
|
+
"items": {
|
|
229
|
+
"type": "number"
|
|
230
|
+
},
|
|
231
|
+
"type": "array"
|
|
232
|
+
},
|
|
233
|
+
"outline": {
|
|
234
|
+
"description": "Sets the outline of the marker symbol."
|
|
235
|
+
},
|
|
236
|
+
"size": {
|
|
237
|
+
"description": "Numeric size of the symbol given in pixels.",
|
|
238
|
+
"type": "number"
|
|
239
|
+
},
|
|
240
|
+
"style": {
|
|
241
|
+
"description": "The marker style.",
|
|
242
|
+
"enum": [
|
|
243
|
+
"esriSMSCircle",
|
|
244
|
+
"esriSMSCross",
|
|
245
|
+
"esriSMSDiamond",
|
|
246
|
+
"esriSMSPath",
|
|
247
|
+
"esriSMSSquare",
|
|
248
|
+
"esriSMSTriangle",
|
|
249
|
+
"esriSMSX"
|
|
250
|
+
],
|
|
251
|
+
"type": "string"
|
|
252
|
+
},
|
|
253
|
+
"type": {
|
|
254
|
+
"const": "esriSMS",
|
|
255
|
+
"description": "The type of symbol. See {@link SymbolJsonType}.",
|
|
256
|
+
"type": "string",
|
|
257
|
+
"isRequired": "true"
|
|
258
|
+
},
|
|
259
|
+
"xoffset": {
|
|
260
|
+
"description": "Numeric value indicating the offset on the x-axis in pixels.",
|
|
261
|
+
"type": "number"
|
|
262
|
+
},
|
|
263
|
+
"yoffset": {
|
|
264
|
+
"description": "Numeric value indicating the offset on the y-axis in pixels.",
|
|
265
|
+
"type": "number"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
esri.rest-api.SymbolJson.TextSymbolJson properties:
|
|
271
|
+
```json
|
|
272
|
+
{
|
|
273
|
+
"angle": {
|
|
274
|
+
"description": "A numeric value that defines the number of degrees (0 to 360) that a text symbol is rotated. The rotation is from East in a counter-clockwise direction where East is the 0° axis.",
|
|
275
|
+
"type": "number"
|
|
276
|
+
},
|
|
277
|
+
"backgroundColor": {
|
|
278
|
+
"description": "Background color of the text.",
|
|
279
|
+
"items": {
|
|
280
|
+
"type": "number"
|
|
281
|
+
},
|
|
282
|
+
"type": "array"
|
|
283
|
+
},
|
|
284
|
+
"borderLineColor": {
|
|
285
|
+
"description": "Value indicating the the color of the border line.",
|
|
286
|
+
"items": {
|
|
287
|
+
"type": "number"
|
|
288
|
+
},
|
|
289
|
+
"type": "array"
|
|
290
|
+
},
|
|
291
|
+
"borderLineSize": {
|
|
292
|
+
"description": "Numeric value indicating the the size of the border line in points.",
|
|
293
|
+
"type": "number"
|
|
294
|
+
},
|
|
295
|
+
"color": {
|
|
296
|
+
"description": "Color is represented as a four-element array. The four elements represent values for red, green, blue, and alpha in that order. Values range from 0 through 255. If color is undefined for a symbol, the color value is null.",
|
|
297
|
+
"items": {
|
|
298
|
+
"type": "number"
|
|
299
|
+
},
|
|
300
|
+
"type": "array"
|
|
301
|
+
},
|
|
302
|
+
"font": {
|
|
303
|
+
"description": "Font used for text symbols."
|
|
304
|
+
},
|
|
305
|
+
"haloColor": {
|
|
306
|
+
"description": "Color of the halo around the text.",
|
|
307
|
+
"items": {
|
|
308
|
+
"type": "number"
|
|
309
|
+
},
|
|
310
|
+
"type": "array"
|
|
311
|
+
},
|
|
312
|
+
"haloSize": {
|
|
313
|
+
"description": "Numeric value indicating the point size of a halo around the text symbol.",
|
|
314
|
+
"type": "number"
|
|
315
|
+
},
|
|
316
|
+
"horizontalAlignment": {
|
|
317
|
+
"description": "The horizontal alignment of the text.",
|
|
318
|
+
"enum": [
|
|
319
|
+
"center",
|
|
320
|
+
"justify",
|
|
321
|
+
"left",
|
|
322
|
+
"right"
|
|
323
|
+
],
|
|
324
|
+
"type": "string"
|
|
325
|
+
},
|
|
326
|
+
"kerning": {
|
|
327
|
+
"description": "Boolean value indicating whether to adjust the spacing between characters in the text string.",
|
|
328
|
+
"type": "boolean"
|
|
329
|
+
},
|
|
330
|
+
"rightToLeft": {
|
|
331
|
+
"description": "Boolean value, set to true if using Hebrew or Arabic fonts.",
|
|
332
|
+
"type": "boolean"
|
|
333
|
+
},
|
|
334
|
+
"rotated": {
|
|
335
|
+
"description": "Boolean value indicating whether every character in the text string is rotated.",
|
|
336
|
+
"type": "boolean"
|
|
337
|
+
},
|
|
338
|
+
"text": {
|
|
339
|
+
"description": "Only applicable when specified as a client-side graphic.",
|
|
340
|
+
"type": "string"
|
|
341
|
+
},
|
|
342
|
+
"type": {
|
|
343
|
+
"const": "esriTS",
|
|
344
|
+
"description": "The type of symbol. See {@link SymbolJsonType}.",
|
|
345
|
+
"type": "string",
|
|
346
|
+
"isRequired": "true"
|
|
347
|
+
},
|
|
348
|
+
"verticalAlignment": {
|
|
349
|
+
"description": "The vertical alignment of the text.",
|
|
350
|
+
"enum": [
|
|
351
|
+
"baseline",
|
|
352
|
+
"bottom",
|
|
353
|
+
"middle",
|
|
354
|
+
"top"
|
|
355
|
+
],
|
|
356
|
+
"type": "string"
|
|
357
|
+
},
|
|
358
|
+
"xoffset": {
|
|
359
|
+
"description": "Numeric value indicating the offset on the x-axis in pixels.",
|
|
360
|
+
"type": "number"
|
|
361
|
+
},
|
|
362
|
+
"yoffset": {
|
|
363
|
+
"description": "Numeric value indicating the offset on the y-axis in pixels.",
|
|
364
|
+
"type": "number"
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
esri.rest-api.SymbolJson.LineSymbol3DJson properties:
|
|
370
|
+
```json
|
|
371
|
+
{
|
|
372
|
+
"symbolLayers": {
|
|
373
|
+
"description": "A Collection of Symbol3DLayer objects used to visualize the graphic or feature.",
|
|
374
|
+
"items": {
|
|
375
|
+
"anyOf": [
|
|
376
|
+
{
|
|
377
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PathSymbol3DLayerJson"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.LineSymbol3DLayerJson"
|
|
381
|
+
}
|
|
382
|
+
]
|
|
383
|
+
},
|
|
384
|
+
"type": "array",
|
|
385
|
+
"isRequired": "true"
|
|
386
|
+
},
|
|
387
|
+
"type": {
|
|
388
|
+
"const": "LineSymbol3D",
|
|
389
|
+
"description": "The type of symbol. See {@link SymbolJsonType}.",
|
|
390
|
+
"type": "string",
|
|
391
|
+
"isRequired": "true"
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
esri.rest-api.SymbolJson.PointSymbol3DJson properties:
|
|
397
|
+
```json
|
|
398
|
+
{
|
|
399
|
+
"callout": {
|
|
400
|
+
"description": "Callout configuration for a symbol."
|
|
401
|
+
},
|
|
402
|
+
"styleOrigin": {
|
|
403
|
+
"description": "The origin of the style from which the symbol was originally referenced. A reference to the style origin can be either by styleName or by styleUrl (but not both). It may be used to understand where a symbol was originally sourced from, but does not affect actual appearance or rendering of the symbol. See {@link https://developers.arcgis.com/web-scene-specification/objects/styleOrigin/}."
|
|
404
|
+
},
|
|
405
|
+
"symbolLayers": {
|
|
406
|
+
"description": "A Collection of Symbol3DLayer objects used to visualize the graphic or feature.",
|
|
407
|
+
"items": {
|
|
408
|
+
"anyOf": [
|
|
409
|
+
{
|
|
410
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.IconSymbol3DLayerJson"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.ObjectSymbol3DLayerJson"
|
|
414
|
+
}
|
|
415
|
+
]
|
|
416
|
+
},
|
|
417
|
+
"type": "array",
|
|
418
|
+
"isRequired": "true"
|
|
419
|
+
},
|
|
420
|
+
"type": {
|
|
421
|
+
"const": "PointSymbol3D",
|
|
422
|
+
"description": "The type of symbol. See {@link SymbolJsonType}.",
|
|
423
|
+
"type": "string",
|
|
424
|
+
"isRequired": "true"
|
|
425
|
+
},
|
|
426
|
+
"verticalOffset": {
|
|
427
|
+
"description": "Shifts the symbol along the vertical world axis by a given length."
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
esri.rest-api.SymbolJson.PolygonSymbol3DJson properties:
|
|
433
|
+
```json
|
|
434
|
+
{
|
|
435
|
+
"symbolLayers": {
|
|
436
|
+
"description": "A Collection of Symbol3DLayer objects used to visualize the graphic or feature.",
|
|
437
|
+
"items": {
|
|
438
|
+
"anyOf": [
|
|
439
|
+
{
|
|
440
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.ExtrudeSymbol3DLayerJson"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.FillSymbol3DLayerJson"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.LineSymbol3DLayerJson"
|
|
447
|
+
}
|
|
448
|
+
]
|
|
449
|
+
},
|
|
450
|
+
"type": "array",
|
|
451
|
+
"isRequired": "true"
|
|
452
|
+
},
|
|
453
|
+
"type": {
|
|
454
|
+
"const": "PolygonSymbol3D",
|
|
455
|
+
"description": "The type of symbol. See {@link SymbolJsonType}.",
|
|
456
|
+
"type": "string",
|
|
457
|
+
"isRequired": "true"
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
HasSymbols properties:
|
|
463
|
+
```json
|
|
464
|
+
{
|
|
465
|
+
"symbols": {
|
|
466
|
+
"anyOf": [
|
|
467
|
+
{
|
|
468
|
+
"$ref": "#/definitions/esri.PictureFillSymbol"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"$ref": "#/definitions/esri.PictureMarkerSymbol"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"$ref": "#/definitions/esri.SimpleFillSymbol"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"$ref": "#/definitions/esri.SimpleLineSymbol"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"$ref": "#/definitions/esri.SimpleMarkerSymbol"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"$ref": "#/definitions/esri.TextSymbol"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"$ref": "#/definitions/esri.CIMSymbol"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"$ref": "#/definitions/esri.LineSymbol3D"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"$ref": "#/definitions/esri.PointSymbol3D"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"$ref": "#/definitions/esri.PolygonSymbol3D"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.CIMSymbolReferenceJson"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PictureFillSymbolJson"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PictureMarkerSymbolJson"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleFillSymbolJson"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleLineSymbolJson"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleMarkerSymbolJson"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.TextSymbolJson"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.LineSymbol3DJson"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PointSymbol3DJson"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PolygonSymbol3DJson"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"items": {
|
|
529
|
+
"$ref": "SymbolLike"
|
|
530
|
+
},
|
|
531
|
+
"type": "array"
|
|
532
|
+
}
|
|
533
|
+
],
|
|
534
|
+
"description": "The symbols to use for the command/operation."
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
```
|
|
538
|
+
|
|
539
|
+
---
|
|
540
|
+
# command: drawing.set-symbol
|
|
541
|
+
Description: Sets the symbol on a collection of Graphics. The symbol can be configured with an instance of the Esri symbol or with the Esri WebMap JSON. Web only.
|
|
542
|
+
|
|
543
|
+
Inputs: `object`
|
|
544
|
+
|
|
545
|
+
---
|
|
546
|
+
# command: drawing.set-sync
|
|
547
|
+
Description: Sets a value that determines whether drawings will be synced automatically across maps.
|
|
548
|
+
|
|
549
|
+
Inputs: `boolean`
|
|
550
|
+
|
|
551
|
+
---
|