@vertigis/viewer-spec 44.0.0 → 45.0.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.
@@ -245,6 +245,13 @@ export declare class GeometryOperations extends OperationRegistry {
245
245
  get removePoint(): Operation<RemovePointArgs, Geometry>;
246
246
  }
247
247
  export declare class GeometryCommands extends CommandRegistry {
248
+ /**
249
+ * Display the geometry settings dialog. This allows you to configure buffer
250
+ * distance and buffer units.
251
+ *
252
+ * @webOnly
253
+ */
254
+ get displaySettings(): Command<HasUITarget>;
248
255
  /**
249
256
  * Sets the default buffer distance for the viewer session. The buffer
250
257
  * distance must be a number > 0.
@@ -258,11 +265,4 @@ export declare class GeometryCommands extends CommandRegistry {
258
265
  * @webOnly
259
266
  */
260
267
  get setBufferUnits(): Command<LengthUnits>;
261
- /**
262
- * Show the geometry settings dialog. This allows you to configure buffer
263
- * distance and buffer units.
264
- *
265
- * @webOnly
266
- */
267
- get showSettings(): Command<HasUITarget>;
268
268
  }
@@ -1 +1 @@
1
- import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class GeometryOperations extends OperationRegistry{get project(){return this._messages.operation("geometry.project")}get addPixelTolerance(){return this._messages.operation("geometry.add-pixel-tolerance")}get buffer(){return this._messages.operation("geometry.buffer")}get getBufferDistance(){return this._messages.operation("geometry.get-buffer-distance")}get getBufferUnits(){return this._messages.operation("geometry.get-buffer-units")}get addPoint(){return this._messages.operation("geometry.add-point")}get addPart(){return this._messages.operation("geometry.add-part")}get calculatePoint(){return this._messages.operation("geometry.calculate-point")}get removePoint(){return this._messages.operation("geometry.remove-point")}}export class GeometryCommands extends CommandRegistry{get setBufferDistance(){return this._messages.command("geometry.set-buffer-distance")}get setBufferUnits(){return this._messages.command("geometry.set-buffer-units")}get showSettings(){return this._messages.command("geometry.show-settings")}}
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class GeometryOperations extends OperationRegistry{get project(){return this._messages.operation("geometry.project")}get addPixelTolerance(){return this._messages.operation("geometry.add-pixel-tolerance")}get buffer(){return this._messages.operation("geometry.buffer")}get getBufferDistance(){return this._messages.operation("geometry.get-buffer-distance")}get getBufferUnits(){return this._messages.operation("geometry.get-buffer-units")}get addPoint(){return this._messages.operation("geometry.add-point")}get addPart(){return this._messages.operation("geometry.add-part")}get calculatePoint(){return this._messages.operation("geometry.calculate-point")}get removePoint(){return this._messages.operation("geometry.remove-point")}}export class GeometryCommands extends CommandRegistry{get displaySettings(){return this._messages.command("geometry.display-settings")}get setBufferDistance(){return this._messages.command("geometry.set-buffer-distance")}get setBufferUnits(){return this._messages.command("geometry.set-buffer-units")}}
@@ -38,6 +38,13 @@ export interface GeometryModeArgs extends MapExtensionArgs {
38
38
  export interface CreateMeasurementGraphicsResult extends CreateGraphicsResult {
39
39
  }
40
40
  export declare class MeasurementCommands extends CommandRegistry {
41
+ /**
42
+ * Display the measurements settings dialog. This allows you to configure
43
+ * measurements system, area and length units.
44
+ *
45
+ * @webOnly
46
+ */
47
+ get displaySettings(): Command<HasUITarget>;
41
48
  /**
42
49
  * Sets the value of the default point, line, or polygon symbol. The symbol
43
50
  * can be configured with an instance of the Esri symbol or with the Esri
@@ -60,13 +67,6 @@ export declare class MeasurementCommands extends CommandRegistry {
60
67
  * @webOnly
61
68
  */
62
69
  get setLengthUnits(): Command<LengthMeasurementUnits | undefined>;
63
- /**
64
- * Show the measurements settings dialog. This allows you to configure
65
- * measurements system, area and length units.
66
- *
67
- * @webOnly
68
- */
69
- get showSettings(): Command<HasUITarget>;
70
70
  /**
71
71
  * Starts drawing a measurement on the map. If a drawing has previously been
72
72
  * started and stopped it will be resumed.
@@ -1 +1 @@
1
- import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";var GeometryMode;!function(e){e.LINE="line",e.AREA="area"}(GeometryMode||(GeometryMode={}));export class MeasurementCommands extends CommandRegistry{get setDefaultSymbol(){return this._messages.command("measurement.set-default-symbol")}get setAreaUnits(){return this._messages.command("measurement.set-area-units")}get setLengthUnits(){return this._messages.command("measurement.set-length-units")}get showSettings(){return this._messages.command("measurement.show-settings")}get start(){return this._messages.command("measurement.start")}get stop(){return this._messages.command("measurement.stop")}get clear(){return this._messages.command("measurement.clear")}get setGeometryMode(){return this._messages.command("measurement.set-geometry-mode")}}export class MeasurementOperations extends OperationRegistry{get createGraphics(){return this._messages.operation("measurement.create-graphics")}get captureGeometry(){return this._messages.operation("measurement.capture-geometry")}get getDefaultSymbol(){return this._messages.operation("measurement.get-default-symbol")}get getDefaultSymbol3D(){return this._messages.operation("measurement.get-default-symbol-3d")}get getAreaUnits(){return this._messages.operation("measurement.get-area-units")}get getLengthUnits(){return this._messages.operation("measurement.get-length-units")}}
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";var GeometryMode;!function(e){e.LINE="line",e.AREA="area"}(GeometryMode||(GeometryMode={}));export class MeasurementCommands extends CommandRegistry{get displaySettings(){return this._messages.command("measurement.display-settings")}get setDefaultSymbol(){return this._messages.command("measurement.set-default-symbol")}get setAreaUnits(){return this._messages.command("measurement.set-area-units")}get setLengthUnits(){return this._messages.command("measurement.set-length-units")}get start(){return this._messages.command("measurement.start")}get stop(){return this._messages.command("measurement.stop")}get clear(){return this._messages.command("measurement.clear")}get setGeometryMode(){return this._messages.command("measurement.set-geometry-mode")}}export class MeasurementOperations extends OperationRegistry{get createGraphics(){return this._messages.operation("measurement.create-graphics")}get captureGeometry(){return this._messages.operation("measurement.capture-geometry")}get getDefaultSymbol(){return this._messages.operation("measurement.get-default-symbol")}get getDefaultSymbol3D(){return this._messages.operation("measurement.get-default-symbol-3d")}get getAreaUnits(){return this._messages.operation("measurement.get-area-units")}get getLengthUnits(){return this._messages.operation("measurement.get-length-units")}}
@@ -15803,6 +15803,15 @@
15803
15803
  "measurement.create-graphics:output": {
15804
15804
  "$ref": "#/definitions/CreateMeasurementGraphicsResult"
15805
15805
  },
15806
+ "measurement.display-settings": {
15807
+ "description": "Display the measurements settings dialog. This allows you to configure measurements system, area and length units.",
15808
+ "enum": [
15809
+ "measurement.display-settings"
15810
+ ]
15811
+ },
15812
+ "measurement.display-settings:input": {
15813
+ "$ref": "#/definitions/HasUITarget"
15814
+ },
15806
15815
  "measurement.get-area-units": {
15807
15816
  "description": "Gets the area units used for measurements. If undefined the units will be selected intelligently based on dimensions.",
15808
15817
  "enum": [
@@ -16008,15 +16017,6 @@
16008
16017
  }
16009
16018
  ]
16010
16019
  },
16011
- "measurement.show-settings": {
16012
- "description": "Show the measurements settings dialog. This allows you to configure measurements system, area and length units.",
16013
- "enum": [
16014
- "measurement.show-settings"
16015
- ]
16016
- },
16017
- "measurement.show-settings:input": {
16018
- "$ref": "#/definitions/HasUITarget"
16019
- },
16020
16020
  "messaging.mix-in-args": {
16021
16021
  "description": "Attempts to merge an array of values into a single value that can be used as an argument for a command or operation. For example: ``` [features, { chart: \"average-household-income\" }] ``` This would mix `features` obtained from some other source into arguments intended for the \"charts.display\" command. If the values cannot be merged, then the leftmost value is returned. Note that argument merging already occurs automatically in command chains; this explicit operation exists for advanced scenarios like Geocortex Workflow or custom code written using the SDK.",
16022
16022
  "enum": [
@@ -18384,10 +18384,10 @@
18384
18384
  "additionalProperties": false,
18385
18385
  "properties": {
18386
18386
  "arguments": {
18387
- "$ref": "#/definitions/measurement.set-area-units:input"
18387
+ "$ref": "#/definitions/measurement.display-settings:input"
18388
18388
  },
18389
18389
  "name": {
18390
- "$ref": "#/definitions/measurement.set-area-units"
18390
+ "$ref": "#/definitions/measurement.display-settings"
18391
18391
  }
18392
18392
  },
18393
18393
  "required": [
@@ -18400,10 +18400,10 @@
18400
18400
  "additionalProperties": false,
18401
18401
  "properties": {
18402
18402
  "arguments": {
18403
- "$ref": "#/definitions/measurement.set-default-symbol:input"
18403
+ "$ref": "#/definitions/measurement.set-area-units:input"
18404
18404
  },
18405
18405
  "name": {
18406
- "$ref": "#/definitions/measurement.set-default-symbol"
18406
+ "$ref": "#/definitions/measurement.set-area-units"
18407
18407
  }
18408
18408
  },
18409
18409
  "required": [
@@ -18416,10 +18416,10 @@
18416
18416
  "additionalProperties": false,
18417
18417
  "properties": {
18418
18418
  "arguments": {
18419
- "$ref": "#/definitions/measurement.set-length-units:input"
18419
+ "$ref": "#/definitions/measurement.set-default-symbol:input"
18420
18420
  },
18421
18421
  "name": {
18422
- "$ref": "#/definitions/measurement.set-length-units"
18422
+ "$ref": "#/definitions/measurement.set-default-symbol"
18423
18423
  }
18424
18424
  },
18425
18425
  "required": [
@@ -18432,10 +18432,10 @@
18432
18432
  "additionalProperties": false,
18433
18433
  "properties": {
18434
18434
  "arguments": {
18435
- "$ref": "#/definitions/measurement.show-settings:input"
18435
+ "$ref": "#/definitions/measurement.set-length-units:input"
18436
18436
  },
18437
18437
  "name": {
18438
- "$ref": "#/definitions/measurement.show-settings"
18438
+ "$ref": "#/definitions/measurement.set-length-units"
18439
18439
  }
18440
18440
  },
18441
18441
  "required": [
@@ -19254,6 +19254,9 @@
19254
19254
  {
19255
19255
  "$ref": "#/definitions/map.zoom-to-viewpoint"
19256
19256
  },
19257
+ {
19258
+ "$ref": "#/definitions/measurement.display-settings"
19259
+ },
19257
19260
  {
19258
19261
  "$ref": "#/definitions/measurement.set-area-units"
19259
19262
  },
@@ -19263,9 +19266,6 @@
19263
19266
  {
19264
19267
  "$ref": "#/definitions/measurement.set-length-units"
19265
19268
  },
19266
- {
19267
- "$ref": "#/definitions/measurement.show-settings"
19268
- },
19269
19269
  {
19270
19270
  "$ref": "#/definitions/messaging.mix-in-args"
19271
19271
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "44.0.0",
3
+ "version": "45.0.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the Geocortex Viewer Specification.
3
3
  */
4
- export declare const version = "44.0.0";
4
+ export declare const version = "45.0.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the Geocortex Viewer Specification.
3
3
  */
4
- export const version = "44.0.0";
4
+ export const version = "45.0.0";