When added to a VMC view tree as the <vmc-basemap-layer-list> element, adds the Esri BasemapLayerList widget to the map.

Usage example:

<vmc-map>
<vmc-basemap-layer-list></vmc-basemap-layer-list>
</vmc-map>

Hierarchy

  • BasemapLayerListDirective

Implements

  • OnInit
  • OnDestroy

Constructors

Properties

_basemapLayerList$: BehaviorSubject<null | BasemapLayerList> = ...
_properties$: BehaviorSubject<null | BasemapLayerListProperties> = ...
basemapLayerList$: Observable<null | BasemapLayerList> = ...

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

basemapLayerListExpand: null | Expand = null

A reference to the directives active Esri BasemapLayerList widget.

basemapLayerListService: BasemapLayerListService
destroy$: Observable<null>
esriEventer: EsriEventer
expand: boolean = false

If true, the BasemapLayerList widget is added to an Esri Expand widget.

position: VmcWidgetPosition | UIAddPosition = ...

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

renderer: Renderer2
triggerAction: Observable<BasemapLayerListTriggerActionEvent> = ...
view$: Observable<null | MapView | SceneView> = ...

An observable stream of the VMC View Tree's 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

basemapLayerListAdded: EventEmitter<BasemapLayerList> = ...

Emits a reference to the Esri BasemapLayerList widget when it is added to the map.

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

Emits a reference to the Esri Expand widget. when it is added to the map.

basemapLayerListExpandReady: EventEmitter<Expand> = ...

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

basemapLayerListReady: EventEmitter<BasemapLayerList> = ...

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

Accessors

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

    Returns null | BasemapLayerList

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

    Parameters

    • val: null | BasemapLayerList

    Returns void

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

    Parameters

    • val: null | BasemapLayerListProperties

    Returns void

Methods

  • Private

    Returns void

  • Private

    Returns void

  • Parameters

    • view: MapView | SceneView
    • props: null | BasemapLayerListProperties

    Returns void

Generated using TypeDoc