@vertigis/viewer-spec 50.3.0 → 50.4.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/geolocation.d.ts +5 -5
- package/messaging/registry/geometry.d.ts +3 -4
- package/messaging/registry/map.d.ts +2 -2
- package/messaging/registry/offline.d.ts +29 -4
- package/messaging/registry/sketching.d.ts +5 -6
- package/messaging/schema/common-action.schema.json +5 -5
- package/messaging/schema/mobile-action.schema.json +47 -11
- package/messaging/schema/web-action.schema.json +5 -5
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -157,14 +157,14 @@ export interface GetTransformationArgs {
|
|
|
157
157
|
*/
|
|
158
158
|
inputSpatialReference?: SpatialReference;
|
|
159
159
|
/**
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
160
|
+
* The desired output spatial reference of the transformations. For example,
|
|
161
|
+
* the spatial reference of the map. If unspecified, the spatial reference
|
|
162
|
+
* of the first available map will be used.
|
|
163
163
|
*/
|
|
164
164
|
outputSpatialReference?: SpatialReference;
|
|
165
165
|
/**
|
|
166
|
-
*
|
|
167
|
-
*
|
|
166
|
+
* The area of interest. If provided, this will be used to order the list of
|
|
167
|
+
* valid transformations in order of best-fit.
|
|
168
168
|
*/
|
|
169
169
|
area?: Geometry;
|
|
170
170
|
}
|
|
@@ -152,13 +152,12 @@ export interface CalculatePointArgs {
|
|
|
152
152
|
*/
|
|
153
153
|
angle?: number;
|
|
154
154
|
/**
|
|
155
|
-
*
|
|
156
|
-
* geodetic or planar. Defaults to true.
|
|
155
|
+
* Whether the distance calculations will be geodetic or planar. Defaults to true.
|
|
157
156
|
*/
|
|
158
157
|
geodetic?: boolean;
|
|
159
158
|
/**
|
|
160
|
-
*
|
|
161
|
-
*
|
|
159
|
+
* The geodetic curve type used when calculating the new point. Only applies
|
|
160
|
+
* when 'geodetic' is true. Defaults to 'geodesic'.
|
|
162
161
|
*/
|
|
163
162
|
geodeticCurveType: GeodeticCurveType;
|
|
164
163
|
}
|
|
@@ -595,8 +595,8 @@ export interface StartSketchArgs {
|
|
|
595
595
|
*/
|
|
596
596
|
bufferSize: number;
|
|
597
597
|
/**
|
|
598
|
-
*
|
|
599
|
-
*
|
|
598
|
+
* Whether the previous geometry editor settings should be restored after
|
|
599
|
+
* this sketch is stopped.
|
|
600
600
|
*/
|
|
601
601
|
retainEditorSettings: boolean;
|
|
602
602
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="dotnet-bcl" />
|
|
2
|
+
import type Geometry from "@arcgis/core/geometry/Geometry.js";
|
|
2
3
|
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
3
4
|
import type Layer from "@arcgis/core/layers/Layer";
|
|
4
5
|
import type { MapExtension } from "@vertigis/arcgis-extensions/mapping/MapExtension";
|
|
@@ -113,11 +114,35 @@ export interface OfflineAreaBase {
|
|
|
113
114
|
export interface CustomOfflineArea {
|
|
114
115
|
}
|
|
115
116
|
/**
|
|
116
|
-
*
|
|
117
|
-
* `VertiGIS.Mobile.Infrastructure.Offline.CustomOfflineAreaDetails` in the
|
|
118
|
-
* VertiGIS.Mobile SDK.
|
|
117
|
+
* Defines the details for the creation of a custom offline map area.
|
|
119
118
|
*/
|
|
120
119
|
export interface CustomOfflineAreaDetails {
|
|
120
|
+
/**
|
|
121
|
+
* The geometry defining this map area.
|
|
122
|
+
*/
|
|
123
|
+
areaOfInterest: Geometry;
|
|
124
|
+
/**
|
|
125
|
+
* The minimum scale for the map.
|
|
126
|
+
*/
|
|
127
|
+
minScale: number;
|
|
128
|
+
/**
|
|
129
|
+
* The maximum scale for the map.
|
|
130
|
+
*/
|
|
131
|
+
maxScale: number;
|
|
132
|
+
/**
|
|
133
|
+
* Whether to include feature attachments when downloading this map area.
|
|
134
|
+
* Defaults to false.
|
|
135
|
+
*/
|
|
136
|
+
includeAttachments?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* The name of a tile package to use as a basemap.
|
|
139
|
+
*/
|
|
140
|
+
basemapTilePackage?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Whether feature layer definition expressions are used when taking feature
|
|
143
|
+
* layers and tables offline. Defaults to false.
|
|
144
|
+
*/
|
|
145
|
+
isDefinitionExpressionFilterEnabled?: boolean;
|
|
121
146
|
}
|
|
122
147
|
/**
|
|
123
148
|
* Corresponds to `VertiGIS.Mobile.Infrastructure.Offline.OfflineAreaStatus` in
|
|
@@ -156,7 +181,7 @@ export interface LayerEdits {
|
|
|
156
181
|
*/
|
|
157
182
|
export interface OfflineOperationResult {
|
|
158
183
|
/**
|
|
159
|
-
*
|
|
184
|
+
* Whether or not the operation was successful.
|
|
160
185
|
*/
|
|
161
186
|
success: boolean;
|
|
162
187
|
/**
|
|
@@ -533,11 +533,11 @@ export declare type EditorInteractionMode = "centerCrosshairMode" | "pointerMode
|
|
|
533
533
|
*/
|
|
534
534
|
export interface GeometryEditorSettings {
|
|
535
535
|
/**
|
|
536
|
-
*
|
|
536
|
+
* Whether snapping should be enabled.
|
|
537
537
|
*/
|
|
538
538
|
snappingEnabled?: boolean;
|
|
539
539
|
/**
|
|
540
|
-
*
|
|
540
|
+
* Whether bearing labels should be shown on the map.
|
|
541
541
|
*/
|
|
542
542
|
showBearings?: boolean;
|
|
543
543
|
/**
|
|
@@ -549,16 +549,15 @@ export interface GeometryEditorSettings {
|
|
|
549
549
|
*/
|
|
550
550
|
editorInteractionMode?: EditorInteractionMode;
|
|
551
551
|
/**
|
|
552
|
-
*
|
|
552
|
+
* Whether the sketch is using freehand or segment sketching.
|
|
553
553
|
*/
|
|
554
554
|
freehand?: boolean;
|
|
555
555
|
/**
|
|
556
|
-
*
|
|
556
|
+
* Whether the sketch should stop when double clicking.
|
|
557
557
|
*/
|
|
558
558
|
finishOnDoubleClick?: boolean;
|
|
559
559
|
/**
|
|
560
|
-
*
|
|
561
|
-
* another sketch is activated.
|
|
560
|
+
* Whether the sketch should commit its geometry if another sketch is activated.
|
|
562
561
|
*/
|
|
563
562
|
finishIfInterrupted?: boolean;
|
|
564
563
|
}
|
|
@@ -1411,23 +1411,23 @@
|
|
|
1411
1411
|
"description": "The editor interaction mode."
|
|
1412
1412
|
},
|
|
1413
1413
|
"finishIfInterrupted": {
|
|
1414
|
-
"description": "
|
|
1414
|
+
"description": "Whether the sketch should commit its geometry if another sketch is activated.",
|
|
1415
1415
|
"type": "boolean"
|
|
1416
1416
|
},
|
|
1417
1417
|
"finishOnDoubleClick": {
|
|
1418
|
-
"description": "
|
|
1418
|
+
"description": "Whether the sketch should stop when double clicking.",
|
|
1419
1419
|
"type": "boolean"
|
|
1420
1420
|
},
|
|
1421
1421
|
"freehand": {
|
|
1422
|
-
"description": "
|
|
1422
|
+
"description": "Whether the sketch is using freehand or segment sketching.",
|
|
1423
1423
|
"type": "boolean"
|
|
1424
1424
|
},
|
|
1425
1425
|
"showBearings": {
|
|
1426
|
-
"description": "
|
|
1426
|
+
"description": "Whether bearing labels should be shown on the map.",
|
|
1427
1427
|
"type": "boolean"
|
|
1428
1428
|
},
|
|
1429
1429
|
"snappingEnabled": {
|
|
1430
|
-
"description": "
|
|
1430
|
+
"description": "Whether snapping should be enabled.",
|
|
1431
1431
|
"type": "boolean"
|
|
1432
1432
|
}
|
|
1433
1433
|
},
|
|
@@ -674,12 +674,12 @@
|
|
|
674
674
|
"type": "number"
|
|
675
675
|
},
|
|
676
676
|
"geodetic": {
|
|
677
|
-
"description": "
|
|
677
|
+
"description": "Whether the distance calculations will be geodetic or planar. Defaults to true.",
|
|
678
678
|
"type": "boolean"
|
|
679
679
|
},
|
|
680
680
|
"geodeticCurveType": {
|
|
681
681
|
"$ref": "#/definitions/GeodeticCurveType",
|
|
682
|
-
"description": "
|
|
682
|
+
"description": "The geodetic curve type used when calculating the new point. Only applies when 'geodetic' is true. Defaults to 'geodesic'."
|
|
683
683
|
},
|
|
684
684
|
"offset": {
|
|
685
685
|
"description": "The offset that will be used to calculate the new point. The 'offset' corresponds to the distance perpendicularly away from the reference line. Positive values will result in a point to the right of the reference line, negative values will be to the left. Exactly one of 'offset' and 'angle' must be set.",
|
|
@@ -945,6 +945,42 @@
|
|
|
945
945
|
],
|
|
946
946
|
"type": "object"
|
|
947
947
|
},
|
|
948
|
+
"CustomOfflineAreaDetails": {
|
|
949
|
+
"additionalProperties": false,
|
|
950
|
+
"description": "Defines the details for the creation of a custom offline map area.",
|
|
951
|
+
"properties": {
|
|
952
|
+
"areaOfInterest": {
|
|
953
|
+
"$ref": "#/definitions/esri.Geometry",
|
|
954
|
+
"description": "The geometry defining this map area."
|
|
955
|
+
},
|
|
956
|
+
"basemapTilePackage": {
|
|
957
|
+
"description": "The name of a tile package to use as a basemap.",
|
|
958
|
+
"type": "string"
|
|
959
|
+
},
|
|
960
|
+
"includeAttachments": {
|
|
961
|
+
"description": "Whether to include feature attachments when downloading this map area. Defaults to false.",
|
|
962
|
+
"type": "boolean"
|
|
963
|
+
},
|
|
964
|
+
"isDefinitionExpressionFilterEnabled": {
|
|
965
|
+
"description": "Whether feature layer definition expressions are used when taking feature layers and tables offline. Defaults to false.",
|
|
966
|
+
"type": "boolean"
|
|
967
|
+
},
|
|
968
|
+
"maxScale": {
|
|
969
|
+
"description": "The maximum scale for the map.",
|
|
970
|
+
"type": "number"
|
|
971
|
+
},
|
|
972
|
+
"minScale": {
|
|
973
|
+
"description": "The minimum scale for the map.",
|
|
974
|
+
"type": "number"
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
"required": [
|
|
978
|
+
"areaOfInterest",
|
|
979
|
+
"maxScale",
|
|
980
|
+
"minScale"
|
|
981
|
+
],
|
|
982
|
+
"type": "object"
|
|
983
|
+
},
|
|
948
984
|
"DeleteAttachmentArgs": {
|
|
949
985
|
"additionalProperties": false,
|
|
950
986
|
"description": "Arguments for the \"edit.delete-attachment\" command.",
|
|
@@ -1686,23 +1722,23 @@
|
|
|
1686
1722
|
"description": "The editor interaction mode."
|
|
1687
1723
|
},
|
|
1688
1724
|
"finishIfInterrupted": {
|
|
1689
|
-
"description": "
|
|
1725
|
+
"description": "Whether the sketch should commit its geometry if another sketch is activated.",
|
|
1690
1726
|
"type": "boolean"
|
|
1691
1727
|
},
|
|
1692
1728
|
"finishOnDoubleClick": {
|
|
1693
|
-
"description": "
|
|
1729
|
+
"description": "Whether the sketch should stop when double clicking.",
|
|
1694
1730
|
"type": "boolean"
|
|
1695
1731
|
},
|
|
1696
1732
|
"freehand": {
|
|
1697
|
-
"description": "
|
|
1733
|
+
"description": "Whether the sketch is using freehand or segment sketching.",
|
|
1698
1734
|
"type": "boolean"
|
|
1699
1735
|
},
|
|
1700
1736
|
"showBearings": {
|
|
1701
|
-
"description": "
|
|
1737
|
+
"description": "Whether bearing labels should be shown on the map.",
|
|
1702
1738
|
"type": "boolean"
|
|
1703
1739
|
},
|
|
1704
1740
|
"snappingEnabled": {
|
|
1705
|
-
"description": "
|
|
1741
|
+
"description": "Whether snapping should be enabled.",
|
|
1706
1742
|
"type": "boolean"
|
|
1707
1743
|
}
|
|
1708
1744
|
},
|
|
@@ -1848,7 +1884,7 @@
|
|
|
1848
1884
|
"properties": {
|
|
1849
1885
|
"area": {
|
|
1850
1886
|
"$ref": "#/definitions/esri.Geometry",
|
|
1851
|
-
"description": "
|
|
1887
|
+
"description": "The area of interest. If provided, this will be used to order the list of valid transformations in order of best-fit."
|
|
1852
1888
|
},
|
|
1853
1889
|
"inputSpatialReference": {
|
|
1854
1890
|
"$ref": "#/definitions/esri.rest-api.SpatialReference.SpatialReference",
|
|
@@ -1856,7 +1892,7 @@
|
|
|
1856
1892
|
},
|
|
1857
1893
|
"outputSpatialReference": {
|
|
1858
1894
|
"$ref": "#/definitions/esri.rest-api.SpatialReference.SpatialReference",
|
|
1859
|
-
"description": "
|
|
1895
|
+
"description": "The desired output spatial reference of the transformations. For example, the spatial reference of the map. If unspecified, the spatial reference of the first available map will be used."
|
|
1860
1896
|
}
|
|
1861
1897
|
},
|
|
1862
1898
|
"type": "object"
|
|
@@ -2351,7 +2387,7 @@
|
|
|
2351
2387
|
"type": "string"
|
|
2352
2388
|
},
|
|
2353
2389
|
"success": {
|
|
2354
|
-
"description": "
|
|
2390
|
+
"description": "Whether or not the operation was successful.",
|
|
2355
2391
|
"type": "boolean"
|
|
2356
2392
|
},
|
|
2357
2393
|
"syncLayerErrors": {
|
|
@@ -3075,7 +3111,7 @@
|
|
|
3075
3111
|
"type": "string"
|
|
3076
3112
|
},
|
|
3077
3113
|
"retainEditorSettings": {
|
|
3078
|
-
"description": "
|
|
3114
|
+
"description": "Whether the previous geometry editor settings should be restored after this sketch is stopped.",
|
|
3079
3115
|
"type": "boolean"
|
|
3080
3116
|
},
|
|
3081
3117
|
"symbol": {
|
|
@@ -2674,23 +2674,23 @@
|
|
|
2674
2674
|
"description": "The editor interaction mode."
|
|
2675
2675
|
},
|
|
2676
2676
|
"finishIfInterrupted": {
|
|
2677
|
-
"description": "
|
|
2677
|
+
"description": "Whether the sketch should commit its geometry if another sketch is activated.",
|
|
2678
2678
|
"type": "boolean"
|
|
2679
2679
|
},
|
|
2680
2680
|
"finishOnDoubleClick": {
|
|
2681
|
-
"description": "
|
|
2681
|
+
"description": "Whether the sketch should stop when double clicking.",
|
|
2682
2682
|
"type": "boolean"
|
|
2683
2683
|
},
|
|
2684
2684
|
"freehand": {
|
|
2685
|
-
"description": "
|
|
2685
|
+
"description": "Whether the sketch is using freehand or segment sketching.",
|
|
2686
2686
|
"type": "boolean"
|
|
2687
2687
|
},
|
|
2688
2688
|
"showBearings": {
|
|
2689
|
-
"description": "
|
|
2689
|
+
"description": "Whether bearing labels should be shown on the map.",
|
|
2690
2690
|
"type": "boolean"
|
|
2691
2691
|
},
|
|
2692
2692
|
"snappingEnabled": {
|
|
2693
|
-
"description": "
|
|
2693
|
+
"description": "Whether snapping should be enabled.",
|
|
2694
2694
|
"type": "boolean"
|
|
2695
2695
|
}
|
|
2696
2696
|
},
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED