import VisibleElements from "@arcgis/core/widgets/Daylight/VisibleElements.js";const VisibleElements = await $arcgis.import("@arcgis/core/widgets/Daylight/VisibleElements.js");- Inheritance:
- VisibleElements→
Accessor
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The visible elements that are displayed within the widget. This provides the ability to turn individual elements of the widget's display on/off.
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 | ||
| | ||
| | ||
| | ||
| | ||
| |
datePicker
Property
- Type
- boolean
When set to false, neither the date nor the season picker are displayed.
- Default value
- true
playButtons
Property
- Type
- boolean
When set to false, neither of the play buttons are displayed.
- Default value
- true
shadowsToggle
Property
- Type
- boolean
When set to false, the shadows checkbox is not displayed.
- Default value
- true
sunLightingToggle
Property
- Type
- boolean
When set to false, the sun lighting checkbox is not displayed.
- Default value
- true
timezone
Property
- Type
- boolean
When set to false, the timezone selector is not displayed.
- Default value
- true