Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CompositeLayer

Represents a layer that is made up of layers that have been combined.

Hierarchy

Implements

Index

Constructors

constructor

Properties

layerSettings

layerSettings: LayerSettings

name

name: string

Methods

addImplicitLayer

  • addImplicitLayer(layer: Layer): void
  • Parameters

    Returns void

addLayer

  • addLayer(layer: Layer): void
  • Adds another layer to this composite layer.

    Parameters

    Returns void

defaultLayerSettings

extraLayerParams

  • extraLayerParams(): string[]
  • Returns the additional custom parameters for this composite layer.

    Returns string[]

getBounds

getCopyrightString

  • getCopyrightString(): string

getDatasetHash

getExpiryTime

getLastLayer

  • Returns the last layer that was added to this composite layer.

    Returns Layer

getLayer

  • getLayer(index: number): Layer
  • Returns one of the layers that is part of this composite layer, given the index of the layer.

    Parameters

    • index: number

    Returns Layer

getLayerTemplateUrl

  • getLayerTemplateUrl(serverInfo: ServerInfo, authToken: string): when.Promise<string>

getQueryString

  • getQueryString(serverInfo: ServerInfo, authToken: string): string
  • Returns the template query string for this layer.

    Parameters

    Returns string

getTilePage

  • getTilePage(): string
  • Returns the server page for the top layer's map tiles.

    Returns string

getType

  • getType(): string
  • Returns the type of the base layer.

    Returns string

includeDatasetParams

  • includeDatasetParams(): boolean

layerKey

  • layerKey(): string
  • Returns string

makeParam

  • makeParam(key: string, value: string): string
  • Parameters

    • key: string
    • value: string

    Returns string

prepareRequest

  • prepareRequest(): when.Promise<any>

shouldUseExtraParamsInCompositeLayer

  • shouldUseExtraParamsInCompositeLayer(): boolean

tryCombine

  • tryCombine(lowerLayers: any[]): Layer
  • Attempts to combine this layer with other layers to form a composite layer.

    Parameters

    • lowerLayers: any[]

    Returns Layer

Generated using TypeDoc