@arcgis/core 5.1.0-next.104 → 5.1.0-next.106
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/AreaMeasurementAnalysis.d.ts +5 -5
- package/analysis/DimensionAnalysis.d.ts +3 -3
- package/analysis/DimensionSimpleStyle.d.ts +2 -2
- package/analysis/DirectLineMeasurementAnalysis.d.ts +4 -4
- package/analysis/DistanceMeasurementAnalysis.d.ts +4 -4
- package/analysis/ElevationProfileAnalysis.d.ts +3 -3
- package/analysis/LengthDimension.d.ts +2 -2
- package/analysis/LineOfSightAnalysis.d.ts +4 -4
- package/analysis/ShadowCast/DiscreteOptions.d.ts +7 -3
- package/analysis/ShadowCast/MinDurationOptions.d.ts +5 -1
- package/analysis/ShadowCast/TotalDurationOptions.d.ts +7 -3
- package/analysis/ShadowCast/types.d.ts +1 -1
- package/analysis/ShadowCastAnalysis.d.ts +90 -66
- package/analysis/SliceAnalysis.d.ts +4 -4
- package/analysis/SlicePlane.d.ts +3 -3
- package/analysis/Viewshed.d.ts +2 -2
- package/analysis/ViewshedAnalysis.d.ts +3 -3
- package/analysis/VolumeMeasurement/VolumeMeasurementCutFillOptions.d.ts +1 -1
- package/analysis/VolumeMeasurementAnalysis.d.ts +3 -3
- package/applications/Components/imageryUtils.d.ts +24 -0
- package/applications/Components/layerUtils.d.ts +21 -0
- package/applications/Components/layerUtils.js +2 -0
- package/applications/Components/templateUtils.d.ts +11 -1
- package/applications/Components/templateUtils.js +1 -1
- package/arcgisGlobal.d.ts +1 -0
- package/assets/components/assets/icon/buttons16.json +1 -0
- package/assets/components/assets/icon/buttons24.json +1 -0
- package/assets/components/assets/icon/buttons32.json +1 -0
- package/assets/components/assets/icon/entityTypes16.json +1 -0
- package/assets/components/assets/icon/entityTypes24.json +1 -0
- package/assets/components/assets/icon/entityTypes32.json +1 -0
- package/assets/esri/core/t9n/Units.json +1 -1
- package/assets/esri/core/t9n/Units_ar.json +1 -1
- package/assets/esri/core/t9n/Units_bg.json +1 -1
- package/assets/esri/core/t9n/Units_bs.json +1 -1
- package/assets/esri/core/t9n/Units_ca.json +1 -1
- package/assets/esri/core/t9n/Units_cs.json +1 -1
- package/assets/esri/core/t9n/Units_da.json +1 -1
- package/assets/esri/core/t9n/Units_de.json +1 -1
- package/assets/esri/core/t9n/Units_el.json +1 -1
- package/assets/esri/core/t9n/Units_en.json +1 -1
- package/assets/esri/core/t9n/Units_es.json +1 -1
- package/assets/esri/core/t9n/Units_et.json +1 -1
- package/assets/esri/core/t9n/Units_fi.json +1 -1
- package/assets/esri/core/t9n/Units_fr.json +1 -1
- package/assets/esri/core/t9n/Units_he.json +1 -1
- package/assets/esri/core/t9n/Units_hr.json +1 -1
- package/assets/esri/core/t9n/Units_hu.json +1 -1
- package/assets/esri/core/t9n/Units_id.json +1 -1
- package/assets/esri/core/t9n/Units_it.json +1 -1
- package/assets/esri/core/t9n/Units_ja.json +1 -1
- package/assets/esri/core/t9n/Units_ko.json +1 -1
- package/assets/esri/core/t9n/Units_lt.json +1 -1
- package/assets/esri/core/t9n/Units_lv.json +1 -1
- package/assets/esri/core/t9n/Units_nl.json +1 -1
- package/assets/esri/core/t9n/Units_no.json +1 -1
- package/assets/esri/core/t9n/Units_pl.json +1 -1
- package/assets/esri/core/t9n/Units_pt-BR.json +1 -1
- package/assets/esri/core/t9n/Units_pt-PT.json +1 -1
- package/assets/esri/core/t9n/Units_ro.json +1 -1
- package/assets/esri/core/t9n/Units_ru.json +1 -1
- package/assets/esri/core/t9n/Units_sk.json +1 -1
- package/assets/esri/core/t9n/Units_sl.json +1 -1
- package/assets/esri/core/t9n/Units_sr.json +1 -1
- package/assets/esri/core/t9n/Units_sv.json +1 -1
- package/assets/esri/core/t9n/Units_th.json +1 -1
- package/assets/esri/core/t9n/Units_tr.json +1 -1
- package/assets/esri/core/t9n/Units_uk.json +1 -1
- package/assets/esri/core/t9n/Units_vi.json +1 -1
- package/assets/esri/core/t9n/Units_zh-CN.json +1 -1
- package/assets/esri/core/t9n/Units_zh-HK.json +1 -1
- package/assets/esri/core/t9n/Units_zh-TW.json +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/01c70c27aa3a955e2928.js +262 -0
- package/assets/esri/core/workers/chunks/{7d571845292b1b7769c2.js → 065dd2fdc834146423c7.js} +1 -1
- package/assets/esri/core/workers/chunks/{f5bd0a4f82df5e942b70.js → 093f27e4e4781870b431.js} +1 -1
- package/assets/esri/core/workers/chunks/{2a5f6a8d282f2c391591.js → 15920af0c4f46773b06e.js} +1 -1
- package/assets/esri/core/workers/chunks/179c9fe4ac83b42e5976.js +1 -0
- package/assets/esri/core/workers/chunks/1d1929f98d941179be29.js +2 -0
- package/assets/esri/core/workers/chunks/{24247ee93f43fff5e596.js.LICENSE.txt → 1d1929f98d941179be29.js.LICENSE.txt} +1 -3
- package/assets/esri/core/workers/chunks/1ebb613bbe09fcf274d8.js +1 -0
- package/assets/esri/core/workers/chunks/24b43fb12fc3009fdc30.js +1 -0
- package/assets/esri/core/workers/chunks/2b9661700743d1f9717e.js +1 -0
- package/assets/esri/core/workers/chunks/2f0a3b22fc46d832e240.js +1 -0
- package/assets/esri/core/workers/chunks/340f2c996f62f7f5ceae.js +1 -0
- package/assets/esri/core/workers/chunks/466c250537415f12eb59.js +1 -0
- package/assets/esri/core/workers/chunks/549d348ca181d06aefb7.js +2 -0
- package/assets/esri/core/workers/chunks/{0cb8bc6dbbbe3b212712.js → 558606a1af22e4a0d536.js} +1 -1
- package/assets/esri/core/workers/chunks/{7485d59d60d61737d662.js → 55b765c72d13b3b911f9.js} +1 -1
- package/assets/esri/core/workers/chunks/5cdf87e7a59ace38df87.js +1 -0
- package/assets/esri/core/workers/chunks/622bdd1b9d5d292ec12b.js +1 -0
- package/assets/esri/core/workers/chunks/{bff0c4094c14cb97b18f.js → 63ea4191d441efd2f146.js} +1 -1
- package/assets/esri/core/workers/chunks/69c9eb93553b006b640d.js +2 -0
- package/assets/esri/core/workers/chunks/6d20d741b8ae1a45b422.js +1 -0
- package/assets/esri/core/workers/chunks/{b63cbf6c2c9ec1b02b9a.js → 6e21675bbd7a44070771.js} +1 -1
- package/assets/esri/core/workers/chunks/702a3ef9e1b3442cbee7.js +1 -0
- package/assets/esri/core/workers/chunks/762e23466308f22d7076.js +1 -0
- package/assets/esri/core/workers/chunks/{52219561c144e5cb4442.js → 770611659b38066a6228.js} +1 -1
- package/assets/esri/core/workers/chunks/{c476f4979048e558baa7.js → 7ce60331f94ee0a5d674.js} +57 -75
- package/assets/esri/core/workers/chunks/7e02e5c6979090fe3ea7.js +1 -0
- package/assets/esri/core/workers/chunks/825db2ea15308ee6e5dc.js +1 -0
- package/assets/esri/core/workers/chunks/{bf2c202dec5ab7bc770b.js → 829a0583b8a228c65379.js} +1 -1
- package/assets/esri/core/workers/chunks/8330302096d4312a4393.js +1 -0
- package/assets/esri/core/workers/chunks/885eac78a76184efa1e5.js +1 -0
- package/assets/esri/core/workers/chunks/{79dc7045d9a2d43ba8df.js → 890b7a1153b7f65eba9a.js} +1 -1
- package/assets/esri/core/workers/chunks/8a1751187a20b6578875.js +1 -0
- package/assets/esri/core/workers/chunks/{d610f517fb3c6cb24365.js → 8ade869fa9bae446266a.js} +1 -1
- package/assets/esri/core/workers/chunks/{44636ef119c6a576470b.js → 94eab215bab3e4e0e5b5.js} +1 -1
- package/assets/esri/core/workers/chunks/95dee5853c6e89f15ea9.js +1 -0
- package/assets/esri/core/workers/chunks/a5b9ae4c93f9af7589f2.js +1 -0
- package/assets/esri/core/workers/chunks/{95798e3de3419fdda6ac.js → a8ae00e06f98e04aee8e.js} +1 -1
- package/assets/esri/core/workers/chunks/aaad0d3e82ed917d3886.js +1 -0
- package/assets/esri/core/workers/chunks/b3e8ab68fc38306f13c6.js +1 -0
- package/assets/esri/core/workers/chunks/b7a81fd4994eabba1869.js +640 -0
- package/assets/esri/core/workers/chunks/{9542ef3f6c2bc7c14d85.js → b9850fe7dcdaed0c327c.js} +1 -1
- package/assets/esri/core/workers/chunks/{f7e386ece75afb6e4be5.js → bc249bb667f0564ad093.js} +1 -1
- package/assets/esri/core/workers/chunks/bd59cb5abc67e46f1b2c.js +2 -0
- package/assets/esri/core/workers/chunks/{f3a9100518b044e79501.js → be817be7c81fb630122f.js} +1 -1
- package/assets/esri/core/workers/chunks/{3c9482764c9e4f8bcbb0.js → c187bc997bad61b6c6e9.js} +1 -1
- package/assets/esri/core/workers/chunks/c4872cf3b71d00f450e1.js +1 -0
- package/assets/esri/core/workers/chunks/c5ab346a226df1894302.js +1 -0
- package/assets/esri/core/workers/chunks/{ce0c7070eeb723a718e7.js → d859c046a3ea42530bff.js} +1 -1
- package/assets/esri/core/workers/chunks/da29cf0e64065631a470.js +1 -0
- package/assets/esri/core/workers/chunks/{bb04aff0b4947408592c.js → dcba6c766eee8b90381a.js} +1 -1
- package/assets/esri/core/workers/chunks/ddebc1dc10a2d207389f.js +1 -0
- package/assets/esri/core/workers/chunks/e393fd61deb2e7f22ee6.js +1 -0
- package/assets/esri/core/workers/chunks/ea2bf7c543cc536400b7.js +30 -0
- package/assets/esri/core/workers/chunks/ece30bfd5c49b8d99752.js +1 -0
- package/assets/esri/core/workers/chunks/ecf4d07917efc97eb991.js +1 -0
- package/assets/esri/core/workers/chunks/ee56290e600cbeb25a00.js +1 -0
- package/assets/esri/core/workers/chunks/f52c6efc5a2abf5ac845.js +1 -0
- package/assets/esri/core/workers/chunks/{5cffc7b49966201eccdb.js → f75295cdd5e84eb97d5a.js} +1 -1
- package/assets/esri/core/workers/chunks/f7fe17a22390a24d6df8.js +2 -0
- package/assets/esri/core/workers/chunks/f9324420f2c6ac240f63.js +1 -0
- package/assets/esri/core/workers/chunks/{855bf811cd79b97c169a.js → fae2c8f053927559fff0.js} +1 -1
- package/assets/esri/core/workers/chunks/{64e268ebac0b62076f81.js → fbb23db01f3cf629d32e.js} +1 -1
- package/assets/esri/core/workers/chunks/fc1fe1f58a65a1694c09.js +1 -0
- package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +84 -1
- 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/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_en.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_en.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_cs.json +1 -1
- package/chunks/ChapmanAtmosphere.glsl.js +14 -19
- package/chunks/ComponentShader.glsl.js +11 -15
- package/chunks/Compositing.glsl.js +4 -4
- package/chunks/GaussianSplatShadow.glsl.js +7 -7
- package/chunks/GlobalIllumination.glsl.js +27 -50
- package/chunks/GlobalIlluminationBlur.glsl.js +16 -11
- package/chunks/Terrain.glsl.js +1 -1
- package/config.js +1 -1
- package/core/ReactiveSet.js +1 -1
- package/core/generatorUtils.js +2 -0
- package/core/libs/gl-matrix-2/factories/vec2f64.js +1 -1
- package/core/libs/gl-matrix-2/math/vec2.js +1 -1
- package/core/mathUtils.js +1 -1
- package/core/typedArrayUtil.js +1 -1
- package/geometry/HeightModelInfo.js +1 -1
- package/geometry/geometryEngine.d.ts +2 -2
- package/geometry/support/buffer/BufferView.js +1 -1
- package/geometry/support/vcsData.js +1 -1
- package/geometry/support/vcsLookup.js +1 -1
- package/kernel.js +1 -1
- package/layers/DimensionLayer.d.ts +5 -5
- package/layers/FeatureLayer.d.ts +2 -2
- package/layers/GaussianSplatLayer.d.ts +3 -3
- package/layers/LineOfSightLayer.d.ts +5 -5
- package/layers/ParquetLayer.d.ts +6 -4
- package/layers/SubtypeGroupLayer.d.ts +2 -2
- package/layers/VideoLayer.js +1 -1
- package/layers/ViewshedLayer.d.ts +3 -3
- package/layers/graphics/sources/ParquetSource.js +1 -1
- package/layers/graphics/sources/parquet/FileProvider.js +2 -0
- package/layers/graphics/sources/parquet/PortalParquetFileProvider.js +2 -0
- package/layers/graphics/sources/parquet/PortalParquetLayerFileProvider.js +2 -0
- package/layers/graphics/sources/parquet/UrlsFileProvider.js +2 -0
- package/layers/graphics/sources/parquet/createFileProvider.js +2 -0
- package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphLayerDataManager.js +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -2
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
- package/layers/knowledgeGraph/layerUtils.js +1 -1
- package/layers/orientedImagery/core/utils.js +1 -1
- package/layers/raster/datasets/ImageAuxRaster.js +1 -1
- package/layers/raster/datasets/pixelReader.js +1 -1
- package/layers/raster/formats/JpgPlus.js +1 -1
- package/layers/raster/formats/RasterCodec.js +1 -1
- package/layers/raster/functions/clipUtils.js +1 -1
- package/layers/support/AggregateField.d.ts +2 -1
- package/layers/support/LayerContingentValuesCache.js +1 -1
- package/layers/support/SubtypeSublayer.d.ts +4 -4
- package/layers/support/parquetUtils.d.ts +18 -7
- package/layers/support/parquetUtils.js +1 -1
- package/layers/support/rasterFunctionUtils.d.ts +2 -2
- package/layers/video/VideoController.js +1 -1
- package/libs/parquet/parquet.js +1 -1
- package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
- package/networks/CircuitManager.d.ts +3 -3
- package/networks/UnitIdentifierManager.d.ts +1 -1
- package/networks/UnitIdentifierManager.js +1 -1
- package/networks/UtilityNetwork.d.ts +2 -2
- package/networks/UtilityNetwork.js +1 -1
- package/networks/support/Circuit.d.ts +1 -1
- package/networks/support/CircuitLocation.d.ts +1 -1
- package/networks/support/CircuitSection.d.ts +1 -1
- package/networks/support/Subcircuit.d.ts +1 -1
- package/networks/support/TraceJobInfo.js +1 -1
- package/networks/support/jsonTypes.d.ts +10 -3
- package/package.json +3 -3
- package/popup/FieldInfo.d.ts +4 -2
- package/popup/support/FieldInfoFormat.d.ts +3 -2
- package/rest/featureService/FeatureService.d.ts +1 -1
- package/rest/knowledgeGraph/FieldIndex.d.ts +1 -1
- package/rest/knowledgeGraph/GraphObjectType.d.ts +2 -2
- package/rest/knowledgeGraph/GraphSearch.d.ts +1 -1
- package/rest/knowledgeGraph/GraphSearchStreaming.d.ts +1 -1
- package/rest/networks/circuits/support/ExportCircuitsParameters.d.ts +19 -1
- package/rest/networks/circuits/support/ExportCircuitsResult.js +1 -1
- package/rest/networks/circuits/support/VerifyCircuitsParameters.d.ts +18 -10
- package/rest/networks/circuits/support/VerifyCircuitsParameters.js +1 -1
- package/rest/networks/support/TraceParameters.js +1 -1
- package/rest/networks/support/TraceResult.js +1 -1
- package/rest/networks/trace.js +1 -1
- package/rest/networks/unitIdentifiers/support/QueryUnitIdentifiersParameters.js +1 -1
- package/rest/support/AreasAndLengthsParameters.d.ts +1 -1
- package/rest/support/GeneralizeParameters.d.ts +1 -1
- package/rest/support/Query.d.ts +1 -1
- package/rest/support/RelationParameters.d.ts +1 -1
- package/rest/support/types.d.ts +1 -1
- package/support/revision.js +1 -1
- package/symbols/CIMSymbol.d.ts +1 -1
- package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +1 -0
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/ParquetLayerAdapter.js +1 -1
- package/views/2d/layers/features/sources/strategies/ParquetSnapshotLoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/ParquetTileLoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/chunks/ParquetSnapshotSourceChunk.js +1 -1
- package/views/2d/layers/features/sources/strategies/chunks/ParquetSourceChunk.js +1 -1
- package/views/3d/analysis/AreaMeasurementAnalysisView3D.d.ts +1 -0
- package/views/3d/analysis/DimensionAnalysisView3D.d.ts +7 -6
- package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.d.ts +2 -0
- package/views/3d/analysis/LineOfSightAnalysisView3D.d.ts +2 -1
- package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +14 -6
- package/views/3d/analysis/SliceAnalysisView3D.d.ts +4 -3
- package/views/3d/analysis/Viewshed/ViewshedDrawToolRenderer.js +2 -0
- package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedInteractionVisuals.js +2 -0
- package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +2 -0
- package/views/3d/analysis/Viewshed/ViewshedPlacementOperation.js +2 -0
- package/views/3d/analysis/Viewshed/ViewshedPlacementPointPlugin.js +2 -0
- package/views/3d/analysis/Viewshed/ViewshedPlacementRootPlugin.js +2 -0
- package/views/3d/analysis/Viewshed/ViewshedSnappingController.js +2 -0
- package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedTool2.js +1 -1
- package/views/3d/analysis/Viewshed/analysisViewRegister.js +1 -1
- package/views/3d/analysis/Viewshed/placementUtils.js +2 -0
- package/views/3d/analysis/Viewshed/toolLifecycleUtils.js +2 -0
- package/views/3d/analysis/Viewshed/viewshedSubToolUtils.js +1 -1
- package/views/3d/analysis/Viewshed/viewshedToolUtils.js +1 -1
- package/views/3d/analysis/ViewshedAnalysisView3D.d.ts +4 -3
- package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementShiftTool.js +1 -1
- package/views/3d/layers/FlowSubView3D.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
- package/views/3d/layers/graphics/polygonUtils.js +1 -1
- package/views/3d/layers/support/UVWorkspace.js +2 -0
- package/views/3d/layers/support/patternUtils.js +1 -1
- package/views/3d/layers/support/uvUtils.js +1 -1
- package/views/3d/support/flow/FlowSubViewTiles3D.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatIntersectionHandler.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatTextureAtlas.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianTile.js +1 -1
- package/views/3d/support/meshProcessing.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/terrain/TileCompositor.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBuffer.glsl.js +8 -8
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +13 -9
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +63 -49
- package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphere.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphere.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphereTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/blit/Blit.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/CloudsComposition.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationBlur.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/lib/AttributeArray.js +1 -1
- package/views/3d/webgl-engine/lib/Compositor.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/Geometry.js +1 -1
- package/views/3d/webgl-engine/lib/PathBuilder.js +1 -1
- package/views/3d/webgl-engine/lib/PathCapBuilder.js +1 -1
- package/views/3d/webgl-engine/lib/PathExtruder.js +1 -1
- package/views/3d/webgl-engine/lib/PathGeometry.js +1 -1
- package/views/3d/webgl-engine/lib/PathGeometryData.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/RenderingContext.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
- package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFieldCreation.js +1 -1
- package/views/3d/webgl-engine/materials/PathLayouts.js +2 -0
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/VaoRenderer.js +1 -1
- package/views/3d/webgl-engine/parts/RenderView.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/CompositingTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/CompositingTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/LineMarkerTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/NativeLineTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/PatternTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js +2 -3
- package/views/3d/webgl-engine/shaders/TerrainTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ditherNoise.glsl.js +1 -1
- package/views/PopupView.d.ts +77 -1
- package/views/PopupView.js +1 -1
- package/views/layers/DimensionLayerView.d.ts +2 -1
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/views/layers/LineOfSightLayerView.d.ts +2 -1
- package/views/layers/ViewshedLayerView.d.ts +2 -1
- package/webscene/Slide.js +1 -1
- package/widgets/Attachments/types.d.ts +1 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +38 -5
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
- package/widgets/BatchAttributeForm/ReactiveContingentValuesManager.js +2 -0
- package/widgets/BatchAttributeForm/ReactiveGraphic.js +1 -1
- package/widgets/BatchAttributeForm/attachmentUtils.js +1 -1
- package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
- package/widgets/BatchAttributeForm/css.js +1 -1
- package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +11 -0
- package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +77 -0
- package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/UtilityNetworkAssociationsElementInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
- package/widgets/BatchAttributeForm/interfaceUtils.js +2 -0
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm/types.d.ts +30 -2
- package/widgets/BatchAttributeForm.d.ts +52 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
- package/widgets/Editor.d.ts +1 -1
- package/widgets/FeatureTable/FieldColumn.js +1 -1
- package/widgets/FeatureTable/support/FeatureStore.js +1 -1
- package/widgets/LayerList/LayerListItem.js +1 -1
- package/widgets/OrientedImageryViewer/components/VideoEnhancementTools.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/TableList/TableListViewModel.js +1 -1
- package/widgets/TimeSlider.d.ts +3 -3
- package/widgets/Track/TrackViewModel.d.ts +1 -0
- package/widgets/Track/TrackViewModel.js +1 -1
- package/widgets/Track.js +1 -1
- package/widgets/VideoPlayer/VideoPlayerViewModel.d.ts +10 -0
- package/widgets/VideoPlayer/VideoPlayerViewModel.js +1 -1
- package/widgets/support/ContingentValuesManager.js +1 -1
- package/widgets/support/GeolocationPositioning.d.ts +1 -0
- package/widgets/support/GeolocationPositioning.js +1 -1
- package/widgets/support/forms/formUtils.js +1 -1
- package/assets/esri/core/workers/chunks/037b36d415ae27e987f9.js +0 -1
- package/assets/esri/core/workers/chunks/11b0d3a825fe50dd1e84.js +0 -1
- package/assets/esri/core/workers/chunks/1a3426276dc82a8a80f2.js +0 -1
- package/assets/esri/core/workers/chunks/1c83e61fd9a4f8fc8372.js +0 -1
- package/assets/esri/core/workers/chunks/1cb0c4fc315bbc2bd00b.js +0 -1
- package/assets/esri/core/workers/chunks/24247ee93f43fff5e596.js +0 -2
- package/assets/esri/core/workers/chunks/276cb6a1cdd26d0e1444.js +0 -1
- package/assets/esri/core/workers/chunks/29b00d07d3e1d095c590.js +0 -2
- package/assets/esri/core/workers/chunks/2f903bd3a2611e7f0946.js +0 -30
- package/assets/esri/core/workers/chunks/2fda38219d778f0447b5.js +0 -1
- package/assets/esri/core/workers/chunks/35fdd62277fd06468a29.js +0 -2
- package/assets/esri/core/workers/chunks/38d7430d2370b69334d7.js +0 -1
- package/assets/esri/core/workers/chunks/39d6032d79720935910d.js +0 -1
- package/assets/esri/core/workers/chunks/40caf5e09e4382d81104.js +0 -640
- package/assets/esri/core/workers/chunks/4213aa844900fcf95287.js +0 -1
- package/assets/esri/core/workers/chunks/594e1f633527749d92d7.js +0 -1
- package/assets/esri/core/workers/chunks/5dafd35801dca4229aed.js +0 -1
- package/assets/esri/core/workers/chunks/642be1619c0e76355cb6.js +0 -1
- package/assets/esri/core/workers/chunks/6d66dc77af8d112c33c6.js +0 -1
- package/assets/esri/core/workers/chunks/7b3642195d6d3ea9b830.js +0 -1
- package/assets/esri/core/workers/chunks/7e57029ec958f6423d5d.js +0 -2
- package/assets/esri/core/workers/chunks/8042e001545e2782499c.js +0 -1
- package/assets/esri/core/workers/chunks/881234f25c7814de8753.js +0 -1
- package/assets/esri/core/workers/chunks/8a7682071941c35f05c1.js +0 -1
- package/assets/esri/core/workers/chunks/8e986167d4a393ee41ea.js +0 -1
- package/assets/esri/core/workers/chunks/8fdd57e2a0af647f1e3e.js +0 -1
- package/assets/esri/core/workers/chunks/90ea570f6b6ce8ca693b.js +0 -1
- package/assets/esri/core/workers/chunks/9373daa677dc767d7cf0.js +0 -1
- package/assets/esri/core/workers/chunks/95df6d2ebacc43ac5fa3.js +0 -1
- package/assets/esri/core/workers/chunks/a02ebdcb802d128c8eee.js +0 -1
- package/assets/esri/core/workers/chunks/adf72d87f0114aeade0e.js +0 -1
- package/assets/esri/core/workers/chunks/b1a21a4d7d73ad7d0e47.js +0 -1
- package/assets/esri/core/workers/chunks/b75e090a7e935ff870a3.js +0 -1
- package/assets/esri/core/workers/chunks/bacf0c9d5d3e084dea61.js +0 -1
- package/assets/esri/core/workers/chunks/c0e4fd6fa1d765275248.js +0 -2
- package/assets/esri/core/workers/chunks/cc8d55d1830d7542c3f5.js +0 -262
- package/assets/esri/core/workers/chunks/cf3c0bee919bb509cd4f.js +0 -1
- package/assets/esri/core/workers/chunks/cfaa6e205bfc0c94a1b1.js +0 -1
- package/assets/esri/core/workers/chunks/dcb7a3ff59677b1cf0f1.js +0 -1
- package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphereTechniqueConfiguration.js +0 -2
- /package/assets/esri/core/workers/chunks/{7e57029ec958f6423d5d.js.LICENSE.txt → 549d348ca181d06aefb7.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{29b00d07d3e1d095c590.js.LICENSE.txt → 69c9eb93553b006b640d.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{35fdd62277fd06468a29.js.LICENSE.txt → bd59cb5abc67e46f1b2c.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{c0e4fd6fa1d765275248.js.LICENSE.txt → f7fe17a22390a24d6df8.js.LICENSE.txt} +0 -0
|
@@ -13,7 +13,7 @@ export interface AreaMeasurementAnalysisProperties extends AnalysisProperties, P
|
|
|
13
13
|
*
|
|
14
14
|
* > [!WARNING]
|
|
15
15
|
* >
|
|
16
|
-
* > **Known
|
|
16
|
+
* > **Known Limitations**
|
|
17
17
|
* >
|
|
18
18
|
* > For polygons with multiple rings, only the measurement of the first [ring](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polygon/#rings) will be displayed.
|
|
19
19
|
*/
|
|
@@ -32,15 +32,15 @@ export interface AreaMeasurementAnalysisProperties extends AnalysisProperties, P
|
|
|
32
32
|
*
|
|
33
33
|
* ```js
|
|
34
34
|
* // create analysis
|
|
35
|
-
* const
|
|
35
|
+
* const analysis = new AreaMeasurementAnalysis({
|
|
36
36
|
* geometry: new Polygon({ })
|
|
37
37
|
* });
|
|
38
38
|
*
|
|
39
39
|
* // add to a view
|
|
40
|
-
* view.analyses.add(
|
|
40
|
+
* view.analyses.add(analysis);
|
|
41
41
|
*
|
|
42
42
|
* // retrieve measured results from analysis view once available
|
|
43
|
-
* const analysisView = await view.whenAnalysisView(
|
|
43
|
+
* const analysisView = await view.whenAnalysisView(analysis);
|
|
44
44
|
* await reactiveUtils.whenOnce(() => analysisView.result);
|
|
45
45
|
*
|
|
46
46
|
* const result = analysisView.result;
|
|
@@ -108,7 +108,7 @@ export default class AreaMeasurementAnalysis extends Analysis {
|
|
|
108
108
|
*
|
|
109
109
|
* > [!WARNING]
|
|
110
110
|
* >
|
|
111
|
-
* > **Known
|
|
111
|
+
* > **Known Limitations**
|
|
112
112
|
* >
|
|
113
113
|
* > For polygons with multiple rings, only the measurement of the first [ring](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polygon/#rings) will be displayed.
|
|
114
114
|
*/
|
|
@@ -24,7 +24,7 @@ export interface DimensionAnalysisProperties extends AnalysisProperties {
|
|
|
24
24
|
*
|
|
25
25
|
* ```js
|
|
26
26
|
* // create analysis with dimensions
|
|
27
|
-
* const
|
|
27
|
+
* const analysis = new DimensionAnalysis({
|
|
28
28
|
* dimensions: [
|
|
29
29
|
* new LengthDimension({
|
|
30
30
|
* startPoint: new Point({ }),
|
|
@@ -37,14 +37,14 @@ export interface DimensionAnalysisProperties extends AnalysisProperties {
|
|
|
37
37
|
* });
|
|
38
38
|
*
|
|
39
39
|
* // add the analysis to the view
|
|
40
|
-
* view.analyses.add(
|
|
40
|
+
* view.analyses.add(analysis);
|
|
41
41
|
* ```
|
|
42
42
|
*
|
|
43
43
|
* Use the [DimensionAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/DimensionAnalysisView3D/) to retrieve the analysis results.
|
|
44
44
|
*
|
|
45
45
|
* ```js
|
|
46
46
|
* // retrieve measured results from the analysis view
|
|
47
|
-
* const analysisView = await view.whenAnalysisView(
|
|
47
|
+
* const analysisView = await view.whenAnalysisView(analysis);
|
|
48
48
|
* const results = analysisView.results;
|
|
49
49
|
* ```
|
|
50
50
|
*
|
|
@@ -47,7 +47,7 @@ export interface DimensionSimpleStyleProperties {
|
|
|
47
47
|
*
|
|
48
48
|
* ```js
|
|
49
49
|
* // create analysis with dimensions
|
|
50
|
-
* const
|
|
50
|
+
* const analysis = new DimensionAnalysis({
|
|
51
51
|
* dimensions: [
|
|
52
52
|
* new LengthDimension({
|
|
53
53
|
* startPoint: new Point({ }),
|
|
@@ -63,7 +63,7 @@ export interface DimensionSimpleStyleProperties {
|
|
|
63
63
|
* }),
|
|
64
64
|
* });
|
|
65
65
|
* // add the analysis to the view
|
|
66
|
-
* view.analyses.add(
|
|
66
|
+
* view.analyses.add(analysis);
|
|
67
67
|
* ```
|
|
68
68
|
*
|
|
69
69
|
* @since 4.25
|
|
@@ -33,17 +33,17 @@ export interface DirectLineMeasurementAnalysisProperties extends AnalysisPropert
|
|
|
33
33
|
*
|
|
34
34
|
* ```js
|
|
35
35
|
* // create analysis
|
|
36
|
-
* const
|
|
36
|
+
* const analysis = new DirectLineMeasurementAnalysis({
|
|
37
37
|
* startPoint: new Point({ }),
|
|
38
38
|
* endPoint: new Point({ }),
|
|
39
39
|
* unit: "imperial"
|
|
40
40
|
* });
|
|
41
41
|
*
|
|
42
42
|
* // add to the scene view
|
|
43
|
-
* view.analyses.add(
|
|
43
|
+
* view.analyses.add(analysis);
|
|
44
44
|
*
|
|
45
45
|
* // retrieve measured results from analysis view once available
|
|
46
|
-
* const analysisView = await view.whenAnalysisView(
|
|
46
|
+
* const analysisView = await view.whenAnalysisView(analysis);
|
|
47
47
|
* await reactiveUtils.whenOnce(() => analysisView.result);
|
|
48
48
|
*
|
|
49
49
|
* const result = analysisView.result;
|
|
@@ -89,7 +89,7 @@ export interface DirectLineMeasurementAnalysisProperties extends AnalysisPropert
|
|
|
89
89
|
*
|
|
90
90
|
* > [!WARNING]
|
|
91
91
|
* >
|
|
92
|
-
* > **Known
|
|
92
|
+
* > **Known Limitations**
|
|
93
93
|
* >
|
|
94
94
|
* > This analysis is only supported in a 3D [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
95
95
|
*
|
|
@@ -32,15 +32,15 @@ export interface DistanceMeasurementAnalysisProperties extends AnalysisPropertie
|
|
|
32
32
|
*
|
|
33
33
|
* ```js
|
|
34
34
|
* // create analysis
|
|
35
|
-
* const
|
|
35
|
+
* const analysis = new DistanceMeasurementAnalysis({
|
|
36
36
|
* geometry: new Polyline({ })
|
|
37
37
|
* });
|
|
38
38
|
*
|
|
39
39
|
* // add to map view
|
|
40
|
-
* view.analyses.add(
|
|
40
|
+
* view.analyses.add(analysis);
|
|
41
41
|
*
|
|
42
42
|
* // retrieve measured results from analysis view once available
|
|
43
|
-
* const analysisView = await view.whenAnalysisView(
|
|
43
|
+
* const analysisView = await view.whenAnalysisView(analysis);
|
|
44
44
|
* await reactiveUtils.whenOnce(() => analysisView.result);
|
|
45
45
|
*
|
|
46
46
|
* const result = analysisView.result;
|
|
@@ -65,7 +65,7 @@ export interface DistanceMeasurementAnalysisProperties extends AnalysisPropertie
|
|
|
65
65
|
* ```
|
|
66
66
|
* > [!WARNING]
|
|
67
67
|
* >
|
|
68
|
-
* > **Known
|
|
68
|
+
* > **Known Limitations**
|
|
69
69
|
* >
|
|
70
70
|
* > This analysis is only supported in a 2D [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/).
|
|
71
71
|
*
|
|
@@ -68,7 +68,7 @@ export interface ElevationProfileAnalysisProperties extends AnalysisProperties {
|
|
|
68
68
|
* To add an elevation profile analysis to a view:
|
|
69
69
|
*
|
|
70
70
|
* ```js
|
|
71
|
-
* const
|
|
71
|
+
* const analysis = new ElevationProfileAnalysis({
|
|
72
72
|
* profiles: [
|
|
73
73
|
* // Profile line that samples the ground elevation
|
|
74
74
|
* {
|
|
@@ -79,7 +79,7 @@ export interface ElevationProfileAnalysisProperties extends AnalysisProperties {
|
|
|
79
79
|
* geometry: new Polyline({ })
|
|
80
80
|
* });
|
|
81
81
|
*
|
|
82
|
-
* view.analyses.add(
|
|
82
|
+
* view.analyses.add(analysis);
|
|
83
83
|
* ```
|
|
84
84
|
*
|
|
85
85
|
* The [MapView.analyses](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#analyses) and
|
|
@@ -93,7 +93,7 @@ export interface ElevationProfileAnalysisProperties extends AnalysisProperties {
|
|
|
93
93
|
*
|
|
94
94
|
* ```js
|
|
95
95
|
* // Get the analysis view
|
|
96
|
-
* const analysisView = await view.whenAnalysisView(
|
|
96
|
+
* const analysisView = await view.whenAnalysisView(analysis);
|
|
97
97
|
* // Retrieve the results, once they are ready
|
|
98
98
|
* reactiveUtils.watch(
|
|
99
99
|
* () => analysisView.progress,
|
|
@@ -44,11 +44,11 @@ export interface LengthDimensionProperties extends Partial<Pick<LengthDimension,
|
|
|
44
44
|
* offset: 2
|
|
45
45
|
* });
|
|
46
46
|
* // create the analysis and add the dimension object to it
|
|
47
|
-
* const
|
|
47
|
+
* const analysis = new DimensionAnalysis({
|
|
48
48
|
* dimensions: [lengthDimension]
|
|
49
49
|
* });
|
|
50
50
|
* // add the analysis to the view
|
|
51
|
-
* view.analyses.add(
|
|
51
|
+
* view.analyses.add(analysis);
|
|
52
52
|
* ```
|
|
53
53
|
*
|
|
54
54
|
* > [!WARNING]
|
|
@@ -31,7 +31,7 @@ export interface LineOfSightAnalysisProperties extends AnalysisProperties {
|
|
|
31
31
|
*
|
|
32
32
|
* ```js
|
|
33
33
|
* // create line of sight analysis
|
|
34
|
-
* const
|
|
34
|
+
* const analysis = new LineOfSightAnalysis({
|
|
35
35
|
* observer: new LineOfSightAnalysisObserver({ position: new Point({ }) }),
|
|
36
36
|
* targets: [
|
|
37
37
|
* new LineOfSightAnalysisTarget({ position: new Point({ }) })
|
|
@@ -39,13 +39,13 @@ export interface LineOfSightAnalysisProperties extends AnalysisProperties {
|
|
|
39
39
|
* });
|
|
40
40
|
*
|
|
41
41
|
* // add to the view
|
|
42
|
-
* view.analyses.add(
|
|
42
|
+
* view.analyses.add(analysis);
|
|
43
43
|
*
|
|
44
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.
|
|
48
|
-
* const analysisView = await view.whenAnalysisView(
|
|
48
|
+
* const analysisView = await view.whenAnalysisView(analysis);
|
|
49
49
|
* const results = analysisView.results;
|
|
50
50
|
* ```
|
|
51
51
|
*
|
|
@@ -90,7 +90,7 @@ export interface LineOfSightAnalysisProperties extends AnalysisProperties {
|
|
|
90
90
|
*
|
|
91
91
|
* > [!WARNING]
|
|
92
92
|
* >
|
|
93
|
-
* > **Known
|
|
93
|
+
* > **Known Limitations**
|
|
94
94
|
* >
|
|
95
95
|
* > This analysis is only supported in a 3D [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
96
96
|
* > 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.
|
|
@@ -4,7 +4,11 @@ import type { ColorLike } from "../../Color.js";
|
|
|
4
4
|
import type { Clonable } from "../../core/Clonable.js";
|
|
5
5
|
import type { ColorStopProperties } from "../../renderers/visualVariables/support/ColorStop.js";
|
|
6
6
|
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Properties that can be used to construct a [DiscreteOptions](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/DiscreteOptions/) instance.
|
|
9
|
+
*
|
|
10
|
+
* @since 5.0
|
|
11
|
+
*/
|
|
8
12
|
export interface DiscreteOptionsProperties extends Partial<Pick<DiscreteOptions, "interval">> {
|
|
9
13
|
/**
|
|
10
14
|
* Defines the color used by the default color ramp for the visualization. The opacity is mapped to the number of
|
|
@@ -29,7 +33,7 @@ export interface DiscreteOptionsProperties extends Partial<Pick<DiscreteOptions,
|
|
|
29
33
|
*
|
|
30
34
|
* > [!WARNING]
|
|
31
35
|
* >
|
|
32
|
-
* > **Known
|
|
36
|
+
* > **Known Limitations**
|
|
33
37
|
* >
|
|
34
38
|
* > In a [3D SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/), a maximum of 8 color stops is supported.
|
|
35
39
|
*
|
|
@@ -74,7 +78,7 @@ export default class DiscreteOptions extends Clonable {
|
|
|
74
78
|
*
|
|
75
79
|
* > [!WARNING]
|
|
76
80
|
* >
|
|
77
|
-
* > **Known
|
|
81
|
+
* > **Known Limitations**
|
|
78
82
|
* >
|
|
79
83
|
* > In a [3D SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/), a maximum of 8 color stops is supported.
|
|
80
84
|
*
|
|
@@ -4,7 +4,11 @@ import type { ColorLike } from "../../Color.js";
|
|
|
4
4
|
import type { DiscreteOptionsProperties } from "./DiscreteOptions.js";
|
|
5
5
|
import type { Clonable } from "../../core/Clonable.js";
|
|
6
6
|
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Properties that can be used to construct a [MinDurationOptions](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/) instance.
|
|
9
|
+
*
|
|
10
|
+
* @since 5.0
|
|
11
|
+
*/
|
|
8
12
|
export interface MinDurationOptionsProperties extends Partial<Pick<MinDurationOptions, "contextEnabled" | "minDuration">> {
|
|
9
13
|
/**
|
|
10
14
|
* Defines the color used to display areas where the cumulative shadow duration meets
|
|
@@ -5,7 +5,11 @@ import type { ShadowCastTotalDurationMode } from "./types.js";
|
|
|
5
5
|
import type { Clonable } from "../../core/Clonable.js";
|
|
6
6
|
import type { ColorStopProperties } from "../../renderers/visualVariables/support/ColorStop.js";
|
|
7
7
|
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Properties that can be used to construct a [TotalDurationOptions](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/TotalDurationOptions/) instance.
|
|
10
|
+
*
|
|
11
|
+
* @since 5.0
|
|
12
|
+
*/
|
|
9
13
|
export interface TotalDurationOptionsProperties extends Partial<Pick<TotalDurationOptions, "mode">> {
|
|
10
14
|
/**
|
|
11
15
|
* Defines the color used by the default color ramp for the visualization. The opacity is mapped to the time spent
|
|
@@ -29,7 +33,7 @@ export interface TotalDurationOptionsProperties extends Partial<Pick<TotalDurati
|
|
|
29
33
|
*
|
|
30
34
|
* > [!WARNING]
|
|
31
35
|
* >
|
|
32
|
-
* > **Known
|
|
36
|
+
* > **Known Limitations**
|
|
33
37
|
* >
|
|
34
38
|
* > In a [3D SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/), a maximum of 8 color stops is supported.
|
|
35
39
|
*
|
|
@@ -73,7 +77,7 @@ export default class TotalDurationOptions extends Clonable {
|
|
|
73
77
|
*
|
|
74
78
|
* > [!WARNING]
|
|
75
79
|
* >
|
|
76
|
-
* > **Known
|
|
80
|
+
* > **Known Limitations**
|
|
77
81
|
* >
|
|
78
82
|
* > In a [3D SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/), a maximum of 8 color stops is supported.
|
|
79
83
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
export type ShadowCastMode = "discrete" | "min-duration" | "total-duration";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Modes supported by the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/) when using the "total-duration" mode.
|
|
9
|
+
* Modes supported by the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/) when using the `"total-duration"` mode.
|
|
10
10
|
*
|
|
11
11
|
* @since 5.0
|
|
12
12
|
*/
|
|
@@ -10,7 +10,11 @@ import type { TotalDurationOptionsProperties } from "./ShadowCast/TotalDurationO
|
|
|
10
10
|
import type { ShadowCastMode } from "./ShadowCast/types.js";
|
|
11
11
|
import type { PolygonProperties } from "../geometry/Polygon.js";
|
|
12
12
|
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Properties that can be used to construct a [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/) instance.
|
|
15
|
+
*
|
|
16
|
+
* @since 5.0
|
|
17
|
+
*/
|
|
14
18
|
export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partial<Pick<ShadowCastAnalysis, "endTimeOfDay" | "mode" | "startTimeOfDay" | "utcOffset" | "visualizeSunlight">> {
|
|
15
19
|
/**
|
|
16
20
|
* The calendar date used to calculate the shadow cast. This date excludes the time.
|
|
@@ -27,7 +31,8 @@ export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partia
|
|
|
27
31
|
*/
|
|
28
32
|
discreteOptions?: DiscreteOptionsProperties;
|
|
29
33
|
/**
|
|
30
|
-
*
|
|
34
|
+
* Polygonal area inside which to apply the shadow cast analysis. Use this property to limit the visualization to a
|
|
35
|
+
* project area, such as a parcel, park, or courtyard. If not set, the analysis applies to the entire scene.
|
|
31
36
|
*
|
|
32
37
|
* @since 5.1
|
|
33
38
|
*/
|
|
@@ -47,43 +52,40 @@ export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partia
|
|
|
47
52
|
}
|
|
48
53
|
|
|
49
54
|
/**
|
|
50
|
-
* The ShadowCastAnalysis
|
|
51
|
-
* [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/). This type of analysis is helpful in urban development,
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* The analysis calculates the cumulative shadows for a time range during a single day. The user can
|
|
55
|
-
* configure the time range and select a calendar date. This time range and calendar date are only used
|
|
56
|
-
* for the shadow analysis and are not connected to the lighting in the scene.
|
|
57
|
-
* To control the lighting in the scene, use the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/) component.
|
|
58
|
-
* Changing the timezone in the analysis updates the visualization by interpreting the time range as being
|
|
59
|
-
* in that timezone. This behavior is different than for the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/)
|
|
60
|
-
* component where selecting a timezone updates the
|
|
61
|
-
* [environment lighting's](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment)
|
|
62
|
-
* date and time according to the camera position.
|
|
55
|
+
* The ShadowCastAnalysis visualizes shadows cast by 3D features or sunlight exposure in a
|
|
56
|
+
* [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/). This type of analysis is helpful in urban development, where projects may need to satisfy
|
|
57
|
+
* shadow or sunlight exposure requirements for a selected day and time range.
|
|
63
58
|
*
|
|
64
|
-
*
|
|
59
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
65
60
|
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* displays sunlight only in areas where sunlight accumulates for longer than the specified duration. In the image below,
|
|
69
|
-
* on May 1, 2021, shadows are displayed only where shading exceeds 4 hours between 10AM and 4PM.
|
|
61
|
+
* By default, the analysis visualizes shadows. When [visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`,
|
|
62
|
+
* it visualizes sunlight exposure instead.
|
|
70
63
|
*
|
|
71
|
-
* [
|
|
64
|
+
* The [date](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#date), [startTimeOfDay](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#startTimeOfDay),
|
|
65
|
+
* [endTimeOfDay](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#endTimeOfDay), and [utcOffset](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#utcOffset) properties define
|
|
66
|
+
* the date, time range, and UTC offset used to compute the analysis overlay. They do not change the lighting in the
|
|
67
|
+
* scene. To control scene lighting, use [SunLighting](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/) or the
|
|
68
|
+
* [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/)
|
|
69
|
+
* component.
|
|
72
70
|
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* instead. This mode can visualize duration continuously or in 1-hour intervals.
|
|
71
|
+
* The [utcOffset](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#utcOffset) property determines which timezone the selected date and time range
|
|
72
|
+
* are interpreted in for the analysis. This differs from the Daylight component, where selecting a timezone updates the
|
|
73
|
+
* [environment lighting's](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment)
|
|
74
|
+
* date and time according to the camera position.
|
|
78
75
|
*
|
|
79
|
-
*
|
|
76
|
+
* When set, the [geometry](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#geometry) property limits the visualization to a polygonal project
|
|
77
|
+
* area, such as a parcel, park, or courtyard. If no geometry is provided, the analysis applies to the entire scene.
|
|
78
|
+
* For `total-duration` and `discrete` visualizations, the [TotalDurationOptions.colorStops](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/TotalDurationOptions/#colorStops) or
|
|
79
|
+
* [DiscreteOptions.colorStops](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/DiscreteOptions/#colorStops) properties define a custom color ramp for duration or
|
|
80
|
+
* sample-count values. If color stops are not provided, the visualization uses a default transparent-to-color ramp.
|
|
80
81
|
*
|
|
81
|
-
*
|
|
82
|
-
* [visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, it displays the sunlight at those intervals instead.
|
|
83
|
-
* For example, with a time range from 10AM to 11AM and an interval set to 30 minutes, the shadows at 10AM, 10:30AM and
|
|
84
|
-
* 11:00AM will be displayed.
|
|
82
|
+
* The [mode](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#mode) property controls how shadow or sunlight exposure is visualized:
|
|
85
83
|
*
|
|
86
|
-
*
|
|
84
|
+
* | Mode | Use for | Details |
|
|
85
|
+
* | --- | --- | --- |
|
|
86
|
+
* | `min-duration` | Highlighting areas that meet or exceed a minimum shadow or sunlight duration. | The threshold is defined by [MinDurationOptions.minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration). |
|
|
87
|
+
* | `total-duration` | Showing cumulative shadow or sunlight duration across the analysis area. | Supports continuous visualization or 1-hour intervals. Without color stops, areas with no duration remain transparent, intermediate values are interpolated, and the highest duration uses the opacity from [TotalDurationOptions.color](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/TotalDurationOptions/#color). |
|
|
88
|
+
* | `discrete` | Displaying individual shadow or sunlight samples at regular intervals. | The interval is defined by [DiscreteOptions.interval](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/DiscreteOptions/#interval). For example, a one-hour range with a 30-minute interval displays samples at the start, middle, and end of the range. |
|
|
87
89
|
*
|
|
88
90
|
* By default, the analysis also displays a tooltip next to the pointer that reports the total duration at that
|
|
89
91
|
* location, rounded to 15-minute increments. The tooltip reports shadow duration by default and sunlight duration when
|
|
@@ -94,54 +96,72 @@ export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partia
|
|
|
94
96
|
* - Set the desired [mode](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#mode).
|
|
95
97
|
* - Configure the analysis time range using the [date](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#date), [startTimeOfDay](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#startTimeOfDay),
|
|
96
98
|
* and [endTimeOfDay](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#endTimeOfDay) properties.
|
|
99
|
+
* - Optionally set [visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) to visualize sunlight duration instead of shadow duration.
|
|
100
|
+
* - Optionally set [geometry](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#geometry) to limit the analysis to a polygonal project area.
|
|
97
101
|
* - Optionally set the [utcOffset](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#utcOffset) property to define the timezone used for the analysis.
|
|
98
|
-
* - If using the
|
|
99
|
-
* - If using the
|
|
100
|
-
* - If using the
|
|
102
|
+
* - If using the `discrete` [mode](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#mode), optionally set custom properties with [DiscreteOptions](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/DiscreteOptions/).
|
|
103
|
+
* - If using the `min-duration` [mode](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#mode), optionally set custom properties with [MinDurationOptions](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/).
|
|
104
|
+
* - If using the `total-duration` [mode](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#mode), optionally set custom properties with [TotalDurationOptions](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/TotalDurationOptions/).
|
|
101
105
|
* - Add the ShadowCastAnalysis instance to [SceneView.analyses](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#analyses).
|
|
102
106
|
*
|
|
103
|
-
* Use the [ShadowCastAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/) class and its
|
|
104
|
-
* [ShadowCastAnalysisView3D.getDurationAtScreen()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/#getDurationAtScreen) method to
|
|
105
|
-
* obtain the shadow or sunlight duration at a specific screen location programmatically.
|
|
106
|
-
* To disable the shadow tooltip next to the pointer set the [ShadowCastAnalysisView3D.interactive](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/#interactive)
|
|
107
|
-
* property to `false`.
|
|
108
|
-
*
|
|
109
107
|
* ```js
|
|
110
|
-
*
|
|
111
|
-
*
|
|
108
|
+
* const projectArea = new Polygon({
|
|
109
|
+
* rings: [
|
|
110
|
+
* [
|
|
111
|
+
* [-122.421, 37.781],
|
|
112
|
+
* [-122.42, 37.781],
|
|
113
|
+
* [-122.42, 37.782],
|
|
114
|
+
* // ...
|
|
115
|
+
* ]
|
|
116
|
+
* ]
|
|
117
|
+
* });
|
|
118
|
+
*
|
|
119
|
+
* const analysis = new ShadowCastAnalysis({
|
|
112
120
|
* date: new Date("March 1, 2026"),
|
|
113
|
-
* startTimeOfDay: 10 * 3600 * 1000, // 10AM
|
|
114
|
-
* endTimeOfDay: 16 * 3600 * 1000, // 4PM
|
|
115
|
-
* mode: "
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
121
|
+
* startTimeOfDay: 10 * 3600 * 1000, // 10AM
|
|
122
|
+
* endTimeOfDay: 16 * 3600 * 1000, // 4PM
|
|
123
|
+
* mode: "total-duration",
|
|
124
|
+
* visualizeSunlight: true,
|
|
125
|
+
* geometry: projectArea,
|
|
126
|
+
* totalDurationOptions: {
|
|
127
|
+
* mode: "continuous",
|
|
128
|
+
* colorStops: [
|
|
129
|
+
* // Map sunlight duration to colors. Values are in milliseconds.
|
|
130
|
+
* { value: 0, color: [255, 255, 255, 0] },
|
|
131
|
+
* { value: 2 * 3600 * 1000, color: [255, 198, 87, 0.5] },
|
|
132
|
+
* { value: 4 * 3600 * 1000, color: [84, 176, 74, 0.85] }
|
|
133
|
+
* ]
|
|
119
134
|
* },
|
|
120
|
-
* utcOffset: -8
|
|
135
|
+
* utcOffset: -8 // Pacific Standard Time
|
|
121
136
|
* });
|
|
122
137
|
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
138
|
+
* view.analyses.add(analysis);
|
|
139
|
+
* ```
|
|
125
140
|
*
|
|
141
|
+
* Use the [ShadowCastAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/) class and its
|
|
142
|
+
* [ShadowCastAnalysisView3D.getDurationAtScreen()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/#getDurationAtScreen) method to
|
|
143
|
+
* obtain the shadow or sunlight duration at a specific screen location programmatically.
|
|
144
|
+
* To disable the shadow or sunlight tooltip next to the pointer set the [ShadowCastAnalysisView3D.interactive](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/#interactive)
|
|
145
|
+
* property to `false`.
|
|
146
|
+
*
|
|
147
|
+
* ```js
|
|
126
148
|
* // use getDurationAtScreen method from the analysis view once available
|
|
127
|
-
* const analysisView = await view.whenAnalysisView(
|
|
149
|
+
* const analysisView = await view.whenAnalysisView(analysis);
|
|
128
150
|
*
|
|
129
|
-
* // get shadow or sunlight duration at the pointer location
|
|
130
151
|
* view.on("pointer-move", async (event) => {
|
|
131
|
-
* // duration in milliseconds
|
|
152
|
+
* // duration is the sunlight duration in milliseconds because visualizeSunlight is true
|
|
132
153
|
* const duration = await analysisView.getDurationAtScreen({ x: event.x, y: event.y });
|
|
133
154
|
* // ... do something with the duration
|
|
134
|
-
* })
|
|
135
|
-
*
|
|
155
|
+
* });
|
|
136
156
|
* ```
|
|
137
157
|
* > [!WARNING]
|
|
138
158
|
* >
|
|
139
159
|
* > **Known Limitations**
|
|
140
160
|
* >
|
|
141
161
|
* > - Terrain does not cast shadows in this analysis.
|
|
142
|
-
* > - As a result,
|
|
143
|
-
* >
|
|
144
|
-
* >
|
|
162
|
+
* > - As a result, shadow duration may be underestimated and sunlight duration may be overestimated in areas where
|
|
163
|
+
* > terrain would normally block sunlight. To avoid incorrect visualization, `startTimeOfDay` should be set after local
|
|
164
|
+
* > sunrise and `endTimeOfDay` before local sunset.
|
|
145
165
|
* > - The analysis does not take daylight savings into account. Use the timezone dropdown to adjust the offset from
|
|
146
166
|
* > the Coordinated Universal Time (UTC) and account for the daylight
|
|
147
167
|
* > saving time.
|
|
@@ -153,7 +173,9 @@ export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partia
|
|
|
153
173
|
* @see [DiscreteOptions](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/DiscreteOptions/)
|
|
154
174
|
* @see [TotalDurationOptions](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/TotalDurationOptions/)
|
|
155
175
|
* @see [MinDurationOptions](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/)
|
|
176
|
+
* @see [SunLighting](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/)
|
|
156
177
|
* @see [Sample - Shadow Cast analysis object](https://developers.arcgis.com/javascript/latest/sample-code/analysis-shadow-cast/)
|
|
178
|
+
* @see [Sample - Sunlight analysis](https://developers.arcgis.com/javascript/latest/sample-code/analysis-sunlight/)
|
|
157
179
|
* @see [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
158
180
|
* @see [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/)
|
|
159
181
|
*/
|
|
@@ -185,7 +207,8 @@ export default class ShadowCastAnalysis extends Analysis {
|
|
|
185
207
|
*/
|
|
186
208
|
accessor endTimeOfDay: number;
|
|
187
209
|
/**
|
|
188
|
-
*
|
|
210
|
+
* Polygonal area inside which to apply the shadow cast analysis. Use this property to limit the visualization to a
|
|
211
|
+
* project area, such as a parcel, park, or courtyard. If not set, the analysis applies to the entire scene.
|
|
189
212
|
*
|
|
190
213
|
* @since 5.1
|
|
191
214
|
*/
|
|
@@ -201,9 +224,9 @@ export default class ShadowCastAnalysis extends Analysis {
|
|
|
201
224
|
/**
|
|
202
225
|
* Mode of analysis to use when computing and displaying shadows or sunlight.
|
|
203
226
|
*
|
|
204
|
-
* - "discrete"
|
|
205
|
-
* - "min-duration"
|
|
206
|
-
* - "total-duration"
|
|
227
|
+
* - `"discrete"`: Displays individual shadow or sunlight snapshots at regular time intervals within the selected time range.
|
|
228
|
+
* - `"min-duration"`: Displays areas where accumulated shadow or sunlight exceeds a user-defined minimum duration within the selected time range. Optional discrete overlays can provide additional context.
|
|
229
|
+
* - `"total-duration"`: Displays total shadow or sunlight accumulation within the selected time range. Supports continuous or 1-hour aggregated modes.
|
|
207
230
|
*
|
|
208
231
|
* When [visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, the selected mode displays sunlight duration
|
|
209
232
|
* instead of shadow duration.
|
|
@@ -257,8 +280,9 @@ export default class ShadowCastAnalysis extends Analysis {
|
|
|
257
280
|
*/
|
|
258
281
|
get valid(): boolean;
|
|
259
282
|
/**
|
|
260
|
-
* When `true`, the analysis visualizes sunlight duration instead of shadow duration. This applies to all modes
|
|
261
|
-
* their respective options
|
|
283
|
+
* When `true`, the analysis visualizes sunlight duration instead of shadow duration. This applies to all modes,
|
|
284
|
+
* their respective options, and the duration reported by
|
|
285
|
+
* [ShadowCastAnalysisView3D.getDurationAtScreen()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/#getDurationAtScreen).
|
|
262
286
|
*
|
|
263
287
|
* @default false
|
|
264
288
|
* @since 5.1
|
|
@@ -31,7 +31,7 @@ export interface SliceAnalysisProperties extends AnalysisProperties, Partial<Pic
|
|
|
31
31
|
* is only considered if the [tiltEnabled](https://developers.arcgis.com/javascript/latest/references/core/analysis/SliceAnalysis/#tiltEnabled) property is set to `true`.
|
|
32
32
|
*
|
|
33
33
|
* ```js
|
|
34
|
-
* const
|
|
34
|
+
* const analysis = new SliceAnalysis({
|
|
35
35
|
* shape: new SlicePlane({
|
|
36
36
|
* position: new Point({ }),
|
|
37
37
|
* width: 50,
|
|
@@ -41,7 +41,7 @@ export interface SliceAnalysisProperties extends AnalysisProperties, Partial<Pic
|
|
|
41
41
|
* tiltEnabled: true
|
|
42
42
|
* });
|
|
43
43
|
*
|
|
44
|
-
* view.analyses.add(
|
|
44
|
+
* view.analyses.add(analysis);
|
|
45
45
|
* ```
|
|
46
46
|
*
|
|
47
47
|
* [SceneView.analyses](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#analyses) can contain multiple slice analyses, but only one of
|
|
@@ -50,10 +50,10 @@ export interface SliceAnalysisProperties extends AnalysisProperties, Partial<Pic
|
|
|
50
50
|
* plane. When a slice analysis view is activated, all other slice analysis views are automatically deactivated.
|
|
51
51
|
*
|
|
52
52
|
* ```js
|
|
53
|
-
* const
|
|
53
|
+
* const analysisView = await view.whenAnalysisView(analysis);
|
|
54
54
|
*
|
|
55
55
|
* // make the slice active in the view (only one slice can be active at a time)
|
|
56
|
-
*
|
|
56
|
+
* analysisView.active = true;
|
|
57
57
|
* ```
|
|
58
58
|
*
|
|
59
59
|
* To place a slice interactively, use the
|
package/analysis/SlicePlane.d.ts
CHANGED
|
@@ -19,9 +19,9 @@ export interface SlicePlaneProperties extends Partial<Pick<SlicePlane, "heading"
|
|
|
19
19
|
* [SliceAnalysis.shape](https://developers.arcgis.com/javascript/latest/references/core/analysis/SliceAnalysis/#shape) property.
|
|
20
20
|
*
|
|
21
21
|
* ```js
|
|
22
|
-
* const
|
|
22
|
+
* const analysis = new SliceAnalysis({
|
|
23
23
|
* shape: new SlicePlane({
|
|
24
|
-
* position: new Point({
|
|
24
|
+
* position: new Point({ }),
|
|
25
25
|
* width: 50,
|
|
26
26
|
* height: 50,
|
|
27
27
|
* tilt: 45
|
|
@@ -29,7 +29,7 @@ export interface SlicePlaneProperties extends Partial<Pick<SlicePlane, "heading"
|
|
|
29
29
|
* tiltEnabled: true
|
|
30
30
|
* });
|
|
31
31
|
*
|
|
32
|
-
* view.analyses.add(
|
|
32
|
+
* view.analyses.add(analysis);
|
|
33
33
|
* ```
|
|
34
34
|
*
|
|
35
35
|
* @since 4.23
|
package/analysis/Viewshed.d.ts
CHANGED
|
@@ -46,12 +46,12 @@ export interface ViewshedProperties extends Partial<Pick<Viewshed, "farDistance"
|
|
|
46
46
|
* horizontalFieldOfView: 85,
|
|
47
47
|
* verticalFieldOfView: 52
|
|
48
48
|
* });
|
|
49
|
-
* const
|
|
49
|
+
* const analysis = new ViewshedAnalysis({
|
|
50
50
|
* viewsheds: [viewshed],
|
|
51
51
|
* });
|
|
52
52
|
*
|
|
53
53
|
* // add the analysis to the view
|
|
54
|
-
* view.analyses.add(
|
|
54
|
+
* view.analyses.add(analysis);
|
|
55
55
|
* ```
|
|
56
56
|
*
|
|
57
57
|
* To create a view dome, set [horizontalFieldOfView](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/#horizontalFieldOfView) to 360, and [verticalFieldOfView](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/#verticalFieldOfView) to 180.
|