Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LayerSource

Hierarchy

  • LayerSource

Implemented by

Index

Properties

active

active: boolean

Property active boolean.

activeLayersChanged

activeLayersChanged: Event<void>

Property activeLayersChanged [[Event]].

activeStateChanged

activeStateChanged: Event<void>

Property activeStateChanged [[Event]].

description

description: string

Property description string.

id

id: string

Property id is a string that is the source identifier.

isBaselayer

isBaselayer: boolean

Property isBaselayer boolean.

isUpdating

isUpdating: boolean

Property isUpdating boolean.

layerType

layerType: string

Property layerType is a string that indicates the type of layer i.e. 'shapefile:dynamic'

layers

layers: Array<Layer>

Property layers array of Layer.

Optional maxZoom

maxZoom: number

Optional minZoom

minZoom: number

name

name: string

Property name string.

opacity

opacity: number

Property opacity number.

opacityChanged

opacityChanged: Event<void>

Property opacityChanged [[Event]].

updatingStateChanged

updatingStateChanged: Event<void>

Property updatingStateChanged [[Event]].

Methods

activate

  • activate(): void
  • activate(): void
  • activate(): void
  • activate(): void
  • Returns void

  • Turns on isActive Property.

    Returns void

  • Returns void

  • Returns void

deactivate

  • deactivate(): void
  • deactivate(): void
  • deactivate(): void
  • deactivate(): void
  • Returns void

  • Turns off isActive Property.

    Returns void

  • Returns void

  • Returns void

getFlattenedLayers

  • getFlattenedLayers(): Array<Layer>
  • getFlattenedLayers(): Array<Layer>
  • getFlattenedLayers(): Array<Layer>
  • getFlattenedLayers(): Array<Layer>
  • Returns Array<Layer>

  • Gets all layers in one array.

    Returns Array<Layer>

    an array of Layer

  • Returns Array<Layer>

  • Returns Array<Layer>