@arcgis/core 5.1.0-next.92 → 5.1.0-next.93
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/ShadowCast/DiscreteOptions.d.ts +12 -6
- package/analysis/ShadowCast/MinDurationOptions.d.ts +17 -9
- package/analysis/ShadowCast/TotalDurationOptions.d.ts +10 -6
- package/analysis/ShadowCastAnalysis.d.ts +23 -17
- package/assets/components/assets/combobox/t9n/messages.fr.json +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{adfa5c136c72c1e65770.js → 12f41c1c66fb446b6286.js} +22 -16
- package/assets/esri/core/workers/chunks/1523883460874c352e36.js +1 -0
- package/assets/esri/core/workers/chunks/{5409369d0d637cb30257.js → 172228d1a392ca7a5b21.js} +1 -1
- package/assets/esri/core/workers/chunks/{f2c11f54255fd506655e.js → 19a0cb2d335d97ad9488.js} +1 -1
- package/assets/esri/core/workers/chunks/{577cbc131b21c351fae5.js → 2647c739cda29361a463.js} +2 -2
- package/assets/esri/core/workers/chunks/34f7450769826e8b7069.js +636 -0
- package/assets/esri/core/workers/chunks/{4b9b9e6136c11d5d7901.js → 412745bfacef23e3b702.js} +1 -1
- package/assets/esri/core/workers/chunks/4df19e670b6ed76c1dea.js +2 -0
- package/assets/esri/core/workers/chunks/{ceff78c9e31e3572a082.js → 5eff240a0e41a4f80e61.js} +1 -1
- package/assets/esri/core/workers/chunks/{2dcfc4d7e76c922bcbf9.js → 6aed2e42e65ac80f1fab.js} +1 -1
- package/assets/esri/core/workers/chunks/77c2d8d0ce1c1ab469e9.js +1 -0
- package/assets/esri/core/workers/chunks/8a370cc1a99ddc7ce70b.js +1 -0
- package/assets/esri/core/workers/chunks/8a7a99533d02eb9cb058.js +2 -0
- package/assets/esri/core/workers/chunks/{90a8dfb03a437fe8a6e7.js → be47e42c6c8c0820efd8.js} +1 -1
- package/assets/esri/core/workers/chunks/c7ee05f46b26b17f9414.js +1 -0
- package/assets/esri/core/workers/chunks/{ee057c85cdf6beb5b012.js → d1ba118ddd0390c07f35.js} +2 -2
- package/assets/esri/core/workers/chunks/e6f1ed5e56f1d9862821.js +1 -0
- package/assets/esri/core/workers/chunks/{27f67a3828b78d4c1413.js → e81afc8a058a8ecc9b24.js} +1 -1
- package/assets/esri/core/workers/chunks/f49c7bb5d134bcb22155.js +1 -0
- package/assets/esri/core/workers/chunks/{aa6808146c76b2d49b64.js → f68c12e0c1eda7f73a17.js} +1 -1
- package/assets/esri/core/workers/chunks/f706bfea34d22539b46a.js +2 -0
- package/assets/esri/core/workers/chunks/{bb8d596f15fd3a0d783a.js → f8072a4cf1b25d8b93f9.js} +1 -1
- package/chunks/GlobalIllumination.glsl.js +24 -18
- package/chunks/GlowBlur.glsl.js +11 -11
- package/chunks/RibbonLine.glsl.js +91 -51
- package/chunks/ShadowCastVisualize.glsl.js +18 -15
- package/config.js +1 -1
- package/kernel.js +1 -1
- package/layers/graphics/sources/MemorySource.js +1 -1
- package/networks/support/UNTraceConfiguration.d.ts +19 -2
- package/networks/support/UNTraceConfiguration.js +1 -1
- package/networks/support/jsonTypes.d.ts +9 -1
- package/package.json +4 -4
- package/popup/Feature.d.ts +4 -4
- package/popup/Feature.js +1 -1
- package/rest/knowledgeGraph/GraphApplyEditsResult.d.ts +13 -1
- package/rest/knowledgeGraph/GraphApplyEditsResult.js +1 -1
- package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.d.ts +9 -1
- package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/wasmToDataModelChangeResponseFactories.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/wasmToUpdateResponseFactories.js +1 -1
- package/rest/networks/support/NetworkElement.d.ts +13 -1
- package/rest/networks/support/NetworkElement.js +1 -1
- package/support/revision.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/GlslGraphWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/ShaderGraphContext.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/glsl.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +6 -5
- package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceRayMarching.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowBlur.glsl.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowCastRenderer.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadowCastVisualizeTechniqueConfiguration.js +1 -1
- package/assets/esri/core/workers/chunks/0840e7dd62643c56ae9e.js +0 -1
- package/assets/esri/core/workers/chunks/0cc4b3100a7a453bd058.js +0 -1
- package/assets/esri/core/workers/chunks/1e4e7111d43f01c149b3.js +0 -1
- package/assets/esri/core/workers/chunks/73af4c947e8151d411c1.js +0 -2
- package/assets/esri/core/workers/chunks/752f4e0e2961fc315dca.js +0 -1
- package/assets/esri/core/workers/chunks/a508104179e08f0f268c.js +0 -2
- package/assets/esri/core/workers/chunks/bb5f909a2f26fc6a21b0.js +0 -2
- package/assets/esri/core/workers/chunks/bea2fd831d7a864e5995.js +0 -596
- package/assets/esri/core/workers/chunks/c8ef80a7c46d7d2c5172.js +0 -1
- package/assets/esri/core/workers/chunks/f971dcfd04af1fd652b4.js +0 -1
- /package/assets/esri/core/workers/chunks/{577cbc131b21c351fae5.js.LICENSE.txt → 2647c739cda29361a463.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{bb5f909a2f26fc6a21b0.js.LICENSE.txt → 4df19e670b6ed76c1dea.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{a508104179e08f0f268c.js.LICENSE.txt → 8a7a99533d02eb9cb058.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{73af4c947e8151d411c1.js.LICENSE.txt → d1ba118ddd0390c07f35.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{ee057c85cdf6beb5b012.js.LICENSE.txt → f706bfea34d22539b46a.js.LICENSE.txt} +0 -0
|
@@ -8,8 +8,9 @@ import type { ColorStopProperties } from "../../renderers/visualVariables/suppor
|
|
|
8
8
|
export interface DiscreteOptionsProperties extends Partial<Pick<DiscreteOptions, "interval">> {
|
|
9
9
|
/**
|
|
10
10
|
* Defines the color used by the default color ramp for the visualization. The opacity is mapped to the number of
|
|
11
|
-
* overlapping shadows.
|
|
12
|
-
* overlapping
|
|
11
|
+
* overlapping shadows. When [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, the opacity is mapped
|
|
12
|
+
* to the number of overlapping sunlight samples instead. Areas with no shadow or sunlight are displayed with zero
|
|
13
|
+
* opacity and areas with the maximum overlap are displayed with the opacity specified in this color.
|
|
13
14
|
*
|
|
14
15
|
* 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.
|
|
15
16
|
*
|
|
@@ -20,7 +21,9 @@ export interface DiscreteOptionsProperties extends Partial<Pick<DiscreteOptions,
|
|
|
20
21
|
/**
|
|
21
22
|
* The color stops for the visualization.
|
|
22
23
|
*
|
|
23
|
-
* - Each stop defines a color and the corresponding number of overlapping shadows.
|
|
24
|
+
* - Each stop defines a color and the corresponding number of overlapping shadows. When
|
|
25
|
+
* [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, each stop defines the corresponding number of
|
|
26
|
+
* overlapping sunlight samples instead.
|
|
24
27
|
* - Colors are interpolated between adjacent stops.
|
|
25
28
|
* - 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
29
|
*
|
|
@@ -49,8 +52,9 @@ export default class DiscreteOptions extends Clonable {
|
|
|
49
52
|
constructor(properties?: DiscreteOptionsProperties);
|
|
50
53
|
/**
|
|
51
54
|
* Defines the color used by the default color ramp for the visualization. The opacity is mapped to the number of
|
|
52
|
-
* overlapping shadows.
|
|
53
|
-
* overlapping
|
|
55
|
+
* overlapping shadows. When [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, the opacity is mapped
|
|
56
|
+
* to the number of overlapping sunlight samples instead. Areas with no shadow or sunlight are displayed with zero
|
|
57
|
+
* opacity and areas with the maximum overlap are displayed with the opacity specified in this color.
|
|
54
58
|
*
|
|
55
59
|
* 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.
|
|
56
60
|
*
|
|
@@ -62,7 +66,9 @@ export default class DiscreteOptions extends Clonable {
|
|
|
62
66
|
/**
|
|
63
67
|
* The color stops for the visualization.
|
|
64
68
|
*
|
|
65
|
-
* - Each stop defines a color and the corresponding number of overlapping shadows.
|
|
69
|
+
* - Each stop defines a color and the corresponding number of overlapping shadows. When
|
|
70
|
+
* [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, each stop defines the corresponding number of
|
|
71
|
+
* overlapping sunlight samples instead.
|
|
66
72
|
* - Colors are interpolated between adjacent stops.
|
|
67
73
|
* - 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.
|
|
68
74
|
*
|
|
@@ -7,9 +7,11 @@ 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
|
-
* Defines the color used to display areas where the cumulative shadow duration meets
|
|
11
|
-
* [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration).
|
|
12
|
-
*
|
|
10
|
+
* Defines the color used to display areas where the cumulative shadow duration meets
|
|
11
|
+
* [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration). When
|
|
12
|
+
* [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, this color displays areas where cumulative
|
|
13
|
+
* sunlight duration meets [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration). Areas with shorter duration are
|
|
14
|
+
* displayed with zero opacity.
|
|
13
15
|
*
|
|
14
16
|
* @default [255, 0, 0, 0.7]
|
|
15
17
|
* @since 5.0
|
|
@@ -18,7 +20,8 @@ export interface MinDurationOptionsProperties extends Partial<Pick<MinDurationOp
|
|
|
18
20
|
/**
|
|
19
21
|
* The configuration used when showing additional context by setting
|
|
20
22
|
* [contextEnabled](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#contextEnabled) to true.
|
|
21
|
-
* The default configuration will show
|
|
23
|
+
* The default configuration will show shadows at one hour intervals as context for the visualization. When
|
|
24
|
+
* [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, it will show sunlight at one hour intervals.
|
|
22
25
|
*
|
|
23
26
|
* @since 5.0
|
|
24
27
|
* @see [contextEnabled](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#contextEnabled)
|
|
@@ -39,9 +42,11 @@ export default class MinDurationOptions extends Clonable {
|
|
|
39
42
|
/** @since 5.0 */
|
|
40
43
|
constructor(properties?: MinDurationOptionsProperties);
|
|
41
44
|
/**
|
|
42
|
-
* Defines the color used to display areas where the cumulative shadow duration meets
|
|
43
|
-
* [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration).
|
|
44
|
-
*
|
|
45
|
+
* Defines the color used to display areas where the cumulative shadow duration meets
|
|
46
|
+
* [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration). When
|
|
47
|
+
* [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, this color displays areas where cumulative
|
|
48
|
+
* sunlight duration meets [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration). Areas with shorter duration are
|
|
49
|
+
* displayed with zero opacity.
|
|
45
50
|
*
|
|
46
51
|
* @default [255, 0, 0, 0.7]
|
|
47
52
|
* @since 5.0
|
|
@@ -50,6 +55,7 @@ export default class MinDurationOptions extends Clonable {
|
|
|
50
55
|
set color(value: ColorLike);
|
|
51
56
|
/**
|
|
52
57
|
* Whether to enable additional context showing discrete shadows at the same time as displaying the minimum duration.
|
|
58
|
+
* When [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, the context shows discrete sunlight instead.
|
|
53
59
|
* The [contextOptions](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#contextOptions) property is used to configure the visualization
|
|
54
60
|
* of the discrete shadows when context is enabled.
|
|
55
61
|
*
|
|
@@ -61,7 +67,8 @@ export default class MinDurationOptions extends Clonable {
|
|
|
61
67
|
/**
|
|
62
68
|
* The configuration used when showing additional context by setting
|
|
63
69
|
* [contextEnabled](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#contextEnabled) to true.
|
|
64
|
-
* The default configuration will show
|
|
70
|
+
* The default configuration will show shadows at one hour intervals as context for the visualization. When
|
|
71
|
+
* [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, it will show sunlight at one hour intervals.
|
|
65
72
|
*
|
|
66
73
|
* @since 5.0
|
|
67
74
|
* @see [contextEnabled](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#contextEnabled)
|
|
@@ -70,7 +77,8 @@ export default class MinDurationOptions extends Clonable {
|
|
|
70
77
|
set contextOptions(value: DiscreteOptionsProperties);
|
|
71
78
|
/**
|
|
72
79
|
* Minimum shadow duration (in milliseconds). Shadows are only displayed in areas where the cumulative shadow duration
|
|
73
|
-
* meets
|
|
80
|
+
* meets this value. When [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, this value is interpreted
|
|
81
|
+
* as the minimum sunlight duration and areas with shorter sunlight duration will appear without sunlight.
|
|
74
82
|
*
|
|
75
83
|
* @default 4 * 3600 * 1000
|
|
76
84
|
* @since 5.0
|
|
@@ -9,8 +9,9 @@ import type { ColorStopProperties } from "../../renderers/visualVariables/suppor
|
|
|
9
9
|
export interface TotalDurationOptionsProperties extends Partial<Pick<TotalDurationOptions, "mode">> {
|
|
10
10
|
/**
|
|
11
11
|
* Defines the color used by the default color ramp for the visualization. The opacity is mapped to the time spent
|
|
12
|
-
* in shadow.
|
|
13
|
-
*
|
|
12
|
+
* in shadow. When [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, the opacity is mapped to the time
|
|
13
|
+
* spent in sunlight instead. Areas that don't receive any shadow or sunlight are displayed with zero opacity and areas
|
|
14
|
+
* that receive shadow or sunlight for the entire time range are displayed with the opacity specified in this color.
|
|
14
15
|
*
|
|
15
16
|
* 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.
|
|
16
17
|
*
|
|
@@ -21,7 +22,8 @@ export interface TotalDurationOptionsProperties extends Partial<Pick<TotalDurati
|
|
|
21
22
|
/**
|
|
22
23
|
* The color stops for the visualization.
|
|
23
24
|
*
|
|
24
|
-
* - Each stop defines a color and a value in milliseconds.
|
|
25
|
+
* - Each stop defines a color and a duration value in milliseconds. The value represents shadow duration by default
|
|
26
|
+
* and sunlight duration when [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`.
|
|
25
27
|
* - Colors are interpolated between adjacent stops.
|
|
26
28
|
* - 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
29
|
*
|
|
@@ -50,8 +52,9 @@ export default class TotalDurationOptions extends Clonable {
|
|
|
50
52
|
constructor(properties?: TotalDurationOptionsProperties);
|
|
51
53
|
/**
|
|
52
54
|
* Defines the color used by the default color ramp for the visualization. The opacity is mapped to the time spent
|
|
53
|
-
* in shadow.
|
|
54
|
-
*
|
|
55
|
+
* in shadow. When [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, the opacity is mapped to the time
|
|
56
|
+
* spent in sunlight instead. Areas that don't receive any shadow or sunlight are displayed with zero opacity and areas
|
|
57
|
+
* that receive shadow or sunlight for the entire time range are displayed with the opacity specified in this color.
|
|
55
58
|
*
|
|
56
59
|
* 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.
|
|
57
60
|
*
|
|
@@ -63,7 +66,8 @@ export default class TotalDurationOptions extends Clonable {
|
|
|
63
66
|
/**
|
|
64
67
|
* The color stops for the visualization.
|
|
65
68
|
*
|
|
66
|
-
* - Each stop defines a color and a value in milliseconds.
|
|
69
|
+
* - Each stop defines a color and a duration value in milliseconds. The value represents shadow duration by default
|
|
70
|
+
* and sunlight duration when [ShadowCastAnalysis.visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`.
|
|
67
71
|
* - Colors are interpolated between adjacent stops.
|
|
68
72
|
* - 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.
|
|
69
73
|
*
|
|
@@ -47,9 +47,9 @@ export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partia
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* The ShadowCastAnalysis displays the cumulative shadows of 3D features in a
|
|
50
|
+
* The ShadowCastAnalysis displays the cumulative shadows or sunlight of 3D features in a
|
|
51
51
|
* [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/). This type of analysis is helpful in urban development,
|
|
52
|
-
* where new projects have to satisfy certain shadow duration constraints.
|
|
52
|
+
* where new projects have to satisfy certain shadow or sunlight duration constraints.
|
|
53
53
|
*
|
|
54
54
|
* The analysis calculates the cumulative shadows for a time range during a single day. The user can
|
|
55
55
|
* configure the time range and select a calendar date. This time range and calendar date are only used
|
|
@@ -64,27 +64,30 @@ export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partia
|
|
|
64
64
|
* The analysis provides three visualization modes.
|
|
65
65
|
*
|
|
66
66
|
* **Minimum duration** mode displays shadows only in areas where shading accumulates for longer than a specified duration
|
|
67
|
-
* within the selected time range.
|
|
67
|
+
* within the selected time range. When [visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, the same mode
|
|
68
|
+
* displays sunlight only in areas where sunlight accumulates for longer than the specified duration. In the image below,
|
|
68
69
|
* on May 1, 2021, shadows are displayed only where shading exceeds 4 hours between 10AM and 4PM.
|
|
69
70
|
*
|
|
70
71
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
71
72
|
*
|
|
72
|
-
* **Total
|
|
73
|
+
* **Total duration** mode displays the cumulative duration of shadow within the selected time range using opacity:
|
|
73
74
|
* areas that receive no shadow remain fully transparent, while areas receiving the highest accumulated shadow duration
|
|
74
|
-
* use a default opacity of 0.7. Intermediate values are interpolated.
|
|
75
|
-
*
|
|
75
|
+
* use a default opacity of 0.7. Intermediate values are interpolated. When
|
|
76
|
+
* [visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, opacity is mapped to cumulative sunlight duration
|
|
77
|
+
* instead. This mode can visualize duration continuously or in 1-hour intervals.
|
|
76
78
|
*
|
|
77
79
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
78
80
|
*
|
|
79
|
-
* **Discrete
|
|
81
|
+
* **Discrete** mode displays individual shadows at regular intervals within the selected time range. When
|
|
82
|
+
* [visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, it displays the sunlight at those intervals instead.
|
|
80
83
|
* For example, with a time range from 10AM to 11AM and an interval set to 30 minutes, the shadows at 10AM, 10:30AM and
|
|
81
84
|
* 11:00AM will be displayed.
|
|
82
85
|
*
|
|
83
86
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
84
87
|
*
|
|
85
|
-
* By default, the analysis also displays a tooltip next to the pointer that reports the total
|
|
86
|
-
* location, rounded to 15
|
|
87
|
-
*
|
|
88
|
+
* By default, the analysis also displays a tooltip next to the pointer that reports the total duration at that
|
|
89
|
+
* location, rounded to 15-minute increments. The tooltip reports shadow duration by default and sunlight duration when
|
|
90
|
+
* [visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`.
|
|
88
91
|
*
|
|
89
92
|
* To perform a shadow cast analysis in your [WebScene](https://developers.arcgis.com/javascript/latest/references/core/WebScene/):
|
|
90
93
|
* - Create a new instance of ShadowCastAnalysis.
|
|
@@ -99,7 +102,7 @@ export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partia
|
|
|
99
102
|
*
|
|
100
103
|
* Use the [ShadowCastAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/) class and its
|
|
101
104
|
* [ShadowCastAnalysisView3D.getDurationAtScreen()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/#getDurationAtScreen) method to
|
|
102
|
-
* obtain the shadow duration at a specific screen location programmatically.
|
|
105
|
+
* obtain the shadow or sunlight duration at a specific screen location programmatically.
|
|
103
106
|
* To disable the shadow tooltip next to the pointer set the [ShadowCastAnalysisView3D.interactive](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/#interactive)
|
|
104
107
|
* property to `false`.
|
|
105
108
|
*
|
|
@@ -123,7 +126,7 @@ export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partia
|
|
|
123
126
|
* // use getDurationAtScreen method from the analysis view once available
|
|
124
127
|
* const analysisView = await view.whenAnalysisView(shadowCastAnalysis);
|
|
125
128
|
*
|
|
126
|
-
* // get shadow duration at the pointer location
|
|
129
|
+
* // get shadow or sunlight duration at the pointer location
|
|
127
130
|
* view.on("pointer-move", async (event) => {
|
|
128
131
|
* // duration in milliseconds
|
|
129
132
|
* const duration = await analysisView.getDurationAtScreen({ x: event.x, y: event.y });
|
|
@@ -196,11 +199,14 @@ export default class ShadowCastAnalysis extends Analysis {
|
|
|
196
199
|
get minDurationOptions(): MinDurationOptions;
|
|
197
200
|
set minDurationOptions(value: MinDurationOptionsProperties);
|
|
198
201
|
/**
|
|
199
|
-
* Mode of analysis to use when computing and displaying shadows.
|
|
202
|
+
* Mode of analysis to use when computing and displaying shadows or sunlight.
|
|
200
203
|
*
|
|
201
204
|
* - "discrete": Displays individual shadow snapshots at regular time intervals within the selected time range.
|
|
202
|
-
* - "min-duration": Displays
|
|
203
|
-
* - "total-duration": Displays total shadow accumulation within the selected time range using opacity: areas with longer shadow duration appear more opaque. Supports continuous or 1
|
|
205
|
+
* - "min-duration": Displays areas where accumulated shading exceeds a user-defined minimum duration within the selected time range. Optional discrete overlays can provide additional context.
|
|
206
|
+
* - "total-duration": Displays total shadow accumulation within the selected time range using opacity: areas with longer shadow duration appear more opaque. Supports continuous or 1-hour aggregated modes.
|
|
207
|
+
*
|
|
208
|
+
* When [visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#visualizeSunlight) is `true`, the selected mode displays sunlight duration
|
|
209
|
+
* instead of shadow duration.
|
|
204
210
|
*
|
|
205
211
|
* @default "min-duration"
|
|
206
212
|
* @since 5.0
|
|
@@ -251,8 +257,8 @@ export default class ShadowCastAnalysis extends Analysis {
|
|
|
251
257
|
*/
|
|
252
258
|
get valid(): boolean;
|
|
253
259
|
/**
|
|
254
|
-
* When `true`, the analysis
|
|
255
|
-
*
|
|
260
|
+
* When `true`, the analysis visualizes sunlight duration instead of shadow duration. This applies to all modes and
|
|
261
|
+
* their respective options.
|
|
256
262
|
*
|
|
257
263
|
* @default false
|
|
258
264
|
* @since 5.1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"add":"Ajouter : {text}","all":"Tout","allSelected":"Toute la sélection","clear":"Effacer la valeur","noMatches":"Aucune correspondance","removeTag":"Supprimer la balise","required":"Obligatoire","selectAll":"Sélectionner tout","selected":"sélectionné(s)","nonEditable":"{value} en lecture seule","disabledSelectedCount":"+{count}"}
|
|
1
|
+
{"add":"Ajouter : {text}","all":"Tout","allSelected":"Toute la sélection","clear":"Effacer la valeur","noMatches":"Aucune correspondance","removeTag":"Supprimer la balise","required":"Obligatoire","selectAll":"Sélectionner tout","selected":"sélectionné(s)","nonEditable":"{value} en lecture seule","disabledSelectedCount":"+ {count}"}
|