@vertigis/viewer-spec 42.10.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/LICENSE +5 -0
- package/README.md +3 -0
- package/app-config/AppConfig.d.ts +55 -0
- package/app-config/AppConfig.js +1 -0
- package/app-config/ItemConfig.d.ts +18 -0
- package/app-config/ItemConfig.js +1 -0
- package/app-config/common/BasemapPickerModelProperties.d.ts +6 -0
- package/app-config/common/BasemapPickerModelProperties.js +1 -0
- package/app-config/common/BookmarksModelProperties.d.ts +17 -0
- package/app-config/common/BookmarksModelProperties.js +1 -0
- package/app-config/common/BrandingColors.d.ts +94 -0
- package/app-config/common/BrandingColors.js +1 -0
- package/app-config/common/BrandingModelProperties.d.ts +23 -0
- package/app-config/common/BrandingModelProperties.js +1 -0
- package/app-config/common/BrandingThemeProperties.d.ts +35 -0
- package/app-config/common/BrandingThemeProperties.js +1 -0
- package/app-config/common/CompassModelProperties.d.ts +6 -0
- package/app-config/common/CompassModelProperties.js +1 -0
- package/app-config/common/ComponentModelProperties.d.ts +14 -0
- package/app-config/common/ComponentModelProperties.js +1 -0
- package/app-config/common/CoordinateModelProperties.d.ts +34 -0
- package/app-config/common/CoordinateModelProperties.js +1 -0
- package/app-config/common/DialogModelProperties.d.ts +6 -0
- package/app-config/common/DialogModelProperties.js +1 -0
- package/app-config/common/ExpandModelProperties.d.ts +6 -0
- package/app-config/common/ExpandModelProperties.js +1 -0
- package/app-config/common/FeatureDetailsModelProperties.d.ts +27 -0
- package/app-config/common/FeatureDetailsModelProperties.js +1 -0
- package/app-config/common/GeolocationModelProperties.d.ts +6 -0
- package/app-config/common/GeolocationModelProperties.js +1 -0
- package/app-config/common/HighlightModelProperties.d.ts +69 -0
- package/app-config/common/HighlightModelProperties.js +1 -0
- package/app-config/common/ImageModelProperties.d.ts +14 -0
- package/app-config/common/ImageModelProperties.js +1 -0
- package/app-config/common/ItemRef.d.ts +4 -0
- package/app-config/common/ItemRef.js +1 -0
- package/app-config/common/LayerListModelProperties.d.ts +12 -0
- package/app-config/common/LayerListModelProperties.js +1 -0
- package/app-config/common/LayerPresetsModelProperties.d.ts +14 -0
- package/app-config/common/LayerPresetsModelProperties.js +1 -0
- package/app-config/common/LayoutProperties.d.ts +33 -0
- package/app-config/common/LayoutProperties.js +1 -0
- package/app-config/common/LegendModelProperties.d.ts +6 -0
- package/app-config/common/LegendModelProperties.js +1 -0
- package/app-config/common/LicensingModelProperties.d.ts +10 -0
- package/app-config/common/LicensingModelProperties.js +1 -0
- package/app-config/common/MapCoordinatesModelProperties.d.ts +6 -0
- package/app-config/common/MapCoordinatesModelProperties.js +1 -0
- package/app-config/common/MapModelProperties.d.ts +7 -0
- package/app-config/common/MapModelProperties.js +1 -0
- package/app-config/common/MenuModelProperties.d.ts +13 -0
- package/app-config/common/MenuModelProperties.js +1 -0
- package/app-config/common/ModelProperties.d.ts +6 -0
- package/app-config/common/ModelProperties.js +1 -0
- package/app-config/common/PanelModelProperties.d.ts +6 -0
- package/app-config/common/PanelModelProperties.js +1 -0
- package/app-config/common/RegionModelProperties.d.ts +26 -0
- package/app-config/common/RegionModelProperties.js +1 -0
- package/app-config/common/ResultsModelProperties.d.ts +12 -0
- package/app-config/common/ResultsModelProperties.js +1 -0
- package/app-config/common/ScalebarModelProperties.d.ts +6 -0
- package/app-config/common/ScalebarModelProperties.js +1 -0
- package/app-config/common/SearchModelProperties.d.ts +26 -0
- package/app-config/common/SearchModelProperties.js +1 -0
- package/app-config/common/ServiceModelProperties.d.ts +6 -0
- package/app-config/common/ServiceModelProperties.js +1 -0
- package/app-config/common/SplitModelProperties.d.ts +6 -0
- package/app-config/common/SplitModelProperties.js +1 -0
- package/app-config/common/StackModelProperties.d.ts +6 -0
- package/app-config/common/StackModelProperties.js +1 -0
- package/app-config/common/TextModelProperties.d.ts +10 -0
- package/app-config/common/TextModelProperties.js +1 -0
- package/app-config/common/TranslatableText.d.ts +27 -0
- package/app-config/common/TranslatableText.js +1 -0
- package/app-config/common/UserModelProperties.d.ts +6 -0
- package/app-config/common/UserModelProperties.js +1 -0
- package/app-config/common/WorkflowEventsProperties.d.ts +11 -0
- package/app-config/common/WorkflowEventsProperties.js +1 -0
- package/app-config/common/WorkflowModelProperties.d.ts +44 -0
- package/app-config/common/WorkflowModelProperties.js +1 -0
- package/app-config/common/ZoomModelProperties.d.ts +6 -0
- package/app-config/common/ZoomModelProperties.js +1 -0
- package/app-config/common/colors.d.ts +6 -0
- package/app-config/common/colors.js +1 -0
- package/app-config/index.d.ts +2 -0
- package/app-config/index.js +1 -0
- package/app-config/mobile/AddFeatureModelProperties.d.ts +6 -0
- package/app-config/mobile/AddFeatureModelProperties.js +1 -0
- package/app-config/mobile/AddRelatedFeatureModelProperties.d.ts +6 -0
- package/app-config/mobile/AddRelatedFeatureModelProperties.js +1 -0
- package/app-config/mobile/BasemapModelProperties.d.ts +11 -0
- package/app-config/mobile/BasemapModelProperties.js +1 -0
- package/app-config/mobile/FeatureDetailsModelProperties.d.ts +23 -0
- package/app-config/mobile/FeatureDetailsModelProperties.js +1 -0
- package/app-config/mobile/GeometryToolbarModelProperties.d.ts +6 -0
- package/app-config/mobile/GeometryToolbarModelProperties.js +1 -0
- package/app-config/mobile/GnssDeviceSelectionModelProperties.d.ts +6 -0
- package/app-config/mobile/GnssDeviceSelectionModelProperties.js +1 -0
- package/app-config/mobile/GnssDeviceSettingsModelProperties.d.ts +6 -0
- package/app-config/mobile/GnssDeviceSettingsModelProperties.js +1 -0
- package/app-config/mobile/GnssMetadataModelProperties.d.ts +6 -0
- package/app-config/mobile/GnssMetadataModelProperties.js +1 -0
- package/app-config/mobile/MapModelProperties.d.ts +45 -0
- package/app-config/mobile/MapModelProperties.js +1 -0
- package/app-config/mobile/OfflineModelProperties.d.ts +48 -0
- package/app-config/mobile/OfflineModelProperties.js +1 -0
- package/app-config/mobile/PortalExtensionSettingsProperties.d.ts +27 -0
- package/app-config/mobile/PortalExtensionSettingsProperties.js +1 -0
- package/app-config/mobile/ScrollModelProperties.d.ts +6 -0
- package/app-config/mobile/ScrollModelProperties.js +1 -0
- package/app-config/mobile/SelectLayerSettingsModelProperties.d.ts +11 -0
- package/app-config/mobile/SelectLayerSettingsModelProperties.js +1 -0
- package/app-config/mobile/TaskbarModelProperties.d.ts +6 -0
- package/app-config/mobile/TaskbarModelProperties.js +1 -0
- package/app-config/mobile/UpdateFeatureModelProperties.d.ts +6 -0
- package/app-config/mobile/UpdateFeatureModelProperties.js +1 -0
- package/app-config/mobile/VertigisMobileModelProperties.d.ts +65 -0
- package/app-config/mobile/VertigisMobileModelProperties.js +1 -0
- package/app-config/schema/common-app-config.schema.json +1 -0
- package/app-config/schema/mobile-app-config.schema.json +1 -0
- package/app-config/schema/web-app-config.schema.json +1 -0
- package/app-config/web/AddressModelProperties.d.ts +6 -0
- package/app-config/web/AddressModelProperties.js +1 -0
- package/app-config/web/BasemapPickerModelProperties.d.ts +7 -0
- package/app-config/web/BasemapPickerModelProperties.js +1 -0
- package/app-config/web/BookmarksModelProperties.d.ts +7 -0
- package/app-config/web/BookmarksModelProperties.js +1 -0
- package/app-config/web/BrandingModelProperties.d.ts +14 -0
- package/app-config/web/BrandingModelProperties.js +1 -0
- package/app-config/web/ChartModelProperties.d.ts +58 -0
- package/app-config/web/ChartModelProperties.js +1 -0
- package/app-config/web/CompassModelProperties.d.ts +7 -0
- package/app-config/web/CompassModelProperties.js +1 -0
- package/app-config/web/ComponentModelProperties.d.ts +12 -0
- package/app-config/web/ComponentModelProperties.js +1 -0
- package/app-config/web/CoordinateModelProperties.d.ts +7 -0
- package/app-config/web/CoordinateModelProperties.js +1 -0
- package/app-config/web/DialogModelProperties.d.ts +7 -0
- package/app-config/web/DialogModelProperties.js +1 -0
- package/app-config/web/DrawModelProperties.d.ts +102 -0
- package/app-config/web/DrawModelProperties.js +1 -0
- package/app-config/web/FeatureDetailsModelProperties.d.ts +12 -0
- package/app-config/web/FeatureDetailsModelProperties.js +1 -0
- package/app-config/web/FeatureInfoModelProperties.d.ts +22 -0
- package/app-config/web/FeatureInfoModelProperties.js +1 -0
- package/app-config/web/FeatureListProperties.d.ts +12 -0
- package/app-config/web/FeatureListProperties.js +1 -0
- package/app-config/web/FeatureSetProperties.d.ts +16 -0
- package/app-config/web/FeatureSetProperties.js +1 -0
- package/app-config/web/FeatureSummaryModelProperties.d.ts +22 -0
- package/app-config/web/FeatureSummaryModelProperties.js +1 -0
- package/app-config/web/GeolocationModelProperties.d.ts +7 -0
- package/app-config/web/GeolocationModelProperties.js +1 -0
- package/app-config/web/GeometryModelProperties.d.ts +27 -0
- package/app-config/web/GeometryModelProperties.js +1 -0
- package/app-config/web/HasVisibilityFilters.d.ts +35 -0
- package/app-config/web/HasVisibilityFilters.js +1 -0
- package/app-config/web/ImageModelProperties.d.ts +7 -0
- package/app-config/web/ImageModelProperties.js +1 -0
- package/app-config/web/KpiCardModelProperties.d.ts +145 -0
- package/app-config/web/KpiCardModelProperties.js +1 -0
- package/app-config/web/LayerListModelProperties.d.ts +7 -0
- package/app-config/web/LayerListModelProperties.js +1 -0
- package/app-config/web/LayerPresetsModelProperties.d.ts +7 -0
- package/app-config/web/LayerPresetsModelProperties.js +1 -0
- package/app-config/web/LegendModelProperties.d.ts +7 -0
- package/app-config/web/LegendModelProperties.js +1 -0
- package/app-config/web/Map3dToggleModelProperties.d.ts +6 -0
- package/app-config/web/Map3dToggleModelProperties.js +1 -0
- package/app-config/web/MapCoordinatesModelProperties.d.ts +43 -0
- package/app-config/web/MapCoordinatesModelProperties.js +1 -0
- package/app-config/web/MapModelProperties.d.ts +81 -0
- package/app-config/web/MapModelProperties.js +1 -0
- package/app-config/web/MeasurementModelProperties.d.ts +36 -0
- package/app-config/web/MeasurementModelProperties.js +1 -0
- package/app-config/web/MenuItemModelProperties.d.ts +7 -0
- package/app-config/web/MenuItemModelProperties.js +1 -0
- package/app-config/web/MenuModelProperties.d.ts +13 -0
- package/app-config/web/MenuModelProperties.js +1 -0
- package/app-config/web/ModelProperties.d.ts +7 -0
- package/app-config/web/ModelProperties.js +1 -0
- package/app-config/web/PanelModelProperties.d.ts +7 -0
- package/app-config/web/PanelModelProperties.js +1 -0
- package/app-config/web/PortalModelProperties.d.ts +10 -0
- package/app-config/web/PortalModelProperties.js +1 -0
- package/app-config/web/PrintFormModelProperties.d.ts +42 -0
- package/app-config/web/PrintFormModelProperties.js +1 -0
- package/app-config/web/ReportModelProperties.d.ts +15 -0
- package/app-config/web/ReportModelProperties.js +1 -0
- package/app-config/web/ResultsModelProperties.d.ts +93 -0
- package/app-config/web/ResultsModelProperties.js +1 -0
- package/app-config/web/ScaleInputModelProperties.d.ts +6 -0
- package/app-config/web/ScaleInputModelProperties.js +1 -0
- package/app-config/web/ScalebarModelProperties.d.ts +22 -0
- package/app-config/web/ScalebarModelProperties.js +1 -0
- package/app-config/web/SearchModelProperties.d.ts +22 -0
- package/app-config/web/SearchModelProperties.js +1 -0
- package/app-config/web/SplitModelProperties.d.ts +7 -0
- package/app-config/web/SplitModelProperties.js +1 -0
- package/app-config/web/StackModelProperties.d.ts +7 -0
- package/app-config/web/StackModelProperties.js +1 -0
- package/app-config/web/TabsModelProperties.d.ts +6 -0
- package/app-config/web/TabsModelProperties.js +1 -0
- package/app-config/web/TextModelProperties.d.ts +7 -0
- package/app-config/web/TextModelProperties.js +1 -0
- package/app-config/web/UserModelProperties.d.ts +12 -0
- package/app-config/web/UserModelProperties.js +1 -0
- package/app-config/web/UserPreferencesModelProperties.d.ts +10 -0
- package/app-config/web/UserPreferencesModelProperties.js +1 -0
- package/app-config/web/VertigisWebModelProperties.d.ts +84 -0
- package/app-config/web/VertigisWebModelProperties.js +1 -0
- package/app-config/web/WorkflowModelProperties.d.ts +7 -0
- package/app-config/web/WorkflowModelProperties.js +1 -0
- package/app-config/web/ZoomModelProperties.d.ts +7 -0
- package/app-config/web/ZoomModelProperties.js +1 -0
- package/docs/Geocortex Apps.md +311 -0
- package/docs/layout-spec.md +720 -0
- package/docs/presentation.md +98 -0
- package/layout/schema/layout-common.xsd +849 -0
- package/layout/schema/layout-mobile.xsd +256 -0
- package/layout/schema/layout-web.xsd +248 -0
- package/layout/schema/schema-reference-example.xml +14 -0
- package/messaging/Command.d.ts +74 -0
- package/messaging/Command.js +1 -0
- package/messaging/CommandRegistry.d.ts +13 -0
- package/messaging/CommandRegistry.js +1 -0
- package/messaging/Event.d.ts +25 -0
- package/messaging/Event.js +1 -0
- package/messaging/EventRegistry.d.ts +13 -0
- package/messaging/EventRegistry.js +1 -0
- package/messaging/Message.d.ts +23 -0
- package/messaging/Message.js +1 -0
- package/messaging/MessageBus.d.ts +54 -0
- package/messaging/MessageBus.js +1 -0
- package/messaging/Operation.d.ts +53 -0
- package/messaging/Operation.js +1 -0
- package/messaging/OperationRegistry.d.ts +13 -0
- package/messaging/OperationRegistry.js +1 -0
- package/messaging/common.d.ts +246 -0
- package/messaging/common.js +1 -0
- package/messaging/mobile.d.ts +13 -0
- package/messaging/mobile.js +1 -0
- package/messaging/registry/Commands.d.ts +65 -0
- package/messaging/registry/Commands.js +1 -0
- package/messaging/registry/Events.d.ts +53 -0
- package/messaging/registry/Events.js +1 -0
- package/messaging/registry/Operations.d.ts +54 -0
- package/messaging/registry/Operations.js +1 -0
- package/messaging/registry/app-config.d.ts +11 -0
- package/messaging/registry/app-config.js +1 -0
- package/messaging/registry/app.d.ts +136 -0
- package/messaging/registry/app.js +1 -0
- package/messaging/registry/auth.d.ts +125 -0
- package/messaging/registry/auth.js +1 -0
- package/messaging/registry/basemap.d.ts +52 -0
- package/messaging/registry/basemap.js +1 -0
- package/messaging/registry/charts.d.ts +78 -0
- package/messaging/registry/charts.js +1 -0
- package/messaging/registry/debugConsole.d.ts +24 -0
- package/messaging/registry/debugConsole.js +1 -0
- package/messaging/registry/device.d.ts +15 -0
- package/messaging/registry/device.js +1 -0
- package/messaging/registry/display.d.ts +16 -0
- package/messaging/registry/display.js +1 -0
- package/messaging/registry/drawing.d.ts +126 -0
- package/messaging/registry/drawing.js +1 -0
- package/messaging/registry/edit.d.ts +123 -0
- package/messaging/registry/edit.js +1 -0
- package/messaging/registry/file.d.ts +58 -0
- package/messaging/registry/file.js +1 -0
- package/messaging/registry/geocode.d.ts +91 -0
- package/messaging/registry/geocode.js +1 -0
- package/messaging/registry/geolocation.d.ts +268 -0
- package/messaging/registry/geolocation.js +1 -0
- package/messaging/registry/geometry-toolbar.d.ts +28 -0
- package/messaging/registry/geometry-toolbar.js +1 -0
- package/messaging/registry/geometry.d.ts +101 -0
- package/messaging/registry/geometry.js +1 -0
- package/messaging/registry/highlights.d.ts +83 -0
- package/messaging/registry/highlights.js +1 -0
- package/messaging/registry/input.d.ts +21 -0
- package/messaging/registry/input.js +1 -0
- package/messaging/registry/iwtm.d.ts +10 -0
- package/messaging/registry/iwtm.js +1 -0
- package/messaging/registry/kpi.d.ts +95 -0
- package/messaging/registry/kpi.js +1 -0
- package/messaging/registry/layer-comparison.d.ts +102 -0
- package/messaging/registry/layer-comparison.js +1 -0
- package/messaging/registry/layer-presets.d.ts +28 -0
- package/messaging/registry/layer-presets.js +1 -0
- package/messaging/registry/layers.d.ts +45 -0
- package/messaging/registry/layers.js +1 -0
- package/messaging/registry/layout.d.ts +48 -0
- package/messaging/registry/layout.js +1 -0
- package/messaging/registry/location-marker.d.ts +172 -0
- package/messaging/registry/location-marker.js +1 -0
- package/messaging/registry/logViewer.d.ts +16 -0
- package/messaging/registry/logViewer.js +1 -0
- package/messaging/registry/map.d.ts +893 -0
- package/messaging/registry/map.js +1 -0
- package/messaging/registry/measurement.d.ts +142 -0
- package/messaging/registry/measurement.js +1 -0
- package/messaging/registry/messaging.d.ts +22 -0
- package/messaging/registry/messaging.js +1 -0
- package/messaging/registry/network.d.ts +50 -0
- package/messaging/registry/network.js +1 -0
- package/messaging/registry/offline.d.ts +357 -0
- package/messaging/registry/offline.js +1 -0
- package/messaging/registry/panel.d.ts +93 -0
- package/messaging/registry/panel.js +1 -0
- package/messaging/registry/photos.d.ts +45 -0
- package/messaging/registry/photos.js +1 -0
- package/messaging/registry/portal.d.ts +47 -0
- package/messaging/registry/portal.js +1 -0
- package/messaging/registry/printing.d.ts +138 -0
- package/messaging/registry/printing.js +1 -0
- package/messaging/registry/region.d.ts +21 -0
- package/messaging/registry/region.js +1 -0
- package/messaging/registry/reports.d.ts +112 -0
- package/messaging/registry/reports.js +1 -0
- package/messaging/registry/results.d.ts +454 -0
- package/messaging/registry/results.js +1 -0
- package/messaging/registry/search.d.ts +51 -0
- package/messaging/registry/search.js +1 -0
- package/messaging/registry/sketching.d.ts +521 -0
- package/messaging/registry/sketching.js +1 -0
- package/messaging/registry/system.d.ts +117 -0
- package/messaging/registry/system.js +1 -0
- package/messaging/registry/tasks.d.ts +178 -0
- package/messaging/registry/tasks.js +1 -0
- package/messaging/registry/ui.d.ts +361 -0
- package/messaging/registry/ui.js +1 -0
- package/messaging/registry/viewer.d.ts +95 -0
- package/messaging/registry/viewer.js +1 -0
- package/messaging/registry/workflow.d.ts +134 -0
- package/messaging/registry/workflow.js +1 -0
- package/messaging/schema/common-action.schema.json +11130 -0
- package/messaging/schema/common-event.schema.json +7955 -0
- package/messaging/schema/mobile-action.schema.json +14328 -0
- package/messaging/schema/mobile-event.schema.json +9245 -0
- package/messaging/schema/web-action.schema.json +18896 -0
- package/messaging/schema/web-event.schema.json +8515 -0
- package/package.json +71 -0
- package/version.d.ts +4 -0
- package/version.js +4 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class MapCommands extends CommandRegistry{get addMarkup(){return this._messages.command("map.add-markup")}get addLayers(){return this._messages.command("map.add-layers")}get applyFilterEffect(){return this._messages.command("map.apply-filter-effect")}get applyLayerPreset(){return this._messages.command("map.apply-layer-preset")}get removeFilterEffects(){return this._messages.command("map.remove-filter-effects")}get clearFilterEffects(){return this._messages.command("map.clear-filter-effects")}get clearMarkup(){return this._messages.command("map.clear-markup")}get disableMapClick(){return this._messages.command("map.disable-map-click")}get displayExtentSelector(){return this._messages.command("map.display-extent-selector")}get enableMapClick(){return this._messages.command("map.enable-map-click")}get goToFeatures(){return this._messages.command("map.go-to-features")}get goToGeometry(){return this._messages.command("map.go-to-geometry")}get goToViewpoint(){return this._messages.command("map.go-to-viewpoint")}get goToScale(){return this._messages.command("map.go-to-scale")}get goToInitialViewpoint(){return this._messages.command("map.go-to-initial-viewpoint")}get goToLayerExtent(){return this._messages.command("map.go-to-layer-extent")}get hideExtentSelector(){return this._messages.command("map.hide-extent-selector")}get panToFeatures(){return this._messages.command("map.pan-to-features")}get panToGeometry(){return this._messages.command("map.pan-to-geometry")}get pauseSketch(){return this._messages.command("map.pause-sketch")}get removeLayers(){return this._messages.command("map.remove-layers")}get replace(){return this._messages.command("map.replace")}get replaceAdditionalLayers(){return this._messages.command("map.replace-additional-layers")}get replaceMmpk(){return this._messages.command("map.replace-mmpk")}get resumeSketch(){return this._messages.command("map.resume-sketch")}get rotateBy(){return this._messages.command("map.rotate-by")}get rotateTo(){return this._messages.command("map.rotate-to")}get refresh(){return this._messages.command("map.refresh")}get updateLayer(){return this._messages.command("map.update-layer")}get zoomToFeatures(){return this._messages.command("map.zoom-to-features")}get zoomToGeometry(){return this._messages.command("map.zoom-to-geometry")}get zoomIn(){return this._messages.command("map.zoom-in")}get zoomOut(){return this._messages.command("map.zoom-out")}get zoomToScale(){return this._messages.command("map.zoom-to-scale")}get zoomToInitialViewpoint(){return this._messages.command("map.zoom-to-initial-viewpoint")}get zoomToViewpoint(){return this._messages.command("map.zoom-to-viewpoint")}get zoomToLayerExtent(){return this._messages.command("map.zoom-to-layer-extent")}get zoomToLayerVisibleScale(){return this._messages.command("map.zoom-to-layer-visible-scale")}}export class MapEvents extends EventRegistry{get initialized(){return this._messages.event("map.initialized")}get initializing(){return this._messages.event("map.initializing")}get navigationCompleted(){return this._messages.event("map.navigation-completed")}get refreshed(){return this._messages.event("map.refreshed")}get refreshing(){return this._messages.event("map.refreshing")}get rotated(){return this._messages.event("map.rotated")}get rotating(){return this._messages.event("map.rotating")}get viewpointChanged(){return this._messages.event("map.viewpoint-changed")}}export class MapOperations extends OperationRegistry{get getCoordinateTransformation(){return this._messages.operation("map.get-coordinate-transformation")}get getMarkup(){return this._messages.operation("map.get-markup")}get getExtent(){return this._messages.operation("map.get-extent")}get getGeometryFromSelector(){return this._messages.operation("map.get-geometry-from-selector")}get getInitialViewpoint(){return this._messages.operation("map.get-initial-viewpoint")}get getViewpoint(){return this._messages.operation("map.get-viewpoint")}get getSpatialReference(){return this._messages.operation("map.get-spatial-reference")}get getVisibleCenter(){return this._messages.operation("map.get-visible-center")}get hide(){return this._messages.operation("map.hide")}get show(){return this._messages.operation("map.show")}get startSketch(){return this._messages.operation("map.start-sketch")}get stopSketch(){return this._messages.operation("map.stop-sketch")}get getViewInsets(){return this._messages.operation("map.get-view-insets")}}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import type { GeometryType } from "@vertigis/arcgis-extensions/support/esri";
|
|
2
|
+
import type { AreaMeasurementUnits, LengthMeasurementUnits } from "../../app-config/web/MeasurementModelProperties.js";
|
|
3
|
+
import type { Command } from "../Command.js";
|
|
4
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
5
|
+
import type { Operation } from "../Operation.js";
|
|
6
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
7
|
+
import type { CreateGraphicsResult, Geometries, HasSymbol, Maps, SymbolLike } from "../common.js";
|
|
8
|
+
import type { MapExtensionArgs } from "../mobile.js";
|
|
9
|
+
import type { DrawingSymbolConfig } from "./drawing.js";
|
|
10
|
+
import type { CaptureGeometryArgs, CaptureGeometryResult } from "./sketching.js";
|
|
11
|
+
declare enum GeometryMode {
|
|
12
|
+
LINE = "line",
|
|
13
|
+
AREA = "area"
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Arguments for the measurement.get-symbol operation. Only available in Geocortex
|
|
17
|
+
* Web.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetDefaultSymbolArgs {
|
|
20
|
+
/**
|
|
21
|
+
* The geometry type for the default symbol to retrieve.
|
|
22
|
+
*/
|
|
23
|
+
geometryType?: GeometryType;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Arguments for the measurement events. Only available in the Geocortex Mobile
|
|
27
|
+
* Viewer.
|
|
28
|
+
*/
|
|
29
|
+
export interface GeometryModeArgs extends MapExtensionArgs {
|
|
30
|
+
/**
|
|
31
|
+
* The geometry mode that is used to perform operations.
|
|
32
|
+
*/
|
|
33
|
+
geometryMode: GeometryMode;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Result of the "measurement.create-graphics" operation.
|
|
37
|
+
*/
|
|
38
|
+
export interface CreateMeasurementGraphicsResult extends CreateGraphicsResult {
|
|
39
|
+
}
|
|
40
|
+
export declare class MeasurementCommands extends CommandRegistry {
|
|
41
|
+
/**
|
|
42
|
+
* Sets the value of the default point, line, or polygon symbol. The symbol
|
|
43
|
+
* can be configured with an instance of the Esri symbol or with the Esri
|
|
44
|
+
* WebMap JSON.
|
|
45
|
+
*
|
|
46
|
+
* @webOnly
|
|
47
|
+
*/
|
|
48
|
+
get setDefaultSymbol(): Command<SymbolLike | HasSymbol>;
|
|
49
|
+
/**
|
|
50
|
+
* Sets the area units used for measurements. Set as undefined for units to
|
|
51
|
+
* be intelligently selected based on dimensions.
|
|
52
|
+
*
|
|
53
|
+
* @webOnly
|
|
54
|
+
*/
|
|
55
|
+
get setAreaUnits(): Command<AreaMeasurementUnits | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* Sets the length units used for measurements. Set as undefined for units to
|
|
58
|
+
* be intelligently selected based on dimensions.
|
|
59
|
+
*
|
|
60
|
+
* @webOnly
|
|
61
|
+
*/
|
|
62
|
+
get setLengthUnits(): Command<LengthMeasurementUnits | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Show the measurements settings dialog. This allows you to configure
|
|
65
|
+
* measurements system, area and length units.
|
|
66
|
+
*
|
|
67
|
+
* @webOnly
|
|
68
|
+
*/
|
|
69
|
+
get showSettings(): Command<void>;
|
|
70
|
+
/**
|
|
71
|
+
* Starts drawing a measurement on the map. If a drawing has previously been
|
|
72
|
+
* started and stopped it will be resumed.
|
|
73
|
+
*
|
|
74
|
+
* @mobileOnly
|
|
75
|
+
*/
|
|
76
|
+
get start(): Command<Maps | void>;
|
|
77
|
+
/**
|
|
78
|
+
* Stops drawing a measurement on the map. Graphic remains visible and
|
|
79
|
+
* drawing can be resumed.
|
|
80
|
+
*
|
|
81
|
+
* @mobileOnly
|
|
82
|
+
*/
|
|
83
|
+
get stop(): Command<Maps | void>;
|
|
84
|
+
/**
|
|
85
|
+
* Stops drawing and clears graphics from the map.
|
|
86
|
+
*
|
|
87
|
+
* @mobileOnly
|
|
88
|
+
*/
|
|
89
|
+
get clear(): Command<Maps | void>;
|
|
90
|
+
/**
|
|
91
|
+
* Sets the geometry mode in use.
|
|
92
|
+
*
|
|
93
|
+
* @mobileOnly
|
|
94
|
+
*/
|
|
95
|
+
get setGeometryMode(): Command<GeometryModeArgs>;
|
|
96
|
+
}
|
|
97
|
+
export declare class MeasurementOperations extends OperationRegistry {
|
|
98
|
+
/**
|
|
99
|
+
* Creates graphics out of geometries with the default symbology set by the
|
|
100
|
+
* "measurement.set-default-symbol" command'.
|
|
101
|
+
*
|
|
102
|
+
* @webOnly
|
|
103
|
+
*/
|
|
104
|
+
get createGraphics(): Operation<Geometries, CreateMeasurementGraphicsResult>;
|
|
105
|
+
/**
|
|
106
|
+
* Allows the user to create geometry by sketching on a map with live
|
|
107
|
+
* measurement labels. Returns the geometry that was drawn, along with the
|
|
108
|
+
* map that it was drawn on.
|
|
109
|
+
*
|
|
110
|
+
* @webOnly
|
|
111
|
+
*/
|
|
112
|
+
get captureGeometry(): Operation<CaptureGeometryArgs, CaptureGeometryResult>;
|
|
113
|
+
/**
|
|
114
|
+
* Gets the value of the default point, line, or polygon symbol for the
|
|
115
|
+
* provided geometry type.
|
|
116
|
+
*
|
|
117
|
+
* @webOnly
|
|
118
|
+
*/
|
|
119
|
+
get getDefaultSymbol(): Operation<GetDefaultSymbolArgs | GeometryType, DrawingSymbolConfig>;
|
|
120
|
+
/**
|
|
121
|
+
* Gets the value of the default 3D point, line, or polygon symbol for the
|
|
122
|
+
* provided geometry type.
|
|
123
|
+
*
|
|
124
|
+
* @webOnly
|
|
125
|
+
*/
|
|
126
|
+
get getDefaultSymbol3D(): Operation<GetDefaultSymbolArgs | GeometryType, DrawingSymbolConfig>;
|
|
127
|
+
/**
|
|
128
|
+
* Gets the area units used for measurements. If undefined the units will
|
|
129
|
+
* be selected intelligently based on dimensions.
|
|
130
|
+
*
|
|
131
|
+
* @webOnly
|
|
132
|
+
*/
|
|
133
|
+
get getAreaUnits(): Operation<void, AreaMeasurementUnits | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* Gets the length units used for measurements. If undefined the units will
|
|
136
|
+
* be selected intelligently based on dimensions.
|
|
137
|
+
*
|
|
138
|
+
* @webOnly
|
|
139
|
+
*/
|
|
140
|
+
get getLengthUnits(): Operation<void, LengthMeasurementUnits | undefined>;
|
|
141
|
+
}
|
|
142
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";var GeometryMode;!function(e){e.LINE="line",e.AREA="area"}(GeometryMode||(GeometryMode={}));export class MeasurementCommands extends CommandRegistry{get setDefaultSymbol(){return this._messages.command("measurement.set-default-symbol")}get setAreaUnits(){return this._messages.command("measurement.set-area-units")}get setLengthUnits(){return this._messages.command("measurement.set-length-units")}get showSettings(){return this._messages.command("measurement.show-settings")}get start(){return this._messages.command("measurement.start")}get stop(){return this._messages.command("measurement.stop")}get clear(){return this._messages.command("measurement.clear")}get setGeometryMode(){return this._messages.command("measurement.set-geometry-mode")}}export class MeasurementOperations extends OperationRegistry{get createGraphics(){return this._messages.operation("measurement.create-graphics")}get captureGeometry(){return this._messages.operation("measurement.capture-geometry")}get getDefaultSymbol(){return this._messages.operation("measurement.get-default-symbol")}get getDefaultSymbol3D(){return this._messages.operation("measurement.get-default-symbol-3d")}get getAreaUnits(){return this._messages.operation("measurement.get-area-units")}get getLengthUnits(){return this._messages.operation("measurement.get-length-units")}}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { Operation } from "../Operation.js";
|
|
2
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
3
|
+
export declare class MessagingOperations extends OperationRegistry {
|
|
4
|
+
/**
|
|
5
|
+
* Attempts to merge an array of values into a single value that can be used
|
|
6
|
+
* as an argument for a command or operation. For example:
|
|
7
|
+
* ```
|
|
8
|
+
* [features, { chart: "average-household-income" }]
|
|
9
|
+
* ```
|
|
10
|
+
* This would mix `features` obtained from some other source into arguments
|
|
11
|
+
* intended for the "charts.display" command.
|
|
12
|
+
*
|
|
13
|
+
* If the values cannot be merged, then the leftmost value is returned.
|
|
14
|
+
*
|
|
15
|
+
* Note that argument merging already occurs automatically in command
|
|
16
|
+
* chains; this explicit operation exists for advanced scenarios like
|
|
17
|
+
* Geocortex Workflow or custom code written using the SDK.
|
|
18
|
+
*
|
|
19
|
+
* @webOnly
|
|
20
|
+
*/
|
|
21
|
+
get mixInArgs(): Operation<unknown[], unknown>;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{OperationRegistry}from"../OperationRegistry.js";export class MessagingOperations extends OperationRegistry{get mixInArgs(){return this._messages.operation("messaging.mix-in-args")}}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { Operation } from "../Operation.js";
|
|
2
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
3
|
+
/**
|
|
4
|
+
* The status of a connection to a network host.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum NetworkStatus {
|
|
7
|
+
NOCONNECTION = "NoConnection",
|
|
8
|
+
CONNECTEDTOCARRIERDATANETWORK = "ConnectedToCarrierDataNetwork",
|
|
9
|
+
CONNECTEDTOWIFIORETHERNET = "ConnectedToWiFiOrEthernet",
|
|
10
|
+
RESTRICTED = "Restricted"
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Arguments for the network.can-reach-host operation.
|
|
14
|
+
*/
|
|
15
|
+
export interface HostAndPortArgs {
|
|
16
|
+
/**
|
|
17
|
+
* The host to connect to.
|
|
18
|
+
*/
|
|
19
|
+
host: string;
|
|
20
|
+
/**
|
|
21
|
+
* The port number to connect to. Must be an integer.
|
|
22
|
+
*/
|
|
23
|
+
port: number;
|
|
24
|
+
}
|
|
25
|
+
export declare class NetworkOperations extends OperationRegistry {
|
|
26
|
+
/**
|
|
27
|
+
* Determines if the device has a network connection.
|
|
28
|
+
*
|
|
29
|
+
* @mobileOnly
|
|
30
|
+
*/
|
|
31
|
+
get hasConnection(): Operation<void, boolean>;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the network status.
|
|
34
|
+
*
|
|
35
|
+
* @mobileOnly
|
|
36
|
+
*/
|
|
37
|
+
get getStatus(): Operation<void, NetworkStatus>;
|
|
38
|
+
/**
|
|
39
|
+
* Determines if the device can reach a given host and port.
|
|
40
|
+
*
|
|
41
|
+
* @mobileOnly
|
|
42
|
+
*/
|
|
43
|
+
get canReachHost(): Operation<HostAndPortArgs, boolean>;
|
|
44
|
+
/**
|
|
45
|
+
* Determines if the device can reach a given url.
|
|
46
|
+
*
|
|
47
|
+
* @mobileOnly
|
|
48
|
+
*/
|
|
49
|
+
get canReachUrl(): Operation<string, boolean>;
|
|
50
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{OperationRegistry}from"../OperationRegistry.js";export var NetworkStatus;!function(t){t.NOCONNECTION="NoConnection",t.CONNECTEDTOCARRIERDATANETWORK="ConnectedToCarrierDataNetwork",t.CONNECTEDTOWIFIORETHERNET="ConnectedToWiFiOrEthernet",t.RESTRICTED="Restricted"}(NetworkStatus||(NetworkStatus={}));export class NetworkOperations extends OperationRegistry{get hasConnection(){return this._messages.operation("network.has-connection")}get getStatus(){return this._messages.operation("network.get-status")}get canReachHost(){return this._messages.operation("network.can-reach-host")}get canReachUrl(){return this._messages.operation("network.can-reach-url")}}
|
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
/// <reference types="dotnet-bcl" />
|
|
2
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
3
|
+
import type Layer from "@arcgis/core/layers/Layer";
|
|
4
|
+
import type { MapExtension } from "@vertigis/arcgis-extensions/mapping/MapExtension";
|
|
5
|
+
import type IDictionary from "dotnet-bcl/System/Collections/Generic/IDictionary";
|
|
6
|
+
import type Exception from "dotnet-bcl/System/Exception";
|
|
7
|
+
import type FeatureTable from "esri-runtime-sdk/FeatureTable";
|
|
8
|
+
import type OfflineMapSyncLayerResult from "esri-runtime-sdk/OfflineMapSyncLayerResult";
|
|
9
|
+
import type { Command } from "../Command.js";
|
|
10
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
11
|
+
import type { Event } from "../Event.js";
|
|
12
|
+
import { EventRegistry } from "../EventRegistry.js";
|
|
13
|
+
import type { Operation } from "../Operation.js";
|
|
14
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
15
|
+
import type { FeaturesLike, LayersLike, MapsLike } from "../common.js";
|
|
16
|
+
/**
|
|
17
|
+
* Arguments for the "offline.create-area" operation.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateOfflineAreaArgs {
|
|
20
|
+
/**
|
|
21
|
+
* The title of the custom offline map area.
|
|
22
|
+
*/
|
|
23
|
+
title: string;
|
|
24
|
+
/**
|
|
25
|
+
* The map that the custom offline map area is being created for.
|
|
26
|
+
*/
|
|
27
|
+
mapExtension: MapExtension;
|
|
28
|
+
/**
|
|
29
|
+
* The map area details that will be used to create the offline map area.
|
|
30
|
+
*/
|
|
31
|
+
areaDetails: CustomOfflineAreaDetails;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Arguments for various offline commands.
|
|
35
|
+
*/
|
|
36
|
+
export interface OfflineCommandArgs {
|
|
37
|
+
/**
|
|
38
|
+
* The offline area to use.
|
|
39
|
+
*/
|
|
40
|
+
offlineArea: OfflineAreaBase;
|
|
41
|
+
/**
|
|
42
|
+
* The associated map for the offline command/operation.
|
|
43
|
+
*/
|
|
44
|
+
maps: MapsLike;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Corresponds to `VertiGIS.Mobile.Infrastructure.Offline.OfflineAreaBase` in
|
|
48
|
+
* the VertiGIS.Mobile SDK.
|
|
49
|
+
*/
|
|
50
|
+
export interface OfflineAreaBase {
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Corresponds to `VertiGIS.Mobile.Infrastructure.Offline.CustomOfflineArea` in
|
|
54
|
+
* the VertiGIS.Mobile SDK.
|
|
55
|
+
*/
|
|
56
|
+
export interface CustomOfflineArea {
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Corresponds to `VertiGIS.Mobile.Infrastructure.Offline.CustomOfflineAreaDetails` in
|
|
60
|
+
* the VertiGIS.Mobile SDK.
|
|
61
|
+
*/
|
|
62
|
+
export interface CustomOfflineAreaDetails {
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Corresponds to `VertiGIS.Mobile.Infrastructure.Offline.LayerEdits` in
|
|
66
|
+
* the VertiGIS.Mobile SDK.
|
|
67
|
+
*/
|
|
68
|
+
export interface LayerEdits {
|
|
69
|
+
/**
|
|
70
|
+
* The layer associated with the pending edits.
|
|
71
|
+
*/
|
|
72
|
+
layer: LayersLike;
|
|
73
|
+
/**
|
|
74
|
+
* The table associated with the pending edits.
|
|
75
|
+
*/
|
|
76
|
+
table: FeatureTable;
|
|
77
|
+
/**
|
|
78
|
+
* A list of pending added features.
|
|
79
|
+
*/
|
|
80
|
+
adds: FeaturesLike[];
|
|
81
|
+
/**
|
|
82
|
+
* A list of pending deleted features.
|
|
83
|
+
*/
|
|
84
|
+
deletes: FeaturesLike[];
|
|
85
|
+
/**
|
|
86
|
+
* A list of pending updated features.
|
|
87
|
+
*/
|
|
88
|
+
updates: FeaturesLike[];
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Represents a result from an offline operation.
|
|
92
|
+
*/
|
|
93
|
+
export interface OfflineOperationResult {
|
|
94
|
+
/**
|
|
95
|
+
* A value indicating whether or not the operation was successful.
|
|
96
|
+
*/
|
|
97
|
+
success: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* The Exception that occurred during the operation, or null if no Exception
|
|
100
|
+
* occurred.
|
|
101
|
+
*/
|
|
102
|
+
error: Exception;
|
|
103
|
+
/**
|
|
104
|
+
* An <see cref="OfflineErrorCode"/> enum value indicating the type of
|
|
105
|
+
* error that occurred, or null if successful.
|
|
106
|
+
*/
|
|
107
|
+
errorCode: OfflineErrorCode;
|
|
108
|
+
/**
|
|
109
|
+
* Gets a string representation of the ErrorCode enum; or null if
|
|
110
|
+
* successful. Useful for consumption in Geocortex Workflow, instead of
|
|
111
|
+
* having to deal with an integer value for the ErrorCode.
|
|
112
|
+
*/
|
|
113
|
+
errorCodeString: string;
|
|
114
|
+
/**
|
|
115
|
+
* A localized, end-user presentable error message, or null if the operation was successful.
|
|
116
|
+
*/
|
|
117
|
+
errorMessage: string;
|
|
118
|
+
/**
|
|
119
|
+
* A collection of warnings that occurred during the operation that do not
|
|
120
|
+
* necessarily mean that the operation was failed.
|
|
121
|
+
*/
|
|
122
|
+
warnings: string[];
|
|
123
|
+
/**
|
|
124
|
+
* A collection of layer errors that occurred while downloading a map area.
|
|
125
|
+
*/
|
|
126
|
+
downloadLayerErrors: IDictionary<Layer, Exception>;
|
|
127
|
+
/**
|
|
128
|
+
* A dictionary of table errors that occurred while downloading a map area.
|
|
129
|
+
*/
|
|
130
|
+
downloadTableErrors: IDictionary<FeatureTable, Exception>;
|
|
131
|
+
/**
|
|
132
|
+
* A dictionary of layer sync results that occurred while submitting edits
|
|
133
|
+
* on or updating a map area.
|
|
134
|
+
*/
|
|
135
|
+
syncLayerResults: IDictionary<FeatureLayer, OfflineMapSyncLayerResult>;
|
|
136
|
+
/**
|
|
137
|
+
* A dictionary of table sync results that occurred while submitting edits
|
|
138
|
+
* on or updating a map area.
|
|
139
|
+
*/
|
|
140
|
+
syncTableResults: IDictionary<FeatureTable, OfflineMapSyncLayerResult>;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* An error code for a known offline operation error.
|
|
144
|
+
*/
|
|
145
|
+
export declare enum OfflineErrorCode {
|
|
146
|
+
/**
|
|
147
|
+
* The operation requires network connectivity, but the network is
|
|
148
|
+
* disconnected.
|
|
149
|
+
*/
|
|
150
|
+
NETWORK_CONNECTION_REQUIRED = 100,
|
|
151
|
+
/**
|
|
152
|
+
* Failed to connect to a Portal.
|
|
153
|
+
*/
|
|
154
|
+
PORTAL_CONNECTION_FAILURE = 101,
|
|
155
|
+
/**
|
|
156
|
+
* Job is already in progress.
|
|
157
|
+
*/
|
|
158
|
+
ALREADY_STARTED = 102,
|
|
159
|
+
/**
|
|
160
|
+
* An exception was thrown.
|
|
161
|
+
*/
|
|
162
|
+
EXCEPTION_THROWN = 103,
|
|
163
|
+
/**
|
|
164
|
+
* The downloaded map area package is invalid.
|
|
165
|
+
*/
|
|
166
|
+
INVALID_MAP_AREA_DATA = 104,
|
|
167
|
+
/**
|
|
168
|
+
* The amount of allowable time spent with the app in the background was
|
|
169
|
+
* exceeded.
|
|
170
|
+
*/
|
|
171
|
+
BACKGROUND_TIME_EXPIRED = 105,
|
|
172
|
+
/**
|
|
173
|
+
* Multiple errors occurred.
|
|
174
|
+
*/
|
|
175
|
+
MULTIPLE_ERRORS = 106,
|
|
176
|
+
/**
|
|
177
|
+
* A webmap is required, but one is not availble.
|
|
178
|
+
*/
|
|
179
|
+
WEBMAP_REQUIRED = 200,
|
|
180
|
+
/**
|
|
181
|
+
* The webmap failed to load.
|
|
182
|
+
*/
|
|
183
|
+
WEBMAP_LOAD_FAILURE = 201,
|
|
184
|
+
/**
|
|
185
|
+
* The webmap must be loaded before the operation can be completed.
|
|
186
|
+
*/
|
|
187
|
+
WEBMAP_NOT_LOADED = 202,
|
|
188
|
+
/**
|
|
189
|
+
* Permission denied on the webmap.
|
|
190
|
+
*/
|
|
191
|
+
WEBMAP_UNAUTHORIZED = 203
|
|
192
|
+
}
|
|
193
|
+
export declare class OfflineCommands extends CommandRegistry {
|
|
194
|
+
/**
|
|
195
|
+
* Cancels any create offline map area operation in progress and resets the
|
|
196
|
+
* form used to create custom offline map areas.
|
|
197
|
+
*
|
|
198
|
+
* @mobileOnly
|
|
199
|
+
*/
|
|
200
|
+
get cancelCreateArea(): Command;
|
|
201
|
+
/**
|
|
202
|
+
* Cancels the download of the specified offline area, if it is currently in
|
|
203
|
+
* progress.
|
|
204
|
+
*
|
|
205
|
+
* @mobileOnly
|
|
206
|
+
*/
|
|
207
|
+
get cancelDownload(): Command<OfflineCommandArgs>;
|
|
208
|
+
/**
|
|
209
|
+
* Deletes the data stored on the device for the specified offline area. The
|
|
210
|
+
* offline map area definition is not deleted, so that it can be
|
|
211
|
+
* re-downloaded.
|
|
212
|
+
*
|
|
213
|
+
* @mobileOnly
|
|
214
|
+
*/
|
|
215
|
+
get deleteArea(): Command<OfflineCommandArgs>;
|
|
216
|
+
/**
|
|
217
|
+
* Displays a form that allows for the creation of a custom offline map
|
|
218
|
+
* area.
|
|
219
|
+
*
|
|
220
|
+
* @mobileOnly
|
|
221
|
+
*/
|
|
222
|
+
get displayCreateArea(): Command<MapExtension>;
|
|
223
|
+
}
|
|
224
|
+
export declare class OfflineEvents extends EventRegistry {
|
|
225
|
+
/**
|
|
226
|
+
* Raised when an offline area is activated.
|
|
227
|
+
*
|
|
228
|
+
* @mobileOnly
|
|
229
|
+
*/
|
|
230
|
+
get areaActivated(): Event<OfflineAreaBase>;
|
|
231
|
+
/**
|
|
232
|
+
* Raised when an offline area is about to be activated.
|
|
233
|
+
*
|
|
234
|
+
* @mobileOnly
|
|
235
|
+
*/
|
|
236
|
+
get areaActivating(): Event<OfflineAreaBase>;
|
|
237
|
+
/**
|
|
238
|
+
* Raised when the data for offline map area is deleted.
|
|
239
|
+
*
|
|
240
|
+
* @mobileOnly
|
|
241
|
+
*/
|
|
242
|
+
get areaDeleted(): Event<OfflineAreaBase>;
|
|
243
|
+
/**
|
|
244
|
+
* Raised when an offline area download is canceled by the user.
|
|
245
|
+
*
|
|
246
|
+
* @mobileOnly
|
|
247
|
+
*/
|
|
248
|
+
get areaDownloadCanceled(): Event<OfflineAreaBase>;
|
|
249
|
+
/**
|
|
250
|
+
* Raised when an offline area download fails.
|
|
251
|
+
*
|
|
252
|
+
* @mobileOnly
|
|
253
|
+
*/
|
|
254
|
+
get areaDownloadFailed(): Event<OfflineAreaBase>;
|
|
255
|
+
/**
|
|
256
|
+
* Raised when an offline area download completes.
|
|
257
|
+
*
|
|
258
|
+
* @mobileOnly
|
|
259
|
+
*/
|
|
260
|
+
get areaDownloaded(): Event<OfflineAreaBase>;
|
|
261
|
+
/**
|
|
262
|
+
* Raised when an offline area has been updated.
|
|
263
|
+
*
|
|
264
|
+
* @mobileOnly
|
|
265
|
+
*/
|
|
266
|
+
get areaUpdated(): Event<OfflineAreaBase>;
|
|
267
|
+
/**
|
|
268
|
+
* Raised when an any error occurs during an offline map update.
|
|
269
|
+
*
|
|
270
|
+
* @mobileOnly
|
|
271
|
+
*/
|
|
272
|
+
get areaUpdateFailed(): Event<OfflineAreaBase>;
|
|
273
|
+
/**
|
|
274
|
+
* Raised when offline area edits have been submitted and this operation is
|
|
275
|
+
* successfully completed.
|
|
276
|
+
*
|
|
277
|
+
* @mobileOnly
|
|
278
|
+
*/
|
|
279
|
+
get areaEditsSubmitted(): Event<OfflineAreaBase>;
|
|
280
|
+
/**
|
|
281
|
+
* Raised when any error occurs during an offline map submit edits.
|
|
282
|
+
*
|
|
283
|
+
* @mobileOnly
|
|
284
|
+
*/
|
|
285
|
+
get areaEditsSubmitFailed(): Event<OfflineAreaBase>;
|
|
286
|
+
/**
|
|
287
|
+
* Raised when a new custom offline map area is created.
|
|
288
|
+
*
|
|
289
|
+
* @mobileOnly
|
|
290
|
+
*/
|
|
291
|
+
get customAreaCreated(): Event<CustomOfflineArea>;
|
|
292
|
+
/**
|
|
293
|
+
* Raised when a map is switched to the online map.
|
|
294
|
+
*
|
|
295
|
+
* @mobileOnly
|
|
296
|
+
*/
|
|
297
|
+
get userWentOnline(): Event;
|
|
298
|
+
}
|
|
299
|
+
export declare class OfflineOperations extends OperationRegistry {
|
|
300
|
+
/**
|
|
301
|
+
* Creates a new custom offline map area.
|
|
302
|
+
*
|
|
303
|
+
* @mobileOnly
|
|
304
|
+
*/
|
|
305
|
+
get createArea(): Operation<CreateOfflineAreaArgs, CustomOfflineArea>;
|
|
306
|
+
/**
|
|
307
|
+
* Gets a list of available offline areas for the web map.
|
|
308
|
+
*
|
|
309
|
+
* @mobileOnly
|
|
310
|
+
*/
|
|
311
|
+
get getAreas(): Operation<MapExtension, OfflineAreaBase[]>;
|
|
312
|
+
/**
|
|
313
|
+
* Gets a list of layer edits for a given map area.
|
|
314
|
+
*
|
|
315
|
+
* @mobileOnly
|
|
316
|
+
*/
|
|
317
|
+
get getEdits(): Operation<OfflineCommandArgs, LayerEdits[]>;
|
|
318
|
+
/**
|
|
319
|
+
* Activates the specified offline area, replacing the map on the MapView
|
|
320
|
+
* with the offline map associated with the specified offline area.
|
|
321
|
+
*
|
|
322
|
+
* @mobileOnly
|
|
323
|
+
*/
|
|
324
|
+
get activateArea(): Operation<OfflineCommandArgs, OfflineOperationResult>;
|
|
325
|
+
/**
|
|
326
|
+
* Downloads the data for the specified offline area.
|
|
327
|
+
*
|
|
328
|
+
* @mobileOnly
|
|
329
|
+
*/
|
|
330
|
+
get downloadArea(): Operation<OfflineCommandArgs, OfflineOperationResult>;
|
|
331
|
+
/**
|
|
332
|
+
* Switches from an offline map to the online map.
|
|
333
|
+
*
|
|
334
|
+
* @mobileOnly
|
|
335
|
+
*/
|
|
336
|
+
get goOnline(): Operation<OfflineCommandArgs, OfflineOperationResult>;
|
|
337
|
+
/**
|
|
338
|
+
* Checks whether a map area is active for the specified map, or for any map if argument is null.
|
|
339
|
+
*
|
|
340
|
+
* @mobileOnly
|
|
341
|
+
*/
|
|
342
|
+
get checkForActiveArea(): Operation<MapExtension, boolean>;
|
|
343
|
+
/**
|
|
344
|
+
* Pushes any edits to the server that have been done in the indicated
|
|
345
|
+
* offline map.
|
|
346
|
+
*
|
|
347
|
+
* @mobileOnly
|
|
348
|
+
*/
|
|
349
|
+
get submitEdits(): Operation<OfflineCommandArgs, OfflineOperationResult>;
|
|
350
|
+
/**
|
|
351
|
+
* Pulls down any new map changes from the server to the indicated offline
|
|
352
|
+
* map.
|
|
353
|
+
*
|
|
354
|
+
* @mobileOnly
|
|
355
|
+
*/
|
|
356
|
+
get updateArea(): Operation<OfflineCommandArgs, OfflineOperationResult>;
|
|
357
|
+
}
|