@arcgis/core 6.0.0-next.15 → 6.0.0-next.16
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/analysis/LineOfSightAnalysis.d.ts +49 -32
- package/analysis/LineOfSightAnalysisObserver.d.ts +19 -3
- package/analysis/LineOfSightAnalysisTarget.d.ts +19 -3
- package/analysis/Viewshed.d.ts +23 -3
- package/analysis/ViewshedAnalysis.d.ts +33 -13
- package/arcade/geometry/operatorsWorkerConnection.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/00d66e3fba5ab4d2aa3c.js +1 -0
- package/assets/esri/core/workers/chunks/{d994bcf0a65d1c07160f.js → 0320cbd825f9a4222042.js} +1 -1
- package/assets/esri/core/workers/chunks/14d5d219e7fe017f23f0.js +1 -0
- package/assets/esri/core/workers/chunks/164e74d586297946a717.js +1 -0
- package/assets/esri/core/workers/chunks/{1bca39e0e651426bdbb5.js → 1b1d3f6916d2cb751435.js} +1 -1
- package/assets/esri/core/workers/chunks/{ed6e9d7f71bfd2691717.js → 1c77de1e79860f8d2228.js} +1 -1
- package/assets/esri/core/workers/chunks/1e40a26dcce4d1dadc28.js +1 -0
- package/assets/esri/core/workers/chunks/237a1f68a0efbfe5b77c.js +1 -0
- package/assets/esri/core/workers/chunks/23c43f09c4a4749516e1.js +1 -0
- package/assets/esri/core/workers/chunks/{3418877328f4f0830300.js → 24dac4970526a4e0ae63.js} +1 -1
- package/assets/esri/core/workers/chunks/26ceb0ff8d93dbb9b84f.js +1 -0
- package/assets/esri/core/workers/chunks/2acf2952cef69e382a35.js +1 -0
- package/assets/esri/core/workers/chunks/{481589c3eddad6e026ad.js → 369780276b2755361f7d.js} +1 -1
- package/assets/esri/core/workers/chunks/{4df6cb1bee5d0720a43e.js → 36cbd614454581aaf334.js} +1 -1
- package/assets/esri/core/workers/chunks/{1e0d2715d603f48a7e0b.js → 370aad23df597db80d65.js} +1 -1
- package/assets/esri/core/workers/chunks/3baa4a9c52f41bfd6abb.js +1 -0
- package/assets/esri/core/workers/chunks/42d44c7d532df5ee70e9.js +1 -0
- package/assets/esri/core/workers/chunks/42e985a576d7aaeed0cf.js +1 -0
- package/assets/esri/core/workers/chunks/{6400446b7615b97c3521.js → 45f826554499c38968c6.js} +1 -1
- package/assets/esri/core/workers/chunks/48cc58890fddbcf69cef.js +1 -0
- package/assets/esri/core/workers/chunks/494bd434fee9032e1d02.js +1 -0
- package/assets/esri/core/workers/chunks/{33e4ff228a8c81b99022.js → 4abd3753cd9b80e4d937.js} +1 -1
- package/assets/esri/core/workers/chunks/4bbe1f28f5f16a6bef05.js +1 -0
- package/assets/esri/core/workers/chunks/4c389472b8cdb0c55154.js +1 -0
- package/assets/esri/core/workers/chunks/4e4f747de424941a0bfa.js +1 -0
- package/assets/esri/core/workers/chunks/5529831dd891382c79df.js +1 -0
- package/assets/esri/core/workers/chunks/576248e9ae2654569420.js +1 -0
- package/assets/esri/core/workers/chunks/5acb422fe3cf693d9d4f.js +1 -0
- package/assets/esri/core/workers/chunks/{aeaaff7a4b1a99540f52.js → 5cb26bbaa08114aec5ce.js} +1 -1
- package/assets/esri/core/workers/chunks/661c6324529dd17b297e.js +1 -0
- package/assets/esri/core/workers/chunks/68dd1fd2025c7125ead1.js +1 -0
- package/assets/esri/core/workers/chunks/{89e76de5ae3328d821a4.js → 69f6d5997b8ff1326e39.js} +1 -1
- package/assets/esri/core/workers/chunks/6a8dd8b18b0b825b0c1b.js +1 -0
- package/assets/esri/core/workers/chunks/{a40b6d8b5c73e06e14d4.js → 6c255c029d67423e4dac.js} +1 -1
- package/assets/esri/core/workers/chunks/7446d0dfebf93e86c098.js +1 -0
- package/assets/esri/core/workers/chunks/{688f2dbf784e66082308.js → 74c866e0b66e61751861.js} +1 -1
- package/assets/esri/core/workers/chunks/{3ffda5bf0b91700dc308.js → 78643f116677950ea29a.js} +1 -1
- package/assets/esri/core/workers/chunks/{916b363c342b61ba5461.js → 787c1a8bda7d745633f2.js} +1 -1
- package/assets/esri/core/workers/chunks/7b5f3c79e0605c32b267.js +1 -0
- package/assets/esri/core/workers/chunks/7bbfe9ff352afc566367.js +1 -0
- package/assets/esri/core/workers/chunks/{ac5a6603f7fa78d3e4c8.js → 7e8611cb709f105946f5.js} +1 -1
- package/assets/esri/core/workers/chunks/{05cd33d41d91f8d09633.js → 7fb7493f483cd9878bfa.js} +1 -1
- package/assets/esri/core/workers/chunks/{acfa03c65ba3ca6c5685.js → 8715661a838361d4211a.js} +1 -1
- package/assets/esri/core/workers/chunks/{601e1d020b8115497944.js → 8a485130781b49dbf608.js} +1 -1
- package/assets/esri/core/workers/chunks/{0ccab50877b24f862d6e.js → 8ac2098ecdc40ad41055.js} +1 -1
- package/assets/esri/core/workers/chunks/{a655ebdb4bf0660615a2.js → 8b4e9fd88c0c313416d4.js} +1 -1
- package/assets/esri/core/workers/chunks/{4e544de61f07ca660236.js → 8c12269d26f5a4c753cb.js} +1 -1
- package/assets/esri/core/workers/chunks/91dd65cf877c8f2e01a7.js +1 -0
- package/assets/esri/core/workers/chunks/{46b4fb6a7fe4877b0efc.js → 94baa354e50c03b82b25.js} +2 -2
- package/assets/esri/core/workers/chunks/950d4578dc450467404c.js +1 -0
- package/assets/esri/core/workers/chunks/{68be3fb88ca61f82fb90.js → 95dbbddac6581b9d671f.js} +1 -1
- package/assets/esri/core/workers/chunks/98be2f621801e230aa01.js +1 -0
- package/assets/esri/core/workers/chunks/9b051745d24d1f43480b.js +1 -0
- package/assets/esri/core/workers/chunks/9d61740ef8bdcc162be1.js +1 -0
- package/assets/esri/core/workers/chunks/{eb04e1717a1002cda3ab.js → 9f06ec95bdf0d0b52b41.js} +1 -1
- package/assets/esri/core/workers/chunks/{fafb92ca2c5e4b0b2c23.js → a09d2e1e2540921e4717.js} +1 -1
- package/assets/esri/core/workers/chunks/{3b3e519f15ed52c83f0c.js → a49fe94933b65b4b64f8.js} +1 -1
- package/assets/esri/core/workers/chunks/{1819c45655c836b9a8d7.js → a4d3944700f1cc240176.js} +1 -1
- package/assets/esri/core/workers/chunks/{90bdf86f553e2742d67c.js → a7bd5ba4d7d97411fd33.js} +1 -1
- package/assets/esri/core/workers/chunks/{900181f68449d8f82eeb.js → aa1ac7954e4f0fefe15b.js} +1 -1
- package/assets/esri/core/workers/chunks/ac24b4370dc7194a3107.js +1 -0
- package/assets/esri/core/workers/chunks/{b8337492e2b753aefac4.js → ace41659a5ca0e5abfc3.js} +1 -1
- package/assets/esri/core/workers/chunks/{3c0ed15b544df6fb0903.js → b48952e1fb4cb7360dd0.js} +1 -1
- package/assets/esri/core/workers/chunks/b5e7475cc5fbf31289d3.js +1 -0
- package/assets/esri/core/workers/chunks/{f3da30d7300b92bd8bb0.js → befa32b9e7b3fbdd431e.js} +1 -1
- package/assets/esri/core/workers/chunks/{0f617980c7dd9ad0444f.js → bf35927979fc5e7e0478.js} +1 -1
- package/assets/esri/core/workers/chunks/c4ddac23bd649d24f3f2.js +1 -0
- package/assets/esri/core/workers/chunks/{4e6f40cbdb8c508e6df1.js → c5a9e77977e867a75ff2.js} +1 -1
- package/assets/esri/core/workers/chunks/{25f19fc929f25ddd628c.js → c79934cd6883307203f8.js} +1 -1
- package/assets/esri/core/workers/chunks/cddc3e285f763ccf33c2.js +1 -0
- package/assets/esri/core/workers/chunks/d08ff41e2a9bcd58b64a.js +1 -0
- package/assets/esri/core/workers/chunks/d311ff96a5a2791d8cfc.js +1 -0
- package/assets/esri/core/workers/chunks/d62afb71f4ece4283994.js +1 -0
- package/assets/esri/core/workers/chunks/dc1761cba0454fda3cf9.js +1 -0
- package/assets/esri/core/workers/chunks/{4ac1d3e49e242e373a92.js → e0650b1408197d3ac862.js} +1 -1
- package/assets/esri/core/workers/chunks/{3ff6d1ed3c0f1285f3e7.js → e0d9dc97985561320bd4.js} +1 -1
- package/assets/esri/core/workers/chunks/eaddffcc7004101fc230.js +1 -0
- package/assets/esri/core/workers/chunks/eb2652ec48faa78de3c5.js +1 -0
- package/assets/esri/core/workers/chunks/eca44e53bcee9b08d70a.js +1 -0
- package/assets/esri/core/workers/chunks/f00458654c7c34c369ef.js +1 -0
- package/assets/esri/core/workers/chunks/f3cd610084e3f4d8656b.js +1 -0
- package/assets/esri/core/workers/chunks/f47fe4433b05fca5c3ad.js +1 -0
- package/assets/esri/core/workers/chunks/f7bfa3d33b05b250ce33.js +1 -0
- package/assets/esri/core/workers/chunks/f91bc1cb1014e05be763.js +1 -0
- package/assets/esri/core/workers/chunks/{ae31fd416bbb41a81392.js → f9c5aa0bbf23e780fecc.js} +1 -1
- package/assets/esri/core/workers/chunks/f9ff27cfcf0538ac5e26.js +1 -0
- package/assets/esri/core/workers/chunks/{19676b2c5f8b0a5ee680.js → facd1ff23203fed67686.js} +1 -1
- package/assets/esri/core/workers/chunks/{40a584cb952e94326e9e.js → fcb86d24fc7e0666b564.js} +1 -1
- package/chunks/Distance2DCalculator-DjIp2uQi.js +1 -1
- package/chunks/Envelope.js +1 -1
- package/chunks/MultiPathImpl.js +1 -1
- package/chunks/OperatorGeodeticArea.js +1 -1
- package/chunks/OperatorShapePreservingLength.js +1 -1
- package/chunks/OperatorShapePreservingProject.js +1 -1
- package/chunks/UnitFactory.js +1 -1
- package/chunks/basis_encoder.js +1 -1
- package/chunks/basis_transcoder.js +1 -1
- package/chunks/index.js +1 -1
- package/chunks/lclayout.js +1 -1
- package/config.d.ts +2 -0
- package/config.js +1 -1
- package/core/accessorSupport/DefaultsStore.js +1 -1
- package/core/accessorSupport/MultiOriginStore.js +1 -1
- package/core/accessorSupport/Store.js +1 -1
- package/core/accessorSupport/decorators/reader.js +1 -1
- package/core/accessorSupport/decorators/writer.js +1 -1
- package/core/workers/WorkerOwner.js +1 -1
- package/core/workers/workerFactory.js +1 -1
- package/core/workers/workers.js +2 -2
- package/core/workers.d.ts +9 -0
- package/form/elements/inputs/DynamicChoiceInput.d.ts +4 -2
- package/geometry/Mesh.js +1 -1
- package/geometry/operators/gx/operatorAlphaShape.js +1 -1
- package/geometry/operators/gx/operatorOffset.js +1 -1
- package/geometry/operators/gx/operatorPolygonSlicer.js +1 -1
- package/geometry/operators/support/jsonConverter.js +1 -1
- package/geometry/support/curves/bezierCurveUtils.js +1 -1
- package/geometry/support/curves/ellipticArc7Utils.js +1 -1
- package/geometry/support/meshUtils/merge.js +1 -1
- package/geometry/support/meshUtils/rotate.js +1 -1
- package/geometry/support/polygonExtentClipping.js +1 -1
- package/identity/Credential.js +1 -1
- package/kernel.js +1 -1
- package/layers/AnnotationFeatureLayer.d.ts +2 -2
- package/layers/AnnotationFeatureLayer.js +1 -1
- package/layers/CatalogLayer.d.ts +2 -2
- package/layers/CatalogLayer.js +1 -1
- package/layers/DimensionFeatureLayer.d.ts +2 -2
- package/layers/DimensionFeatureLayer.js +1 -1
- package/layers/FeatureLayer.d.ts +4 -4
- package/layers/FeatureLayer.js +1 -1
- package/layers/ImageryTileLayer.js +1 -1
- package/layers/LineOfSightLayer.d.ts +10 -8
- package/layers/SceneLayer.js +1 -1
- package/layers/SubtypeGroupLayer.d.ts +2 -2
- package/layers/SubtypeGroupLayer.js +1 -1
- package/layers/ViewshedLayer.d.ts +1 -1
- package/layers/VoxelLayer.js +1 -1
- package/layers/WMSLayer.js +1 -1
- package/layers/geospatialPDF/GeospatialPDFFrame.js +1 -1
- package/layers/geospatialPDF/GeospatialPDFLayerWorker.js +9 -9
- package/layers/geospatialPDF/GeospatialPDFWorkerClient.js +1 -1
- package/layers/geospatialPDF/LGIDictMapFrame.js +1 -1
- package/layers/geospatialPDF/ViewportMeasureFrame.js +1 -1
- package/layers/geospatialPDF/geospatialPDFParserUtils.js +1 -1
- package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/sources/connections/WebSocketConnection.js +1 -1
- package/layers/graphics/sources/parquet/FileProvider.js +1 -1
- package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
- package/layers/mixins/{FeatureLayerReload.d.ts → ReloadableLayer.d.ts} +5 -3
- package/layers/mixins/ReloadableLayer.js +2 -0
- package/layers/raster/datasets/BaseRaster.js +1 -1
- package/layers/raster/datasets/GeospatialPDFRaster.js +1 -1
- package/layers/raster/datasets/ImageAuxRaster.js +2 -2
- package/layers/raster/datasets/ImageServerRaster.js +1 -1
- package/layers/raster/datasets/InMemoryRaster.js +1 -1
- package/layers/raster/datasets/MRFRaster.js +1 -1
- package/layers/raster/datasets/TIFFRaster.js +1 -1
- package/layers/raster/datasets/WCSRaster.js +1 -1
- package/layers/raster/formats/ImageCanvasDecoder.js +1 -1
- package/layers/raster/formats/RasterCodec.js +1 -1
- package/layers/raster/formats/TiffDecoder.js +1 -1
- package/layers/raster/formats/Zlib.js +1 -1
- package/layers/raster/functions/stretchUtils.js +1 -1
- package/layers/raster/functions/vectorFieldUtils.js +1 -1
- package/layers/support/FieldsIndex.js +1 -1
- package/layers/support/RasterWorker.js +1 -1
- package/layers/support/featureReductionProperties.js +1 -1
- package/layers/support/kmlUtils.js +1 -1
- package/layers/video/VideoController.js +10 -10
- package/libs/maquette/projection.js +1 -1
- package/networks/UtilityNetworkTraceAnalysis.js +1 -1
- package/package.json +5 -5
- package/popup/FeatureModel.js +1 -1
- package/popup/FeaturesModel.js +1 -1
- package/portal/Portal.js +1 -1
- package/request/process.js +1 -1
- package/request/types.d.ts +7 -0
- package/rest/knowledgeGraphService.js +1 -1
- package/rest/networks/trace.js +1 -1
- package/rest/query/executeQuery.js +1 -1
- package/smartMapping/raster/renderers/shadedRelief.js +1 -1
- package/smartMapping/renderers/univariateColorSize.js +1 -1
- package/smartMapping/statistics/support/statsWorker.js +1 -1
- package/smartMapping/statistics/support/utils.js +1 -1
- package/smartMapping/support/clusterUtils.js +1 -1
- package/statistics/utils.js +1 -1
- package/symbols/cim/CIMCursor.js +1 -1
- package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/support/ElevationInfo.d.ts +4 -3
- package/undoredo/support/Services.js +1 -1
- package/views/2d/engine/vectorTiles/buckets/SymbolBucket.js +2 -2
- package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelMeshWriter.js +1 -1
- package/views/2d/grid/GridView2D.js +1 -1
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/features/sources/strategies/FeatureHybridTileLoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/FeaturePagedTileLoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/FeatureSnapshotLoadStrategy.js +1 -1
- package/views/2d/viewpointUtils.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
- package/views/3d/analysis/LineOfSight/types.d.ts +14 -3
- package/views/3d/analysis/LineOfSightAnalysisView3D.d.ts +39 -13
- package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
- package/views/3d/analysis/Viewshed/types.d.ts +7 -0
- package/views/3d/analysis/ViewshedAnalysisView3D.d.ts +43 -15
- package/views/3d/input/handlers/KeyboardNavigation.js +1 -1
- package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
- package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
- package/views/3d/interactive/editingTools/transform/ExtentTransformTool.js +1 -1
- package/views/3d/interactive/editingTools/transform/ScaleRotateTransform.js +1 -1
- package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DTool.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
- package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DElevationAlignment.js +1 -1
- package/views/3d/layers/graphics/Graphics3DGraphic.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/SpatialIndex2D.js +1 -1
- package/views/3d/layers/i3s/I3SNode.js +1 -1
- package/views/3d/layers/i3s/I3SUtil.js +1 -1
- package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
- package/views/3d/layers/i3s/LayerElevationProvider.js +1 -1
- package/views/3d/layers/support/FeatureTileFetcher3D.js +1 -1
- package/views/3d/layers/support/FeatureTileFetcher3DDebugger.js +1 -1
- package/views/3d/layers/support/ImageHighlightHelper3D.js +1 -1
- package/views/3d/layers/support/StageLayerElevationProvider.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/support/elevationUpdateExtentUtils.js +1 -1
- package/views/3d/support/elevationUpdateUtils.js +1 -1
- package/views/3d/support/pointsOfInterest/Focus.js +1 -1
- package/views/3d/support/sphereExtentUtils.js +2 -0
- package/views/3d/terrain/OverlayFramebufferObject.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/PatchRenderData.js +1 -1
- package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
- package/views/3d/webgl-engine/lib/ManagedTexture.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
- package/views/3d/webgl-engine/materials/internal/MaterialUtil.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/PerBufferData.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/ToolViewManager.js +1 -1
- package/views/draw/DrawOperation.js +1 -1
- package/views/draw/support/InteractiveHandle.js +1 -1
- package/views/draw/support/Reshape.js +1 -1
- package/views/draw/support/createUtils.js +1 -1
- package/views/draw/support/editingSessionUtils.js +1 -1
- package/views/draw/support/managers/InteractiveHandleManager.js +1 -1
- package/views/interactive/SegmentLabels.js +1 -1
- package/views/interactive/editGeometry/EditGeometry.js +1 -1
- package/views/interactive/editGeometry/EditGeometryOperations.js +1 -1
- package/views/interactive/editGeometry/operations/SetAllVertexPositions.js +1 -1
- package/views/interactive/editGeometry/operations/UndoGroup.js +1 -1
- package/views/interactive/options/TooltipOptions.d.ts +2 -0
- package/views/interactive/sketch/SketchTooltipOptions.d.ts +2 -0
- package/views/interactive/sketch/constraintUtils.js +1 -1
- package/views/interactive/snapping/SnappingDragPipelineStep.js +1 -1
- package/views/interactive/tooltip/components/TooltipEditableField.js +1 -1
- package/views/layers/LayerView.js +1 -1
- package/views/layers/LineOfSightLayerView.d.ts +35 -13
- package/views/layers/SketchLayerView.d.ts +1 -0
- package/views/layers/ViewshedLayerView.d.ts +36 -12
- package/views/webgl/Program.js +1 -1
- package/views/webgl/Texture.js +1 -1
- package/widgets/BasemapToggle/BasemapToggleViewModel.js +1 -1
- package/widgets/Directions.js +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/legacy/CreateFeaturesWorkflow.js +1 -1
- package/widgets/ElevationProfile/support/chartUtils.js +1 -1
- package/widgets/FeatureTable/support/FeatureStore.js +1 -1
- package/widgets/FeatureTable/support/GroupColumnTemplate.js +1 -1
- package/widgets/FeatureTable/support/TableTemplate.js +1 -1
- package/widgets/Print.js +1 -1
- package/widgets/Slice.js +1 -1
- package/widgets/UtilityNetworkTraceAnalysis/UtilityNetworkTraceAnalysisViewModel.js +1 -1
- package/widgets/support/SelectionList/SelectionListViewModel.js +1 -1
- package/widgets/support/SelectionList.js +1 -1
- package/widgets/support/componentsUtils.js +1 -1
- package/assets/esri/core/workers/chunks/024b44c0c8876627f904.js +0 -1
- package/assets/esri/core/workers/chunks/02c5d027bdaee67869cf.js +0 -1
- package/assets/esri/core/workers/chunks/03261b9451e293a0fac8.js +0 -1
- package/assets/esri/core/workers/chunks/0c8c01097847617261b9.js +0 -1
- package/assets/esri/core/workers/chunks/0d931c7579b6409a696d.js +0 -1
- package/assets/esri/core/workers/chunks/12c154342fff876f2f1e.js +0 -1
- package/assets/esri/core/workers/chunks/1e11d2e97d17685b878a.js +0 -1
- package/assets/esri/core/workers/chunks/1f339247b68b061ab0a4.js +0 -1
- package/assets/esri/core/workers/chunks/21ddb26526bcb2b122c3.js +0 -1
- package/assets/esri/core/workers/chunks/2eae542fe7f0f6576ac1.js +0 -1
- package/assets/esri/core/workers/chunks/444e5f214abce3d607cd.js +0 -1
- package/assets/esri/core/workers/chunks/46a7da93a63663878583.js +0 -1
- package/assets/esri/core/workers/chunks/4a1e23e021bac37a88ab.js +0 -1
- package/assets/esri/core/workers/chunks/4c4117e28ea358a32088.js +0 -1
- package/assets/esri/core/workers/chunks/54b18559280a7d2a8d93.js +0 -1
- package/assets/esri/core/workers/chunks/59b216b60464611742d4.js +0 -1
- package/assets/esri/core/workers/chunks/62ac588f7dd1d24d0c9d.js +0 -1
- package/assets/esri/core/workers/chunks/62c8c9ad09e0166207fd.js +0 -1
- package/assets/esri/core/workers/chunks/62d6e101e9bd9557a410.js +0 -1
- package/assets/esri/core/workers/chunks/6558488ea96620439f34.js +0 -1
- package/assets/esri/core/workers/chunks/665e31c494d2af505acc.js +0 -1
- package/assets/esri/core/workers/chunks/6f4e6022a52de0c54aab.js +0 -1
- package/assets/esri/core/workers/chunks/7267b17de212207142c9.js +0 -1
- package/assets/esri/core/workers/chunks/7ef182e24cad50815b4e.js +0 -1
- package/assets/esri/core/workers/chunks/8293600f94553afc8c38.js +0 -1
- package/assets/esri/core/workers/chunks/8431ca60ad33d594e323.js +0 -1
- package/assets/esri/core/workers/chunks/876f7633c15f1e31078d.js +0 -1
- package/assets/esri/core/workers/chunks/8ca9648eacb894283513.js +0 -1
- package/assets/esri/core/workers/chunks/91ebb2ccab1889eb7e81.js +0 -1
- package/assets/esri/core/workers/chunks/94e427040edb469d58ad.js +0 -1
- package/assets/esri/core/workers/chunks/9ce91a909eccc4dfe388.js +0 -1
- package/assets/esri/core/workers/chunks/9e1a3b6a08c96dcefdde.js +0 -1
- package/assets/esri/core/workers/chunks/9e3e442a9874ed23a043.js +0 -1
- package/assets/esri/core/workers/chunks/ad76f7ab2f3e6d5a5b3c.js +0 -1
- package/assets/esri/core/workers/chunks/aff32980d91dab07dfb7.js +0 -1
- package/assets/esri/core/workers/chunks/bbf993dba74850bbf9d7.js +0 -1
- package/assets/esri/core/workers/chunks/d8f1cefcad02d7353d4b.js +0 -1
- package/assets/esri/core/workers/chunks/d938987344bce83cc660.js +0 -1
- package/assets/esri/core/workers/chunks/ddf0671976648f621269.js +0 -1
- package/assets/esri/core/workers/chunks/de02f60258e6985ef676.js +0 -1
- package/assets/esri/core/workers/chunks/e10b57aefcc89671116e.js +0 -1
- package/assets/esri/core/workers/chunks/e65dfa19f030ec298437.js +0 -1
- package/assets/esri/core/workers/chunks/ed8786fed345718ed684.js +0 -1
- package/assets/esri/core/workers/chunks/f122c18af10e56f9ec2b.js +0 -1
- package/assets/esri/core/workers/chunks/f92364afaefbac7e8f77.js +0 -1
- package/assets/esri/core/workers/chunks/fd9663952d5a94f3a83f.js +0 -1
- package/assets/esri/core/workers/chunks/fe9879ecd69ac4329291.js +0 -1
- package/layers/mixins/FeatureLayerReload.js +0 -2
|
@@ -18,16 +18,10 @@ export interface LineOfSightAnalysisProperties extends AnalysisProperties {
|
|
|
18
18
|
* LineOfSightAnalysis computes the line of sight from a single observer position towards
|
|
19
19
|
* a set of targets. The results are visualized in a 3D [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
20
20
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* [targets](https://developers.arcgis.com/javascript/latest/references/core/analysis/
|
|
24
|
-
*
|
|
25
|
-
* If the [observer position](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisObserver/#position) or
|
|
26
|
-
* [target position](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisTarget/#position) have [z-values](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/#hasZ)
|
|
27
|
-
* then these will be treated as absolute values, otherwise the points will be aligned to the ground.
|
|
28
|
-
*
|
|
29
|
-
* Use the [LineOfSightAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/) to retrieve
|
|
30
|
-
* analysis results.
|
|
21
|
+
* Create a new instance of LineOfSightAnalysis and add it to [SceneView.analyses](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#analyses).
|
|
22
|
+
* The analysis may contain one [observer](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisObserver/) with multiple
|
|
23
|
+
* [targets](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisTarget/).
|
|
24
|
+
* The observer and targets can be created programmatically or interactively.
|
|
31
25
|
*
|
|
32
26
|
* ```js
|
|
33
27
|
* // create line of sight analysis
|
|
@@ -38,9 +32,19 @@ export interface LineOfSightAnalysisProperties extends AnalysisProperties {
|
|
|
38
32
|
* ]
|
|
39
33
|
* });
|
|
40
34
|
*
|
|
41
|
-
* // add to the view
|
|
35
|
+
* // add the analysis to the view
|
|
42
36
|
* view.analyses.add(analysis);
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* The analysis results are displayed as colored lines, where areas visible to the observer are
|
|
40
|
+
* shown green and occluded parts are marked in red. Also, the color of the target points indicates their visibility.
|
|
41
|
+
* When the line of sight cannot be calculated, it will be displayed with a gray color. This may happen if either
|
|
42
|
+
* the target or the observer is not in the view.
|
|
43
|
+
*
|
|
44
|
+
* Use the [LineOfSightAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/) to retrieve more detailed
|
|
45
|
+
* analysis results.
|
|
43
46
|
*
|
|
47
|
+
* ```js
|
|
44
48
|
* // wait until the view finishes updating so the results are current
|
|
45
49
|
* await reactiveUtils.whenOnce(() => !view.updating);
|
|
46
50
|
*
|
|
@@ -49,19 +53,6 @@ export interface LineOfSightAnalysisProperties extends AnalysisProperties {
|
|
|
49
53
|
* const results = analysisView.results;
|
|
50
54
|
* ```
|
|
51
55
|
*
|
|
52
|
-
* The line of sight analysis can also be added to a [LineOfSightLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/LineOfSightLayer/) which can be persisted
|
|
53
|
-
* in a web scene:
|
|
54
|
-
*
|
|
55
|
-
* ```js
|
|
56
|
-
* // create line of sight layer containing the analysis
|
|
57
|
-
* const lineOfSightLayer = new LineOfSightLayer({
|
|
58
|
-
* analysis: lineOfSightAnalysis
|
|
59
|
-
* });
|
|
60
|
-
*
|
|
61
|
-
* // add to the map
|
|
62
|
-
* view.map.add(lineOfSightLayer);
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
56
|
* To place the observer and targets interactively, use the
|
|
66
57
|
* [LineOfSightAnalysisView3D.place()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/#place) method.
|
|
67
58
|
*
|
|
@@ -69,6 +60,10 @@ export interface LineOfSightAnalysisProperties extends AnalysisProperties {
|
|
|
69
60
|
* const abortController = new AbortController();
|
|
70
61
|
*
|
|
71
62
|
* try {
|
|
63
|
+
* // get a view for the analysis
|
|
64
|
+
* const analysisView = await view.whenAnalysisView(analysis);
|
|
65
|
+
*
|
|
66
|
+
* // start placing the observer and targets interactively
|
|
72
67
|
* await analysisView.place({ signal: abortController.signal });
|
|
73
68
|
* } catch (error) {
|
|
74
69
|
* if (error.name === "AbortError") {
|
|
@@ -80,20 +75,41 @@ export interface LineOfSightAnalysisProperties extends AnalysisProperties {
|
|
|
80
75
|
* abortController.abort();
|
|
81
76
|
* ```
|
|
82
77
|
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
78
|
+
* To edit an existing line of sight analysis interactively, set the
|
|
79
|
+
* [LineOfSightAnalysisView3D.interactive](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/#interactive) property to `true` and
|
|
80
|
+
* select the observer or any of the targets. Manipulators are then displayed and the selected item's position can be edited.
|
|
81
|
+
*
|
|
82
|
+
* ```js
|
|
83
|
+
* // allow the observer and targets in the analysis to be selected and edited
|
|
84
|
+
* analysisView.interactive = true;
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* The line of sight analysis can be persisted in a [WebScene](https://developers.arcgis.com/javascript/latest/references/core/WebScene/) as part of a [LineOfSightLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/LineOfSightLayer/):
|
|
88
|
+
*
|
|
89
|
+
* ```js
|
|
90
|
+
* // create line of sight layer containing the analysis
|
|
91
|
+
* const lineOfSightLayer = new LineOfSightLayer({
|
|
92
|
+
* analysis: analysis
|
|
93
|
+
* });
|
|
94
|
+
*
|
|
95
|
+
* // add the layer to the map
|
|
96
|
+
* view.map.add(lineOfSightLayer);
|
|
97
|
+
* ```
|
|
87
98
|
*
|
|
88
99
|
* Use the [Line Of Sight component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-line-of-sight/) to display a user interface
|
|
89
100
|
* for the line of sight analysis.
|
|
90
101
|
*
|
|
91
102
|
* > [!WARNING]
|
|
92
103
|
* >
|
|
93
|
-
* > **
|
|
94
|
-
* >
|
|
95
|
-
* >
|
|
96
|
-
* >
|
|
104
|
+
* > **Things to consider:**
|
|
105
|
+
* > * This analysis is only supported in a 3D [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
106
|
+
* > * The results of the tool vary depending on the zoom level, as changes in zoom level affect the level of detail (LOD) of the scene geometry.
|
|
107
|
+
* > * Snapping, tooltips, display units, and input units used during interactive placement and editing are inherited from
|
|
108
|
+
* [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/).
|
|
109
|
+
* > * Snapping is enabled by default. This can be temporarily disabled by holding the `CTRL` key.
|
|
110
|
+
* > * Layer types currently supported for snapping are: [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/), [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/) (except Mesh geometries),
|
|
111
|
+
* > [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/), [WFSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WFSLayer/), [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/),
|
|
112
|
+
* > [3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/), and [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
|
|
97
113
|
*
|
|
98
114
|
* @since 4.23
|
|
99
115
|
* @see [LineOfSightAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/)
|
|
@@ -101,6 +117,7 @@ export interface LineOfSightAnalysisProperties extends AnalysisProperties {
|
|
|
101
117
|
* @see [LineOfSightLayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LineOfSightLayerView/)
|
|
102
118
|
* @see [LineOfSightAnalysisTarget](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisTarget/)
|
|
103
119
|
* @see [LineOfSightAnalysisObserver](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisObserver/)
|
|
120
|
+
* @see [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/)
|
|
104
121
|
* @see [Line Of Sight component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-line-of-sight/)
|
|
105
122
|
* @see [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
106
123
|
* @see [Sample - Line of sight component](https://developers.arcgis.com/javascript/latest/sample-code/line-of-sight/)
|
|
@@ -12,6 +12,9 @@ export interface LineOfSightAnalysisObserverProperties extends Partial<Pick<Line
|
|
|
12
12
|
* Specifies how the observer is placed on the vertical axis (z). See the [ElevationInfo sample](https://developers.arcgis.com/javascript/latest/sample-code/scene-elevationinfo/)
|
|
13
13
|
* for an example of how this property may be used.
|
|
14
14
|
*
|
|
15
|
+
* When placing observers interactively, use the additional options on the [LineOfSightAnalysisView3D.place()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/#place)
|
|
16
|
+
* method to specify the elevation information.
|
|
17
|
+
*
|
|
15
18
|
* > [!WARNING]
|
|
16
19
|
* >
|
|
17
20
|
* > [ElevationInfo.featureExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/symbols/support/ElevationInfo/#featureExpressionInfo) is not supported when the elevation info is specified for this class.
|
|
@@ -23,12 +26,17 @@ export interface LineOfSightAnalysisObserverProperties extends Partial<Pick<Line
|
|
|
23
26
|
* sight analysis will synchronously calculate the intersection and the visibility to each target of the associated
|
|
24
27
|
* [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/).
|
|
25
28
|
*
|
|
29
|
+
* If the position has a [z-value](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/#hasZ), it is treated as an absolute value.
|
|
30
|
+
* Optionally, with the [elevationInfo](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisObserver/#elevationInfo) property
|
|
31
|
+
* you can change how the z-value should be interpreted.
|
|
32
|
+
* If the observer has no z-value, it is aligned to the ground.
|
|
33
|
+
*
|
|
26
34
|
* If the observer is assigned to a [LineOfSightLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/LineOfSightLayer/) then this property
|
|
27
35
|
* must be defined before the layer can be saved to a [WebScene](https://developers.arcgis.com/javascript/latest/references/core/WebScene/).
|
|
28
36
|
*/
|
|
29
37
|
position?: PointProperties | null;
|
|
30
38
|
/**
|
|
31
|
-
* Indicates that this is an observer.
|
|
39
|
+
* Indicates that this is an observer.
|
|
32
40
|
*
|
|
33
41
|
* @since 5.2
|
|
34
42
|
*/
|
|
@@ -38,7 +46,7 @@ export interface LineOfSightAnalysisObserverProperties extends Partial<Pick<Line
|
|
|
38
46
|
/**
|
|
39
47
|
* The LineOfSightAnalysisObserver represents an observer of a [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/).
|
|
40
48
|
*
|
|
41
|
-
* Use the position property to specify the position of the observer.
|
|
49
|
+
* Use the [position](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisObserver/#position) property to specify the position of the observer.
|
|
42
50
|
*
|
|
43
51
|
* @since 4.23
|
|
44
52
|
* @see [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
@@ -53,6 +61,9 @@ export default class LineOfSightAnalysisObserver extends LineOfSightAnalysisObse
|
|
|
53
61
|
* Specifies how the observer is placed on the vertical axis (z). See the [ElevationInfo sample](https://developers.arcgis.com/javascript/latest/sample-code/scene-elevationinfo/)
|
|
54
62
|
* for an example of how this property may be used.
|
|
55
63
|
*
|
|
64
|
+
* When placing observers interactively, use the additional options on the [LineOfSightAnalysisView3D.place()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/#place)
|
|
65
|
+
* method to specify the elevation information.
|
|
66
|
+
*
|
|
56
67
|
* > [!WARNING]
|
|
57
68
|
* >
|
|
58
69
|
* > [ElevationInfo.featureExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/symbols/support/ElevationInfo/#featureExpressionInfo) is not supported when the elevation info is specified for this class.
|
|
@@ -75,13 +86,18 @@ export default class LineOfSightAnalysisObserver extends LineOfSightAnalysisObse
|
|
|
75
86
|
* sight analysis will synchronously calculate the intersection and the visibility to each target of the associated
|
|
76
87
|
* [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/).
|
|
77
88
|
*
|
|
89
|
+
* If the position has a [z-value](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/#hasZ), it is treated as an absolute value.
|
|
90
|
+
* Optionally, with the [elevationInfo](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisObserver/#elevationInfo) property
|
|
91
|
+
* you can change how the z-value should be interpreted.
|
|
92
|
+
* If the observer has no z-value, it is aligned to the ground.
|
|
93
|
+
*
|
|
78
94
|
* If the observer is assigned to a [LineOfSightLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/LineOfSightLayer/) then this property
|
|
79
95
|
* must be defined before the layer can be saved to a [WebScene](https://developers.arcgis.com/javascript/latest/references/core/WebScene/).
|
|
80
96
|
*/
|
|
81
97
|
get position(): Point | null | undefined;
|
|
82
98
|
set position(value: PointProperties | null | undefined);
|
|
83
99
|
/**
|
|
84
|
-
* Indicates that this is an observer.
|
|
100
|
+
* Indicates that this is an observer.
|
|
85
101
|
*
|
|
86
102
|
* @since 5.2
|
|
87
103
|
*/
|
|
@@ -11,6 +11,9 @@ export interface LineOfSightAnalysisTargetProperties extends Partial<Pick<LineOf
|
|
|
11
11
|
* Specifies how the target is placed on the vertical axis (z). See the [ElevationInfo sample](https://developers.arcgis.com/javascript/latest/sample-code/scene-elevationinfo/)
|
|
12
12
|
* for an example of how this property may be used.
|
|
13
13
|
*
|
|
14
|
+
* When placing targets interactively, use the additional options on the [LineOfSightAnalysisView3D.place()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/#place)
|
|
15
|
+
* method to specify the elevation information.
|
|
16
|
+
*
|
|
14
17
|
* > [!WARNING]
|
|
15
18
|
* >
|
|
16
19
|
* > [ElevationInfo.featureExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/symbols/support/ElevationInfo/#featureExpressionInfo) is not supported when the elevation info is specified for this class.
|
|
@@ -20,10 +23,15 @@ export interface LineOfSightAnalysisTargetProperties extends Partial<Pick<LineOf
|
|
|
20
23
|
/**
|
|
21
24
|
* A [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) representing the position of the target. Once the position is set, a new line of
|
|
22
25
|
* sight analysis will synchronously calculate the intersection and the visibility.
|
|
26
|
+
*
|
|
27
|
+
* If the position has a [z-value](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/#hasZ), it is treated as an absolute value.
|
|
28
|
+
* Optionally, with the [elevationInfo](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisTarget/#elevationInfo) property
|
|
29
|
+
* you can change how the z-value should be interpreted.
|
|
30
|
+
* If the target has no z-value, it is aligned to the ground.
|
|
23
31
|
*/
|
|
24
32
|
position?: PointProperties | null;
|
|
25
33
|
/**
|
|
26
|
-
* Indicates that this is a target.
|
|
34
|
+
* Indicates that this is a target.
|
|
27
35
|
*
|
|
28
36
|
* @since 5.2
|
|
29
37
|
*/
|
|
@@ -33,7 +41,7 @@ export interface LineOfSightAnalysisTargetProperties extends Partial<Pick<LineOf
|
|
|
33
41
|
/**
|
|
34
42
|
* The LineOfSightAnalysisTarget represents a target of a [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/).
|
|
35
43
|
*
|
|
36
|
-
* Use the position property to specify the position of the target.
|
|
44
|
+
* Use the [position](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisTarget/#position) property to specify the position of the target.
|
|
37
45
|
*
|
|
38
46
|
* @since 4.23
|
|
39
47
|
* @see [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
@@ -49,6 +57,9 @@ export default class LineOfSightAnalysisTarget extends LineOfSightAnalysisTarget
|
|
|
49
57
|
* Specifies how the target is placed on the vertical axis (z). See the [ElevationInfo sample](https://developers.arcgis.com/javascript/latest/sample-code/scene-elevationinfo/)
|
|
50
58
|
* for an example of how this property may be used.
|
|
51
59
|
*
|
|
60
|
+
* When placing targets interactively, use the additional options on the [LineOfSightAnalysisView3D.place()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/#place)
|
|
61
|
+
* method to specify the elevation information.
|
|
62
|
+
*
|
|
52
63
|
* > [!WARNING]
|
|
53
64
|
* >
|
|
54
65
|
* > [ElevationInfo.featureExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/symbols/support/ElevationInfo/#featureExpressionInfo) is not supported when the elevation info is specified for this class.
|
|
@@ -69,11 +80,16 @@ export default class LineOfSightAnalysisTarget extends LineOfSightAnalysisTarget
|
|
|
69
80
|
/**
|
|
70
81
|
* A [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) representing the position of the target. Once the position is set, a new line of
|
|
71
82
|
* sight analysis will synchronously calculate the intersection and the visibility.
|
|
83
|
+
*
|
|
84
|
+
* If the position has a [z-value](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/#hasZ), it is treated as an absolute value.
|
|
85
|
+
* Optionally, with the [elevationInfo](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisTarget/#elevationInfo) property
|
|
86
|
+
* you can change how the z-value should be interpreted.
|
|
87
|
+
* If the target has no z-value, it is aligned to the ground.
|
|
72
88
|
*/
|
|
73
89
|
get position(): Point | null | undefined;
|
|
74
90
|
set position(value: PointProperties | null | undefined);
|
|
75
91
|
/**
|
|
76
|
-
* Indicates that this is a target.
|
|
92
|
+
* Indicates that this is a target.
|
|
77
93
|
*
|
|
78
94
|
* @since 5.2
|
|
79
95
|
*/
|
package/analysis/Viewshed.d.ts
CHANGED
|
@@ -11,6 +11,9 @@ export interface ViewshedProperties extends Partial<Pick<Viewshed, "farDistance"
|
|
|
11
11
|
* Specifies how the observer is placed on the vertical axis (z). See the [ElevationInfo sample](https://developers.arcgis.com/javascript/latest/sample-code/scene-elevationinfo/)
|
|
12
12
|
* for an example of how this property may be used.
|
|
13
13
|
*
|
|
14
|
+
* When placing viewsheds interactively, use the additional options on the [ViewshedAnalysisView3D.place()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ViewshedAnalysisView3D/#place)
|
|
15
|
+
* method to specify the elevation information.
|
|
16
|
+
*
|
|
14
17
|
* > [!WARNING]
|
|
15
18
|
* >
|
|
16
19
|
* > [ElevationInfo.featureExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/symbols/support/ElevationInfo/#featureExpressionInfo) is not supported when the elevation info is specified for this class.
|
|
@@ -19,7 +22,14 @@ export interface ViewshedProperties extends Partial<Pick<Viewshed, "farDistance"
|
|
|
19
22
|
* @since 5.1
|
|
20
23
|
*/
|
|
21
24
|
elevationInfo?: ElevationInfoProperties | null;
|
|
22
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* A [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) specifying the position the viewshed is calculated from.
|
|
27
|
+
*
|
|
28
|
+
* If the observer has a [z-value](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/#hasZ), it is treated as an absolute value.
|
|
29
|
+
* Optionally, with the [elevationInfo](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/#elevationInfo) property
|
|
30
|
+
* you can change how the z-value should be interpreted.
|
|
31
|
+
* If the observer has no z-value, it is aligned to the ground.
|
|
32
|
+
*/
|
|
23
33
|
observer?: PointProperties | null;
|
|
24
34
|
}
|
|
25
35
|
|
|
@@ -70,6 +80,9 @@ export default class Viewshed extends ViewshedSuperclass {
|
|
|
70
80
|
* Specifies how the observer is placed on the vertical axis (z). See the [ElevationInfo sample](https://developers.arcgis.com/javascript/latest/sample-code/scene-elevationinfo/)
|
|
71
81
|
* for an example of how this property may be used.
|
|
72
82
|
*
|
|
83
|
+
* When placing viewsheds interactively, use the additional options on the [ViewshedAnalysisView3D.place()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ViewshedAnalysisView3D/#place)
|
|
84
|
+
* method to specify the elevation information.
|
|
85
|
+
*
|
|
73
86
|
* > [!WARNING]
|
|
74
87
|
* >
|
|
75
88
|
* > [ElevationInfo.featureExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/symbols/support/ElevationInfo/#featureExpressionInfo) is not supported when the elevation info is specified for this class.
|
|
@@ -112,7 +125,14 @@ export default class Viewshed extends ViewshedSuperclass {
|
|
|
112
125
|
* @default 45
|
|
113
126
|
*/
|
|
114
127
|
accessor horizontalFieldOfView: number;
|
|
115
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* A [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) specifying the position the viewshed is calculated from.
|
|
130
|
+
*
|
|
131
|
+
* If the observer has a [z-value](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/#hasZ), it is treated as an absolute value.
|
|
132
|
+
* Optionally, with the [elevationInfo](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/#elevationInfo) property
|
|
133
|
+
* you can change how the z-value should be interpreted.
|
|
134
|
+
* If the observer has no z-value, it is aligned to the ground.
|
|
135
|
+
*/
|
|
116
136
|
get observer(): Point | null | undefined;
|
|
117
137
|
set observer(value: PointProperties | null | undefined);
|
|
118
138
|
/**
|
|
@@ -124,7 +144,7 @@ export default class Viewshed extends ViewshedSuperclass {
|
|
|
124
144
|
accessor tilt: number;
|
|
125
145
|
/**
|
|
126
146
|
* Indicates whether the viewshed is ready to be computed and interacted with in the view.
|
|
127
|
-
* It requires the [observer](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/#observer) to be set and
|
|
147
|
+
* It requires the [observer](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/#observer) to be set and the [farDistance](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/#farDistance) to be
|
|
128
148
|
* greater than 0.
|
|
129
149
|
*
|
|
130
150
|
* @since 4.33
|
|
@@ -13,9 +13,9 @@ export interface ViewshedAnalysisProperties extends AnalysisProperties {
|
|
|
13
13
|
/**
|
|
14
14
|
* ViewshedAnalysis enables the creation and display of viewshed and view dome type of visibility analysis in a 3D [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
* [
|
|
18
|
-
*
|
|
16
|
+
* Create a new instance of ViewshedAnalysis and add it to [SceneView.analyses](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#analyses).
|
|
17
|
+
* The analysis may contain multiple [viewsheds](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/).
|
|
18
|
+
* The viewsheds can be created programmatically or interactively.
|
|
19
19
|
*
|
|
20
20
|
* ```js
|
|
21
21
|
* const viewshed = new Viewshed({
|
|
@@ -34,6 +34,8 @@ export interface ViewshedAnalysisProperties extends AnalysisProperties {
|
|
|
34
34
|
* view.analyses.add(analysis);
|
|
35
35
|
* ```
|
|
36
36
|
*
|
|
37
|
+
* The analysis colors the areas visible to the observer as green and occluded parts as red.
|
|
38
|
+
*
|
|
37
39
|
* To add a viewshed interactively, use the
|
|
38
40
|
* [ViewshedAnalysisView3D.place()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ViewshedAnalysisView3D/#place) method.
|
|
39
41
|
*
|
|
@@ -56,29 +58,46 @@ export interface ViewshedAnalysisProperties extends AnalysisProperties {
|
|
|
56
58
|
* abortController.abort();
|
|
57
59
|
* ```
|
|
58
60
|
*
|
|
59
|
-
* To edit existing viewsheds interactively, set the
|
|
60
|
-
* [ViewshedAnalysisView3D.interactive](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ViewshedAnalysisView3D/#interactive) property
|
|
61
|
-
*
|
|
61
|
+
* To edit any existing viewsheds interactively, set the
|
|
62
|
+
* [ViewshedAnalysisView3D.interactive](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ViewshedAnalysisView3D/#interactive) property to `true` and
|
|
63
|
+
* select a viewshed by clicking on its observer. Manipulators for editing the observer's position
|
|
64
|
+
* and other parameters of the viewshed will then be displayed.
|
|
62
65
|
*
|
|
63
66
|
* ```js
|
|
64
67
|
* // allow existing viewsheds in the analysis to be selected and edited
|
|
65
68
|
* analysisView.interactive = true;
|
|
66
69
|
* ```
|
|
67
70
|
*
|
|
68
|
-
*
|
|
71
|
+
* The viewshed analysis can be persisted in a [WebScene](https://developers.arcgis.com/javascript/latest/references/core/WebScene/) as part of a [ViewshedLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ViewshedLayer/):
|
|
72
|
+
*
|
|
73
|
+
* ```js
|
|
74
|
+
* // create viewshed layer containing the analysis
|
|
75
|
+
* const viewshedLayer = new ViewshedLayer({
|
|
76
|
+
* source: analysis
|
|
77
|
+
* });
|
|
78
|
+
*
|
|
79
|
+
* // add the layer to the map
|
|
80
|
+
* view.map.add(viewshedLayer);
|
|
81
|
+
* ```
|
|
69
82
|
*
|
|
70
83
|
* > [!WARNING]
|
|
71
84
|
* >
|
|
72
|
-
* > **
|
|
73
|
-
* >
|
|
74
|
-
* >
|
|
75
|
-
* >
|
|
85
|
+
* > **Things to consider:**
|
|
86
|
+
* > * This analysis is only supported in a 3D [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
87
|
+
* > * The results of the tool vary depending on the zoom level, as changes in zoom level affect the level of detail (LOD) of the scene geometry.
|
|
88
|
+
* > * Snapping, tooltips, display units, and input units used during interactive placement and editing are inherited from
|
|
89
|
+
* [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/).
|
|
90
|
+
* > * Snapping is enabled by default. This can be temporarily disabled by holding the `CTRL` key.
|
|
91
|
+
* > * Layer types currently supported for snapping are: [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/), [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/) (except Mesh geometries),
|
|
92
|
+
* > [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/), [WFSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WFSLayer/), [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/),
|
|
93
|
+
* > [3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/), and [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
|
|
76
94
|
*
|
|
77
95
|
* @since 4.30
|
|
78
96
|
* @see [ViewshedAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ViewshedAnalysisView3D/)
|
|
79
97
|
* @see [Viewshed](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/)
|
|
80
98
|
* @see [ViewshedLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ViewshedLayer/)
|
|
81
99
|
* @see [ViewshedLayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/ViewshedLayerView/)
|
|
100
|
+
* @see [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/)
|
|
82
101
|
* @see [Sample - Interactive viewshed analysis](https://developers.arcgis.com/javascript/latest/sample-code/analysis-viewshed/)
|
|
83
102
|
* @see [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
84
103
|
* @see [3D viewshed overview](https://developers.arcgis.com/documentation/spatial-analysis-services/3d-visual/3d-viewshed/)
|
|
@@ -89,8 +108,9 @@ export default class ViewshedAnalysis extends Analysis {
|
|
|
89
108
|
get type(): "viewshed";
|
|
90
109
|
/**
|
|
91
110
|
* Indicates whether the analysis is ready to be computed and interacted with in the view.
|
|
92
|
-
* It requires each of the [viewsheds](https://developers.arcgis.com/javascript/latest/references/core/analysis/ViewshedAnalysis/#viewsheds) to be valid, that is,
|
|
93
|
-
*
|
|
111
|
+
* It requires each of the [viewsheds](https://developers.arcgis.com/javascript/latest/references/core/analysis/ViewshedAnalysis/#viewsheds) to be valid, that is,
|
|
112
|
+
* the [Viewshed.observer](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/#observer) needs to be set and the [Viewshed.farDistance](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/#farDistance) to be
|
|
113
|
+
* greater than 0. If the analysis has no viewshed, it is considered valid.
|
|
94
114
|
*
|
|
95
115
|
* @since 4.33
|
|
96
116
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{open as e}from"../../core/workers
|
|
2
|
+
import{open as e}from"../../core/workers.js";let t,n=!1,r;function i(){return t??=e(`arcadeGeometryOperatorsWorker`).then(e=>{r=e,n=!0,t=void 0})}async function a(e,t){return n?r.apply(`invokeGeometryOp`,[e,t]):(await i(),a(e,t))}export{a as invokeRemoteGeometryOp};
|