@vertigis/viewer-spec 61.2.1 → 61.2.3

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.
@@ -193,6 +193,15 @@ export declare class LayersCommands extends CommandRegistry {
193
193
  * }
194
194
  * ```
195
195
  *
196
+ * **Example:** Toggle layers' current visibility in a particular map.
197
+ *
198
+ * ```
199
+ * {
200
+ * "layers": ["Victoria_Fire_Hydrants_8780", "Victoria_Trees_91238_a"]
201
+ * "maps": "item://map-extension/e285a558-20b3-4f3d-aa37-a289eedbef4p"
202
+ * }
203
+ * ```
204
+ *
196
205
  * @webOnly
197
206
  */
198
207
  get setVisibility(): Command<SetVisibilityArgs>;
@@ -674,6 +674,22 @@ export declare class SketchingOperations extends OperationRegistry {
674
674
  /**
675
675
  * Allows the user to create geometry by sketching on a map. Returns the
676
676
  * geometry that was drawn, along with the map that it was drawn on.
677
+ *
678
+ * **Example:** Get the geometry of a polygon drawn on the map with the
679
+ * snapping plugin disabled.
680
+ *
681
+ * _Notes:_ If a plugin is enabled globally, setting it as disabled will
682
+ * override and disable the plugin when executing this operation (Web
683
+ * only).
684
+ *
685
+ * ```
686
+ * {
687
+ * "geometryType": "polygon"
688
+ * "pluginSettings": {
689
+ * "snapping": false
690
+ * }
691
+ * }
692
+ * ```
677
693
  */
678
694
  get captureGeometry(): Operation<CaptureGeometryArgs, CaptureGeometryResult>;
679
695
  /**
@@ -18135,7 +18135,7 @@
18135
18135
  "$ref": "#/definitions/AddPointArgs"
18136
18136
  },
18137
18137
  "sketching.capture-geometry": {
18138
- "description": "Allows the user to create geometry by sketching on a map. Returns the geometry that was drawn, along with the map that it was drawn on.",
18138
+ "description": "Allows the user to create geometry by sketching on a map. Returns the geometry that was drawn, along with the map that it was drawn on.\n\n**Example:** Get the geometry of a polygon drawn on the map with the snapping plugin disabled.\n\n_Notes:_ If a plugin is enabled globally, setting it as disabled will override and disable the plugin when executing this operation (Web only).\n\n```\n{\n \"geometryType\": \"polygon\"\n \"pluginSettings\": {\n \"snapping\": false\n }\n}\n```",
18139
18139
  "enum": [
18140
18140
  "sketching.capture-geometry"
18141
18141
  ]
@@ -20486,7 +20486,7 @@
20486
20486
  "$ref": "#/definitions/AddPointArgs"
20487
20487
  },
20488
20488
  "sketching.capture-geometry": {
20489
- "description": "Allows the user to create geometry by sketching on a map. Returns the geometry that was drawn, along with the map that it was drawn on.",
20489
+ "description": "Allows the user to create geometry by sketching on a map. Returns the geometry that was drawn, along with the map that it was drawn on.\n\n**Example:** Get the geometry of a polygon drawn on the map with the snapping plugin disabled.\n\n_Notes:_ If a plugin is enabled globally, setting it as disabled will override and disable the plugin when executing this operation (Web only).\n\n```\n{\n \"geometryType\": \"polygon\"\n \"pluginSettings\": {\n \"snapping\": false\n }\n}\n```",
20490
20490
  "enum": [
20491
20491
  "sketching.capture-geometry"
20492
20492
  ]
@@ -25297,7 +25297,7 @@
25297
25297
  "$ref": "#/definitions/LayerSettingsArgs"
25298
25298
  },
25299
25299
  "layers.set-visibility": {
25300
- "description": "Updates the visibility of the provided layer(s). Web only.\n\n**Example:** Toggle a layer's visibility off by id.\n\n```\n{\n \"layers\": \"Victoria_Fire_Hydrants_8780\",\n \"visible\": false\n}\n```",
25300
+ "description": "Updates the visibility of the provided layer(s). Web only.\n\n**Example:** Toggle a layer's visibility off by id.\n\n```\n{\n \"layers\": \"Victoria_Fire_Hydrants_8780\",\n \"visible\": false\n}\n```\n\n**Example:** Toggle layers' current visibility in a particular map.\n\n```\n{\n \"layers\": [\"Victoria_Fire_Hydrants_8780\", \"Victoria_Trees_91238_a\"]\n \"maps\": \"item://map-extension/e285a558-20b3-4f3d-aa37-a289eedbef4p\"\n}\n```",
25301
25301
  "enum": [
25302
25302
  "layers.set-visibility"
25303
25303
  ]
@@ -27783,7 +27783,7 @@
27783
27783
  ]
27784
27784
  },
27785
27785
  "sketching.capture-geometry": {
27786
- "description": "Allows the user to create geometry by sketching on a map. Returns the geometry that was drawn, along with the map that it was drawn on.",
27786
+ "description": "Allows the user to create geometry by sketching on a map. Returns the geometry that was drawn, along with the map that it was drawn on.\n\n**Example:** Get the geometry of a polygon drawn on the map with the snapping plugin disabled.\n\n_Notes:_ If a plugin is enabled globally, setting it as disabled will override and disable the plugin when executing this operation (Web only).\n\n```\n{\n \"geometryType\": \"polygon\"\n \"pluginSettings\": {\n \"snapping\": false\n }\n}\n```",
27787
27787
  "enum": [
27788
27788
  "sketching.capture-geometry"
27789
27789
  ]
@@ -1427,6 +1427,15 @@ Description: Updates the visibility of the provided layer(s). Web only.
1427
1427
  }
1428
1428
  ```
1429
1429
 
1430
+ **Example:** Toggle layers' current visibility in a particular map.
1431
+
1432
+ ```
1433
+ {
1434
+ "layers": ["Victoria_Fire_Hydrants_8780", "Victoria_Trees_91238_a"]
1435
+ "maps": "item://map-extension/e285a558-20b3-4f3d-aa37-a289eedbef4p"
1436
+ }
1437
+ ```
1438
+
1430
1439
  Inputs: `SetVisibilityArgs`
1431
1440
 
1432
1441
  SetVisibilityArgs properties:
@@ -1,6 +1,19 @@
1
1
  # operation: sketching.capture-geometry
2
2
  Description: Allows the user to create geometry by sketching on a map. Returns the geometry that was drawn, along with the map that it was drawn on.
3
3
 
4
+ **Example:** Get the geometry of a polygon drawn on the map with the snapping plugin disabled.
5
+
6
+ _Notes:_ If a plugin is enabled globally, setting it as disabled will override and disable the plugin when executing this operation (Web only).
7
+
8
+ ```
9
+ {
10
+ "geometryType": "polygon"
11
+ "pluginSettings": {
12
+ "snapping": false
13
+ }
14
+ }
15
+ ```
16
+
4
17
  Inputs: `CaptureGeometryArgs`
5
18
 
6
19
  CaptureGeometryArgs properties:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "61.2.1",
3
+ "version": "61.2.3",
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 VertiGIS Studio Viewer Specification.
3
3
  */
4
- export declare const version = "61.2.1";
4
+ export declare const version = "61.2.3";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export const version = "61.2.1";
4
+ export const version = "61.2.3";