@vertigis/viewer-spec 60.6.0 → 60.8.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.
- package/app-config/schema/common-app-config.schema.json +1 -1
- package/app-config/schema/mobile-app-config.schema.json +1 -1
- package/app-config/schema/web-app-config.schema.json +1 -1
- package/messaging/schema/common-action.schema.json +15 -1
- package/messaging/schema/common-event.schema.json +15 -1
- package/messaging/schema/mobile-action.schema.json +15 -1
- package/messaging/schema/mobile-event.schema.json +15 -1
- package/messaging/schema/web-action.schema.json +15 -1
- 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-event.schema.json +15 -1
- 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 +9 -8
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,720 @@
|
|
|
1
|
+
# operation: drawing.create-graphics
|
|
2
|
+
Description: Creates graphics.
|
|
3
|
+
|
|
4
|
+
In Web, creates graphics out of GeometryLike or CreateGraphicsArgs, with the current symbols that are set on the DrawManager.
|
|
5
|
+
|
|
6
|
+
In Mobile, creates graphics from the given CreateGraphicsArgs or CreateGraphicsArgs[] (or some GeometryLike args). Any provided symbol parameter is used, otherwise a default symbol is used.
|
|
7
|
+
|
|
8
|
+
Inputs: `( CreateGraphicsResult | esri.Graphic | @vertigis.api-docs.Features Feature|FeatureSet|FeatureList|FeatureStream|Feature[] | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | esri.Extent | esri.Multipoint | esri.Point | esri.Polygon | esri.Polyline | esri.Mesh | esri.rest-api.FeatureJson.FeatureJson | esri.FeatureSet | ( esri.Graphic | esri.rest-api.FeatureJson.FeatureJson )[] | esri.rest-api.GeometryJson.PointJson | esri.rest-api.GeometryJson.MultipointJson | esri.rest-api.GeometryJson.PolylineJson | esri.rest-api.GeometryJson.PolygonJson | esri.rest-api.GeometryJson.ExtentJson | ( esri.Extent | esri.Multipoint | esri.Point | esri.Polygon | esri.Polyline | esri.Mesh | esri.rest-api.GeometryJson.PointJson | esri.rest-api.GeometryJson.MultipointJson | esri.rest-api.GeometryJson.PolylineJson | esri.rest-api.GeometryJson.PolygonJson | esri.rest-api.GeometryJson.ExtentJson )[] | CreateGraphicsArgs | CreateGraphicsArgs[] )`
|
|
9
|
+
|
|
10
|
+
CreateGraphicsResult properties:
|
|
11
|
+
```json
|
|
12
|
+
{
|
|
13
|
+
"graphics": {
|
|
14
|
+
"description": "The resulting graphics.",
|
|
15
|
+
"items": {
|
|
16
|
+
"$ref": "#/definitions/esri.Graphic"
|
|
17
|
+
},
|
|
18
|
+
"type": "array",
|
|
19
|
+
"isRequired": "true"
|
|
20
|
+
},
|
|
21
|
+
"maps": {
|
|
22
|
+
"description": "The map that the graphics were created on. Only available in Web.",
|
|
23
|
+
"isRequired": "true"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
esri.rest-api.FeatureJson.FeatureJson properties:
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"attributes": {
|
|
32
|
+
"description": "The feature attributes. It is a JSON object that contains a dictionary of name-value pairs. The names are the feature field names. The values are the field values and they can be any of the standard JSON types - string, number and boolean. Note that date values are encoded as numbers. The number represents the number of milliseconds since epoch (January 1,\n1970) in UTC."
|
|
33
|
+
},
|
|
34
|
+
"geometry": {
|
|
35
|
+
"description": "The feature geometry."
|
|
36
|
+
},
|
|
37
|
+
"popupInfo": {
|
|
38
|
+
"description": "A popupInfo object defining the content of popup window when you click a feature on the map. Applicable to features in a map notes feature layer only."
|
|
39
|
+
},
|
|
40
|
+
"symbol": {
|
|
41
|
+
"description": "Symbol used for drawing the feature."
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
esri.rest-api.GeometryJson.PointJson properties:
|
|
47
|
+
```json
|
|
48
|
+
{
|
|
49
|
+
"m": {
|
|
50
|
+
"description": "M coordinate which contains measures used for linear referencing.",
|
|
51
|
+
"type": "number"
|
|
52
|
+
},
|
|
53
|
+
"spatialReference": {
|
|
54
|
+
"description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
|
|
55
|
+
},
|
|
56
|
+
"x": {
|
|
57
|
+
"description": "X coordinate which is measured along the east/west axis.",
|
|
58
|
+
"type": [
|
|
59
|
+
"string",
|
|
60
|
+
"number"
|
|
61
|
+
],
|
|
62
|
+
"isRequired": "true"
|
|
63
|
+
},
|
|
64
|
+
"y": {
|
|
65
|
+
"description": "Y coordinate which is measured along the north/south axis.",
|
|
66
|
+
"type": [
|
|
67
|
+
"string",
|
|
68
|
+
"number"
|
|
69
|
+
],
|
|
70
|
+
"isRequired": "true"
|
|
71
|
+
},
|
|
72
|
+
"z": {
|
|
73
|
+
"description": "Z coordinate which measures height or elevation.",
|
|
74
|
+
"type": [
|
|
75
|
+
"string",
|
|
76
|
+
"number"
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
esri.rest-api.GeometryJson.MultipointJson properties:
|
|
83
|
+
```json
|
|
84
|
+
{
|
|
85
|
+
"hasM": {
|
|
86
|
+
"description": "Indicates whether the geometry contains M coordinate values.",
|
|
87
|
+
"type": "boolean"
|
|
88
|
+
},
|
|
89
|
+
"hasZ": {
|
|
90
|
+
"description": "Indicates whether the geometry contains Z coordinate values.",
|
|
91
|
+
"type": "boolean"
|
|
92
|
+
},
|
|
93
|
+
"points": {
|
|
94
|
+
"description": "An array that corresponds to 2D and 3D points.",
|
|
95
|
+
"items": {
|
|
96
|
+
"items": {
|
|
97
|
+
"type": "number"
|
|
98
|
+
},
|
|
99
|
+
"type": "array"
|
|
100
|
+
},
|
|
101
|
+
"type": "array",
|
|
102
|
+
"isRequired": "true"
|
|
103
|
+
},
|
|
104
|
+
"spatialReference": {
|
|
105
|
+
"description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
esri.rest-api.GeometryJson.PolylineJson properties:
|
|
111
|
+
```json
|
|
112
|
+
{
|
|
113
|
+
"hasM": {
|
|
114
|
+
"description": "Indicates whether the geometry contains M coordinate values.",
|
|
115
|
+
"type": "boolean"
|
|
116
|
+
},
|
|
117
|
+
"hasZ": {
|
|
118
|
+
"description": "Indicates whether the geometry contains Z coordinate values.",
|
|
119
|
+
"type": "boolean"
|
|
120
|
+
},
|
|
121
|
+
"paths": {
|
|
122
|
+
"description": "Three nested arrays which corresponds to a polyline.",
|
|
123
|
+
"items": {
|
|
124
|
+
"items": {
|
|
125
|
+
"items": {
|
|
126
|
+
"type": "number"
|
|
127
|
+
},
|
|
128
|
+
"type": "array"
|
|
129
|
+
},
|
|
130
|
+
"type": "array"
|
|
131
|
+
},
|
|
132
|
+
"type": "array",
|
|
133
|
+
"isRequired": "true"
|
|
134
|
+
},
|
|
135
|
+
"spatialReference": {
|
|
136
|
+
"description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
esri.rest-api.GeometryJson.PolygonJson properties:
|
|
142
|
+
```json
|
|
143
|
+
{
|
|
144
|
+
"hasM": {
|
|
145
|
+
"description": "Indicates whether the geometry contains M coordinate values.",
|
|
146
|
+
"type": "boolean"
|
|
147
|
+
},
|
|
148
|
+
"hasZ": {
|
|
149
|
+
"description": "Indicates whether the geometry contains Z coordinate values.",
|
|
150
|
+
"type": "boolean"
|
|
151
|
+
},
|
|
152
|
+
"rings": {
|
|
153
|
+
"description": "Represents an array of points. Each point is an array of numbers.",
|
|
154
|
+
"items": {
|
|
155
|
+
"items": {
|
|
156
|
+
"items": {
|
|
157
|
+
"type": "number"
|
|
158
|
+
},
|
|
159
|
+
"type": "array"
|
|
160
|
+
},
|
|
161
|
+
"type": "array"
|
|
162
|
+
},
|
|
163
|
+
"type": "array",
|
|
164
|
+
"isRequired": "true"
|
|
165
|
+
},
|
|
166
|
+
"spatialReference": {
|
|
167
|
+
"description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
esri.rest-api.GeometryJson.ExtentJson properties:
|
|
173
|
+
```json
|
|
174
|
+
{
|
|
175
|
+
"spatialReference": {
|
|
176
|
+
"description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
|
|
177
|
+
},
|
|
178
|
+
"xmax": {
|
|
179
|
+
"description": "A numeric value indicating the top-right X-coordinate of an extent envelope.",
|
|
180
|
+
"type": "number"
|
|
181
|
+
},
|
|
182
|
+
"xmin": {
|
|
183
|
+
"description": "A numeric value indicating the bottom-left X-coordinate of an extent envelope.",
|
|
184
|
+
"type": "number"
|
|
185
|
+
},
|
|
186
|
+
"ymax": {
|
|
187
|
+
"description": "A numeric value indicating the top-right Y-coordinate of an extent envelope.",
|
|
188
|
+
"type": "number"
|
|
189
|
+
},
|
|
190
|
+
"ymin": {
|
|
191
|
+
"description": "A numeric value indicating the bottom-left Y-coordinate of an extent envelope.",
|
|
192
|
+
"type": "number"
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
esri.rest-api.GeometryJson.PointJson properties:
|
|
198
|
+
```json
|
|
199
|
+
{
|
|
200
|
+
"m": {
|
|
201
|
+
"description": "M coordinate which contains measures used for linear referencing.",
|
|
202
|
+
"type": "number"
|
|
203
|
+
},
|
|
204
|
+
"spatialReference": {
|
|
205
|
+
"description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
|
|
206
|
+
},
|
|
207
|
+
"x": {
|
|
208
|
+
"description": "X coordinate which is measured along the east/west axis.",
|
|
209
|
+
"type": [
|
|
210
|
+
"string",
|
|
211
|
+
"number"
|
|
212
|
+
],
|
|
213
|
+
"isRequired": "true"
|
|
214
|
+
},
|
|
215
|
+
"y": {
|
|
216
|
+
"description": "Y coordinate which is measured along the north/south axis.",
|
|
217
|
+
"type": [
|
|
218
|
+
"string",
|
|
219
|
+
"number"
|
|
220
|
+
],
|
|
221
|
+
"isRequired": "true"
|
|
222
|
+
},
|
|
223
|
+
"z": {
|
|
224
|
+
"description": "Z coordinate which measures height or elevation.",
|
|
225
|
+
"type": [
|
|
226
|
+
"string",
|
|
227
|
+
"number"
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
esri.rest-api.GeometryJson.MultipointJson properties:
|
|
234
|
+
```json
|
|
235
|
+
{
|
|
236
|
+
"hasM": {
|
|
237
|
+
"description": "Indicates whether the geometry contains M coordinate values.",
|
|
238
|
+
"type": "boolean"
|
|
239
|
+
},
|
|
240
|
+
"hasZ": {
|
|
241
|
+
"description": "Indicates whether the geometry contains Z coordinate values.",
|
|
242
|
+
"type": "boolean"
|
|
243
|
+
},
|
|
244
|
+
"points": {
|
|
245
|
+
"description": "An array that corresponds to 2D and 3D points.",
|
|
246
|
+
"items": {
|
|
247
|
+
"items": {
|
|
248
|
+
"type": "number"
|
|
249
|
+
},
|
|
250
|
+
"type": "array"
|
|
251
|
+
},
|
|
252
|
+
"type": "array",
|
|
253
|
+
"isRequired": "true"
|
|
254
|
+
},
|
|
255
|
+
"spatialReference": {
|
|
256
|
+
"description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
esri.rest-api.GeometryJson.PolylineJson properties:
|
|
262
|
+
```json
|
|
263
|
+
{
|
|
264
|
+
"hasM": {
|
|
265
|
+
"description": "Indicates whether the geometry contains M coordinate values.",
|
|
266
|
+
"type": "boolean"
|
|
267
|
+
},
|
|
268
|
+
"hasZ": {
|
|
269
|
+
"description": "Indicates whether the geometry contains Z coordinate values.",
|
|
270
|
+
"type": "boolean"
|
|
271
|
+
},
|
|
272
|
+
"paths": {
|
|
273
|
+
"description": "Three nested arrays which corresponds to a polyline.",
|
|
274
|
+
"items": {
|
|
275
|
+
"items": {
|
|
276
|
+
"items": {
|
|
277
|
+
"type": "number"
|
|
278
|
+
},
|
|
279
|
+
"type": "array"
|
|
280
|
+
},
|
|
281
|
+
"type": "array"
|
|
282
|
+
},
|
|
283
|
+
"type": "array",
|
|
284
|
+
"isRequired": "true"
|
|
285
|
+
},
|
|
286
|
+
"spatialReference": {
|
|
287
|
+
"description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
esri.rest-api.GeometryJson.PolygonJson properties:
|
|
293
|
+
```json
|
|
294
|
+
{
|
|
295
|
+
"hasM": {
|
|
296
|
+
"description": "Indicates whether the geometry contains M coordinate values.",
|
|
297
|
+
"type": "boolean"
|
|
298
|
+
},
|
|
299
|
+
"hasZ": {
|
|
300
|
+
"description": "Indicates whether the geometry contains Z coordinate values.",
|
|
301
|
+
"type": "boolean"
|
|
302
|
+
},
|
|
303
|
+
"rings": {
|
|
304
|
+
"description": "Represents an array of points. Each point is an array of numbers.",
|
|
305
|
+
"items": {
|
|
306
|
+
"items": {
|
|
307
|
+
"items": {
|
|
308
|
+
"type": "number"
|
|
309
|
+
},
|
|
310
|
+
"type": "array"
|
|
311
|
+
},
|
|
312
|
+
"type": "array"
|
|
313
|
+
},
|
|
314
|
+
"type": "array",
|
|
315
|
+
"isRequired": "true"
|
|
316
|
+
},
|
|
317
|
+
"spatialReference": {
|
|
318
|
+
"description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
CreateGraphicsArgs properties:
|
|
324
|
+
```json
|
|
325
|
+
{
|
|
326
|
+
"features": {
|
|
327
|
+
"description": "Features containing geometry to create graphics from. Web only."
|
|
328
|
+
},
|
|
329
|
+
"geometry": {
|
|
330
|
+
"anyOf": [
|
|
331
|
+
{
|
|
332
|
+
"$ref": "#/definitions/CreateGraphicsResult"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"$ref": "#/definitions/esri.Graphic"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureSet.FeatureSet"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureList.FeatureList"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureStream.FeatureStream"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"items": {
|
|
351
|
+
"anyOf": [
|
|
352
|
+
{
|
|
353
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.FeatureProperties"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
357
|
+
}
|
|
358
|
+
]
|
|
359
|
+
},
|
|
360
|
+
"type": "array"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"$ref": "#/definitions/esri.Extent"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"$ref": "#/definitions/esri.Multipoint"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"$ref": "#/definitions/esri.Point"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"$ref": "#/definitions/esri.Polygon"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"$ref": "#/definitions/esri.Polyline"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"$ref": "#/definitions/esri.Mesh"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"$ref": "#/definitions/esri.rest-api.FeatureJson.FeatureJson"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"$ref": "#/definitions/esri.FeatureSet"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"items": {
|
|
388
|
+
"anyOf": [
|
|
389
|
+
{
|
|
390
|
+
"$ref": "#/definitions/esri.Graphic"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"$ref": "#/definitions/esri.rest-api.FeatureJson.FeatureJson"
|
|
394
|
+
}
|
|
395
|
+
]
|
|
396
|
+
},
|
|
397
|
+
"type": "array"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"items": {
|
|
416
|
+
"anyOf": [
|
|
417
|
+
{
|
|
418
|
+
"$ref": "#/definitions/esri.Extent"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"$ref": "#/definitions/esri.Multipoint"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"$ref": "#/definitions/esri.Point"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"$ref": "#/definitions/esri.Polygon"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"$ref": "#/definitions/esri.Polyline"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"$ref": "#/definitions/esri.Mesh"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
|
|
449
|
+
}
|
|
450
|
+
]
|
|
451
|
+
},
|
|
452
|
+
"type": "array"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"$ref": "#/definitions/esri.Geometry"
|
|
456
|
+
}
|
|
457
|
+
],
|
|
458
|
+
"description": "The geometry that was captured.",
|
|
459
|
+
"isRequired": "true"
|
|
460
|
+
},
|
|
461
|
+
"maps": {
|
|
462
|
+
"description": "Map(s) to use for the command/operation."
|
|
463
|
+
},
|
|
464
|
+
"symbol": {
|
|
465
|
+
"anyOf": [
|
|
466
|
+
{
|
|
467
|
+
"$ref": "#/definitions/esri.PictureFillSymbol"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"$ref": "#/definitions/esri.PictureMarkerSymbol"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"$ref": "#/definitions/esri.SimpleFillSymbol"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"$ref": "#/definitions/esri.SimpleLineSymbol"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"$ref": "#/definitions/esri.SimpleMarkerSymbol"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"$ref": "#/definitions/esri.TextSymbol"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"$ref": "#/definitions/esri.CIMSymbol"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"$ref": "esri.LabelSymbol3D"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"$ref": "#/definitions/esri.LineSymbol3D"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"$ref": "#/definitions/esri.MeshSymbol3D"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"$ref": "#/definitions/esri.PointSymbol3D"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"$ref": "#/definitions/esri.PolygonSymbol3D"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"$ref": "esri.WebStyleSymbol"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.CIMSymbolReferenceJson"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PictureFillSymbolJson"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PictureMarkerSymbolJson"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleFillSymbolJson"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleLineSymbolJson"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleMarkerSymbolJson"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.TextSymbolJson"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.LineSymbol3DJson"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PointSymbol3DJson"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PolygonSymbol3DJson"
|
|
534
|
+
}
|
|
535
|
+
],
|
|
536
|
+
"description": "The symbol that should be used to create the graphic. If null, a default is provided."
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
```
|
|
540
|
+
|
|
541
|
+
Outputs: `CreateGraphicsResult`
|
|
542
|
+
|
|
543
|
+
---
|
|
544
|
+
# operation: drawing.edit-symbol
|
|
545
|
+
Description: Opens the symbol editor toolbox for the specified geometry or type. Web only.
|
|
546
|
+
|
|
547
|
+
Inputs: `( EditSymbolArgs | Symbol )`
|
|
548
|
+
|
|
549
|
+
EditSymbolArgs properties:
|
|
550
|
+
```json
|
|
551
|
+
{
|
|
552
|
+
"attributes": {
|
|
553
|
+
"description": "Optional layout XML attributes to be used for the transient UI container."
|
|
554
|
+
},
|
|
555
|
+
"features": {
|
|
556
|
+
"description": "Features to use for the command/operation."
|
|
557
|
+
},
|
|
558
|
+
"geometryType": {
|
|
559
|
+
"description": "The geometry type for the symbol to create."
|
|
560
|
+
},
|
|
561
|
+
"graphics": {
|
|
562
|
+
"description": "Graphics to use for the command/operation."
|
|
563
|
+
},
|
|
564
|
+
"icon": {
|
|
565
|
+
"description": "Optional icon that may be used by the transient UI container.",
|
|
566
|
+
"type": "string"
|
|
567
|
+
},
|
|
568
|
+
"layers": {
|
|
569
|
+
"description": "Layer(s) to use for the command/operation."
|
|
570
|
+
},
|
|
571
|
+
"maps": {
|
|
572
|
+
"description": "Map(s) to use for the command/operation."
|
|
573
|
+
},
|
|
574
|
+
"parent": {
|
|
575
|
+
"description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes."
|
|
576
|
+
},
|
|
577
|
+
"showOnlySymbolPresets": {
|
|
578
|
+
"description": "If the fine-grain controls should be hidden and only the symbol presets should be shown. If no valid symbol presets are configured, this property will be ignored. If defined, this will override the value of the DrawService's 'showOnlySymbolPresets' property. Default is false.",
|
|
579
|
+
"type": "boolean"
|
|
580
|
+
},
|
|
581
|
+
"symbolPresets": {
|
|
582
|
+
"description": "Symbol presets that can be assigned to a graphic. If defined, these presets will override any that are configured in the DrawService.",
|
|
583
|
+
"items": {
|
|
584
|
+
"$ref": "SymbolPresetProperties",
|
|
585
|
+
"SymbolPresetProperties": {
|
|
586
|
+
"description": {
|
|
587
|
+
"description": "A description of the SymbolPreset.",
|
|
588
|
+
"type": "string"
|
|
589
|
+
},
|
|
590
|
+
"geometryType": {
|
|
591
|
+
"description": "The geometry type associated with the symbol."
|
|
592
|
+
},
|
|
593
|
+
"id": {
|
|
594
|
+
"description": "The unique ID.",
|
|
595
|
+
"type": "string"
|
|
596
|
+
},
|
|
597
|
+
"symbol": {
|
|
598
|
+
"description": "The Symbol.",
|
|
599
|
+
"isRequired": "true"
|
|
600
|
+
},
|
|
601
|
+
"title": {
|
|
602
|
+
"description": "The title of the the SymbolPreset.",
|
|
603
|
+
"type": "string",
|
|
604
|
+
"isRequired": "true"
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
"type": "array"
|
|
609
|
+
},
|
|
610
|
+
"symbols": {
|
|
611
|
+
"anyOf": [
|
|
612
|
+
{
|
|
613
|
+
"$ref": "#/definitions/esri.PictureFillSymbol"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"$ref": "#/definitions/esri.PictureMarkerSymbol"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"$ref": "#/definitions/esri.SimpleFillSymbol"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"$ref": "#/definitions/esri.SimpleLineSymbol"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"$ref": "#/definitions/esri.SimpleMarkerSymbol"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"$ref": "#/definitions/esri.TextSymbol"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"$ref": "#/definitions/esri.CIMSymbol"
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"$ref": "#/definitions/esri.LineSymbol3D"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"$ref": "#/definitions/esri.PointSymbol3D"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"$ref": "#/definitions/esri.PolygonSymbol3D"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.CIMSymbolReferenceJson"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PictureFillSymbolJson"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PictureMarkerSymbolJson"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleFillSymbolJson"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleLineSymbolJson"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleMarkerSymbolJson"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.TextSymbolJson"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.LineSymbol3DJson"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PointSymbol3DJson"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PolygonSymbol3DJson"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"items": {
|
|
674
|
+
"$ref": "SymbolLike"
|
|
675
|
+
},
|
|
676
|
+
"type": "array"
|
|
677
|
+
}
|
|
678
|
+
],
|
|
679
|
+
"description": "The symbols to use for the command/operation."
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
```
|
|
683
|
+
|
|
684
|
+
Outputs: `EditSymbolResult`
|
|
685
|
+
|
|
686
|
+
---
|
|
687
|
+
# operation: drawing.get-default-symbol
|
|
688
|
+
Description: Gets the value of the default point, line, or polygon symbol for the provided geometry type. Web only.
|
|
689
|
+
|
|
690
|
+
Inputs: `( GetDefaultSymbolArgs | "extent" | "mesh" | "multipatch" | "multipoint" | "point" | "polygon" | "polyline" )`
|
|
691
|
+
|
|
692
|
+
GetDefaultSymbolArgs properties:
|
|
693
|
+
```json
|
|
694
|
+
{
|
|
695
|
+
"geometryType": {
|
|
696
|
+
"description": "The geometry type for the default symbol to retrieve."
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
```
|
|
700
|
+
|
|
701
|
+
Outputs: `DrawingSymbolConfig`
|
|
702
|
+
|
|
703
|
+
---
|
|
704
|
+
# operation: drawing.get-default-symbol3-d
|
|
705
|
+
Description: Gets the value of the default 3D point, line, or polygon symbol for the provided geometry type. Web only.
|
|
706
|
+
|
|
707
|
+
Inputs: `( GetDefaultSymbolArgs | "extent" | "mesh" | "multipatch" | "multipoint" | "point" | "polygon" | "polyline" )`
|
|
708
|
+
|
|
709
|
+
GetDefaultSymbolArgs properties:
|
|
710
|
+
```json
|
|
711
|
+
{
|
|
712
|
+
"geometryType": {
|
|
713
|
+
"description": "The geometry type for the default symbol to retrieve."
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
```
|
|
717
|
+
|
|
718
|
+
Outputs: `DrawingSymbolConfig`
|
|
719
|
+
|
|
720
|
+
---
|