Class DaylightDirective

Hierarchy

  • DaylightDirective

Implements

  • OnInit
  • OnDestroy

Constructors

  • Parameters

    • destroy$: Observable<null>
    • daylightService: DaylightService
    • esriEventer: EsriEventer
    • viewBase: ViewBase

    Returns DaylightDirective

Properties

_daylight: BehaviorSubject<null | Daylight> = ...
_properties$: BehaviorSubject<null | DaylightProperties> = ...
daylight$: Observable<null | Daylight> = ...

An observable stream of the Esri Expand widget that's used by this class.

daylightExpand: null | Expand = null

A reference to the Esri Expand widget.

daylightService: DaylightService
destroy$: Observable<null>
esriEventer: EsriEventer
expand: boolean = false

A boolean input property. Indicates if the Daylight widget should be placed inside of an Esri Expand widget container.

position: VmcWidgetPosition | UIAddPosition = ...

An Input property indicating the Esri UIAddPosition, describing where in the Map's UI the widget should be placed.

view$: Observable<SceneView> = ...

A reference to the [Esri MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or [Esri SceneView`](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html), depending on the component type at the top of the VMC view tree.

viewBase: ViewBase

Events

daylightAdded: EventEmitter<Daylight> = ...

Emits a reference to the Esri Daylight widget when it is added to the MapView or SceneView.

daylightExpandAdded: EventEmitter<null | Expand> = ...

Emits a reference to the Esri Expand when it is added to the MapView or SceneView. Emits null if this.expand === false.

daylightExpandReady: EventEmitter<Expand> = ...

Emits a reference to the Esri Expand when its when callback is invoked, indicating the widget has loaded.

daylightReady: EventEmitter<Daylight> = ...

Emits a reference to the Esri Daylight widget when its when callback is invoked, indicating the widget has loaded.

playSpeedMultiplierChange: Observable<number> = ...

The Esri Daylight.playSpeedMultiplier property exposed as an Angular event.

Supports two-way data binding.

Accessors

  • get daylight(): null | Daylight
  • Get a reference to the Esri Daylight widget as a class property.

    Returns null | Daylight

  • set daylight(val: null | Daylight): void
  • Set the class's reference to the Esri Daylight widget.

    Parameters

    • val: null | Daylight

    Returns void

  • set playSpeedMultiplier(val: number): void
  • The Esri Daylight.playSpeedMultiplier property as a component input.

    Supports two-way data binding.

    Parameters

    • val: number

    Returns void

  • set properties(val: null | DaylightProperties): void
  • A component input that accepts Daylight properties to use for widget initialization.

    Parameters

    • val: null | DaylightProperties

    Returns void

Methods

  • Private

    Returns void

  • Private

    Returns void

  • Parameters

    • view: SceneView
    • props: null | DaylightProperties

    Returns void

Generated using TypeDoc