@vertigis/viewer-spec 56.13.0 → 56.14.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/messaging/registry/geometry.d.ts +10 -1
- package/messaging/schema/web-action.schema.json +123 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -184,6 +184,15 @@ export interface RemovePointArgs {
|
|
|
184
184
|
*/
|
|
185
185
|
pointIndex?: number;
|
|
186
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* Arguments for the geometry.buffer operation.
|
|
189
|
+
*/
|
|
190
|
+
export interface BufferGeometryArgs extends HasGeometry, HasFeatures {
|
|
191
|
+
/**
|
|
192
|
+
* Optionally override the configured buffer distance.
|
|
193
|
+
*/
|
|
194
|
+
bufferDistance?: number;
|
|
195
|
+
}
|
|
187
196
|
export declare class GeometryOperations extends OperationRegistry {
|
|
188
197
|
protected readonly _prefix = "geometry";
|
|
189
198
|
/**
|
|
@@ -206,7 +215,7 @@ export declare class GeometryOperations extends OperationRegistry {
|
|
|
206
215
|
*
|
|
207
216
|
* @webOnly
|
|
208
217
|
*/
|
|
209
|
-
get buffer(): Operation<Geometries, BufferResult>;
|
|
218
|
+
get buffer(): Operation<BufferGeometryArgs | Geometries, BufferResult>;
|
|
210
219
|
/**
|
|
211
220
|
* Returns the default buffer distance for the viewer session. Web only.
|
|
212
221
|
*
|
|
@@ -1262,6 +1262,25 @@
|
|
|
1262
1262
|
],
|
|
1263
1263
|
"type": "object"
|
|
1264
1264
|
},
|
|
1265
|
+
"BufferGeometryArgs": {
|
|
1266
|
+
"additionalProperties": false,
|
|
1267
|
+
"description": "Arguments for the geometry.buffer operation.",
|
|
1268
|
+
"properties": {
|
|
1269
|
+
"bufferDistance": {
|
|
1270
|
+
"description": "Optionally override the configured buffer distance.",
|
|
1271
|
+
"type": "number"
|
|
1272
|
+
},
|
|
1273
|
+
"features": {
|
|
1274
|
+
"$ref": "#/definitions/FeaturesLike",
|
|
1275
|
+
"description": "Features to use for the command/operation."
|
|
1276
|
+
},
|
|
1277
|
+
"geometry": {
|
|
1278
|
+
"$ref": "#/definitions/GeometryLike",
|
|
1279
|
+
"description": "The geometry to use for the command/operation."
|
|
1280
|
+
}
|
|
1281
|
+
},
|
|
1282
|
+
"type": "object"
|
|
1283
|
+
},
|
|
1265
1284
|
"BufferResult": {
|
|
1266
1285
|
"additionalProperties": false,
|
|
1267
1286
|
"description": "The result of a geometry.buffer operation.",
|
|
@@ -18327,7 +18346,110 @@
|
|
|
18327
18346
|
]
|
|
18328
18347
|
},
|
|
18329
18348
|
"geometry.buffer:input": {
|
|
18330
|
-
"
|
|
18349
|
+
"anyOf": [
|
|
18350
|
+
{
|
|
18351
|
+
"$ref": "#/definitions/CreateGraphicsResult"
|
|
18352
|
+
},
|
|
18353
|
+
{
|
|
18354
|
+
"$ref": "#/definitions/esri.Graphic"
|
|
18355
|
+
},
|
|
18356
|
+
{
|
|
18357
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
18358
|
+
},
|
|
18359
|
+
{
|
|
18360
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureSet.FeatureSet"
|
|
18361
|
+
},
|
|
18362
|
+
{
|
|
18363
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureList.FeatureList"
|
|
18364
|
+
},
|
|
18365
|
+
{
|
|
18366
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureStream.FeatureStream"
|
|
18367
|
+
},
|
|
18368
|
+
{
|
|
18369
|
+
"items": {
|
|
18370
|
+
"anyOf": [
|
|
18371
|
+
{
|
|
18372
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.FeatureProperties"
|
|
18373
|
+
},
|
|
18374
|
+
{
|
|
18375
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
18376
|
+
}
|
|
18377
|
+
]
|
|
18378
|
+
},
|
|
18379
|
+
"type": "array"
|
|
18380
|
+
},
|
|
18381
|
+
{
|
|
18382
|
+
"$ref": "#/definitions/HasFeatures"
|
|
18383
|
+
},
|
|
18384
|
+
{
|
|
18385
|
+
"$ref": "#/definitions/esri.Geometry"
|
|
18386
|
+
},
|
|
18387
|
+
{
|
|
18388
|
+
"$ref": "#/definitions/esri.rest-api.FeatureJson.FeatureJson"
|
|
18389
|
+
},
|
|
18390
|
+
{
|
|
18391
|
+
"$ref": "#/definitions/esri.FeatureSet"
|
|
18392
|
+
},
|
|
18393
|
+
{
|
|
18394
|
+
"items": {
|
|
18395
|
+
"anyOf": [
|
|
18396
|
+
{
|
|
18397
|
+
"$ref": "#/definitions/esri.Graphic"
|
|
18398
|
+
},
|
|
18399
|
+
{
|
|
18400
|
+
"$ref": "#/definitions/esri.rest-api.FeatureJson.FeatureJson"
|
|
18401
|
+
}
|
|
18402
|
+
]
|
|
18403
|
+
},
|
|
18404
|
+
"type": "array"
|
|
18405
|
+
},
|
|
18406
|
+
{
|
|
18407
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
|
|
18408
|
+
},
|
|
18409
|
+
{
|
|
18410
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
|
|
18411
|
+
},
|
|
18412
|
+
{
|
|
18413
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
|
|
18414
|
+
},
|
|
18415
|
+
{
|
|
18416
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
|
|
18417
|
+
},
|
|
18418
|
+
{
|
|
18419
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
|
|
18420
|
+
},
|
|
18421
|
+
{
|
|
18422
|
+
"items": {
|
|
18423
|
+
"anyOf": [
|
|
18424
|
+
{
|
|
18425
|
+
"$ref": "#/definitions/esri.Geometry"
|
|
18426
|
+
},
|
|
18427
|
+
{
|
|
18428
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
|
|
18429
|
+
},
|
|
18430
|
+
{
|
|
18431
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
|
|
18432
|
+
},
|
|
18433
|
+
{
|
|
18434
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
|
|
18435
|
+
},
|
|
18436
|
+
{
|
|
18437
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
|
|
18438
|
+
},
|
|
18439
|
+
{
|
|
18440
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
|
|
18441
|
+
}
|
|
18442
|
+
]
|
|
18443
|
+
},
|
|
18444
|
+
"type": "array"
|
|
18445
|
+
},
|
|
18446
|
+
{
|
|
18447
|
+
"$ref": "#/definitions/HasGeometry"
|
|
18448
|
+
},
|
|
18449
|
+
{
|
|
18450
|
+
"$ref": "#/definitions/BufferGeometryArgs"
|
|
18451
|
+
}
|
|
18452
|
+
]
|
|
18331
18453
|
},
|
|
18332
18454
|
"geometry.buffer:output": {
|
|
18333
18455
|
"$ref": "#/definitions/BufferResult"
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED