@vertigis/viewer-spec 61.18.1 → 61.19.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.
@@ -1,11 +1,16 @@
1
1
  # command: auth.sign-in
2
2
  Description: Initiates user sign-in if they aren't already signed in. The argument indicates whether or not the map should be reloaded when the sign-in is complete. This argument is optional and only supported by VertiGIS Studio Mobile. Default is true.
3
3
 
4
- Inputs: `boolean`
4
+ **Example:** Reload the map after signing in.
5
5
 
6
- ---
7
- # command: auth.sign-out
8
- Description: Signs the user out. The argument indicates whether or not the map should be reloaded when the sign-out is complete. This argument is optional and only supported by VertiGIS Studio Mobile. Default is true.
6
+ ```
7
+ [
8
+ {
9
+ name: "auth.sign-in",
10
+ arguments: true,
11
+ },
12
+ ];
13
+ ```
9
14
 
10
15
  Inputs: `boolean`
11
16
 
@@ -1,6 +1,21 @@
1
1
  # operation: auth.get-current-user
2
2
  Description: Gets the user that is currently signed into the application.
3
3
 
4
+ **Example:** Display a notification after obtaining the current user.
5
+
6
+ ```
7
+ [
8
+ "auth.get-current-user",
9
+ {
10
+ name: "ui.display-notification",
11
+ arguments: {
12
+ message: "Signed in as a portal user.",
13
+ category: "info",
14
+ },
15
+ },
16
+ ];
17
+ ```
18
+
4
19
  Inputs: `None`
5
20
 
6
21
  Outputs: `Principal`
@@ -6,36 +6,41 @@ Web only.
6
6
  **Example:** Adding a CSV layer to the main map using `AddLayersArgs`.
7
7
 
8
8
  ```
9
- {
10
- "layers": [
11
- {
12
- "id": "csv_123",
13
- "layerType": "CSV",
14
- "title": "Earthquakes",
15
- "url": "http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_month.csv",
16
- "columnDelimiter": ",",
17
- "layerDefinition": {
18
- "geometryType": "esriGeometryPoint",
19
- "objectIdField": "__OBJECTID",
20
- "capabilities": "Query",
21
- "extent": {
22
- "xmin": -20034970.25849882,
23
- "ymin": -9494815.985282788,
24
- "xmax": 20026086.963133518,
25
- "ymax": 14269743.874052156,
26
- "spatialReference": {
27
- "wkid": 102100
28
- }
29
- }
30
- },
31
- "locationInfo": {
32
- "locationType": "coordinates",
33
- "latitudeFieldName": "latitude",
34
- "longitudeFieldName": "longitude"
35
- }
36
- }
37
- ]
38
- }
9
+ [
10
+ {
11
+ name: "map.add-layers",
12
+ arguments: {
13
+ layers: [
14
+ {
15
+ id: "your-layer-id",
16
+ layerType: "CSV",
17
+ title: "Earthquakes",
18
+ url: "http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_month.csv",
19
+ columnDelimiter: ",",
20
+ locationInfo: {
21
+ locationType: "coordinates",
22
+ latitudeFieldName: "latitude",
23
+ longitudeFieldName: "longitude",
24
+ },
25
+ layerDefinition: {
26
+ geometryType: "esriGeometryPoint",
27
+ objectIdField: "__OBJECTID",
28
+ capabilities: "Query",
29
+ extent: {
30
+ xmin: -20034970.25849882,
31
+ ymin: -9494815.985282788,
32
+ xmax: 20026086.963133518,
33
+ ymax: 14269743.874052156,
34
+ spatialReference: {
35
+ wkid: 102100,
36
+ },
37
+ },
38
+ },
39
+ },
40
+ ],
41
+ },
42
+ },
43
+ ];
39
44
  ```
40
45
 
41
46
  Inputs: `AddLayersArgs`
@@ -155,30 +160,40 @@ AddLayersArgs properties:
155
160
  # command: map.add-markup
156
161
  Description: Adds markup to the map(s).
157
162
 
158
- **Example:** Adding markup to a custom collection using `AddMarkupArgs`.
159
-
160
- ```
161
- {
162
- "collection": "my-custom-markup",
163
- "graphics": [
164
- {
165
- "geometry": {
166
- "x": -13733416.69,
167
- "y": 6177670.86,
168
- "spatialReference": {
169
- "wkid": 3857
163
+ **Example:** Adding markup to a custom collection using `AddMarkupArgs`. In Mobile, the Graphic's symbol must use the formatting from Esri's Web Map specification: https://developers.arcgis.com/web-map-specification/objects/symbol/ .
164
+
165
+ ```
166
+ [
167
+ {
168
+ name: "map.add-markup",
169
+ arguments: {
170
+ collection: "poi-highlights",
171
+ maps: "item://map-extension/your-mapExtension-id",
172
+ graphics: [
173
+ {
174
+ geometry: {
175
+ type: "point",
176
+ x: -13733818,
177
+ y: 6176951,
178
+ spatialReference: {
179
+ wkid: 3857,
180
+ },
181
+ },
182
+ symbol: {
183
+ type: "simple-marker",
184
+ style: "circle",
185
+ color: [0, 120, 212, 200],
186
+ size: 16,
187
+ outline: {
188
+ color: [255, 255, 255, 255],
189
+ width: 2,
190
+ },
191
+ },
170
192
  },
171
- "type": "point"
172
- },
173
- "symbol": {
174
- "color": [76, 115, 0, 255],
175
- "size": 16,
176
- "style": "esriSMSCircle",
177
- "type": "simple-marker"
178
- }
179
- }
180
- ]
181
- }
193
+ ],
194
+ },
195
+ },
196
+ ];
182
197
  ```
183
198
 
184
199
  Inputs: `( CreateGraphicsResult | @arcgis.core.Graphic.Graphic | esri.rest-api.FeatureJson.FeatureJson | @arcgis.core.rest.support.FeatureSet.FeatureSet | ( @arcgis.core.Graphic.Graphic | esri.rest-api.FeatureJson.FeatureJson )[] | AddMarkupArgs )`
@@ -358,6 +373,30 @@ AddMarkupArgs properties:
358
373
  # command: map.apply-filter-effect
359
374
  Description: Applies a Filter Effect to the map(s). Web only.
360
375
 
376
+ **Example:** Applying a filter effect to a layer with a specific id.
377
+
378
+ ```
379
+ [
380
+ {
381
+ name: "map.apply-filter-effect",
382
+ arguments: {
383
+ layers: "your-layer-id",
384
+ where: "Magnitude >= 6.0",
385
+ featureMode: "replace",
386
+ maps: "item://map-extension/your-mapExtension-id",
387
+ includedEffect: {
388
+ brightness: "130%",
389
+ contrast: "120%",
390
+ },
391
+ excludedEffect: {
392
+ grayscale: "100%",
393
+ opacity: "25%",
394
+ },
395
+ },
396
+ },
397
+ ];
398
+ ```
399
+
361
400
  Inputs: `ApplyFilterEffectArgs`
362
401
 
363
402
  ApplyFilterEffectArgs properties:
@@ -408,6 +447,20 @@ ApplyFilterEffectArgs properties:
408
447
  # command: map.apply-layer-preset
409
448
  Description: Applies a LayerPreset to the map(s). Web only.
410
449
 
450
+ **Example:**: Applying a defined layer preset.
451
+
452
+ ```
453
+ [
454
+ {
455
+ name: "map.apply-layer-preset",
456
+ arguments: {
457
+ layerPreset: "item://layer-preset/your-layerPreset-id",
458
+ maps: "item://map-extension/your-mapExtension-id",
459
+ },
460
+ },
461
+ ];
462
+ ```
463
+
411
464
  Inputs: `ApplyLayerPresetArgs`
412
465
 
413
466
  ApplyLayerPresetArgs properties:
@@ -427,6 +480,17 @@ ApplyLayerPresetArgs properties:
427
480
  # command: map.clear-filter-effects
428
481
  Description: Clears all Filter Effects from the map(s). Web only.
429
482
 
483
+ **Example:** Clearing all filter effects from the default map in a map extension.
484
+
485
+ ```
486
+ [
487
+ {
488
+ name: "map.clear-filter-effects",
489
+ arguments: "item://map-extension/your-mapExtension-id",
490
+ },
491
+ ];
492
+ ```
493
+
430
494
  Inputs: `( @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension | @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension[] | HasMaps )`
431
495
 
432
496
  HasMaps properties:
@@ -442,6 +506,20 @@ HasMaps properties:
442
506
  # command: map.clear-markup
443
507
  Description: Clears all markup from the map(s).
444
508
 
509
+ **Example:** Clearing all markup from a custom collection on the default map in a map extension.
510
+
511
+ ```
512
+ [
513
+ {
514
+ name: "map.clear-markup",
515
+ arguments: {
516
+ collection: "poi-highlights",
517
+ maps: "item://map-extension/your-mapExtension-id",
518
+ },
519
+ },
520
+ ];
521
+ ```
522
+
445
523
  Inputs: `( ClearMarkupArgs )`
446
524
 
447
525
  ClearMarkupArgs properties:
@@ -464,6 +542,31 @@ ClearMarkupArgs properties:
464
542
  # command: map.create-note
465
543
  Description: Create a map note. Web only.
466
544
 
545
+ **Example:** Creating a map note based on the user-defined coordinates.
546
+
547
+ ```
548
+ [
549
+ {
550
+ name: "map.get-user-coordinates-input",
551
+ arguments: {
552
+ completeLabel: "language-common-next",
553
+ attributes: {
554
+ slot: "top-start",
555
+ },
556
+ },
557
+ },
558
+ "tasks.identify",
559
+ {
560
+ name: "map.create-note",
561
+ arguments: {
562
+ attributes: {
563
+ slot: "top-start",
564
+ },
565
+ },
566
+ },
567
+ ];
568
+ ```
569
+
467
570
  Inputs: `CreateMapNoteArgs`
468
571
 
469
572
  CreateMapNoteArgs properties:
@@ -504,6 +607,31 @@ CreateMapNoteArgs properties:
504
607
  # command: map.edit-note
505
608
  Description: Edit an existing map note. Web only.
506
609
 
610
+ **Example:** Editing a map note based on the user-defined coordinates.
611
+
612
+ ```
613
+ [
614
+ {
615
+ name: "map.get-user-coordinates-input",
616
+ arguments: {
617
+ completeLabel: "language-common-next",
618
+ attributes: {
619
+ slot: "top-start",
620
+ },
621
+ },
622
+ },
623
+ "tasks.identify",
624
+ {
625
+ name: "map.edit-note",
626
+ arguments: {
627
+ attributes: {
628
+ slot: "top-start",
629
+ },
630
+ },
631
+ },
632
+ ];
633
+ ```
634
+
507
635
  Inputs: `EditMapNotesArgs`
508
636
 
509
637
  EditMapNotesArgs properties:
@@ -1329,6 +1457,20 @@ ZoomToViewpointArgs properties:
1329
1457
  # command: map.hide-markup
1330
1458
  Description: Show the specified markup collection, if hidden. If no collection is specified the default markup collection will be shown. Web only.
1331
1459
 
1460
+ **Example:** Hiding a custom collection using `MarkupArgs`.
1461
+
1462
+ ```
1463
+ [
1464
+ {
1465
+ name: "map.hide-markup",
1466
+ arguments: {
1467
+ collection: "poi-highlights",
1468
+ maps: "item://map-extension/your-mapExtension-id",
1469
+ },
1470
+ },
1471
+ ];
1472
+ ```
1473
+
1332
1474
  Inputs: `( MarkupArgs )`
1333
1475
 
1334
1476
  MarkupArgs properties:
@@ -1931,6 +2073,20 @@ HasMapGeometry properties:
1931
2073
  # command: map.remove-filter-effects
1932
2074
  Description: Removes a Filter Effect(s) from the map(s). Web only.
1933
2075
 
2076
+ **Example:** Removing a filter effect from a layer with a specific id.
2077
+
2078
+ ```
2079
+ [
2080
+ {
2081
+ name: "map.remove-filter-effects",
2082
+ arguments: {
2083
+ layers: "your-layer-id",
2084
+ maps: "item://map-extension/your-mapExtension-id",
2085
+ },
2086
+ },
2087
+ ];
2088
+ ```
2089
+
1934
2090
  Inputs: `Layers`
1935
2091
 
1936
2092
  Layers properties:
@@ -1969,6 +2125,24 @@ Layers properties:
1969
2125
  # command: map.remove-layers
1970
2126
  Description: Remove the specified layer(s) from the map(s). Web only.
1971
2127
 
2128
+ **Example:** Removing a layer with a specific id from the main map using `RemoveLayersArgs`.
2129
+
2130
+ ```
2131
+ [
2132
+ {
2133
+ name: "map.remove-layers",
2134
+ arguments: {
2135
+ maps: "item://map-extension/your-mapExtension-id",
2136
+ layers: [
2137
+ {
2138
+ id: "your-layer-id",
2139
+ },
2140
+ ],
2141
+ },
2142
+ },
2143
+ ];
2144
+ ```
2145
+
1972
2146
  Inputs: `( @vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference | @vertigis.arcgis-extensions.data._TableExtension.TableReference | @arcgis.core.layers.Layer.Layer | @vertigis.arcgis-extensions.mapping._LayerExtension.LayerExtension | esri.SublayerLike | @vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension | @vertigis.arcgis-extensions.data._TableExtension.TableExtension | LayerLike[] | RemoveLayersArgs | string )`
1973
2147
 
1974
2148
  @vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference properties:
@@ -2028,6 +2202,20 @@ RemoveLayersArgs properties:
2028
2202
  # command: map.rotate-by
2029
2203
  Description: Rotates the map by the specified amount.
2030
2204
 
2205
+ **Example:** Rotating a map by 90 degrees with the defined id using `MapRotateArgs`.
2206
+
2207
+ ```
2208
+ [
2209
+ {
2210
+ name: "map.rotate-by",
2211
+ arguments: {
2212
+ rotation: 90,
2213
+ maps: "item://map-extension/your-mapExtension-id",
2214
+ },
2215
+ },
2216
+ ];
2217
+ ```
2218
+
2031
2219
  Inputs: `MapRotateArgs`
2032
2220
 
2033
2221
  MapRotateArgs properties:
@@ -2048,6 +2236,20 @@ MapRotateArgs properties:
2048
2236
  # command: map.rotate-to
2049
2237
  Description: Rotates the map to the specified angle.
2050
2238
 
2239
+ **Example:** Rotating a map to 45 degrees with the defined id using `MapRotateArgs`.
2240
+
2241
+ ```
2242
+ [
2243
+ {
2244
+ name: "map.rotate-to",
2245
+ arguments: {
2246
+ rotation: 45,
2247
+ maps: "item://map-extension/your-mapExtension-id",
2248
+ },
2249
+ },
2250
+ ];
2251
+ ```
2252
+
2051
2253
  Inputs: `MapRotateArgs`
2052
2254
 
2053
2255
  MapRotateArgs properties:
@@ -2068,6 +2270,20 @@ MapRotateArgs properties:
2068
2270
  # command: map.set-view-mode
2069
2271
  Description: Changes the view mode of a map to the specified mode, if supported. If no maps are specified, all maps will be targeted. Web only.
2070
2272
 
2273
+ **Example:** Setting the view mode to "scene" on a map with the defined id using `SetViewModeArgs`.
2274
+
2275
+ ```
2276
+ [
2277
+ {
2278
+ name: "map.set-view-mode",
2279
+ arguments: {
2280
+ viewMode: "scene",
2281
+ maps: "item://map-extension/your-mapExtension-id",
2282
+ },
2283
+ },
2284
+ ];
2285
+ ```
2286
+
2071
2287
  Inputs: `( SetViewModeArgs | "map" | "scene" )`
2072
2288
 
2073
2289
  SetViewModeArgs properties:
@@ -2087,6 +2303,20 @@ SetViewModeArgs properties:
2087
2303
  # command: map.show-markup
2088
2304
  Description: Show the specified markup collection, if hidden. If no collection is specified the default markup collection will be shown. Web only.
2089
2305
 
2306
+ **Example:** Showing a custom collection using `MarkupArgs`.
2307
+
2308
+ ```
2309
+ [
2310
+ {
2311
+ name: "map.show-markup",
2312
+ arguments: {
2313
+ collection: "poi-highlights",
2314
+ maps: "item://map-extension/your-mapExtension-id",
2315
+ },
2316
+ },
2317
+ ];
2318
+ ```
2319
+
2090
2320
  Inputs: `( MarkupArgs )`
2091
2321
 
2092
2322
  MarkupArgs properties:
@@ -2106,6 +2336,25 @@ MarkupArgs properties:
2106
2336
  # command: map.update-layer
2107
2337
  Description: Updates a layer in the map. Web only.
2108
2338
 
2339
+ **Example:** Updating a layer with a specific id using `UpdateLayerArgs`.
2340
+
2341
+ ```
2342
+ [
2343
+ {
2344
+ name: "map.update-layer",
2345
+ arguments: {
2346
+ layers: "your-layer-id",
2347
+ maps: "item://map-extension/your-mapExtension-id",
2348
+ layerJson: {
2349
+ layerType: "CSV",
2350
+ title: "Test-Update",
2351
+ opacity: 0.3,
2352
+ },
2353
+ },
2354
+ },
2355
+ ];
2356
+ ```
2357
+
2109
2358
  Inputs: `UpdateLayerArgs`
2110
2359
 
2111
2360
  UpdateLayerArgs properties:
@@ -2129,6 +2378,19 @@ UpdateLayerArgs properties:
2129
2378
  # command: map.zoom-in
2130
2379
  Description: Zooms the map in by one level of detail. Web only.
2131
2380
 
2381
+ **Example:** Zooming in on a map with the defined id using `Maps` as an argument.
2382
+
2383
+ ```
2384
+ [
2385
+ {
2386
+ name: "map.zoom-in",
2387
+ arguments: {
2388
+ maps: "item://map-extension/your-mapExtension-id",
2389
+ },
2390
+ },
2391
+ ];
2392
+ ```
2393
+
2132
2394
  Inputs: `( @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension | @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension[] | HasMaps )`
2133
2395
 
2134
2396
  HasMaps properties:
@@ -2144,6 +2406,19 @@ HasMaps properties:
2144
2406
  # command: map.zoom-out
2145
2407
  Description: Zooms the map out by one level of detail. Web only.
2146
2408
 
2409
+ **Example:** Zooming out on a map with the defined id using `Maps` as an argument.
2410
+
2411
+ ```
2412
+ [
2413
+ {
2414
+ name: "map.zoom-out",
2415
+ arguments: {
2416
+ maps: "item://map-extension/your-mapExtension-id",
2417
+ },
2418
+ },
2419
+ ];
2420
+ ```
2421
+
2147
2422
  Inputs: `( @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension | @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension[] | HasMaps )`
2148
2423
 
2149
2424
  HasMaps properties:
@@ -2742,6 +3017,19 @@ HasMapGeometry properties:
2742
3017
  # command: map.zoom-to-initial-viewpoint
2743
3018
  Description: Zooms the map to its initial viewpoint.
2744
3019
 
3020
+ **Example:** Zooming to the initial viewpoint on a map with the defined id using `Maps` as an argument.
3021
+
3022
+ ```
3023
+ [
3024
+ {
3025
+ name: "map.zoom-to-initial-viewpoint",
3026
+ arguments: {
3027
+ maps: "item://map-extension/your-mapExtension-id",
3028
+ },
3029
+ },
3030
+ ];
3031
+ ```
3032
+
2745
3033
  Inputs: `( @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension | @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension[] | HasMaps )`
2746
3034
 
2747
3035
  HasMaps properties:
@@ -2757,6 +3045,20 @@ HasMaps properties:
2757
3045
  # command: map.zoom-to-layer-extent
2758
3046
  Description: Go to the full extent of the layer(s). If more than one layer is specified, it will zoom to the combined extent of all layers. Web only.
2759
3047
 
3048
+ **Example:** Zooming to the full extent of a layer with the defined id on a map with the defined id.
3049
+
3050
+ ```
3051
+ [
3052
+ {
3053
+ name: "map.zoom-to-layer-extent",
3054
+ arguments: {
3055
+ layers: "your-layer-id",
3056
+ maps: "item://map-extension/your-mapExtension-id",
3057
+ },
3058
+ },
3059
+ ];
3060
+ ```
3061
+
2760
3062
  Inputs: `ZoomToLayerArgs`
2761
3063
 
2762
3064
  ZoomToLayerArgs properties:
@@ -2776,6 +3078,20 @@ ZoomToLayerArgs properties:
2776
3078
  # command: map.zoom-to-layer-visible-scale
2777
3079
  Description: Go to the closest min/max scale of the layer. The map will not zoom if it is currently within the visible scale range. If multiple layers are provided, it will attempt to zoom to a scale range that makes all of the layers visible. If this is not possible (i.e. some of the layers' scale ranges don't overlap), then priority will be given to layers that come earlier in the sequence. Web only.
2778
3080
 
3081
+ **Example:** Zooming to the visible scale of a layer with the defined id on a map with the defined id.
3082
+
3083
+ ```
3084
+ [
3085
+ {
3086
+ name: "map.zoom-to-layer-visible-scale",
3087
+ arguments: {
3088
+ layers: "your-layer-id",
3089
+ maps: "item://map-extension/your-mapExtension-id",
3090
+ },
3091
+ },
3092
+ ];
3093
+ ```
3094
+
2779
3095
  Inputs: `ZoomToLayerArgs`
2780
3096
 
2781
3097
  ZoomToLayerArgs properties:
@@ -2797,6 +3113,19 @@ Description: Zooms to the next viewpoint to undo viewpoint changes from zooming
2797
3113
 
2798
3114
  Note that if no map is included as an argument, the command will run for all maps, which could result in unexpected behavior. Web only.
2799
3115
 
3116
+ **Example:** Zooming to the next viewpoint on a map with the defined id using `Maps` as an argument.
3117
+
3118
+ ```
3119
+ [
3120
+ {
3121
+ name: "map.zoom-to-next-viewpoint",
3122
+ arguments: {
3123
+ maps: "item://map-extension/your-mapExtension-id",
3124
+ },
3125
+ },
3126
+ ];
3127
+ ```
3128
+
2800
3129
  Inputs: `( @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension | @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension[] | HasMaps )`
2801
3130
 
2802
3131
  HasMaps properties:
@@ -2814,6 +3143,19 @@ Description: Zooms to the previous viewpoint.
2814
3143
 
2815
3144
  Note that if no map is included as an argument, the command will run for all maps, which could result in unexpected behavior. Web only.
2816
3145
 
3146
+ **Example:** Zooming to the previous viewpoint on a map with the defined id using `Maps` as an argument.
3147
+
3148
+ ```
3149
+ [
3150
+ {
3151
+ name: "map.zoom-to-previous-viewpoint",
3152
+ arguments: {
3153
+ maps: "item://map-extension/your-mapExtension-id",
3154
+ },
3155
+ },
3156
+ ];
3157
+ ```
3158
+
2817
3159
  Inputs: `( @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension | @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension[] | HasMaps )`
2818
3160
 
2819
3161
  HasMaps properties:
@@ -2829,6 +3171,20 @@ HasMaps properties:
2829
3171
  # command: map.zoom-to-scale
2830
3172
  Description: Zooms the map to a specified, numerical scale. Web only.
2831
3173
 
3174
+ **Example:** Zooming to a scale of 1:500 on a map with the defined id.
3175
+
3176
+ ```
3177
+ [
3178
+ {
3179
+ name: "map.zoom-to-scale",
3180
+ arguments: {
3181
+ scale: 500,
3182
+ maps: "item://map-extension/your-mapExtension-id",
3183
+ },
3184
+ },
3185
+ ];
3186
+ ```
3187
+
2832
3188
  Inputs: `ZoomToScaleArgs`
2833
3189
 
2834
3190
  ZoomToScaleArgs properties:
@@ -2849,6 +3205,30 @@ ZoomToScaleArgs properties:
2849
3205
  # command: map.zoom-to-viewpoint
2850
3206
  Description: Go to the given viewpoint.
2851
3207
 
3208
+ **Example:** Zooming to a viewpoint with the defined target geometry, rotation, and scale on a map with the defined id.
3209
+
3210
+ ```
3211
+ [
3212
+ {
3213
+ name: "map.zoom-to-viewpoint",
3214
+ arguments: {
3215
+ viewpoint: {
3216
+ scale: 72224,
3217
+ rotation: 30,
3218
+ targetGeometry: {
3219
+ x: -122.4194,
3220
+ y: 37.7749,
3221
+ spatialReference: {
3222
+ wkid: 4326,
3223
+ },
3224
+ },
3225
+ },
3226
+ maps: "item://map-extension/your-mapExtension-id",
3227
+ },
3228
+ },
3229
+ ];
3230
+ ```
3231
+
2852
3232
  Inputs: `( @vertigis.arcgis-extensions.mapping.Bookmark.BookmarkProperties | @arcgis.core.Viewpoint.Viewpoint | esri.rest-api.ViewpointJson.ViewpointJson | ZoomToViewpointArgs )`
2853
3233
 
2854
3234
  @vertigis.arcgis-extensions.mapping.Bookmark.BookmarkProperties properties: