import DiscreteOptions from "@arcgis/core/widgets/ShadowCast/DiscreteOptions.js";const DiscreteOptions = await $arcgis.import("@arcgis/core/widgets/ShadowCast/DiscreteOptions.js");- Inheritance:
- DiscreteOptions→
Accessor
- Since
- ArcGIS Maps SDK for JavaScript 4.33
Configuration for the discrete visualization of the Shadow Cast widget and component.
- See also
ShadowCast widget - Deprecated since 5.0. Use the Shadow Cast component instead.
ShadowCastViewModel - Deprecated since 5.0. Use the ShadowCastAnalysis or Shadow Cast component instead.
Constructors
Constructor
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
See the properties table for a list of all the
properties that may be passed into the constructor.
Properties
Any properties can be set, retrieved or listened to. See the
Watch for changes
topic.
| Property | Type | Class |
|---|---|---|
| | ||
declaredClass readonly inherited | ||
| | ||
| |
interval
Property
- Type
- number
Individual shadows are displayed at this time interval, starting with the start time of day. The interval is expressed in milliseconds. If set to 0, we'll use the smallest possible interval, up to a maximum of 255 samples.
- Default value
- 1 * 3600 * 1000
intervalOptions
autocast
Property
- Type
- Collection<number>
Values (in minutes) selectable in the UI for the interval used to accumulate shadows.