Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LabelsLayer

Represents a layer that is responsible for displaying labels on a map.

Hierarchy

Implements

Index

Constructors

constructor

Properties

extraParams

extraParams: object

Type declaration

layerSettings

layerSettings: LayerSettings = this.defaultLayerSettings()

The settings for this layer.

name

name: string

Methods

defaultLayerSettings

extraLayerParams

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

    Returns string[]

getBounds

getCopyrightString

  • getCopyrightString(): string

getDatasetHash

getExpiryTime

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 map tile.

    Returns string

getType

  • getType(): string
  • Returns the type of layer, in this case 'Labels'.

    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 another layer and, if successful, returns a composite layer of the two.

    Parameters

    • lowerLayers: any[]

    Returns Layer

Generated using TypeDoc