@arcgis/core 5.0.0-next.69 → 5.0.0-next.70
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/Map.d.ts +3 -1
- package/analysis/Analysis.d.ts +1 -0
- package/analysis/Dimension/types.d.ts +1 -0
- package/analysis/DimensionAnalysis.d.ts +10 -10
- package/analysis/DimensionSimpleStyle.d.ts +14 -13
- package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
- package/analysis/DistanceMeasurementAnalysis.d.ts +2 -1
- package/analysis/ElevationProfile/ElevationProfileLineScene.d.ts +3 -3
- package/analysis/ElevationProfile/ElevationProfileLineViewOptions.d.ts +1 -1
- package/analysis/ElevationProfile/types.d.ts +2 -0
- package/analysis/LengthDimension.d.ts +22 -21
- package/analysis/LineOfSightAnalysis.d.ts +2 -2
- package/analysis/ShadowCast/MinDurationOptions.d.ts +2 -2
- package/analysis/ShadowCast/types.d.ts +6 -2
- package/analysis/Slice/types.d.ts +1 -0
- package/analysis/Viewshed.d.ts +22 -20
- package/analysis/ViewshedAnalysis.d.ts +13 -13
- package/analysis/VolumeMeasurement/VolumeMeasurementDisplayUnits.d.ts +1 -2
- package/analysis/VolumeMeasurement/VolumeMeasurementInputUnits.d.ts +2 -2
- package/analysis/VolumeMeasurement/types.d.ts +1 -0
- package/analysis/VolumeMeasurementAnalysis.d.ts +1 -0
- package/analysis/types.d.ts +5 -0
- package/arcade.d.ts +2 -2
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/04364f3dd7578c2acb71.js +1 -0
- package/assets/esri/core/workers/chunks/18ed69d563986dc2eb21.js +1 -0
- package/assets/esri/core/workers/chunks/{4c04c54330b693892cfc.js → 1a45b4b4803337f4b99f.js} +2 -2
- package/assets/esri/core/workers/chunks/{60c7f896f2246a8aa6d7.js → 244006d4b0547d574401.js} +53 -53
- package/assets/esri/core/workers/chunks/329b10897c6965948b84.js +1 -0
- package/assets/esri/core/workers/chunks/4387aaf9d5e8f6d1833d.js +1 -0
- package/assets/esri/core/workers/chunks/{944dfa9309da8f49a616.js → 6a3d66d7c92f90cc2a17.js} +1 -1
- package/assets/esri/core/workers/chunks/760a759f9697adde6dd4.js +1 -0
- package/assets/esri/core/workers/chunks/798d227205bd958de6a7.js +1 -0
- package/assets/esri/core/workers/chunks/{9d88b4ba8e511da64583.js → 98d68b145226e7527c84.js} +1 -1
- package/assets/esri/core/workers/chunks/{8ad6595ad44c2d60c1ce.js → a79fad422d41019c8232.js} +1 -1
- package/assets/esri/core/workers/chunks/{10e474d664b20adcd917.js → db4661fd82dc61162115.js} +1 -1
- package/assets/esri/core/workers/chunks/{1d1e25bb61eeeee8ee94.js → df2ba5f9d57080fca183.js} +1 -1
- package/assets/esri/themes/base/widgets/_UtilityNetworkAssociations.scss +5 -3
- package/assets/esri/themes/base/widgets/_UtilityNetworkValidateTopology.scss +15 -11
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/ComponentShader.glsl.js +43 -43
- package/chunks/DefaultMaterial.glsl.js +1 -1
- package/config.js +1 -1
- package/form/elements/inputs/attachments/Input.d.ts +6 -6
- package/geometry/Mesh.d.ts +20 -21
- package/geometry/Polygon.d.ts +1 -8
- package/geometry/Polygon.js +1 -1
- package/geometry/geometryEngine.d.ts +19 -19
- package/geometry/support/MeshComponent.d.ts +3 -3
- package/geometry/support/MeshGeoreferencedVertexSpace.d.ts +2 -2
- package/geometry/support/MeshLocalVertexSpace.d.ts +2 -2
- package/geometry/support/MeshMaterial.d.ts +8 -8
- package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
- package/geometry/support/MeshTexture.d.ts +3 -3
- package/geometry/support/MeshTextureTransform.d.ts +3 -3
- package/geometry/support/MeshTransform.d.ts +1 -1
- package/geometry/support/MeshVertexAttributes.d.ts +13 -5
- package/geometry/support/intersects.js +1 -1
- package/geometry/support/intersectsBase.js +1 -1
- package/geometry/support/meshUtils/centerAt.js +1 -1
- package/geometry/support/meshUtils/geographicUtils.js +1 -1
- package/geometry/support/meshUtils/georeference.js +1 -1
- package/geometry/support/meshUtils/rotate.js +1 -1
- package/geometry/support/meshUtils/scale.js +1 -1
- package/geometry/support/meshUtils/types.d.ts +44 -52
- package/geometry/support/meshUtils.d.ts +6 -50
- package/geometry/support/meshUtils.js +1 -1
- package/interfaces.d.ts +5 -151
- package/kernel.js +1 -1
- package/layers/BaseDynamicLayer.d.ts +2 -2
- package/layers/BaseElevationLayer.d.ts +2 -2
- package/layers/BuildingSceneLayer.d.ts +2 -2
- package/layers/CSVLayer.d.ts +2 -2
- package/layers/CatalogLayer.d.ts +2 -2
- package/layers/DimensionLayer.d.ts +2 -2
- package/layers/ElevationLayer.d.ts +2 -2
- package/layers/FeatureLayer.d.ts +2 -2
- package/layers/GeoJSONLayer.d.ts +2 -2
- package/layers/GeoRSSLayer.d.ts +2 -2
- package/layers/GraphicsLayer.d.ts +2 -2
- package/layers/GroupLayer.d.ts +2 -2
- package/layers/ImageryLayer.d.ts +2 -2
- package/layers/ImageryTileLayer.d.ts +2 -2
- package/layers/IntegratedMesh3DTilesLayer.d.ts +2 -2
- package/layers/IntegratedMeshLayer.d.ts +2 -2
- package/layers/KMLLayer.d.ts +2 -2
- package/layers/Layer.d.ts +9 -7
- package/layers/LineOfSightLayer.d.ts +3 -3
- package/layers/MapImageLayer.d.ts +2 -2
- package/layers/MapNotesLayer.d.ts +2 -2
- package/layers/MediaLayer.d.ts +2 -2
- package/layers/OGCFeatureLayer.d.ts +2 -2
- package/layers/OrientedImageryLayer.d.ts +2 -2
- package/layers/ParquetLayer.d.ts +2 -2
- package/layers/PointCloudLayer.d.ts +2 -2
- package/layers/RouteLayer.d.ts +2 -2
- package/layers/SceneLayer.d.ts +2 -2
- package/layers/SubtypeGroupLayer.d.ts +2 -2
- package/layers/TileLayer.d.ts +2 -2
- package/layers/UnknownLayer.d.ts +2 -2
- package/layers/UnsupportedLayer.d.ts +2 -2
- package/layers/VectorTileLayer.d.ts +2 -2
- package/layers/VideoLayer.d.ts +2 -2
- package/layers/ViewshedLayer.d.ts +2 -2
- package/layers/VoxelLayer.d.ts +2 -2
- package/layers/WCSLayer.d.ts +2 -2
- package/layers/WFSLayer.d.ts +2 -2
- package/layers/WMSLayer.d.ts +2 -2
- package/layers/WMTSLayer.d.ts +2 -2
- package/layers/catalog/CatalogDynamicGroupLayer.d.ts +2 -2
- package/layers/catalog/CatalogFootprintLayer.d.ts +2 -2
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -2
- package/layers/orientedImagery/core/ExposurePoint.js +1 -1
- package/layers/orientedImagery/core/coverageUtils.js +1 -1
- package/layers/orientedImagery/transformations/utils.js +1 -1
- package/layers/raster/types.d.ts +8 -1
- package/layers/support/PixelBlock.d.ts +7 -7
- package/layers/support/RasterInfo.d.ts +2 -9
- package/layers/types.d.ts +77 -2
- package/networks/support/CircuitSection.d.ts +20 -2
- package/networks/support/CircuitSection.js +1 -1
- package/networks/support/Subcircuit.d.ts +12 -10
- package/networks/support/Subcircuit.js +1 -1
- package/networks/support/typeUtils.d.ts +2 -0
- package/networks/support/typeUtils.js +1 -1
- package/package.json +2 -2
- package/rest/support/AttributeBinsQuery.d.ts +7 -1
- package/rest/support/NormalizationBinParametersMixin.d.ts +29 -9
- package/support/revision.js +1 -1
- package/symbols/patterns/LinePattern3D.d.ts +3 -3
- package/symbols/patterns/Pattern3D.d.ts +3 -3
- package/unionTypes.d.ts +17 -17
- package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +6 -5
- package/views/2d/analysis/DistanceMeasurementAnalysisView2D.d.ts +7 -6
- package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/types.d.ts +1 -1
- package/views/3d/analysis/AreaMeasurementAnalysisView3D.d.ts +2 -2
- package/views/3d/analysis/DirectLineMeasurement/types.d.ts +1 -0
- package/views/3d/analysis/ElevationProfile/ElevationProfileLineSceneComputation.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/types.d.ts +1 -0
- package/views/3d/analysis/types.d.ts +2 -0
- package/views/3d/constraints/Constraints.d.ts +2 -2
- package/views/3d/environment/ChapmanApproximation.glsl.js +1 -1
- package/views/3d/environment/CloudsComposition.js +1 -1
- package/views/3d/environment/Fog.js +1 -1
- package/views/3d/layers/DimensionLayerView3D.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/ImageryLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/LineOfSightLayerView3D.js +1 -1
- package/views/3d/layers/ViewshedLayerView3D.js +1 -1
- package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
- package/views/3d/support/LayerPerformanceInfo.d.ts +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentShader.glsl.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
- package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepthToWriteShadowMap.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js +7 -7
- package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ViewingModeConfiguration.js +5 -0
- package/views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js +2 -2
- package/views/BreakpointsOwner.d.ts +9 -10
- package/views/MapView.d.ts +18 -17
- package/views/SceneView.d.ts +30 -89
- package/views/SceneView.js +1 -1
- package/views/View2D.d.ts +0 -37
- package/views/View2D.js +1 -1
- package/views/ViewAnimation.d.ts +2 -3
- package/views/analysis/ElevationProfile/types.d.ts +7 -6
- package/views/analysis/types.d.ts +1 -0
- package/views/animation/types.d.ts +3 -1
- package/views/layers/DimensionLayerView.d.ts +97 -4
- package/views/layers/DimensionLayerView.js +1 -1
- package/views/layers/HighlightLayerViewMixin.d.ts +1 -59
- package/views/layers/HighlightLayerViewMixin.js +1 -1
- package/views/layers/ImageryLayerViewMixin.d.ts +1 -55
- package/views/layers/LineOfSightLayerView.d.ts +77 -4
- package/views/layers/LineOfSightLayerView.js +1 -1
- package/views/layers/ViewshedLayerView.d.ts +96 -5
- package/views/layers/ViewshedLayerView.js +1 -1
- package/views/navigation/Navigation.d.ts +1 -22
- package/views/navigation/Navigation.js +1 -1
- package/views/support/Scheduler.js +1 -1
- package/views/types.d.ts +75 -5
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +4 -4
- package/widgets/AreaMeasurement3D.d.ts +2 -2
- package/widgets/BasemapGallery.d.ts +1 -1
- package/widgets/BasemapToggle.d.ts +1 -1
- package/widgets/Bookmarks.d.ts +1 -1
- package/widgets/BuildingExplorer/BuildingExplorerViewModel.d.ts +2 -2
- package/widgets/BuildingExplorer/BuildingLevel.d.ts +2 -2
- package/widgets/BuildingExplorer/BuildingNumericFilterViewModel.d.ts +2 -2
- package/widgets/BuildingExplorer/BuildingPhase.d.ts +2 -2
- package/widgets/BuildingExplorer.d.ts +3 -3
- package/widgets/Compass.d.ts +1 -1
- package/widgets/CoordinateConversion.d.ts +1 -1
- package/widgets/Daylight/DaylightViewModel.d.ts +3 -3
- package/widgets/Daylight/VisibleElements.d.ts +2 -2
- package/widgets/Daylight/types.d.ts +2 -2
- package/widgets/Daylight.d.ts +3 -3
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +4 -4
- package/widgets/DirectLineMeasurement3D.d.ts +2 -2
- package/widgets/DirectionalPad.d.ts +1 -1
- package/widgets/ElevationProfile/ElevationProfileLine.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineQuery.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +3 -3
- package/widgets/ElevationProfile/ElevationProfileViewModel.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileVisibleElements.d.ts +2 -2
- package/widgets/ElevationProfile/types.d.ts +9 -9
- package/widgets/ElevationProfile.d.ts +2 -2
- package/widgets/Expand/ExpandViewModel.d.ts +1 -1
- package/widgets/Expand.d.ts +1 -1
- package/widgets/Feature.d.ts +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +1 -1
- package/widgets/Features.d.ts +1 -1
- package/widgets/Fullscreen/FullscreenViewModel.d.ts +1 -1
- package/widgets/Fullscreen.d.ts +1 -1
- package/widgets/Home.d.ts +1 -1
- package/widgets/LayerList.d.ts +12 -0
- package/widgets/Legend.d.ts +1 -1
- package/widgets/LineOfSight/LineOfSightTarget.d.ts +2 -2
- package/widgets/LineOfSight/LineOfSightViewModel.d.ts +2 -2
- package/widgets/LineOfSight.d.ts +2 -2
- package/widgets/Locate/LocateViewModel.d.ts +1 -1
- package/widgets/Locate.d.ts +1 -1
- package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
- package/widgets/NavigationToggle.d.ts +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/Arrow.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageViewer.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationNode.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUI360.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUIPanoramicViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUIViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/SequentialNavigationUI.js +1 -1
- package/widgets/OrientedImageryViewer/constants.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/NavigationManager.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/NavigationManagerPanoramic.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/utils.js +1 -1
- package/widgets/OrientedImageryViewer/support/MediaPrefetcher.js +5 -0
- package/widgets/OrientedImageryViewer/support/NonPanoramicMedia.js +1 -1
- package/widgets/OrientedImageryViewer/support/NonPanoramicMediaCollection.js +1 -1
- package/widgets/OrientedImageryViewer/support/resolveMediaProps.js +5 -0
- package/widgets/OrientedImageryViewer/utils.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/PanoramicViewer/PanoramicViewerViewModel.js +1 -1
- package/widgets/PanoramicViewer.js +1 -1
- package/widgets/Print/CustomTemplate.d.ts +1 -1
- package/widgets/Print/PrintViewModel.d.ts +1 -1
- package/widgets/Print.d.ts +1 -1
- package/widgets/ScaleBar.d.ts +1 -1
- package/widgets/Search.d.ts +1 -1
- package/widgets/ShadowCast/DiscreteOptions.d.ts +2 -2
- package/widgets/ShadowCast/DurationOptions.d.ts +2 -2
- package/widgets/ShadowCast/ShadowCastViewModel.d.ts +3 -3
- package/widgets/ShadowCast/ShadowCastVisibleElements.d.ts +2 -2
- package/widgets/ShadowCast/ThresholdOptions.d.ts +2 -2
- package/widgets/ShadowCast/types.d.ts +2 -2
- package/widgets/ShadowCast.d.ts +1 -1
- package/widgets/Slice/SliceViewModel.d.ts +2 -2
- package/widgets/Slice.d.ts +2 -2
- package/widgets/Swipe.d.ts +1 -1
- package/widgets/TimeZoneLabel.d.ts +1 -1
- package/widgets/Track.d.ts +1 -1
- package/widgets/UtilityNetworkValidateTopology.js +1 -1
- package/widgets/VideoPlayer.d.ts +1 -1
- package/widgets/VideoPlayer.js +1 -1
- package/widgets/Weather/VisibleElements.d.ts +2 -2
- package/widgets/Weather/WeatherViewModel.d.ts +2 -2
- package/widgets/Weather/types.d.ts +1 -1
- package/widgets/Weather.d.ts +2 -2
- package/widgets/Zoom.d.ts +1 -1
- package/widgets/support/GridControls.d.ts +1 -1
- package/assets/esri/core/workers/chunks/35961e71f69ae1d24b9e.js +0 -1
- package/assets/esri/core/workers/chunks/3cce8e894bf37c3e598e.js +0 -1
- package/assets/esri/core/workers/chunks/7ee68f67f9cc48a328f0.js +0 -1
- package/assets/esri/core/workers/chunks/a931515a2569713e743b.js +0 -1
- package/assets/esri/core/workers/chunks/bb4574a87ca21e719f0d.js +0 -1
- package/assets/esri/core/workers/chunks/c9f868f85d740ee32715.js +0 -1
- package/geometry.d.ts +0 -136
- package/geometry.js +0 -5
- package/pointCloudRenderers.d.ts +0 -112
- package/pointCloudRenderers.js +0 -5
- package/rasterRenderers.d.ts +0 -151
- package/rasterRenderers.js +0 -5
- package/renderers.d.ts +0 -166
- package/renderers.js +0 -5
- package/views/layers/DimensionLayerViewMixin.d.ts +0 -1
- package/views/layers/DimensionLayerViewMixin.js +0 -5
- package/views/layers/LineOfSightLayerViewMixin.d.ts +0 -1
- package/views/layers/LineOfSightLayerViewMixin.js +0 -5
- package/views/layers/ViewshedLayerViewMixin.d.ts +0 -98
- package/views/layers/ViewshedLayerViewMixin.js +0 -5
package/Map.d.ts
CHANGED
|
@@ -408,7 +408,9 @@ export default class Map extends MapSuperclass {
|
|
|
408
408
|
get basemap(): Basemap | null | undefined;
|
|
409
409
|
set basemap(value: BasemapProperties | string | null | undefined);
|
|
410
410
|
/**
|
|
411
|
-
*
|
|
411
|
+
*
|
|
412
|
+
* A collection of editable layers. Layers are considered editable if they have editing capabilities, and if the authenticated user has the
|
|
413
|
+
* necessary privileges needed to edit the layers.
|
|
412
414
|
*
|
|
413
415
|
* @since 4.20
|
|
414
416
|
* @see [Editor](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html)
|
package/analysis/Analysis.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export default abstract class Analysis extends AnalysisSuperclass {
|
|
|
38
38
|
*/
|
|
39
39
|
get origin(): AnalysisOriginWebScene | null | undefined;
|
|
40
40
|
set origin(value: (AnalysisOriginWebSceneProperties & { type: "web-scene" }) | null | undefined);
|
|
41
|
+
/** Identifier for the analysis type. */
|
|
41
42
|
abstract readonly type: AnalysisType;
|
|
42
43
|
}
|
|
43
44
|
declare const AnalysisSuperclass: typeof Accessor & typeof IdentifiableMixin & typeof ClonableMixin & typeof JSONSupportMixin
|
|
@@ -25,15 +25,15 @@ export interface DimensionAnalysisProperties extends AnalysisProperties {
|
|
|
25
25
|
* ```js
|
|
26
26
|
* // create analysis with dimensions
|
|
27
27
|
* const dimensionAnalysis = new DimensionAnalysis({
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
28
|
+
* dimensions: [
|
|
29
|
+
* new LengthDimension({
|
|
30
|
+
* startPoint: new Point({ }),
|
|
31
|
+
* endPoint: new Point({ })
|
|
32
|
+
* })
|
|
33
|
+
* ],
|
|
34
|
+
* style: new DimensionSimpleStyle({
|
|
35
|
+
* color: "white"
|
|
36
|
+
* }),
|
|
37
37
|
* });
|
|
38
38
|
*
|
|
39
39
|
* // add the analysis to the view
|
|
@@ -45,7 +45,7 @@ export interface DimensionAnalysisProperties extends AnalysisProperties {
|
|
|
45
45
|
* ```js
|
|
46
46
|
* // retrieve measured results from the analysis view
|
|
47
47
|
* const analysisView = await view.whenAnalysisView(dimensionAnalysis);
|
|
48
|
-
* const results =
|
|
48
|
+
* const results = analysisView.results;
|
|
49
49
|
* ```
|
|
50
50
|
*
|
|
51
51
|
* To place a length dimension interactively, use the
|
|
@@ -44,22 +44,23 @@ export interface DimensionSimpleStyleProperties extends ClonableMixinProperties,
|
|
|
44
44
|
* The simple style is either set on a [DimensionAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DimensionAnalysis.html) or on a
|
|
45
45
|
* [DimensionLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-DimensionLayer.html) and applies to all [dimensions](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LengthDimension.html)
|
|
46
46
|
* added to them.
|
|
47
|
+
*
|
|
47
48
|
* ```js
|
|
48
49
|
* // create analysis with dimensions
|
|
49
50
|
* const dimensionAnalysis = new DimensionAnalysis({
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
51
|
+
* dimensions: [
|
|
52
|
+
* new LengthDimension({
|
|
53
|
+
* startPoint: new Point({ }),
|
|
54
|
+
* endPoint: new Point({ })
|
|
55
|
+
* })
|
|
56
|
+
* ],
|
|
57
|
+
* style: new DimensionSimpleStyle({
|
|
58
|
+
* color: "white",
|
|
59
|
+
* lineSize: 1.5,
|
|
60
|
+
* textBackgroundColor: "white",
|
|
61
|
+
* textColor: "black",
|
|
62
|
+
* fontSize: 9
|
|
63
|
+
* }),
|
|
63
64
|
* });
|
|
64
65
|
* // add the analysis to the view
|
|
65
66
|
* view.analyses.add(dimensionAnalysis);
|
|
@@ -79,7 +79,7 @@ export interface DirectLineMeasurementAnalysisProperties extends AnalysisPropert
|
|
|
79
79
|
*
|
|
80
80
|
* DirectLineMeasurementAnalysis visualizes and labels the direct, horizontal, and vertical distances
|
|
81
81
|
* When the distance between the points is greater than 100 kilometers, the measurement visualization is simplified,
|
|
82
|
-
* and in the
|
|
82
|
+
* and in the [analysis results](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-DirectLineMeasurementAnalysisView3D.html#result)
|
|
83
83
|
* only the horizontal and vertical distances are calculated.
|
|
84
84
|
*
|
|
85
85
|
* 
|
|
@@ -4,6 +4,7 @@ import type { SystemOrLengthUnit } from "../core/units.js";
|
|
|
4
4
|
import type { PolylineProperties } from "../geometry/Polyline.js";
|
|
5
5
|
import type { AnalysisProperties } from "./Analysis.js";
|
|
6
6
|
|
|
7
|
+
/** Properties that can be used to construct a [DistanceMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DistanceMeasurementAnalysis.html) instance. */
|
|
7
8
|
export interface DistanceMeasurementAnalysisProperties extends AnalysisProperties, Partial<Pick<DistanceMeasurementAnalysis, "unit">> {
|
|
8
9
|
/**
|
|
9
10
|
* Polyline whose length is to be computed and displayed in the view.
|
|
@@ -29,7 +30,7 @@ export interface DistanceMeasurementAnalysisProperties extends AnalysisPropertie
|
|
|
29
30
|
* geometry: new Polyline({ })
|
|
30
31
|
* });
|
|
31
32
|
*
|
|
32
|
-
* // add to
|
|
33
|
+
* // add to map view
|
|
33
34
|
* view.analyses.add(distanceMeasurement);
|
|
34
35
|
*
|
|
35
36
|
* // retrieve measured results from analysis view once available
|
|
@@ -41,8 +41,8 @@ export interface ElevationProfileLineSceneProperties extends ElevationProfileLin
|
|
|
41
41
|
* // Create an elevation profile analysis with a scene profile line
|
|
42
42
|
* const analysis = new ElevationProfileAnalysis({
|
|
43
43
|
* profiles: [{
|
|
44
|
-
*
|
|
45
|
-
*
|
|
44
|
+
* type: "scene",
|
|
45
|
+
* exclude: [view.map.ground], // Exclude ground from elevation sampling
|
|
46
46
|
* }],
|
|
47
47
|
* });
|
|
48
48
|
*/
|
|
@@ -63,7 +63,7 @@ export default class ElevationProfileLineScene extends ElevationProfileLine {
|
|
|
63
63
|
* const analysis = new ElevationProfileAnalysis({
|
|
64
64
|
* profiles: [{
|
|
65
65
|
* type: "scene",
|
|
66
|
-
* exclude: [view.map.ground], // Exclude ground from elevation
|
|
66
|
+
* exclude: [view.map.ground], // Exclude ground from elevation sampling for this profile line
|
|
67
67
|
* }],
|
|
68
68
|
* });
|
|
69
69
|
*/
|
|
@@ -15,7 +15,7 @@ export default class ElevationProfileLineViewOptions extends Clonable {
|
|
|
15
15
|
constructor(properties?: ElevationProfileLineViewOptionsProperties);
|
|
16
16
|
/**
|
|
17
17
|
* Whether to show an indicator point in the view when an
|
|
18
|
-
*
|
|
18
|
+
* [indicator location](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-ElevationProfileAnalysisView3D.html#indicatorRelativePosition) is set.
|
|
19
19
|
* If false, the indicator point is not displayed, but results are still available.
|
|
20
20
|
*
|
|
21
21
|
* @default true
|
|
@@ -3,6 +3,8 @@ import type ElevationProfileLineInput from "./ElevationProfileLineInput.js";
|
|
|
3
3
|
import type ElevationProfileLineQuery from "./ElevationProfileLineQuery.js";
|
|
4
4
|
import type ElevationProfileLineScene from "./ElevationProfileLineScene.js";
|
|
5
5
|
|
|
6
|
+
/** Union of all supported elevation profile lines. */
|
|
6
7
|
export type ElevationProfileLineUnion = ElevationProfileLineGround | ElevationProfileLineInput | ElevationProfileLineQuery | ElevationProfileLineScene;
|
|
7
8
|
|
|
9
|
+
/** Supported elevation profile line types. */
|
|
8
10
|
export type ElevationProfileLineType = ElevationProfileLineUnion["type"];
|
|
@@ -19,32 +19,33 @@ export interface LengthDimensionProperties extends ClonableMixinProperties, JSON
|
|
|
19
19
|
*
|
|
20
20
|
* Length dimensions can be displayed by adding them to a [DimensionAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DimensionAnalysis.html).
|
|
21
21
|
*
|
|
22
|
+
*
|
|
22
23
|
* ```js
|
|
23
24
|
* // create the dimension object
|
|
24
25
|
* const lengthDimension = new LengthDimension({
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
26
|
+
* measureType: "vertical",
|
|
27
|
+
* startPoint: new Point({
|
|
28
|
+
* spatialReference: {
|
|
29
|
+
* wkid: 32610
|
|
30
|
+
* },
|
|
31
|
+
* x: 265,
|
|
32
|
+
* y: 24,
|
|
33
|
+
* z: 26
|
|
34
|
+
* }),
|
|
35
|
+
* endPoint: new Point({
|
|
36
|
+
* spatialReference: {
|
|
37
|
+
* wkid: 32610
|
|
38
|
+
* },
|
|
39
|
+
* x: 265,
|
|
40
|
+
* y: 24,
|
|
41
|
+
* z: 38
|
|
42
|
+
* }),
|
|
43
|
+
* orientation: 90,
|
|
44
|
+
* offset: 2
|
|
44
45
|
* });
|
|
45
|
-
* // create analysis and add the dimension object to it
|
|
46
|
+
* // create the analysis and add the dimension object to it
|
|
46
47
|
* const dimensionAnalysis = new DimensionAnalysis({
|
|
47
|
-
*
|
|
48
|
+
* dimensions: [lengthDimension]
|
|
48
49
|
* });
|
|
49
50
|
* // add the analysis to the view
|
|
50
51
|
* view.analyses.add(dimensionAnalysis);
|
|
@@ -33,7 +33,7 @@ export interface LineOfSightAnalysisProperties extends AnalysisProperties {
|
|
|
33
33
|
* // create line of sight analysis
|
|
34
34
|
* const lineOfSightAnalysis = new LineOfSightAnalysis({
|
|
35
35
|
* observer: new LineOfSightAnalysisObserver({ position: new Point({ }) }),
|
|
36
|
-
* targets:[
|
|
36
|
+
* targets: [
|
|
37
37
|
* new LineOfSightAnalysisTarget({ position: new Point({ }) })
|
|
38
38
|
* ]
|
|
39
39
|
* });
|
|
@@ -41,7 +41,7 @@ export interface LineOfSightAnalysisProperties extends AnalysisProperties {
|
|
|
41
41
|
* // add to the view
|
|
42
42
|
* view.analyses.add(lineOfSightAnalysis);
|
|
43
43
|
*
|
|
44
|
-
* // wait
|
|
44
|
+
* // wait until the view finishes updating so the results are current
|
|
45
45
|
* await reactiveUtils.whenOnce(() => !view.updating);
|
|
46
46
|
*
|
|
47
47
|
* // retrieve the results from the analysis view.
|
|
@@ -10,7 +10,7 @@ export interface MinDurationOptionsProperties extends ClonableMixinProperties, P
|
|
|
10
10
|
* Color of the shadow visualization. The areas with cumulative shadow time longer than the
|
|
11
11
|
* [minDuration](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCast-MinDurationOptions.html#minDuration) are displayed with this color.
|
|
12
12
|
*
|
|
13
|
-
* @default [255, 0
|
|
13
|
+
* @default [255, 0, 0, 0.7]
|
|
14
14
|
*/
|
|
15
15
|
color?: ColorLike;
|
|
16
16
|
/**
|
|
@@ -38,7 +38,7 @@ export default class MinDurationOptions extends Clonable {
|
|
|
38
38
|
* Color of the shadow visualization. The areas with cumulative shadow time longer than the
|
|
39
39
|
* [minDuration](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCast-MinDurationOptions.html#minDuration) are displayed with this color.
|
|
40
40
|
*
|
|
41
|
-
* @default [255, 0
|
|
41
|
+
* @default [255, 0, 0, 0.7]
|
|
42
42
|
*/
|
|
43
43
|
get color(): Color;
|
|
44
44
|
set color(value: ColorLike);
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Modes supported by the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html).
|
|
4
4
|
*
|
|
5
5
|
* @since 5.0
|
|
6
6
|
*/
|
|
7
7
|
export type ShadowCastMode = "discrete" | "min-duration" | "total-duration";
|
|
8
8
|
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Modes supported by the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) when using the "total-duration" mode.
|
|
11
|
+
*
|
|
12
|
+
* @since 5.0
|
|
13
|
+
*/
|
|
10
14
|
export type ShadowCastTotalDurationMode = "continuous" | "hourly";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type Layer from "../../layers/Layer.js";
|
|
2
2
|
import type BuildingComponentSublayer from "../../layers/buildingSublayers/BuildingComponentSublayer.js";
|
|
3
3
|
|
|
4
|
+
/** Layers that can be excluded from a [SliceAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html). */
|
|
4
5
|
export type SliceableLayer = Layer | BuildingComponentSublayer;
|
package/analysis/Viewshed.d.ts
CHANGED
|
@@ -14,28 +14,30 @@ export interface ViewshedProperties extends ClonableMixinProperties, JSONSupport
|
|
|
14
14
|
* The viewshed is determined by a position, distance, orientation (defined by heading and tilt),
|
|
15
15
|
* and field of view angles.
|
|
16
16
|
*
|
|
17
|
+
*
|
|
17
18
|
* ```js
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
19
|
+
* const viewshed = new Viewshed({
|
|
20
|
+
* observer: new Point({
|
|
21
|
+
* spatialReference: {
|
|
22
|
+
* latestWkid: 3857,
|
|
23
|
+
* wkid: 102100
|
|
24
|
+
* },
|
|
25
|
+
* x: -9754426,
|
|
26
|
+
* y: 5143111,
|
|
27
|
+
* z: 330
|
|
28
|
+
* }),
|
|
29
|
+
* farDistance: 900,
|
|
30
|
+
* heading: 64,
|
|
31
|
+
* tilt: 84,
|
|
32
|
+
* horizontalFieldOfView: 85,
|
|
33
|
+
* verticalFieldOfView: 52
|
|
34
|
+
* });
|
|
35
|
+
* const viewshedAnalysis = new ViewshedAnalysis({
|
|
36
|
+
* viewsheds: [viewshed],
|
|
37
|
+
* });
|
|
37
38
|
*
|
|
38
|
-
*
|
|
39
|
+
* // add the analysis to the view
|
|
40
|
+
* view.analyses.add(viewshedAnalysis);
|
|
39
41
|
* ```
|
|
40
42
|
*
|
|
41
43
|
* To create a view dome, set [horizontalFieldOfView](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-Viewshed.html#horizontalFieldOfView) to 360, and [verticalFieldOfView](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-Viewshed.html#verticalFieldOfView) to 180.
|
|
@@ -18,20 +18,20 @@ export interface ViewshedAnalysisProperties extends AnalysisProperties {
|
|
|
18
18
|
* [ViewshedLayer#source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ViewshedLayer.html#source) in a [SceneView#map](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#map).
|
|
19
19
|
*
|
|
20
20
|
* ```js
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
21
|
+
* const viewshed = new Viewshed({
|
|
22
|
+
* observer: new Point({ }),
|
|
23
|
+
* farDistance: 900,
|
|
24
|
+
* heading: 64,
|
|
25
|
+
* tilt: 84,
|
|
26
|
+
* horizontalFieldOfView: 85,
|
|
27
|
+
* verticalFieldOfView: 52
|
|
28
|
+
* });
|
|
29
|
+
* const viewshedAnalysis = new ViewshedAnalysis({
|
|
30
|
+
* viewsheds: [viewshed],
|
|
31
|
+
* });
|
|
32
32
|
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
33
|
+
* // add the analysis to the view
|
|
34
|
+
* view.analyses.add(viewshedAnalysis);
|
|
35
35
|
* ```
|
|
36
36
|
*
|
|
37
37
|
* To add a viewshed interactively, use the
|
|
@@ -5,8 +5,7 @@ import type { SystemOrLengthUnit, SystemOrVolumeUnit } from "../../core/units.js
|
|
|
5
5
|
export interface VolumeMeasurementDisplayUnitsProperties extends ClonableMixinProperties, JSONSupportMixinProperties, Partial<Pick<VolumeMeasurementDisplayUnits, "elevation" | "volume">> {}
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* Units used for displaying values in the UI
|
|
9
|
-
* for the [VolumeMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-VolumeMeasurementAnalysis.html).
|
|
8
|
+
* Units used for displaying values in the UI for the [VolumeMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-VolumeMeasurementAnalysis.html).
|
|
10
9
|
*
|
|
11
10
|
* @beta
|
|
12
11
|
* @since 4.34
|
|
@@ -2,11 +2,11 @@ import type { Clonable, ClonableMixinProperties } from "../../core/Clonable.js";
|
|
|
2
2
|
import type { JSONSupportMixin, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
3
3
|
import type { LengthUnit } from "../../core/units.js";
|
|
4
4
|
|
|
5
|
+
/** Properties that can be used to construct a [VolumeMeasurementInputUnits](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-VolumeMeasurement-VolumeMeasurementInputUnits.html) instance. */
|
|
5
6
|
export interface VolumeMeasurementInputUnitsProperties extends ClonableMixinProperties, JSONSupportMixinProperties, Partial<Pick<VolumeMeasurementInputUnits, "elevation">> {}
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
|
-
* Units used for interpreting input values
|
|
9
|
-
* for the [VolumeMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-VolumeMeasurementAnalysis.html).
|
|
9
|
+
* Units used for interpreting input values for the [VolumeMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-VolumeMeasurementAnalysis.html).
|
|
10
10
|
*
|
|
11
11
|
* @beta
|
|
12
12
|
* @since 4.34
|
|
@@ -153,6 +153,7 @@ export default class VolumeMeasurementAnalysis extends Analysis {
|
|
|
153
153
|
* @default "cut-fill"
|
|
154
154
|
*/
|
|
155
155
|
accessor measureType: VolumeMeasureType;
|
|
156
|
+
/** Identifier for the analysis type. */
|
|
156
157
|
get type(): "volume-measurement";
|
|
157
158
|
/**
|
|
158
159
|
* Indicates whether the analysis is ready to be computed and interacted with in the view. It requires the
|
package/analysis/types.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import type ShadowCastAnalysis from "./ShadowCastAnalysis.js";
|
|
|
8
8
|
import type SliceAnalysis from "./SliceAnalysis.js";
|
|
9
9
|
import type ViewshedAnalysis from "./ViewshedAnalysis.js";
|
|
10
10
|
import type VolumeMeasurementAnalysis from "./VolumeMeasurementAnalysis.js";
|
|
11
|
+
import type { ObjectId } from "../views/types.js";
|
|
11
12
|
|
|
12
13
|
/** Union of all possible analysis types that can be added to a [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html). */
|
|
13
14
|
export type AnalysisUnion = AreaMeasurementAnalysis | DimensionAnalysis | DirectLineMeasurementAnalysis | DistanceMeasurementAnalysis | ElevationProfileAnalysis | LineOfSightAnalysis | ShadowCastAnalysis | SliceAnalysis | ViewshedAnalysis | VolumeMeasurementAnalysis;
|
|
@@ -31,4 +32,8 @@ export interface FeatureReference {
|
|
|
31
32
|
attributes: any;
|
|
32
33
|
/** Reference to a layer. */
|
|
33
34
|
layer?: FeatureReferenceLayer | null;
|
|
35
|
+
/** Object identifier of the feature in its source layer. */
|
|
36
|
+
objectId?: ObjectId | null;
|
|
37
|
+
/** Unique identifier assigned to the feature on the client. */
|
|
38
|
+
uid: number | null;
|
|
34
39
|
}
|
package/arcade.d.ts
CHANGED
|
@@ -376,7 +376,7 @@ export interface ExecuteContext {
|
|
|
376
376
|
/**
|
|
377
377
|
* _Since 4.33_
|
|
378
378
|
*
|
|
379
|
-
* @deprecated since 5.0. Use `cache
|
|
379
|
+
* @deprecated since version 5.0. Use `cache` instead.
|
|
380
380
|
*/
|
|
381
381
|
lruCache?: ArcadeCache;
|
|
382
382
|
/**
|
|
@@ -423,7 +423,7 @@ export interface ExecutorOptions {
|
|
|
423
423
|
/**
|
|
424
424
|
* _Since 4.33_
|
|
425
425
|
*
|
|
426
|
-
* @deprecated since 5.0. Use `cache
|
|
426
|
+
* @deprecated since version 5.0. Use `cache` instead.
|
|
427
427
|
*/
|
|
428
428
|
lruCache?: ArcadeCache;
|
|
429
429
|
/**
|