UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

98 lines (96 loc) 3.75 kB
import type Accessor from "../../core/Accessor.js"; /** * @deprecated since version 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). * @since 5.0 */ export interface ShadowCastVisibleElementsProperties extends Partial<Pick<ShadowCastVisibleElements, "colorPicker" | "datePicker" | "thresholdContext" | "thresholdContextColor" | "thresholdContextTimeInterval" | "thresholdContextToggle" | "timeRangeSlider" | "timezone" | "tooltip" | "visualizationOptions">> {} /** * The visible elements that are displayed within the widget. * This provides the ability to turn individual elements of the widget's display on/off. * * @deprecated since version 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). * @since 5.0 */ export default class ShadowCastVisibleElements extends Accessor { constructor(properties?: ShadowCastVisibleElementsProperties); /** * When set to `false`, the color picker is not displayed in the options for any * of the visualization modes. * * @default true * @since 5.0 */ accessor colorPicker: boolean; /** * When set to `false`, the date picker is not displayed. * * @default true * @since 5.0 */ accessor datePicker: boolean; /** * When set to `false`, the discrete shadows configuration in the threshold * visualization mode is not displayed. * * @default true * @since 5.0 */ accessor thresholdContext: boolean; /** * When set to `false`, the discrete shadows color picker in the * threshold visualization mode is not displayed. * * @default true * @since 5.0 */ accessor thresholdContextColor: boolean; /** * When set to `false`, the discrete shadows time interval in * the threshold visualization mode is not displayed. * * @default true * @since 5.0 */ accessor thresholdContextTimeInterval: boolean; /** * When set to `false`, the discrete shadows toggle in the threshold * visualization mode is not displayed. The discrete shadow configuration is not displayed when discreteToggle is * set to `false` and the discrete shadows visualization is turned off. * * @default true * @since 5.0 */ accessor thresholdContextToggle: boolean; /** * When set to `false`, the slider used to select a time range for the * analysis is not displayed. * * @default true * @since 5.0 */ accessor timeRangeSlider: boolean; /** * When set to `false`, the dropdown used to select a timezone for the time range * is not displayed. * * @default true * @since 5.0 */ accessor timezone: boolean; /** * When set to `false`, the tooltip with the accumulated shadow time is not * displayed when hovering the view. * * @default true * @since 5.0 */ accessor tooltip: boolean; /** * When set to `false`, the options for the various visualization modes * are not displayed. * * @default true * @since 5.0 */ accessor visualizationOptions: boolean; }