@vertigis/viewer-spec 51.7.0 → 51.8.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,6 +1,9 @@
|
|
|
1
|
+
import type Color from "@arcgis/core/Color";
|
|
1
2
|
import type Geometry from "@arcgis/core/geometry/Geometry";
|
|
2
3
|
import type Point from "@arcgis/core/geometry/Point";
|
|
4
|
+
import type SimpleLineSymbol from "@arcgis/core/symbols/SimpleLineSymbol.js";
|
|
3
5
|
import type { SpatialReference } from "@vertigis/arcgis-extensions/portal/SpatialReference";
|
|
6
|
+
import type { Color as ColorJson } from "@vertigis/arcgis-extensions/portal/Symbol";
|
|
4
7
|
import type { Command } from "../Command.js";
|
|
5
8
|
import { CommandRegistry } from "../CommandRegistry.js";
|
|
6
9
|
import type { TimeSpan } from "../DotNetTypes.js";
|
|
@@ -143,6 +146,34 @@ export interface GnssDeviceConnectionInfo {
|
|
|
143
146
|
*/
|
|
144
147
|
settings: GnssDeviceSettings;
|
|
145
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* Arguments for the geolocation.set-location-symbol command.
|
|
151
|
+
*/
|
|
152
|
+
export interface SetLocationSymbolArgs {
|
|
153
|
+
/**
|
|
154
|
+
* The color to use for the location marker's fill and the accuracy circle's
|
|
155
|
+
* outline.
|
|
156
|
+
*/
|
|
157
|
+
color?: Color | ColorJson | string;
|
|
158
|
+
/**
|
|
159
|
+
* The symbol to use for the outline of the location marker.
|
|
160
|
+
*/
|
|
161
|
+
outline?: SimpleLineSymbol;
|
|
162
|
+
/**
|
|
163
|
+
* The size to use for the location marker.
|
|
164
|
+
*/
|
|
165
|
+
size?: number;
|
|
166
|
+
/**
|
|
167
|
+
* The style to use for the location marker. Valid values are: circle,
|
|
168
|
+
* cross, diamond, square, triangle and X.
|
|
169
|
+
*/
|
|
170
|
+
style?: string;
|
|
171
|
+
/**
|
|
172
|
+
* If true, all other properties will be ignored and the location symbol
|
|
173
|
+
* will be reset to the default symbol.
|
|
174
|
+
*/
|
|
175
|
+
default?: boolean;
|
|
176
|
+
}
|
|
146
177
|
declare enum GnssDeviceType {
|
|
147
178
|
INTEGRATED = "integrated",
|
|
148
179
|
BLUETOOTH = "bluetooth",
|
|
@@ -295,6 +326,12 @@ export declare class GeolocationCommands extends CommandRegistry {
|
|
|
295
326
|
* @mobileOnly
|
|
296
327
|
*/
|
|
297
328
|
get applyDatumTransformation(): Command<CoordinateTransformation | string | number | number[]>;
|
|
329
|
+
/**
|
|
330
|
+
* Modifies the location display symbol.
|
|
331
|
+
*
|
|
332
|
+
* @mobileOnly
|
|
333
|
+
*/
|
|
334
|
+
get setLocationSymbol(): Command<SetLocationSymbolArgs>;
|
|
298
335
|
}
|
|
299
336
|
export declare class GeolocationOperations extends OperationRegistry {
|
|
300
337
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export var GeolocateState;var GnssDeviceType;!function(e){e.DISABLED="Disabled",e.ENABLED="Enabled",e.RECENTERING="Recentering",e.RECENTERING_AND_REORIENTING="RecenteringAndReorienting"}(GeolocateState||(GeolocateState={})),function(e){e.INTEGRATED="integrated",e.BLUETOOTH="bluetooth",e.USB="usb",e.EMULATOR="emulator"}(GnssDeviceType||(GnssDeviceType={}));export var FixQuality;!function(e){e.INVALID="Invalid",e.GPS_FIX="GpsFix",e.DGPS_FIX="DgpsFix",e.PPS_FIX="PpsFix",e.RTK="Rtk",e.FLOAT_RTK="FloatRtk",e.ESTIMATED="Estimated",e.MANUAL_INPUT="ManualInput",e.SIMULATION="Simulation"}(FixQuality||(FixQuality={}));export var GpgsaFixMode;!function(e){e.NOT_AVAILABLE="NotAvailable",e.FIX_2D="Fix2D",e.FIX_3D="Fix3D"}(GpgsaFixMode||(GpgsaFixMode={}));export var GnssLockStatus;!function(e){e[e.Good=0]="Good",e[e.UncorrectedPosition=1]="UncorrectedPosition",e[e.EstimatedAccuracy=2]="EstimatedAccuracy",e[e.LostConnection=4]="LostConnection",e[e.NoLocation=16]="NoLocation",e[e.Integrated=32]="Integrated"}(GnssLockStatus||(GnssLockStatus={}));export class GeolocationCommands extends CommandRegistry{get autoRecenter(){return this._messages.command("geolocation.auto-recenter")}get autoRecenterAndReorient(){return this._messages.command("geolocation.auto-recenter-and-reorient")}get displayLocation(){return this._messages.command("geolocation.display-location")}get turnOffGeolocation(){return this._messages.command("geolocation.turn-off-geolocation")}get displayDeviceSettings(){return this._messages.command("geolocation.display-device-settings")}get displayDeviceMetadata(){return this._messages.command("geolocation.display-device-metadata")}get displayDeviceSelection(){return this._messages.command("geolocation.display-device-selection")}get applyDatumTransformation(){return this._messages.command("geolocation.apply-datum-transformation")}}export class GeolocationOperations extends OperationRegistry{get changeSource(){return this._messages.operation("geolocation.change-source")}get getActiveSource(){return this._messages.operation("geolocation.get-active-source")}get getAllSources(){return this._messages.operation("geolocation.get-all-sources")}get getCurrentState(){return this._messages.operation("geolocation.get-current-state")}get getLocationPermissionsEnabled(){return this._messages.operation("geolocation.get-location-permissions-enabled")}get getPosition(){return this._messages.operation("geolocation.get-position")}get getCoordinateTransformations(){return this._messages.operation("geolocation.get-coordinate-transformations")}}export class GeolocationEvents extends EventRegistry{get accuracyChanged(){return this._messages.event("geolocation.accuracy-changed")}get metadataChanged(){return this._messages.event("geolocation.metadata-changed")}get autoRecenterStarted(){return this._messages.event("geolocation.auto-recenter-started")}get autoRecenterAndReorientStarted(){return this._messages.event("geolocation.auto-recenter-and-reorient-started")}get autoRecenterStopped(){return this._messages.event("geolocation.auto-recenter-stopped")}get autoRecenterAndReorientStopped(){return this._messages.event("geolocation.auto-recenter-and-reorient-stopped")}get gnssDeviceDetectionStarted(){return this._messages.event("geolocation.gnss-device-detection-started")}get gnssDeviceDetectionStopped(){return this._messages.event("geolocation.gnss-device-detection-stopped")}get gnssLockStatusChanged(){return this._messages.event("geolocation.gnss-lock-status-changed")}get headingChanged(){return this._messages.event("geolocation.heading-changed")}get positionAcquired(){return this._messages.event("geolocation.position-acquired")}get positionChanged(){return this._messages.event("geolocation.position-changed")}get positionLost(){return this._messages.event("geolocation.position-lost")}get sourceChanged(){return this._messages.event("geolocation.source-changed")}get statusChanged(){return this._messages.event("geolocation.status-changed")}get displayLocationStarted(){return this._messages.event("geolocation.display-location-started")}get displayLocationStopped(){return this._messages.event("geolocation.display-location-stopped")}get transformationChanged(){return this._messages.event("geolocation.gnss-transformation-changed")}get antennaHeightChanged(){return this._messages.event("geolocation.gnss-antenna-height-changed")}get locationDisplayModeChanged(){return this._messages.event("geolocation.display-mode-changed")}}
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export var GeolocateState;var GnssDeviceType;!function(e){e.DISABLED="Disabled",e.ENABLED="Enabled",e.RECENTERING="Recentering",e.RECENTERING_AND_REORIENTING="RecenteringAndReorienting"}(GeolocateState||(GeolocateState={})),function(e){e.INTEGRATED="integrated",e.BLUETOOTH="bluetooth",e.USB="usb",e.EMULATOR="emulator"}(GnssDeviceType||(GnssDeviceType={}));export var FixQuality;!function(e){e.INVALID="Invalid",e.GPS_FIX="GpsFix",e.DGPS_FIX="DgpsFix",e.PPS_FIX="PpsFix",e.RTK="Rtk",e.FLOAT_RTK="FloatRtk",e.ESTIMATED="Estimated",e.MANUAL_INPUT="ManualInput",e.SIMULATION="Simulation"}(FixQuality||(FixQuality={}));export var GpgsaFixMode;!function(e){e.NOT_AVAILABLE="NotAvailable",e.FIX_2D="Fix2D",e.FIX_3D="Fix3D"}(GpgsaFixMode||(GpgsaFixMode={}));export var GnssLockStatus;!function(e){e[e.Good=0]="Good",e[e.UncorrectedPosition=1]="UncorrectedPosition",e[e.EstimatedAccuracy=2]="EstimatedAccuracy",e[e.LostConnection=4]="LostConnection",e[e.NoLocation=16]="NoLocation",e[e.Integrated=32]="Integrated"}(GnssLockStatus||(GnssLockStatus={}));export class GeolocationCommands extends CommandRegistry{get autoRecenter(){return this._messages.command("geolocation.auto-recenter")}get autoRecenterAndReorient(){return this._messages.command("geolocation.auto-recenter-and-reorient")}get displayLocation(){return this._messages.command("geolocation.display-location")}get turnOffGeolocation(){return this._messages.command("geolocation.turn-off-geolocation")}get displayDeviceSettings(){return this._messages.command("geolocation.display-device-settings")}get displayDeviceMetadata(){return this._messages.command("geolocation.display-device-metadata")}get displayDeviceSelection(){return this._messages.command("geolocation.display-device-selection")}get applyDatumTransformation(){return this._messages.command("geolocation.apply-datum-transformation")}get setLocationSymbol(){return this._messages.command("geolocation.set-location-symbol")}}export class GeolocationOperations extends OperationRegistry{get changeSource(){return this._messages.operation("geolocation.change-source")}get getActiveSource(){return this._messages.operation("geolocation.get-active-source")}get getAllSources(){return this._messages.operation("geolocation.get-all-sources")}get getCurrentState(){return this._messages.operation("geolocation.get-current-state")}get getLocationPermissionsEnabled(){return this._messages.operation("geolocation.get-location-permissions-enabled")}get getPosition(){return this._messages.operation("geolocation.get-position")}get getCoordinateTransformations(){return this._messages.operation("geolocation.get-coordinate-transformations")}}export class GeolocationEvents extends EventRegistry{get accuracyChanged(){return this._messages.event("geolocation.accuracy-changed")}get metadataChanged(){return this._messages.event("geolocation.metadata-changed")}get autoRecenterStarted(){return this._messages.event("geolocation.auto-recenter-started")}get autoRecenterAndReorientStarted(){return this._messages.event("geolocation.auto-recenter-and-reorient-started")}get autoRecenterStopped(){return this._messages.event("geolocation.auto-recenter-stopped")}get autoRecenterAndReorientStopped(){return this._messages.event("geolocation.auto-recenter-and-reorient-stopped")}get gnssDeviceDetectionStarted(){return this._messages.event("geolocation.gnss-device-detection-started")}get gnssDeviceDetectionStopped(){return this._messages.event("geolocation.gnss-device-detection-stopped")}get gnssLockStatusChanged(){return this._messages.event("geolocation.gnss-lock-status-changed")}get headingChanged(){return this._messages.event("geolocation.heading-changed")}get positionAcquired(){return this._messages.event("geolocation.position-acquired")}get positionChanged(){return this._messages.event("geolocation.position-changed")}get positionLost(){return this._messages.event("geolocation.position-lost")}get sourceChanged(){return this._messages.event("geolocation.source-changed")}get statusChanged(){return this._messages.event("geolocation.status-changed")}get displayLocationStarted(){return this._messages.event("geolocation.display-location-started")}get displayLocationStopped(){return this._messages.event("geolocation.display-location-stopped")}get transformationChanged(){return this._messages.event("geolocation.gnss-transformation-changed")}get antennaHeightChanged(){return this._messages.event("geolocation.gnss-antenna-height-changed")}get locationDisplayModeChanged(){return this._messages.event("geolocation.display-mode-changed")}}
|
|
@@ -3213,6 +3213,44 @@
|
|
|
3213
3213
|
],
|
|
3214
3214
|
"type": "object"
|
|
3215
3215
|
},
|
|
3216
|
+
"SetLocationSymbolArgs": {
|
|
3217
|
+
"additionalProperties": false,
|
|
3218
|
+
"description": "Arguments for the geolocation.set-location-symbol command.",
|
|
3219
|
+
"properties": {
|
|
3220
|
+
"color": {
|
|
3221
|
+
"anyOf": [
|
|
3222
|
+
{
|
|
3223
|
+
"$ref": "#/definitions/esri.Color"
|
|
3224
|
+
},
|
|
3225
|
+
{
|
|
3226
|
+
"$ref": "#/definitions/esri.rest-api.Symbol.Color",
|
|
3227
|
+
"description": "Color is represented as a four-element array. The four elements represent values for red, green, blue, and alpha in that order. Values range from 0 through 255. If color is undefined for a symbol, the color value is null.{@linkhttps://developers.arcgis.com/web-map-specification/objects/color/}{@linkhttps://developers.arcgis.com/web-scene-specification/objects/color/}."
|
|
3228
|
+
},
|
|
3229
|
+
{
|
|
3230
|
+
"type": "string"
|
|
3231
|
+
}
|
|
3232
|
+
],
|
|
3233
|
+
"description": "The color to use for the location marker's fill and the accuracy circle's outline."
|
|
3234
|
+
},
|
|
3235
|
+
"default": {
|
|
3236
|
+
"description": "If true, all other properties will be ignored and the location symbol will be reset to the default symbol.",
|
|
3237
|
+
"type": "boolean"
|
|
3238
|
+
},
|
|
3239
|
+
"outline": {
|
|
3240
|
+
"$ref": "#/definitions/esri.SimpleLineSymbol",
|
|
3241
|
+
"description": "The symbol to use for the outline of the location marker."
|
|
3242
|
+
},
|
|
3243
|
+
"size": {
|
|
3244
|
+
"description": "The size to use for the location marker.",
|
|
3245
|
+
"type": "number"
|
|
3246
|
+
},
|
|
3247
|
+
"style": {
|
|
3248
|
+
"description": "The style to use for the location marker. Valid values are: circle, cross, diamond, square, triangle and X.",
|
|
3249
|
+
"type": "string"
|
|
3250
|
+
}
|
|
3251
|
+
},
|
|
3252
|
+
"type": "object"
|
|
3253
|
+
},
|
|
3216
3254
|
"SetSnappingConfigurationArgs": {
|
|
3217
3255
|
"additionalProperties": false,
|
|
3218
3256
|
"description": "Arguments for the \"sketching.set-snapping-configuration\" command.",
|
|
@@ -13398,6 +13436,15 @@
|
|
|
13398
13436
|
"geolocation.get-position:output": {
|
|
13399
13437
|
"$ref": "#/definitions/esri.Point"
|
|
13400
13438
|
},
|
|
13439
|
+
"geolocation.set-location-symbol": {
|
|
13440
|
+
"description": "Modifies the location display symbol.",
|
|
13441
|
+
"enum": [
|
|
13442
|
+
"geolocation.set-location-symbol"
|
|
13443
|
+
]
|
|
13444
|
+
},
|
|
13445
|
+
"geolocation.set-location-symbol:input": {
|
|
13446
|
+
"$ref": "#/definitions/SetLocationSymbolArgs"
|
|
13447
|
+
},
|
|
13401
13448
|
"geolocation.turn-off-geolocation": {
|
|
13402
13449
|
"description": "Turns off geolocation.",
|
|
13403
13450
|
"enum": [
|
|
@@ -15471,6 +15518,22 @@
|
|
|
15471
15518
|
],
|
|
15472
15519
|
"type": "object"
|
|
15473
15520
|
},
|
|
15521
|
+
{
|
|
15522
|
+
"additionalProperties": false,
|
|
15523
|
+
"properties": {
|
|
15524
|
+
"arguments": {
|
|
15525
|
+
"$ref": "#/definitions/geolocation.set-location-symbol:input"
|
|
15526
|
+
},
|
|
15527
|
+
"name": {
|
|
15528
|
+
"$ref": "#/definitions/geolocation.set-location-symbol"
|
|
15529
|
+
}
|
|
15530
|
+
},
|
|
15531
|
+
"required": [
|
|
15532
|
+
"name",
|
|
15533
|
+
"arguments"
|
|
15534
|
+
],
|
|
15535
|
+
"type": "object"
|
|
15536
|
+
},
|
|
15474
15537
|
{
|
|
15475
15538
|
"additionalProperties": false,
|
|
15476
15539
|
"properties": {
|
|
@@ -17023,6 +17086,9 @@
|
|
|
17023
17086
|
{
|
|
17024
17087
|
"$ref": "#/definitions/geolocation.get-location-permissions-enabled"
|
|
17025
17088
|
},
|
|
17089
|
+
{
|
|
17090
|
+
"$ref": "#/definitions/geolocation.set-location-symbol"
|
|
17091
|
+
},
|
|
17026
17092
|
{
|
|
17027
17093
|
"$ref": "#/definitions/geolocation.turn-off-geolocation"
|
|
17028
17094
|
},
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED