@arcgis/core 5.1.0-next.77 → 5.1.0-next.79
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/ElevationProfile/ElevationProfileGroup.d.ts +74 -0
- package/analysis/ElevationProfile/ElevationProfileGroup.js +2 -0
- package/analysis/ElevationProfileAnalysis.d.ts +29 -14
- package/analysis/ElevationProfileAnalysis.js +1 -1
- package/analysis/ShadowCast/DiscreteOptions.d.ts +33 -6
- package/analysis/ShadowCast/DiscreteOptions.js +1 -1
- package/analysis/ShadowCast/MinDurationOptions.d.ts +6 -4
- package/analysis/ShadowCast/TotalDurationOptions.d.ts +33 -6
- package/analysis/ShadowCast/TotalDurationOptions.js +1 -1
- package/analysis/ShadowCast/colorStopsUtils.js +2 -0
- package/analysis/ShadowCastAnalysis.d.ts +24 -1
- package/analysis/ShadowCastAnalysis.js +1 -1
- package/analysis/Viewshed.d.ts +27 -0
- package/analysis/Viewshed.js +1 -1
- package/analysis/ViewshedAnalysis.js +1 -1
- package/applications/Components/OrientedImageryViewer/ImageViewer/utils.d.ts +34 -0
- package/applications/Components/OrientedImageryViewer/ImageViewer/utils.js +2 -0
- package/arcade/FunctionWrapper.js +1 -1
- package/arcade/arcadeAsyncRuntime.js +1 -1
- package/arcade/arcadeCompiler.js +1 -1
- package/arcade/arcadeRuntime.js +1 -1
- package/arcade/compilerUtils.js +1 -1
- package/arcade/debug.d.ts +139 -0
- package/arcade/debug.js +2 -0
- package/arcade/featureSetCollection.js +1 -1
- package/arcade/featureSetUtils.js +1 -1
- package/arcade/featureset/actions/GroupBy.js +1 -1
- package/arcade/featureset/actions/OrderBy.js +1 -1
- package/arcade/functions/featuresetstring.js +1 -1
- package/arcade/languageUtils.js +1 -1
- package/arcade.d.ts +46 -2
- package/arcade.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{1c7183551f5269bdcf13.js → 01bd1b86ba899c6aa4c0.js} +1 -1
- package/assets/esri/core/workers/chunks/{1f8ccf96069ac3a40c3d.js → 01ee18782a50279f907e.js} +1 -1
- package/assets/esri/core/workers/chunks/{34ea3ed78041437a8fc8.js → 022067e807905cabeaa1.js} +1 -1
- package/assets/esri/core/workers/chunks/{537fe2522dff1e6ce03b.js → 052cdc7aaa803b5873f0.js} +1 -1
- package/assets/esri/core/workers/chunks/{8d75f6f27c1c17c33992.js → 056fd7847caaff2c9514.js} +1 -1
- package/assets/esri/core/workers/chunks/{8acee3fba488f202f82f.js → 05c3146d87d917606193.js} +1 -1
- package/assets/esri/core/workers/chunks/{75d5ea0da181f9e7425f.js → 0aebcbf41cb193e76809.js} +11 -11
- package/assets/esri/core/workers/chunks/{54023458195549f66215.js → 0b77c124b743067e4155.js} +1 -1
- package/assets/esri/core/workers/chunks/10408183681fd6c7b4ed.js +2 -0
- package/assets/esri/core/workers/chunks/17acbf40e7c1cb42d9bd.js +1 -0
- package/assets/esri/core/workers/chunks/{baeb96aef03d4c566af7.js → 1f53620f82cc7c3daabe.js} +1 -1
- package/assets/esri/core/workers/chunks/2387613b855771a3e537.js +1 -0
- package/assets/esri/core/workers/chunks/283d39dfb1625b5a74db.js +1 -0
- package/assets/esri/core/workers/chunks/{7595ceba529ed01c7590.js → 2c87c3112a43db8624f6.js} +1 -1
- package/assets/esri/core/workers/chunks/{13e60f19f436b8d683ae.js → 3c9482764c9e4f8bcbb0.js} +1 -1
- package/assets/esri/core/workers/chunks/{5e1b847b116d21908a54.js → 3e37019eee1c49d2bf64.js} +1 -1
- package/assets/esri/core/workers/chunks/45c83eb7c2a06166e3b0.js +1 -0
- package/assets/esri/core/workers/chunks/48acd146bf0241d87647.js +1 -0
- package/assets/esri/core/workers/chunks/5818f1f526577068d6ca.js +2 -0
- package/assets/esri/core/workers/chunks/5b6f2bfdcdd207d8ae42.js +1 -0
- package/assets/esri/core/workers/chunks/{330b47ac0759c3c35cc5.js → 5ccc325d83cec4f5ccdb.js} +1 -1
- package/assets/esri/core/workers/chunks/{30e710ec4d22c43d4e7e.js → 5cffc7b49966201eccdb.js} +1 -1
- package/assets/esri/core/workers/chunks/{1a87e9bbd85ba29b1514.js → 5da2051f548c2942e01a.js} +1 -1
- package/assets/esri/core/workers/chunks/5ec66e39e53c11e75179.js +2 -0
- package/assets/esri/core/workers/chunks/{0b1454a77a6a682541dc.js.LICENSE.txt → 5ec66e39e53c11e75179.js.LICENSE.txt} +9 -1
- package/assets/esri/core/workers/chunks/5f6fd20a7f4e80eafa25.js +1 -0
- package/assets/esri/core/workers/chunks/{abc06d10c7ac8ba5b0e4.js → 67ec1694d6e18b7c234c.js} +1 -1
- package/assets/esri/core/workers/chunks/{32e22d6eee9fed1f70b0.js → 6d696beddcc5fbed5875.js} +1 -1
- package/assets/esri/core/workers/chunks/{f590b60fca607d66001a.js → 716a4d7e8b908b81870b.js} +1 -1
- package/assets/esri/core/workers/chunks/71fe127734f33d020a44.js +1 -0
- package/assets/esri/core/workers/chunks/7cdd0492b2191df95102.js +2 -0
- package/assets/esri/core/workers/chunks/7cea68257d24ffd205bb.js +1 -0
- package/assets/esri/core/workers/chunks/7e530e635325dba07864.js +1 -0
- package/assets/esri/core/workers/chunks/{6b66fc32451433129a88.js → 8508f238d99021e87f71.js} +1 -1
- package/assets/esri/core/workers/chunks/{bc75ab48f4c7609ef09d.js → 85d3475667c503ec4fc6.js} +1 -1
- package/assets/esri/core/workers/chunks/8f6f5dad52747d252aac.js +596 -0
- package/assets/esri/core/workers/chunks/{d950d5c2844206502ff0.js → 992cd87ba0ab6346f692.js} +1 -1
- package/assets/esri/core/workers/chunks/{73c87eb9bd8f0f848481.js → 9c11e1fe785e1385fdb1.js} +1 -1
- package/assets/esri/core/workers/chunks/{5ed8d8b5336c81fbcda3.js → 9d216e30d04ea21fc8a2.js} +1 -1
- package/assets/esri/core/workers/chunks/a54aa93b6012a2597f82.js +1 -0
- package/assets/esri/core/workers/chunks/{cf14b3a44705dacefac4.js → a9b5ce00323cd5574bf7.js} +1 -1
- package/assets/esri/core/workers/chunks/ae6b3dfe5f757df539d6.js +1 -0
- package/assets/esri/core/workers/chunks/b14c4c3f295970f731ab.js +1 -0
- package/assets/esri/core/workers/chunks/{c70df6ed190f9ebcf6aa.js → bf2c202dec5ab7bc770b.js} +1 -1
- package/assets/esri/core/workers/chunks/c1d4110aa494a1dba3c4.js +1 -0
- package/assets/esri/core/workers/chunks/{9d6491f996eeb0c646ed.js → c442916805975744dd92.js} +1 -1
- package/assets/esri/core/workers/chunks/dacc2e5fa462495ed1cc.js +2 -0
- package/assets/esri/core/workers/chunks/f227b34cce6843df0fb6.js +1 -0
- package/assets/esri/core/workers/chunks/{dda2cb5c073d1e65f14f.js → f43d628d47eec7d530c7.js} +1 -1
- package/assets/esri/core/workers/chunks/f7531aa69a87814c60d1.js +1 -0
- package/assets/esri/core/workers/chunks/{bf8f603848bad4a7deb4.js → fb100935fd8948d779f5.js} +1 -1
- package/assets/esri/core/workers/chunks/{88b480a1d1fb01778798.js → fb9e3e7cd532ac4353f1.js} +25 -30
- package/assets/esri/core/workers/chunks/fc6ca7ffb9f1b875059c.js +1 -0
- package/assets/esri/core/workers/chunks/{14eb2cc8e2ad6d8d03fd.js → ffc4f3406ce383b9bd88.js} +1 -1
- package/assets/esri/themes/base/_core.scss +2 -0
- package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +6 -0
- package/assets/esri/themes/base/widgets/_PluginSettingsControls.scss +29 -0
- 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/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.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ar.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_bg.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_bs.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ca.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_cs.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_da.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_de.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_el.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_en.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_es.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_et.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_fi.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_fr.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_he.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_hr.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_hu.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_id.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_it.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ja.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ko.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_lt.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_lv.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_nl.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_no.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_pl.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_pt-BR.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_pt-PT.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ro.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ru.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_sk.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_sl.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_sr.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_sv.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_th.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_tr.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_uk.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_vi.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_zh-CN.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_zh-HK.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_zh-TW.json +1 -1
- package/chunks/ImageMaterial.glsl.js +7 -5
- package/chunks/SlicePlaneMaterial.glsl.js +21 -13
- package/chunks/arcade.js +1 -1
- package/chunks/languageUtils.js +1 -1
- package/config.js +1 -1
- package/core/MapUtils.js +1 -1
- package/core/arrayUtils.js +1 -1
- package/core/types.d.ts +28 -0
- package/form/elements/inputs/MultipleChoiceInput.d.ts +2 -2
- package/form/elements/inputs/MultipleChoiceInput.js +1 -1
- package/geometry/operators/types.d.ts +2 -2
- package/interfaces.d.ts +4 -7
- package/kernel.js +1 -1
- package/layers/ImageryLayer.d.ts +7 -1
- package/layers/ImageryLayer.js +1 -1
- package/layers/ImageryTileLayer.d.ts +7 -1
- package/layers/ImageryTileLayer.js +1 -1
- package/layers/IntegratedMeshLayer.d.ts +18 -14
- package/layers/SceneLayer.d.ts +35 -1
- package/layers/SceneLayer.js +1 -1
- package/layers/WCSLayer.d.ts +7 -1
- package/layers/WCSLayer.js +1 -1
- package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
- package/layers/save/imageryUtils.js +1 -1
- package/layers/scene/ModelFileInfo.d.ts +29 -0
- package/layers/scene/ModelFileInfo.js +2 -0
- package/layers/scene/ModelInfo.d.ts +38 -0
- package/layers/scene/ModelInfo.js +2 -0
- package/layers/scene/modelQuerySupport.js +2 -0
- package/layers/scene/types.d.ts +14 -0
- package/layers/support/infoFor3D.js +1 -1
- package/layers/support/serviceCapabilitiesUtils.js +1 -1
- package/layers/types.d.ts +13 -1
- package/layers/video/VideoController.js +1 -1
- package/networks/UnitIdentifierManager.d.ts +15 -15
- package/networks/UnitIdentifierManager.js +1 -1
- package/networks/support/jsonTypes.d.ts +125 -13
- package/package.json +4 -4
- package/popup/Features.d.ts +1 -7
- package/popup/Features.js +1 -1
- package/popup/actions.js +1 -1
- package/renderers/visualVariables/support/ColorStop.js +1 -1
- package/rest/networks/unitIdentifiers/reserve.js +2 -0
- package/rest/networks/unitIdentifiers/support/ReserveParameters.js +2 -0
- package/rest/networks/unitIdentifiers/support/ResizeParameters.js +1 -1
- package/rest/networks/unitIdentifiers/support/UnitQueryResult.js +1 -1
- package/support/arcadeUtils.js +1 -1
- package/support/revision.js +1 -1
- package/views/2d/analysis/ElevationProfile/ElevationProfileVisualization2D.js +1 -1
- package/views/2d/analysis/ElevationProfileAnalysisView2D.d.ts +5 -1
- package/views/2d/analysis/ElevationProfileAnalysisView2D.js +1 -1
- package/views/2d/engine/flow/styles/Imagery.js +1 -1
- package/views/2d/engine/flow/styles/Particles.js +1 -1
- package/views/2d/engine/flow/styles/Streamlines.js +1 -1
- package/views/2d/engine/vectorTiles/Placement.js +1 -1
- package/views/2d/engine/vectorTiles/TextShaping.js +1 -1
- package/views/2d/engine/webgl/AFeatureTile.js +1 -1
- package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
- package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
- package/views/2d/engine/webgl/GlyphSource.js +1 -1
- package/views/2d/engine/webgl/Overlay.js +1 -1
- package/views/2d/engine/webgl/OverlayMultipoint.js +1 -1
- package/views/2d/engine/webgl/RenderingDevice.js +1 -1
- package/views/2d/engine/webgl/TextureManager.js +1 -1
- package/views/2d/engine/webgl/effects/HittestEffect.js +1 -1
- package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/GLSLShaderModule.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/GraphShaderModule.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/ShaderGraphContext.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/TechniqueProgramCache.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/TestTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/TextureStatisticsTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimationUniformInfo.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/bitmap/BitmapTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/blend/BlendTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/bloom/BloomTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/blur/BlurTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/clip/ClipTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/colorize/ColorizeTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPointShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPolygonShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/drop-shadow/DropShadowTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexOutlineFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/FillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/GradientFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/OutlineFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternOutlineFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/flow/FlowTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/grid/GridTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/GradientStrokeTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/LineTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/TexturedLineTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/magnifier/MagnifierTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/opacity/OpacityTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/overlay/OverlayTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterColorizerTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterHighlightTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/VectorFieldTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/AspectTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/BandArithmeticTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/BaseRasterProcessorTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ColormapToRGBTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/CompositeBandTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ComputeChangeTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ContrastBrightnessTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ConvolutionTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/CurvatureTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ExtractBandTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/FocalStatisticsTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/GrayscaleTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/HillshadeTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/LocalTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/MaskTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/NDVITechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/RemapTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ReprojectTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ShadedReliefTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/SlopeTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/SpectralConversionTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/StretchTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BitmapShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BlendShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BlitShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BloomShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BlurShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ColorizeShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ComplexFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ComplexOutlineFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/DropShadowShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/EntityStorage.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/GradientFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/GradientStrokeShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HeatmapAccumulateShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HeatmapResolveShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/MagnifierShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/MosaicInfo.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OpacityShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OverlayShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/PatternFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/PatternOutlineFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ShaderHittest.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TextureStatisticsDiffShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TextureStatisticsMinMaxSumShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TextureStatisticsStdDevShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TextureStatisticsSumOfSquaredDiffShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TexturedLineShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TileDebugInfoShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/VideoScreenShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/flow/FlowImageryShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/flow/FlowUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/BaseRasterColorizerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/BaseRasterHighlightShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/RasterColorizerLUTShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/RasterColorizerShadedReliefShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/RasterColorizerStretchShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/RasterXYBandHighlightShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/lut.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/AspectShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/BaseRasterProcessorShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/ColormapToRGBShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/ConvolutionShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/CurvatureShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/FocalStatisticsShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/HillshadeShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/MultiRasterMixin.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/ShadedReliefShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/SlopeShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/projection.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/stretch.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderBackground.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderFill.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderIcon.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderLine.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderText.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vvUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/tile/TileDebugInfoTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/tile/TileStencilTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueCircle.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueFill.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueLine.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/videoScreenRenderer/VideoScreenTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/typed/TypedShaderProgram.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/BaseLayerView2D.d.ts +3 -3
- package/views/2d/layers/BaseLayerViewGL2D.d.ts +3 -3
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/2d/support/clippingUtils.js +1 -1
- package/views/2d/support/hitTestUtils.js +1 -1
- package/views/3d/FocusAreasView.js +1 -1
- package/views/3d/StencilGeometry.js +2 -0
- package/views/3d/analysis/ElevationProfile/ElevationProfileVisualization3D.js +1 -1
- package/views/3d/analysis/ElevationProfileAnalysisView3D.d.ts +5 -1
- package/views/3d/analysis/ElevationProfileAnalysisView3D.js +1 -1
- package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedComputedData.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedConfiguration.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedFieldOfViewManipulation.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedScaleOrientManipulation.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedShapeVisualElement.js +1 -1
- 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/viewshedToolUtils.js +1 -1
- package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
- package/views/3d/focusAreaUtils.js +2 -0
- package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMeshNormals.js +1 -1
- package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
- package/views/3d/layers/SceneLayerView3D.js +1 -1
- package/views/3d/layers/SceneLayerWorker.js +1 -1
- package/views/3d/layers/i3s/I3SQueryEngine.js +1 -1
- package/views/3d/layers/i3s/I3SUtil.js +1 -1
- package/views/3d/layers/support/DefinitionExpressionSceneLayerView.js +1 -1
- package/views/3d/layers/support/TemporalSceneLayerView.js +1 -1
- package/views/3d/terrain/ElevationData.js +1 -1
- package/views/3d/terrain/PatchGeometryFactory.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Renderable.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js +1 -5
- package/views/3d/webgl-engine/core/shaderLibrary/util/DiscardOrAdjustAlpha.glsl.js +1 -5
- package/views/3d/webgl-engine/core/shaderLibrary/util/MixExternalColor.glsl.js +16 -21
- package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphere.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/LocalAtmosphere.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/MarsAtmosphere.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/clouds/CloudsRenderer.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/CloudsTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/NoiseTextureAtlas.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaColorNode.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/focusAreaMaskUtils.js +2 -0
- package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
- package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/ShadowHighlightBuffer.js +1 -1
- package/views/3d/webgl-engine/effects/laserlines/LaserLineRenderer.js +1 -1
- package/views/3d/webgl-engine/effects/laserlines/LaserlinePathTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
- package/views/3d/webgl-engine/effects/precipitation/Precipitation.js +1 -1
- package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
- package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
- package/views/3d/webgl-engine/effects/stars/Stars.js +1 -1
- package/views/3d/webgl-engine/effects/stars/StarsTechnique.js +1 -1
- package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
- package/views/3d/webgl-engine/lib/Compositor.js +1 -1
- package/views/3d/webgl-engine/lib/CutFillComputationRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/CutFillVisualizationRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/Material.js +1 -1
- package/views/3d/webgl-engine/lib/Normals.js +1 -1
- package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowCastRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
- package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/BlackLevelLightSoftCompression.glsl.js +5 -1
- package/views/3d/webgl-engine/shaders/CheckerBoardTechnique.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/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/MeasurementArrowTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +10 -10
- package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/SlicePlaneMaterialTechnique.js +1 -1
- package/views/VideoView.js +1 -1
- package/views/View2D.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileChart.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileController.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileIndicatorPointVisualization.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileResult.d.ts +6 -4
- package/views/draw/DrawTool.js +1 -1
- package/views/draw/plugins/BezierSegmentPlugin.js +1 -1
- package/views/draw/plugins/FreehandSegmentPlugin.js +1 -1
- package/views/draw/support/GraphicMover.js +1 -1
- package/views/draw/support/PluginContext.js +1 -1
- package/views/draw/support/Reshape.js +1 -1
- package/views/draw/support/editingSessionUtils.js +1 -1
- package/views/draw/support/types.d.ts +21 -0
- package/views/draw/support/types.js +1 -1
- package/views/types.d.ts +2 -2
- package/views/webgl/FramebufferObject.js +1 -1
- package/widgets/BatchAttributeForm/css.js +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/GroupInput.d.ts +2 -1
- package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.d.ts +54 -0
- package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +2 -0
- package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
- package/widgets/BatchAttributeForm/inputs/types.d.ts +4 -3
- package/widgets/BatchAttributeForm/templates/AttachmentElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/RelationshipElementTemplate.js +2 -0
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/templateUtils.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +21 -1
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
- package/widgets/CoordinateConversion/support/Format.js +1 -1
- package/widgets/CoordinateConversion/support/coordinateConversionUtils.js +1 -1
- package/widgets/CoordinateConversion.d.ts +21 -1
- package/widgets/CoordinateConversion.js +1 -1
- package/widgets/Daylight/DaylightViewModel.js +1 -1
- package/widgets/Daylight/support/SliderWithDropdown.js +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
- package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
- package/widgets/Editor/components/Settings.js +1 -1
- package/widgets/Editor/support/SketchController.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/ElevationProfile/ElevationProfileController.js +1 -1
- package/widgets/ElevationProfile/ElevationProfileViewModel.js +1 -1
- package/widgets/ElevationProfile/support/ElevationProfileView.js +1 -1
- package/widgets/ElevationProfile/support/ElevationProfileView2D.js +1 -1
- package/widgets/ElevationProfile/support/ElevationProfileView3D.js +1 -1
- package/widgets/ElevationProfile/support/InputRepresentation2D.js +1 -1
- package/widgets/ElevationProfile/support/InputRepresentation3D.js +1 -1
- package/widgets/ElevationProfile/support/ProfileLine2D.js +1 -1
- package/widgets/ElevationProfile/support/ProfileLines3D.js +1 -1
- package/widgets/FeatureForm/FieldInput.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/HistogramRangeSlider/HistogramRangeSliderViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerVisibleElements.d.ts +5 -5
- package/widgets/OrientedImageryViewer/OrientedImageryViewerVisibleElements.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/view/SceneViewAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/constants.js +1 -1
- package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
- package/widgets/OrientedImageryViewer/services/SuperimposeService.js +2 -0
- package/widgets/OrientedImageryViewer/support/superimposeUtils.js +2 -0
- package/widgets/OrientedImageryViewer/types.d.ts +10 -0
- package/widgets/OrientedImageryViewer.d.ts +17 -2
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/ScaleRangeSlider/ScaleRangeSliderViewModel.js +1 -1
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/Sketch/support/PluginManager.js +1 -1
- package/widgets/Sketch/support/SettingsManager.js +2 -0
- package/widgets/Sketch.js +1 -1
- package/widgets/Slider/SliderViewModel.d.ts +2 -1
- package/widgets/Slider/SliderViewModel.js +1 -1
- package/widgets/Slider.js +1 -1
- package/widgets/smartMapping/ColorSlider/ColorSliderViewModel.js +1 -1
- package/widgets/smartMapping/OpacitySlider/OpacitySliderViewModel.js +1 -1
- package/widgets/smartMapping/SizeSlider/SizeSliderViewModel.js +1 -1
- package/widgets/smartMapping/SmartMappingSliderViewModel.js +1 -1
- package/widgets/support/ContingentValuesManager.js +1 -1
- package/widgets/support/PluginSettingsControls.js +2 -0
- package/widgets/support/SnappingControls.js +1 -1
- package/widgets/support/forms/formUtils.js +1 -1
- package/widgets/types.d.ts +1 -1
- package/analysis/ElevationProfile/elevationProfileLineTypes.js +0 -2
- package/assets/esri/core/workers/chunks/003476e950bd27a2f884.js +0 -596
- package/assets/esri/core/workers/chunks/07aca5ecad659d55e795.js +0 -2
- package/assets/esri/core/workers/chunks/07eff82916681fcff069.js +0 -1
- package/assets/esri/core/workers/chunks/0b1454a77a6a682541dc.js +0 -2
- package/assets/esri/core/workers/chunks/3697e51e1e4cf442f39a.js +0 -1
- package/assets/esri/core/workers/chunks/3cce9dad8ee0e4971d50.js +0 -1
- package/assets/esri/core/workers/chunks/68a313155ddc29bd024d.js +0 -1
- package/assets/esri/core/workers/chunks/751609831b283903ba48.js +0 -1
- package/assets/esri/core/workers/chunks/7540f7df86620f067b5a.js +0 -1
- package/assets/esri/core/workers/chunks/76e34f81bb4a7b0e694c.js +0 -1
- package/assets/esri/core/workers/chunks/7bacdd65a6cc4d284e0a.js +0 -2
- package/assets/esri/core/workers/chunks/7e97684e851274efd11f.js +0 -1
- package/assets/esri/core/workers/chunks/85aac8539996372f1ee8.js +0 -1
- package/assets/esri/core/workers/chunks/99c161fecae710b53b40.js +0 -1
- package/assets/esri/core/workers/chunks/99d298d0039c536fcf3e.js +0 -1
- package/assets/esri/core/workers/chunks/9aaf78b831f8739bc127.js +0 -1
- package/assets/esri/core/workers/chunks/bfe575da727ce7c8d331.js +0 -2
- package/assets/esri/core/workers/chunks/cb45e5d4a4ef82cda583.js +0 -1
- package/assets/esri/core/workers/chunks/e262c4864dc06c43b380.js +0 -1
- package/assets/esri/core/workers/chunks/ea59b81299acaf0d85ee.js +0 -1
- package/assets/esri/core/workers/chunks/ef0eae13408cbf83a64f.js +0 -1
- package/assets/esri/core/workers/chunks/f09a41ad239d467d9438.js +0 -2
- package/assets/esri/core/workers/chunks/f6912532aae1638cbe8f.js +0 -1
- package/rest/networks/unitIdentifiers/insertGap.js +0 -2
- package/rest/networks/unitIdentifiers/support/InsertGapParameters.js +0 -2
- /package/assets/esri/core/workers/chunks/{7bacdd65a6cc4d284e0a.js.LICENSE.txt → 10408183681fd6c7b4ed.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{f09a41ad239d467d9438.js.LICENSE.txt → 5818f1f526577068d6ca.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{bfe575da727ce7c8d331.js.LICENSE.txt → 7cdd0492b2191df95102.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{07aca5ecad659d55e795.js.LICENSE.txt → dacc2e5fa462495ed1cc.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type Accessor from "../../core/Accessor.js";
|
|
2
|
+
import type Collection from "../../core/Collection.js";
|
|
3
|
+
import type { ElevationProfileLineUnion } from "./types.js";
|
|
4
|
+
import type { ReadonlyArrayOrCollection } from "../../core/Collection.js";
|
|
5
|
+
import type { ElevationProfileLineSceneProperties } from "./ElevationProfileLineScene.js";
|
|
6
|
+
import type { ElevationProfileLineQueryProperties } from "./ElevationProfileLineQuery.js";
|
|
7
|
+
import type { ElevationProfileLineInputProperties } from "./ElevationProfileLineInput.js";
|
|
8
|
+
import type { ElevationProfileLineGroundProperties } from "./ElevationProfileLineGround.js";
|
|
9
|
+
|
|
10
|
+
/** @since 5.1 */
|
|
11
|
+
export interface ElevationProfileGroupProperties extends Partial<Pick<ElevationProfileGroup, "id" | "title">> {
|
|
12
|
+
/**
|
|
13
|
+
* The collection of [profile lines](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLine/) that belong to this group.
|
|
14
|
+
*
|
|
15
|
+
* Each line defines a source for sampling elevation along the analysis geometry and is computed independently.
|
|
16
|
+
* The group itself is used for organization and does not produce a separate result line.
|
|
17
|
+
*
|
|
18
|
+
* Each line in the group will be included in both the [ElevationProfileAnalysisView2D.results](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/ElevationProfileAnalysisView2D/#results)
|
|
19
|
+
* and [ElevationProfileAnalysisView3D.results](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ElevationProfileAnalysisView3D/#results) array of the analysis view, but the group will
|
|
20
|
+
* not have a corresponding result entry.
|
|
21
|
+
*
|
|
22
|
+
* @since 5.1
|
|
23
|
+
*/
|
|
24
|
+
profiles?: ReadonlyArrayOrCollection<((ElevationProfileLineGroundProperties & { type: "ground" }) | (ElevationProfileLineInputProperties & { type: "input" }) | (ElevationProfileLineQueryProperties & { type: "query" }) | (ElevationProfileLineSceneProperties & { type: "scene" }))> | null;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Represents a logical container that organizes multiple profile lines.
|
|
29
|
+
*
|
|
30
|
+
* The group itself is not computed directly as a profile line. Instead, each individual line within
|
|
31
|
+
* [profiles](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileGroup/#profiles) is computed independently, with the resulting data
|
|
32
|
+
* exposed through the [ElevationProfileAnalysisView2D.results](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/ElevationProfileAnalysisView2D/#results) and
|
|
33
|
+
* [ElevationProfileAnalysisView3D.results](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ElevationProfileAnalysisView3D/#results) properties.
|
|
34
|
+
*
|
|
35
|
+
* When using the
|
|
36
|
+
* [Elevation Profile component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/),
|
|
37
|
+
* the group serves to consolidate these profile lines under a single entry in the legend for better
|
|
38
|
+
* organization.
|
|
39
|
+
*
|
|
40
|
+
* @since 5.1
|
|
41
|
+
* @see [ElevationProfileAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/)
|
|
42
|
+
* @see [ElevationProfileLine](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLine/)
|
|
43
|
+
*/
|
|
44
|
+
export default class ElevationProfileGroup extends Accessor {
|
|
45
|
+
/** @since 5.1 */
|
|
46
|
+
constructor(properties?: ElevationProfileGroupProperties);
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier for the profile group. This value is automatically generated unless specified.
|
|
49
|
+
*
|
|
50
|
+
* @since 5.1
|
|
51
|
+
*/
|
|
52
|
+
accessor id: string;
|
|
53
|
+
/**
|
|
54
|
+
* The collection of [profile lines](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLine/) that belong to this group.
|
|
55
|
+
*
|
|
56
|
+
* Each line defines a source for sampling elevation along the analysis geometry and is computed independently.
|
|
57
|
+
* The group itself is used for organization and does not produce a separate result line.
|
|
58
|
+
*
|
|
59
|
+
* Each line in the group will be included in both the [ElevationProfileAnalysisView2D.results](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/ElevationProfileAnalysisView2D/#results)
|
|
60
|
+
* and [ElevationProfileAnalysisView3D.results](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ElevationProfileAnalysisView3D/#results) array of the analysis view, but the group will
|
|
61
|
+
* not have a corresponding result entry.
|
|
62
|
+
*
|
|
63
|
+
* @since 5.1
|
|
64
|
+
*/
|
|
65
|
+
get profiles(): Collection<ElevationProfileLineUnion>;
|
|
66
|
+
set profiles(value: ReadonlyArrayOrCollection<((ElevationProfileLineGroundProperties & { type: "ground" }) | (ElevationProfileLineInputProperties & { type: "input" }) | (ElevationProfileLineQueryProperties & { type: "query" }) | (ElevationProfileLineSceneProperties & { type: "scene" }))> | null | undefined);
|
|
67
|
+
/**
|
|
68
|
+
* Title of the group, shown in the chart legend.
|
|
69
|
+
*
|
|
70
|
+
* @since 5.1
|
|
71
|
+
*/
|
|
72
|
+
accessor title: string | null | undefined;
|
|
73
|
+
readonly type: "group";
|
|
74
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{__decorate as o}from"tslib";import e from"./ElevationProfileLine.js";import r from"./ElevationProfileLineGround.js";import t from"./ElevationProfileLineInput.js";import i from"./ElevationProfileLineQuery.js";import s from"./ElevationProfileLineScene.js";import l from"../../core/Accessor.js";import{equals as p}from"../../core/arrayUtils.js";import n from"../../core/Collection.js";import{referenceSetter as f}from"../../core/collectionUtils.js";import{generateUUID as a}from"../../core/uuid.js";import{property as m,subclass as c}from"../../core/accessorSupport/decorators.js";var u;const y={base:e,key:"type",typeMap:{ground:r,input:t,query:i,scene:s},errorContext:"elevation-profile-line"},j=n.ofType(y);let v=u=class extends l{constructor(o){super(o),this.type="group",this.id=a(),this.title=null,o?.profiles||(this.profiles=new n)}get profiles(){return this._get("profiles")}set profiles(o){const e=this._get("profiles"),r=o??new n;this._set("profiles",f(r,e))}equals(o){return this===o||o instanceof u&&(this.title===o.title&&p(this.profiles.toArray(),o.profiles.toArray(),(o,e)=>o.equals(e)))}};o([m({nonNullable:!0})],v.prototype,"id",void 0),o([m({type:j,nonNullable:!0})],v.prototype,"profiles",null),o([m()],v.prototype,"title",void 0),v=u=o([c("esri.analysis.ElevationProfile.ElevationProfileGroup")],v);const d=v;export{d as default};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type Graphic from "../Graphic.js";
|
|
2
2
|
import type Analysis from "./Analysis.js";
|
|
3
3
|
import type ElevationProfileDisplayUnits from "./ElevationProfile/ElevationProfileDisplayUnits.js";
|
|
4
|
+
import type ElevationProfileGroup from "./ElevationProfile/ElevationProfileGroup.js";
|
|
4
5
|
import type ElevationProfileViewOptions from "./ElevationProfile/ElevationProfileViewOptions.js";
|
|
5
6
|
import type Collection from "../core/Collection.js";
|
|
6
7
|
import type Polyline from "../geometry/Polyline.js";
|
|
@@ -9,13 +10,14 @@ import type { AnalysisProperties } from "./Analysis.js";
|
|
|
9
10
|
import type { ElevationProfileDisplayUnitsProperties } from "./ElevationProfile/ElevationProfileDisplayUnits.js";
|
|
10
11
|
import type { ElevationProfileViewOptionsProperties } from "./ElevationProfile/ElevationProfileViewOptions.js";
|
|
11
12
|
import type { ElevationProfileLineUnion } from "./ElevationProfile/types.js";
|
|
13
|
+
import type { ReadonlyArrayOrCollection } from "../core/Collection.js";
|
|
12
14
|
import type { ElevationInfoProperties } from "../symbols/support/ElevationInfo.js";
|
|
13
15
|
import type { PolylineProperties } from "../geometry/Polyline.js";
|
|
16
|
+
import type { ElevationProfileGroupProperties } from "./ElevationProfile/ElevationProfileGroup.js";
|
|
14
17
|
import type { ElevationProfileLineSceneProperties } from "./ElevationProfile/ElevationProfileLineScene.js";
|
|
15
18
|
import type { ElevationProfileLineQueryProperties } from "./ElevationProfile/ElevationProfileLineQuery.js";
|
|
16
19
|
import type { ElevationProfileLineInputProperties } from "./ElevationProfile/ElevationProfileLineInput.js";
|
|
17
20
|
import type { ElevationProfileLineGroundProperties } from "./ElevationProfile/ElevationProfileLineGround.js";
|
|
18
|
-
import type { ReadonlyArrayOrCollection } from "../core/Collection.js";
|
|
19
21
|
|
|
20
22
|
export interface ElevationProfileAnalysisProperties extends AnalysisProperties {
|
|
21
23
|
/**
|
|
@@ -35,25 +37,32 @@ export interface ElevationProfileAnalysisProperties extends AnalysisProperties {
|
|
|
35
37
|
/** The [Polyline](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polyline/) along which elevation is to be sampled. */
|
|
36
38
|
geometry?: PolylineProperties | null;
|
|
37
39
|
/**
|
|
38
|
-
* The collection of
|
|
39
|
-
*
|
|
40
|
-
*
|
|
40
|
+
* The collection of profiles to compute and display.
|
|
41
|
+
*
|
|
42
|
+
* A profile can be either:
|
|
43
|
+
*
|
|
44
|
+
* * An [ElevationProfileLine](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLine/) that defines a source for sampling elevation
|
|
45
|
+
* along the input geometry (such as ground, input geometry itself, custom elevation sources, or scene content),
|
|
46
|
+
* and includes settings for how the resulting line will appear in charts and in the view.
|
|
47
|
+
* * An [ElevationProfileGroup](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileGroup/) that organizes multiple profile lines under a single
|
|
48
|
+
* logical container, represented as a single legend entry.
|
|
41
49
|
*
|
|
42
50
|
* In a [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/), [ElevationProfileLineScene](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/) is
|
|
43
51
|
* not supported.
|
|
44
52
|
*/
|
|
45
|
-
profiles?: ReadonlyArrayOrCollection<((ElevationProfileLineGroundProperties & { type: "ground" }) | (ElevationProfileLineInputProperties & { type: "input" }) | (ElevationProfileLineQueryProperties & { type: "query" }) | (ElevationProfileLineSceneProperties & { type: "scene" }))> | null;
|
|
53
|
+
profiles?: ReadonlyArrayOrCollection<((ElevationProfileLineGroundProperties & { type: "ground" }) | (ElevationProfileLineInputProperties & { type: "input" }) | (ElevationProfileLineQueryProperties & { type: "query" }) | (ElevationProfileLineSceneProperties & { type: "scene" })) | (ElevationProfileGroupProperties & { type: "group" })> | null;
|
|
46
54
|
/** Configuration options for visualizing an elevation profile within a view. */
|
|
47
55
|
viewOptions?: ElevationProfileViewOptionsProperties;
|
|
48
56
|
}
|
|
49
57
|
|
|
50
58
|
/**
|
|
51
|
-
* The `ElevationProfileAnalysis` class enables programmatic creation and management of elevation profiles in both
|
|
59
|
+
* The `ElevationProfileAnalysis` class enables programmatic creation and management of elevation profiles in both
|
|
52
60
|
* a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/) and a [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/). An elevation profile visualizes elevation
|
|
53
61
|
* changes along a specified [Polyline](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polyline/), which is provided via the [geometry](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/#geometry) property.
|
|
54
62
|
*
|
|
55
|
-
* This analysis supports multiple
|
|
56
|
-
* such as ground, input geometry, custom elevation sources, or scene content
|
|
63
|
+
* This analysis supports multiple profiles, each representing a different source or method for sampling elevation.
|
|
64
|
+
* A profile can be a line (such as ground, input geometry, custom elevation sources, or scene content)
|
|
65
|
+
* or a [group](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileGroup/). The configuration of these profiles is managed
|
|
57
66
|
* through the [profiles](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/#profiles) property.
|
|
58
67
|
*
|
|
59
68
|
* To add an elevation profile analysis to a view:
|
|
@@ -79,7 +88,7 @@ export interface ElevationProfileAnalysisProperties extends AnalysisProperties {
|
|
|
79
88
|
*
|
|
80
89
|
* Use the [ElevationProfileAnalysisView2D](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/ElevationProfileAnalysisView2D/) or
|
|
81
90
|
* [ElevationProfileAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ElevationProfileAnalysisView3D/) to retrieve the analysis results.
|
|
82
|
-
* The combined statistics, as well as results for each computed profile line, can be
|
|
91
|
+
* The combined statistics, as well as results for each computed profile line, can then be visualized in a custom chart using any charting library,
|
|
83
92
|
* embedded in a dashboard, exported as a CSV file, or used for further calculations.
|
|
84
93
|
*
|
|
85
94
|
* ```js
|
|
@@ -156,15 +165,21 @@ export default class ElevationProfileAnalysis extends Analysis {
|
|
|
156
165
|
get geometry(): Polyline | null | undefined;
|
|
157
166
|
set geometry(value: PolylineProperties | null | undefined);
|
|
158
167
|
/**
|
|
159
|
-
* The collection of
|
|
160
|
-
*
|
|
161
|
-
*
|
|
168
|
+
* The collection of profiles to compute and display.
|
|
169
|
+
*
|
|
170
|
+
* A profile can be either:
|
|
171
|
+
*
|
|
172
|
+
* * An [ElevationProfileLine](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLine/) that defines a source for sampling elevation
|
|
173
|
+
* along the input geometry (such as ground, input geometry itself, custom elevation sources, or scene content),
|
|
174
|
+
* and includes settings for how the resulting line will appear in charts and in the view.
|
|
175
|
+
* * An [ElevationProfileGroup](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileGroup/) that organizes multiple profile lines under a single
|
|
176
|
+
* logical container, represented as a single legend entry.
|
|
162
177
|
*
|
|
163
178
|
* In a [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/), [ElevationProfileLineScene](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/) is
|
|
164
179
|
* not supported.
|
|
165
180
|
*/
|
|
166
|
-
get profiles(): Collection<ElevationProfileLineUnion>;
|
|
167
|
-
set profiles(value: ReadonlyArrayOrCollection<((ElevationProfileLineGroundProperties & { type: "ground" }) | (ElevationProfileLineInputProperties & { type: "input" }) | (ElevationProfileLineQueryProperties & { type: "query" }) | (ElevationProfileLineSceneProperties & { type: "scene" }))> | null | undefined);
|
|
181
|
+
get profiles(): Collection<ElevationProfileLineUnion | ElevationProfileGroup>;
|
|
182
|
+
set profiles(value: ReadonlyArrayOrCollection<((ElevationProfileLineGroundProperties & { type: "ground" }) | (ElevationProfileLineInputProperties & { type: "input" }) | (ElevationProfileLineQueryProperties & { type: "query" }) | (ElevationProfileLineSceneProperties & { type: "scene" })) | (ElevationProfileGroupProperties & { type: "group" })> | null | undefined);
|
|
168
183
|
/** The analysis type. */
|
|
169
184
|
get type(): "elevation-profile";
|
|
170
185
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import o from"./Analysis.js";import t from"./ElevationProfile/ElevationProfileDisplayUnits.js";import i from"./ElevationProfile/
|
|
2
|
+
import{__decorate as e}from"tslib";import o from"./Analysis.js";import t from"./ElevationProfile/ElevationProfileDisplayUnits.js";import i from"./ElevationProfile/ElevationProfileGroup.js";import r from"./ElevationProfile/ElevationProfileLineGround.js";import s from"./ElevationProfile/ElevationProfileLineInput.js";import l from"./ElevationProfile/ElevationProfileLineQuery.js";import n from"./ElevationProfile/ElevationProfileLineScene.js";import a from"./ElevationProfile/ElevationProfileViewOptions.js";import p from"../core/Accessor.js";import{equals as f}from"../core/arrayUtils.js";import m from"../core/Collection.js";import{referenceSetter as y}from"../core/collectionUtils.js";import v from"../core/Logger.js";import{equalsMaybe as u}from"../core/maybe.js";import{property as h,subclass as c}from"../core/accessorSupport/decorators.js";import g from"../geometry/Polyline.js";import{geometryEquals as d}from"../layers/graphics/dehydratedFeatureComparison.js";import{getGraphicEffectiveElevationInfo as P}from"../support/elevationInfoUtils.js";import E from"../symbols/support/ElevationInfo.js";import{isValidInputPath as j}from"../views/analysis/ElevationProfile/elevationProfileGeometryUtils.js";const w={base:p,key:"type",typeMap:{ground:r,input:s,query:l,scene:n,group:i},errorContext:"elevation-profile-line"},I=m.ofType(w);let U=class extends o{constructor(e){super(e),this.type="elevation-profile",this.geometry=null,this.displayUnits=new t,this.viewOptions=new a,e?.profiles||(this.profiles=new m([new r]))}initialize(){const e=e=>!e?.declaredClass?.startsWith("esri.widgets.ElevationProfile")||(v.getLogger(this).errorOnce("Classes from the 'esri/widgets/ElevationProfile' namespace are meant for use with the Elevation Profile widget and are not supported in the 'profiles' collection of the ElevationProfileAnalysis. Use classes from 'esri/analysis/ElevationProfile' instead."),!1);this.profiles.on("before-changes",o=>{e(o.item)||o.preventDefault()});for(const o of Array.from(this.profiles))e(o)||this.profiles.remove(o)}get elevationInfo(){return this._get("elevationInfo")}set elevationInfo(e){this._set("elevationInfo",e)}get profiles(){return this._get("profiles")}set profiles(e){const o=this._get("profiles"),t=e??new m;this._set("profiles",y(t,o))}get valid(){return j(this.geometry)}equals(e){return this===e||super.equals(e)&&d(this.geometry,e.geometry)&&u(this.elevationInfo,e.elevationInfo)&&f(this.profiles.toArray(),e.profiles.toArray(),(e,o)=>e.equals(o))&&this.displayUnits.equals(e.displayUnits)&&this.viewOptions.equals(e.viewOptions)}clear(){this.geometry=null,this.elevationInfo=null}setGeometryFromFeature(e){e.geometry&&"polyline"===e.geometry.type?(this.geometry=e.geometry,this.elevationInfo=new E({...P(e)})):v.getLogger(this).errorOnce("The feature's geometry must be a polyline to set it as the geometry of the ElevationProfileAnalysis.")}};e([h({type:["elevation-profile"]})],U.prototype,"type",void 0),e([h({type:g})],U.prototype,"geometry",void 0),e([h({type:E})],U.prototype,"elevationInfo",null),e([h({type:I,nonNullable:!0})],U.prototype,"profiles",null),e([h({type:t,nonNullable:!0})],U.prototype,"displayUnits",void 0),e([h()],U.prototype,"valid",null),e([h({type:a,nonNullable:!0})],U.prototype,"viewOptions",void 0),U=e([c("esri.analysis.ElevationProfileAnalysis")],U);const b=U;export{b as default};
|
|
@@ -1,18 +1,32 @@
|
|
|
1
1
|
import type Color from "../../Color.js";
|
|
2
|
+
import type ColorStop from "../../renderers/visualVariables/support/ColorStop.js";
|
|
2
3
|
import type { ColorLike } from "../../Color.js";
|
|
3
4
|
import type { Clonable } from "../../core/Clonable.js";
|
|
5
|
+
import type { ColorStopProperties } from "../../renderers/visualVariables/support/ColorStop.js";
|
|
4
6
|
|
|
5
7
|
/** @since 5.0 */
|
|
6
8
|
export interface DiscreteOptionsProperties extends Partial<Pick<DiscreteOptions, "interval">> {
|
|
7
9
|
/**
|
|
8
|
-
*
|
|
9
|
-
* shadows.
|
|
10
|
-
* color
|
|
10
|
+
* Defines the color used by the default color ramp for the visualization. The opacity is mapped to the number of
|
|
11
|
+
* overlapping shadows. Areas without shadow are displayed with zero opacity and areas with the maximum number of
|
|
12
|
+
* overlapping shadows are displayed with the opacity specified in this color.
|
|
13
|
+
*
|
|
14
|
+
* When [colorStops](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/DiscreteOptions/#colorStops) is not specified, the visualization uses a default ramp between transparent and this color. When specified, those stops are used instead.
|
|
11
15
|
*
|
|
12
16
|
* @default [50, 50, 50, 0.7]
|
|
13
17
|
* @since 5.0
|
|
14
18
|
*/
|
|
15
19
|
color?: ColorLike;
|
|
20
|
+
/**
|
|
21
|
+
* The color stops for the visualization.
|
|
22
|
+
*
|
|
23
|
+
* - Each stop defines a color and the corresponding number of overlapping shadows.
|
|
24
|
+
* - Colors are interpolated between adjacent stops.
|
|
25
|
+
* - If omitted, the visualization uses a default ramp between transparent and [color](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/DiscreteOptions/#color). If specified, these stops are used.
|
|
26
|
+
*
|
|
27
|
+
* @since 5.1
|
|
28
|
+
*/
|
|
29
|
+
colorStops?: ColorStopProperties[] | null;
|
|
16
30
|
}
|
|
17
31
|
|
|
18
32
|
/**
|
|
@@ -28,15 +42,28 @@ export default class DiscreteOptions extends Clonable {
|
|
|
28
42
|
/** @since 5.0 */
|
|
29
43
|
constructor(properties?: DiscreteOptionsProperties);
|
|
30
44
|
/**
|
|
31
|
-
*
|
|
32
|
-
* shadows.
|
|
33
|
-
* color
|
|
45
|
+
* Defines the color used by the default color ramp for the visualization. The opacity is mapped to the number of
|
|
46
|
+
* overlapping shadows. Areas without shadow are displayed with zero opacity and areas with the maximum number of
|
|
47
|
+
* overlapping shadows are displayed with the opacity specified in this color.
|
|
48
|
+
*
|
|
49
|
+
* When [colorStops](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/DiscreteOptions/#colorStops) is not specified, the visualization uses a default ramp between transparent and this color. When specified, those stops are used instead.
|
|
34
50
|
*
|
|
35
51
|
* @default [50, 50, 50, 0.7]
|
|
36
52
|
* @since 5.0
|
|
37
53
|
*/
|
|
38
54
|
get color(): Color;
|
|
39
55
|
set color(value: ColorLike);
|
|
56
|
+
/**
|
|
57
|
+
* The color stops for the visualization.
|
|
58
|
+
*
|
|
59
|
+
* - Each stop defines a color and the corresponding number of overlapping shadows.
|
|
60
|
+
* - Colors are interpolated between adjacent stops.
|
|
61
|
+
* - If omitted, the visualization uses a default ramp between transparent and [color](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/DiscreteOptions/#color). If specified, these stops are used.
|
|
62
|
+
*
|
|
63
|
+
* @since 5.1
|
|
64
|
+
*/
|
|
65
|
+
get colorStops(): ColorStop[] | null | undefined;
|
|
66
|
+
set colorStops(value: ColorStopProperties[] | null | undefined);
|
|
40
67
|
/**
|
|
41
68
|
* Individual shadows are displayed at this time interval, starting with the start time of day.
|
|
42
69
|
* The interval is expressed in milliseconds. If set to 0, we'll use the smallest possible interval, up to a
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{__decorate as o}from"tslib";import r from"../../Color.js";import{
|
|
2
|
+
import{__decorate as o}from"tslib";import r from"../../Color.js";import{colorStopsEqual as t}from"./colorStopsUtils.js";import{Clonable as s}from"../../core/Clonable.js";import{convertTime as e}from"../../core/timeUtils.js";import{property as l,subclass as i}from"../../core/accessorSupport/decorators.js";import p from"../../renderers/visualVariables/support/ColorStop.js";let c=class extends s{constructor(o){super(o),this.color=new r([50,50,50,.7]),this.colorStops=null,this.interval=e(1,"hours","milliseconds")}equals(o){return this===o||this.color.equals(o.color)&&t(this.colorStops,o.colorStops)&&this.interval===o.interval}};o([l({type:r,nonNullable:!0})],c.prototype,"color",void 0),o([l({type:[p]})],c.prototype,"colorStops",void 0),o([l({type:Number})],c.prototype,"interval",void 0),c=o([i("esri.analysis.ShadowCast.DiscreteOptions")],c);const a=c;export{a as default};
|
|
@@ -7,8 +7,9 @@ import type { Clonable } from "../../core/Clonable.js";
|
|
|
7
7
|
/** @since 5.0 */
|
|
8
8
|
export interface MinDurationOptionsProperties extends Partial<Pick<MinDurationOptions, "contextEnabled" | "minDuration">> {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration) are displayed with
|
|
10
|
+
* Defines the color used to display areas where the cumulative shadow duration meets or exceeds
|
|
11
|
+
* [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration). Areas with shorter shadow duration are displayed with
|
|
12
|
+
* zero opacity.
|
|
12
13
|
*
|
|
13
14
|
* @default [255, 0, 0, 0.7]
|
|
14
15
|
* @since 5.0
|
|
@@ -38,8 +39,9 @@ export default class MinDurationOptions extends Clonable {
|
|
|
38
39
|
/** @since 5.0 */
|
|
39
40
|
constructor(properties?: MinDurationOptionsProperties);
|
|
40
41
|
/**
|
|
41
|
-
*
|
|
42
|
-
* [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration) are displayed with
|
|
42
|
+
* Defines the color used to display areas where the cumulative shadow duration meets or exceeds
|
|
43
|
+
* [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration). Areas with shorter shadow duration are displayed with
|
|
44
|
+
* zero opacity.
|
|
43
45
|
*
|
|
44
46
|
* @default [255, 0, 0, 0.7]
|
|
45
47
|
* @since 5.0
|
|
@@ -1,19 +1,33 @@
|
|
|
1
1
|
import type Color from "../../Color.js";
|
|
2
|
+
import type ColorStop from "../../renderers/visualVariables/support/ColorStop.js";
|
|
2
3
|
import type { ColorLike } from "../../Color.js";
|
|
3
4
|
import type { ShadowCastTotalDurationMode } from "./types.js";
|
|
4
5
|
import type { Clonable } from "../../core/Clonable.js";
|
|
6
|
+
import type { ColorStopProperties } from "../../renderers/visualVariables/support/ColorStop.js";
|
|
5
7
|
|
|
6
8
|
/** @since 5.0 */
|
|
7
9
|
export interface TotalDurationOptionsProperties extends Partial<Pick<TotalDurationOptions, "mode">> {
|
|
8
10
|
/**
|
|
9
|
-
*
|
|
10
|
-
* shadow are displayed with zero opacity and areas that receive shadows for
|
|
11
|
-
* with the opacity specified in this
|
|
11
|
+
* Defines the color used by the default color ramp for the visualization. The opacity is mapped to the time spent
|
|
12
|
+
* in shadow. Areas that don't receive any shadow are displayed with zero opacity and areas that receive shadows for
|
|
13
|
+
* the entire time range are displayed with the opacity specified in this color.
|
|
14
|
+
*
|
|
15
|
+
* When [colorStops](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/TotalDurationOptions/#colorStops) is not specified, the visualization uses a default ramp between transparent and this color. When specified, those stops are used instead.
|
|
12
16
|
*
|
|
13
17
|
* @default [0, 0, 255, 0.7]
|
|
14
18
|
* @since 5.0
|
|
15
19
|
*/
|
|
16
20
|
color?: ColorLike;
|
|
21
|
+
/**
|
|
22
|
+
* The color stops for the visualization.
|
|
23
|
+
*
|
|
24
|
+
* - Each stop defines a color and a value in milliseconds.
|
|
25
|
+
* - Colors are interpolated between adjacent stops.
|
|
26
|
+
* - If omitted, the visualization uses a default ramp between transparent and [color](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/TotalDurationOptions/#color). If specified, these stops are used.
|
|
27
|
+
*
|
|
28
|
+
* @since 5.1
|
|
29
|
+
*/
|
|
30
|
+
colorStops?: ColorStopProperties[] | null;
|
|
17
31
|
}
|
|
18
32
|
|
|
19
33
|
/**
|
|
@@ -29,15 +43,28 @@ export default class TotalDurationOptions extends Clonable {
|
|
|
29
43
|
/** @since 5.0 */
|
|
30
44
|
constructor(properties?: TotalDurationOptionsProperties);
|
|
31
45
|
/**
|
|
32
|
-
*
|
|
33
|
-
* shadow are displayed with zero opacity and areas that receive shadows for
|
|
34
|
-
* with the opacity specified in this
|
|
46
|
+
* Defines the color used by the default color ramp for the visualization. The opacity is mapped to the time spent
|
|
47
|
+
* in shadow. Areas that don't receive any shadow are displayed with zero opacity and areas that receive shadows for
|
|
48
|
+
* the entire time range are displayed with the opacity specified in this color.
|
|
49
|
+
*
|
|
50
|
+
* When [colorStops](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/TotalDurationOptions/#colorStops) is not specified, the visualization uses a default ramp between transparent and this color. When specified, those stops are used instead.
|
|
35
51
|
*
|
|
36
52
|
* @default [0, 0, 255, 0.7]
|
|
37
53
|
* @since 5.0
|
|
38
54
|
*/
|
|
39
55
|
get color(): Color;
|
|
40
56
|
set color(value: ColorLike);
|
|
57
|
+
/**
|
|
58
|
+
* The color stops for the visualization.
|
|
59
|
+
*
|
|
60
|
+
* - Each stop defines a color and a value in milliseconds.
|
|
61
|
+
* - Colors are interpolated between adjacent stops.
|
|
62
|
+
* - If omitted, the visualization uses a default ramp between transparent and [color](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/TotalDurationOptions/#color). If specified, these stops are used.
|
|
63
|
+
*
|
|
64
|
+
* @since 5.1
|
|
65
|
+
*/
|
|
66
|
+
get colorStops(): ColorStop[] | null | undefined;
|
|
67
|
+
set colorStops(value: ColorStopProperties[] | null | undefined);
|
|
41
68
|
/**
|
|
42
69
|
* Determines how cumulative shadow duration is visualized. Either as a `continuous` surface across the selected time
|
|
43
70
|
* range or aggregated into discrete `hourly` intervals.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{__decorate as o}from"tslib";import t from"../../Color.js";import{
|
|
2
|
+
import{__decorate as o}from"tslib";import t from"../../Color.js";import{colorStopsEqual as r}from"./colorStopsUtils.js";import{Clonable as s}from"../../core/Clonable.js";import{property as e,subclass as l}from"../../core/accessorSupport/decorators.js";import p from"../../renderers/visualVariables/support/ColorStop.js";let i=class extends s{constructor(o){super(o),this.color=new t([0,0,255,.7]),this.colorStops=null,this.mode="continuous"}equals(o){return this===o||this.color.equals(o.color)&&r(this.colorStops,o.colorStops)&&this.mode===o.mode}};o([e({type:t,nonNullable:!0})],i.prototype,"color",void 0),o([e({type:[p]})],i.prototype,"colorStops",void 0),o([e({type:["continuous","hourly"]})],i.prototype,"mode",void 0),i=o([l("esri.analysis.ShadowCast.TotalDurationOptions")],i);const c=i;export{c as default};
|
|
@@ -2,14 +2,16 @@ import type Analysis from "./Analysis.js";
|
|
|
2
2
|
import type DiscreteOptions from "./ShadowCast/DiscreteOptions.js";
|
|
3
3
|
import type MinDurationOptions from "./ShadowCast/MinDurationOptions.js";
|
|
4
4
|
import type TotalDurationOptions from "./ShadowCast/TotalDurationOptions.js";
|
|
5
|
+
import type Polygon from "../geometry/Polygon.js";
|
|
5
6
|
import type { AnalysisProperties } from "./Analysis.js";
|
|
6
7
|
import type { DiscreteOptionsProperties } from "./ShadowCast/DiscreteOptions.js";
|
|
7
8
|
import type { MinDurationOptionsProperties } from "./ShadowCast/MinDurationOptions.js";
|
|
8
9
|
import type { TotalDurationOptionsProperties } from "./ShadowCast/TotalDurationOptions.js";
|
|
9
10
|
import type { ShadowCastMode } from "./ShadowCast/types.js";
|
|
11
|
+
import type { PolygonProperties } from "../geometry/Polygon.js";
|
|
10
12
|
|
|
11
13
|
/** @since 5.0 */
|
|
12
|
-
export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partial<Pick<ShadowCastAnalysis, "endTimeOfDay" | "mode" | "startTimeOfDay" | "utcOffset">> {
|
|
14
|
+
export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partial<Pick<ShadowCastAnalysis, "endTimeOfDay" | "mode" | "startTimeOfDay" | "utcOffset" | "visualizeSunlight">> {
|
|
13
15
|
/**
|
|
14
16
|
* The calendar date used to calculate the shadow cast. This date excludes the time.
|
|
15
17
|
* If a date with a time is set, the time value will be set to midnight (`00:00:00`) of that date in local system time.
|
|
@@ -24,6 +26,12 @@ export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partia
|
|
|
24
26
|
* @since 5.0
|
|
25
27
|
*/
|
|
26
28
|
discreteOptions?: DiscreteOptionsProperties;
|
|
29
|
+
/**
|
|
30
|
+
* Area inside which to apply the shadow cast. If not set it will apply to the entire scene.
|
|
31
|
+
*
|
|
32
|
+
* @since 5.1
|
|
33
|
+
*/
|
|
34
|
+
geometry?: PolygonProperties | null;
|
|
27
35
|
/**
|
|
28
36
|
* Options specific to the `min-duration` mode.
|
|
29
37
|
*
|
|
@@ -173,6 +181,13 @@ export default class ShadowCastAnalysis extends Analysis {
|
|
|
173
181
|
* @since 5.0
|
|
174
182
|
*/
|
|
175
183
|
accessor endTimeOfDay: number;
|
|
184
|
+
/**
|
|
185
|
+
* Area inside which to apply the shadow cast. If not set it will apply to the entire scene.
|
|
186
|
+
*
|
|
187
|
+
* @since 5.1
|
|
188
|
+
*/
|
|
189
|
+
get geometry(): Polygon | null | undefined;
|
|
190
|
+
set geometry(value: PolygonProperties | null | undefined);
|
|
176
191
|
/**
|
|
177
192
|
* Options specific to the `min-duration` mode.
|
|
178
193
|
*
|
|
@@ -235,4 +250,12 @@ export default class ShadowCastAnalysis extends Analysis {
|
|
|
235
250
|
* @since 5.0
|
|
236
251
|
*/
|
|
237
252
|
get valid(): boolean;
|
|
253
|
+
/**
|
|
254
|
+
* When `true`, the analysis will visualize the sunlight duration instead of the shadow duration. This applies to all
|
|
255
|
+
* modes and their respective options.
|
|
256
|
+
*
|
|
257
|
+
* @default false
|
|
258
|
+
* @since 5.1
|
|
259
|
+
*/
|
|
260
|
+
accessor visualizeSunlight: boolean;
|
|
238
261
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{__decorate as t}from"tslib";import o from"./Analysis.js";import e from"./ShadowCast/DiscreteOptions.js";import
|
|
2
|
+
import{__decorate as t}from"tslib";import o from"./Analysis.js";import e from"./ShadowCast/DiscreteOptions.js";import i from"./ShadowCast/MinDurationOptions.js";import s from"./ShadowCast/TotalDurationOptions.js";import{equalsMaybe as a}from"../core/maybe.js";import{convertTime as r}from"../core/timeUtils.js";import{property as n,subclass as l}from"../core/accessorSupport/decorators.js";import p from"../geometry/Polygon.js";let u=class extends o{constructor(t){super(t),this.type="shadow-cast",this.geometry=null,this.utcOffset=null,this.startTimeOfDay=r(10,"hours","milliseconds"),this.endTimeOfDay=r(16,"hours","milliseconds"),this.mode="min-duration",this.visualizeSunlight=!1,this.discreteOptions=new e,this.totalDurationOptions=new s,this.minDurationOptions=new i,this.date??=new Date}set date(t){const o=new Date(t);o.setHours(0,0,0,0),this._set("date",o)}get valid(){return!0}equals(t){return this===t||super.equals(t)&&this.date.getTime()===t.date.getTime()&&this.utcOffset===t.utcOffset&&this.startTimeOfDay===t.startTimeOfDay&&this.endTimeOfDay===t.endTimeOfDay&&a(this.geometry,t.geometry)&&this.mode===t.mode&&this.visualizeSunlight===t.visualizeSunlight&&this.discreteOptions.equals(t.discreteOptions)&&this.totalDurationOptions.equals(t.totalDurationOptions)&&this.minDurationOptions.equals(t.minDurationOptions)}clear(){throw new Error("clear() is not supported on ShadowCastAnalysis.")}};t([n({type:["shadow-cast"]})],u.prototype,"type",void 0),t([n({type:Date,nonNullable:!0})],u.prototype,"date",null),t([n({type:p})],u.prototype,"geometry",void 0),t([n({})],u.prototype,"utcOffset",void 0),t([n({type:Number,nonNullable:!0})],u.prototype,"startTimeOfDay",void 0),t([n({type:Number,nonNullable:!0})],u.prototype,"endTimeOfDay",void 0),t([n({type:["discrete","min-duration","total-duration"],nonNullable:!0})],u.prototype,"mode",void 0),t([n({type:Boolean,nonNullable:!0})],u.prototype,"visualizeSunlight",void 0),t([n({type:e,nonNullable:!0})],u.prototype,"discreteOptions",void 0),t([n({type:s,nonNullable:!0})],u.prototype,"totalDurationOptions",void 0),t([n({type:i,nonNullable:!0})],u.prototype,"minDurationOptions",void 0),t([n({readOnly:!0})],u.prototype,"valid",null),u=t([l("esri.analysis.ShadowCastAnalysis")],u);const m=u;export{m as default};
|
package/analysis/Viewshed.d.ts
CHANGED
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
import type Point from "../geometry/Point.js";
|
|
2
|
+
import type ElevationInfo from "../symbols/support/ElevationInfo.js";
|
|
2
3
|
import type { FeatureReference } from "./types.js";
|
|
3
4
|
import type { Clonable } from "../core/Clonable.js";
|
|
4
5
|
import type { JSONSupportMixin } from "../core/JSONSupport.js";
|
|
5
6
|
import type { PointProperties } from "../geometry/Point.js";
|
|
7
|
+
import type { ElevationInfoProperties } from "../symbols/support/ElevationInfo.js";
|
|
6
8
|
|
|
7
9
|
export interface ViewshedProperties extends Partial<Pick<Viewshed, "farDistance" | "feature" | "heading" | "horizontalFieldOfView" | "tilt" | "verticalFieldOfView">> {
|
|
10
|
+
/**
|
|
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
|
+
* for an example of how this property may be used.
|
|
13
|
+
*
|
|
14
|
+
* > [!WARNING]
|
|
15
|
+
* >
|
|
16
|
+
* > [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.
|
|
17
|
+
* > If the elevation info is not specified, the effective elevation depends on the [observer](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/#observer) properties.
|
|
18
|
+
*
|
|
19
|
+
* @since 5.1
|
|
20
|
+
*/
|
|
21
|
+
elevationInfo?: ElevationInfoProperties | null;
|
|
8
22
|
/** A [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) specifying the position the viewshed is calculated from. */
|
|
9
23
|
observer?: PointProperties | null;
|
|
10
24
|
}
|
|
@@ -57,6 +71,19 @@ export interface ViewshedProperties extends Partial<Pick<Viewshed, "farDistance"
|
|
|
57
71
|
*/
|
|
58
72
|
export default class Viewshed extends ViewshedSuperclass {
|
|
59
73
|
constructor(properties?: ViewshedProperties);
|
|
74
|
+
/**
|
|
75
|
+
* 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/)
|
|
76
|
+
* for an example of how this property may be used.
|
|
77
|
+
*
|
|
78
|
+
* > [!WARNING]
|
|
79
|
+
* >
|
|
80
|
+
* > [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.
|
|
81
|
+
* > If the elevation info is not specified, the effective elevation depends on the [observer](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/#observer) properties.
|
|
82
|
+
*
|
|
83
|
+
* @since 5.1
|
|
84
|
+
*/
|
|
85
|
+
get elevationInfo(): ElevationInfo | null | undefined;
|
|
86
|
+
set elevationInfo(value: ElevationInfoProperties | null | undefined);
|
|
60
87
|
/**
|
|
61
88
|
* The maximum distance from the observer in which to perform the viewshed analysis (in meters).
|
|
62
89
|
*
|
package/analysis/Viewshed.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import{featureReferenceEquals as
|
|
2
|
+
import{__decorate as e}from"tslib";import{featureReferenceEquals as i,featureReferenceProperty as t}from"./featureReferenceUtils.js";import{Clonable as r}from"../core/Clonable.js";import{cyclicalDegrees as o}from"../core/Cyclical.js";import{JSONSupportMixin as s}from"../core/JSONSupport.js";import{equalsMaybe as l}from"../core/maybe.js";import{property as n,cast as a,subclass as p}from"../core/accessorSupport/decorators.js";import{ensureNumber as u}from"../core/accessorSupport/ensureType.js";import m from"../geometry/Point.js";import d from"../symbols/support/ElevationInfo.js";let f=class extends(s(r)){constructor(e){super(e),this.observer=null,this.farDistance=1e3,this.heading=0,this.tilt=90,this.horizontalFieldOfView=45,this.verticalFieldOfView=45,this.elevationInfo=null,this.feature=null}get valid(){return null!=this.observer&&this.farDistance>0}equals(e){return l(this.observer,e.observer)&&this.farDistance===e.farDistance&&this.heading===e.heading&&this.tilt===e.tilt&&this.horizontalFieldOfView===e.horizontalFieldOfView&&this.verticalFieldOfView===e.verticalFieldOfView&&l(this.elevationInfo,e.elevationInfo)&&i(this.feature,e.feature)}};e([n({type:m,json:{write:{isRequired:!0}}})],f.prototype,"observer",void 0),e([n({type:Number,nonNullable:!0,range:{min:0},json:{write:{isRequired:!0}}})],f.prototype,"farDistance",void 0),e([n({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}}),a(e=>o.normalize(u(e),void 0,!0))],f.prototype,"heading",void 0),e([n({type:Number,nonNullable:!0,range:{min:0,max:180},json:{write:{isRequired:!0}}})],f.prototype,"tilt",void 0),e([n({type:Number,nonNullable:!0,range:{min:0,max:360},json:{write:{isRequired:!0}}})],f.prototype,"horizontalFieldOfView",void 0),e([n({type:Number,nonNullable:!0,range:{min:0,max:180},json:{write:{isRequired:!0}}})],f.prototype,"verticalFieldOfView",void 0),e([n({type:d})],f.prototype,"elevationInfo",void 0),e([n(t)],f.prototype,"feature",void 0),e([n({readOnly:!0,json:{read:!1}})],f.prototype,"valid",null),f=e([p("esri.analysis.Viewshed")],f);export{f as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import t from"./Analysis.js";import n from"./Viewshed.js";import{equals as r}from"../core/arrayUtils.js";import i from"../core/Collection.js";import{referenceSetter as s,castForReferenceSetter as o}from"../core/collectionUtils.js";import{cyclicalDegrees as l}from"../core/Cyclical.js";import{deg2rad as a,clamp as u}from"../core/mathUtils.js";import{watch as p,syncAndInitial as c}from"../core/reactiveUtils.js";import{property as m,subclass as h}from"../core/accessorSupport/decorators.js";import d from"../geometry/Extent.js";import{projectOrLoadMany as f}from"../geometry/projectionUtils.js";const
|
|
2
|
+
import{__decorate as e}from"tslib";import t from"./Analysis.js";import n from"./Viewshed.js";import{equals as r}from"../core/arrayUtils.js";import i from"../core/Collection.js";import{referenceSetter as s,castForReferenceSetter as o}from"../core/collectionUtils.js";import{cyclicalDegrees as l}from"../core/Cyclical.js";import{deg2rad as a,clamp as u}from"../core/mathUtils.js";import{watch as p,syncAndInitial as c}from"../core/reactiveUtils.js";import{property as m,subclass as h}from"../core/accessorSupport/decorators.js";import d from"../geometry/Extent.js";import{projectOrLoadMany as f}from"../geometry/projectionUtils.js";import{getGeometryEffectiveElevationMode as v}from"../support/elevationInfoUtils.js";const y=i.ofType(n);let x=class extends t{constructor(e){super(e),this.type="viewshed",this._extent=null}initialize(){this.addHandles(p(()=>this._computeExtent(),e=>{null==e.pending&&(this._extent=e.extent)},c))}get viewsheds(){return this._get("viewsheds")||new y}set viewsheds(e){this._set("viewsheds",s(e,this.viewsheds,y))}get spatialReference(){for(const e of this.viewsheds)if(null!=e.observer)return e.observer.spatialReference;return null}get extent(){return this._extent}get valid(){return this.viewsheds.every(e=>e.valid)}async waitComputeExtent(){const e=this._computeExtent();null!=e.pending&&await e.pending}_computeExtent(){const{spatialReference:e}=this;if(null==e)return{pending:null,extent:null};const t=this.viewsheds.filter(e=>null!=e.observer),n=t.map(e=>e.observer).toArray(),r=f(n,e);if(null!=r.pending)return{pending:r.pending,extent:null};const i=r.geometries.map((e,n)=>{const r=t.at(n);return null!=e&&null!=r?this._computeViewshedExtent(this.viewsheds.at(n),e):null}).filter(e=>null!=e).reduce((e,t)=>g(e,t),null);return null!=i&&t.some(e=>!w(e))&&(i.zmin=void 0,i.zmax=void 0),{pending:null,extent:i}}_computeViewshedExtent(e,t){const{farDistance:n,heading:r,tilt:i,horizontalFieldOfView:s,verticalFieldOfView:o}=e,{spatialReference:p}=t,c=s/2,m=o/2,h=n/p.metersPerUnit,f=[l.normalize(r-c),r,l.normalize(r+c)],v=d.fromPoint(t),y=e=>{const t=f.map(t=>l.normalize(t-e));if(t[0]>t[2]||360===s)return h;const n=t.map(e=>Math.abs(e>180?360-e:e)).reduce((e,t)=>e>t?t:e);return n>90?0:h*Math.cos(a(n))};v.xmax+=y(90),v.xmin-=y(-90),v.ymax+=y(0),v.ymin-=y(180);const x=t.z;if(null!=x){let e=x,t=x;const r=i-90,s=u(r+m,-90,90),o=u(r-m,-90,90),l=p?.isGeographic?n:h;e+=l*_(s),t+=l*_(o);const a=j(m)*l,d=_(r)*a*(1-j(c));i<90&&(e-=d),i>90&&(t-=d),v.zmax=Math.max(e,x),v.zmin=Math.min(t,x)}return v}equals(e){return this===e||super.equals(e)&&r(this.viewsheds.toArray(),e.viewsheds.toArray(),(e,t)=>e.equals(t))}clear(){this.viewsheds.removeAll()}};function w(e){return"absolute-height"===v(e.observer,e.elevationInfo)}function g(e,t){return null==e?t:null==t?e:e.union(t)}function j(e){return Math.cos(a(e))}function _(e){return Math.sin(a(e))}e([m({type:["viewshed"]})],x.prototype,"type",void 0),e([m({cast:o,type:y,nonNullable:!0})],x.prototype,"viewsheds",null),e([m({readOnly:!0})],x.prototype,"spatialReference",null),e([m()],x.prototype,"_extent",void 0),e([m()],x.prototype,"extent",null),e([m({readOnly:!0})],x.prototype,"valid",null),x=e([h("esri.analysis.ViewshedAnalysis")],x);export{x as default};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type ImageryTileLayer from "../../../../layers/ImageryTileLayer.js";
|
|
2
|
+
import type MapView from "../../../../views/MapView.js";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface RotateDimensionsResult {
|
|
9
|
+
/** @internal */
|
|
10
|
+
width: number;
|
|
11
|
+
/** @internal */
|
|
12
|
+
height: number;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Rotates the dimensions of the image based on the given rotation angle.
|
|
17
|
+
*
|
|
18
|
+
* @param width - The width of the image.
|
|
19
|
+
* @param height - The height of the image.
|
|
20
|
+
* @param rotation - The rotation angle in degrees.
|
|
21
|
+
* @internal
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export function rotateDimensions(width: number, height: number, rotation: number): RotateDimensionsResult;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Registers a custom pan constraint on the view to restrict panning beyond the boundaries of the image.
|
|
28
|
+
*
|
|
29
|
+
* @param view - The [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/) instance to register the pan constraint on.
|
|
30
|
+
* @param image - The [ImageryTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ImageryTileLayer/) representing the image being displayed in the viewer.
|
|
31
|
+
* @internal
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
export function registerPanConstraint(view: MapView, image: ImageryTileLayer): void;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import t from"../../../../geometry/Point.js";function i(t,i,e){const n=e*(Math.PI/180);return{width:t*Math.cos(n)+i*Math.sin(n),height:t*Math.sin(n)+i*Math.cos(n)}}function e({viewpoint:e,imageWidth:n,imageHeight:o,containerWidth:a,containerHeight:r,rotation:h,constraints:s,imageExtent:c}){const g=a/r,{width:m,height:d}=i(n,o,h),{width:l,height:x}=i(c.xmin,c.ymin,h),{width:w,height:f}=i(c.xmax,c.ymax,h),p=m/a>d/r,u=s.scaleToZoom(e.scale),y=1/2**u;let M=y*m,v=y*d;u>=1&&(p?v=M/g:M=v*g);const{x:H,y:W,spatialReference:E}=e.targetGeometry,P=M/2,R=v/2,C=H<l+P?l+P:H>w-P?w-P:H,G=W<x+R?x+R:W>f-R?f-R:W;return e.targetGeometry=new t({x:C,y:G,spatialReference:E}),e}function n(t,i){const n=t.constraints.customConstraints;n.removeAll();const o=n=>{const{constraints:o,width:a,height:r}=t,{width:h,height:s}=i.serviceRasterInfo;return e({constraints:o,viewpoint:n,imageWidth:h,imageHeight:s,containerWidth:a,containerHeight:r,rotation:0,imageExtent:i.fullExtent})};n.add({constrain:o,applyPanConstraint:o})}export{n as registerPanConstraint,i as rotateDimensions};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{isPromiseLike as t}from"../core/promiseUtils.js";class
|
|
2
|
+
import{isPromiseLike as t}from"../core/promiseUtils.js";class e{constructor(){}}function n(t,n,r){if(t instanceof e&&!(t instanceof a)){const e=new a;return e.fn=t,e.parameterEvaluator=r,e.context=n,e}return t}class r extends e{constructor(t,e){super(),this._name=e,this.fn=t}get debugName(){return null!=this._name?`<native>.${this._name}`:"<native>"}createFunction(t){return(...e)=>this.fn(t,{preparsed:!0,arguments:e})}call(t,e){return this.fn(t,e)}marshalledCall(r,s,l,i){return i(r,s,(s,u,c)=>{c=c.map(t=>t instanceof e&&!(t instanceof a)?n(t,r,i):t);const o=this.call(l,{args:c});return t(o)?o.then(t=>n(t,l,i)):o})}}class a extends e{constructor(){super(...arguments),this.fn=null,this.context=null}get debugName(){return null!=this.fn.debugName?`<imported>.${this.fn.debugName}`:null}createFunction(t){return this.fn.createFunction(this.context)}call(t,e){return this.fn.marshalledCall(t,e,this.context,this.parameterEvaluator)}marshalledCall(t,e,n){return this.fn.marshalledCall(t,e,this.context,this.parameterEvaluator)}}export{e as ArcadeFunction,r as NativeFunction,a as ScopeMarshalledFunction,n as wrapModuleScopedResponse};
|