@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
1 lines • 2.83 kB
JavaScript
import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as n}from"../OperationRegistry.js";export class GeolocationCommands extends t{_prefix="geolocation";get autoRecenter(){return this._get("auto-recenter")}get autoRecenterAndReorient(){return this._get("auto-recenter-and-reorient")}get displayLocation(){return this._get("display-location")}get turnOffGeolocation(){return this._get("turn-off-geolocation")}get displayDeviceSettings(){return this._get("display-device-settings")}get displayDeviceMetadata(){return this._get("display-device-metadata")}get displayDeviceSelection(){return this._get("display-device-selection")}get applyDatumTransformation(){return this._get("apply-datum-transformation")}get setLocationSymbol(){return this._get("set-location-symbol")}}export class GeolocationOperations extends n{_prefix="geolocation";get changeSource(){return this._get("change-source")}get getActiveSource(){return this._get("get-active-source")}get getAllSources(){return this._get("get-all-sources")}get getCurrentState(){return this._get("get-current-state")}get getLocationPermissionsEnabled(){return this._get("get-location-permissions-enabled")}get getPosition(){return this._get("get-position")}get getCoordinateTransformations(){return this._get("get-coordinate-transformations")}}export class GeolocationEvents extends e{_prefix="geolocation";get accuracyChanged(){return this._get("accuracy-changed")}get metadataChanged(){return this._get("metadata-changed")}get autoRecenterStarted(){return this._get("auto-recenter-started")}get autoRecenterAndReorientStarted(){return this._get("auto-recenter-and-reorient-started")}get autoRecenterStopped(){return this._get("auto-recenter-stopped")}get autoRecenterAndReorientStopped(){return this._get("auto-recenter-and-reorient-stopped")}get gnssDeviceDetectionStarted(){return this._get("gnss-device-detection-started")}get gnssDeviceDetectionStopped(){return this._get("gnss-device-detection-stopped")}get gnssLockStatusChanged(){return this._get("gnss-lock-status-changed")}get headingChanged(){return this._get("heading-changed")}get positionAcquired(){return this._get("position-acquired")}get positionChanged(){return this._get("position-changed")}get positionLost(){return this._get("position-lost")}get sourceChanged(){return this._get("source-changed")}get statusChanged(){return this._get("status-changed")}get displayLocationStarted(){return this._get("display-location-started")}get displayLocationStopped(){return this._get("display-location-stopped")}get transformationChanged(){return this._get("gnss-transformation-changed")}get antennaHeightChanged(){return this._get("gnss-antenna-height-changed")}get locationDisplayModeChanged(){return this._get("display-mode-changed")}}