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

Usage example:

<vmc-map>
<vmc-basemap-gallery></vmc-basemap-gallery>
</vmc-map>

Hierarchy

  • BasemapGalleryDirective

Implements

  • OnInit
  • OnDestroy

Constructors

  • Parameters

    • basemapGalleryService: BasemapGalleryService
    • destroy$: Observable<null>
    • esriEventer: EsriEventer
    • renderer: Renderer2
    • viewBase: ViewBase

    Returns BasemapGalleryDirective

Properties

_basemapGallery: BehaviorSubject<null | BasemapGallery> = ...
_properties$: BehaviorSubject<null | BasemapGalleryProperties> = ...
basemapGallery$: Observable<null | BasemapGallery> = ...

The active Esri BasemapGallery widget as an observable stream.

basemapGalleryExpand: null | Expand = null

A reference to the directives active Esri Expand widget.

basemapGalleryService: BasemapGalleryService
containerId: null | string = null

Selector that will be used to identify a DOM node as the root of the BasemapGallery

destroy$: Observable<null>
esriEventer: EsriEventer
expand: boolean = false
position: VmcWidgetPosition | UIAddPosition = ...

The Esri UIAddPosition describing where in the Map's UI the widget should be placed.

renderer: Renderer2
view$: Observable<null | MapView | SceneView> = ...
viewBase: ViewBase

Events

basemapGalleryAdded: EventEmitter<BasemapGallery> = ...

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

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

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

basemapGalleryExpandReady: EventEmitter<Expand> = ...

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

basemapGalleryReady: EventEmitter<BasemapGallery> = ...

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

disabledChange: Observable<boolean> = ...

Emits the BasemapGallery.disabled property during runtime.

Remark

supports 2-way data binding.

Accessors

  • get basemapGallery(): null | BasemapGallery
  • Returns null | BasemapGallery

  • set basemapGallery(val: null | BasemapGallery): void
  • Parameters

    • val: null | BasemapGallery

    Returns void

  • set disabled(val: boolean): void
  • Sets the BasemapGallery.disabled property during runtime.

    Parameters

    • val: boolean

    Returns void

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

    Parameters

    • val: null | BasemapGalleryProperties

    Returns void

Methods

  • Private

    Returns void

  • Private

    Returns void

  • Parameters

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

    Returns void

Generated using TypeDoc