Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILayer

An interface for a Layer class, which represents a generic layer.

Hierarchy

  • ILayer

Implemented by

Index

Properties

Optional isOverlay

isOverlay: boolean

The data for this layer. data? : any;

/** Whether or not this layer is an overlay.

layerSettings

layerSettings: LayerSettings

The settings for this layer.

name

name: string

The name of the layer.

Methods

getBounds

  • Returns the BoundingBox for this layer.

    Returns BoundingBox

getExpiryTime

  • Returns the time after which this layer expires.

    Returns TimeSpan

getLayerTemplateUrl

  • getLayerTemplateUrl(serverInfo: ServerInfo, authToken: string): when.Promise<string>
  • Returns the URL of the layer template.

    Parameters

    Returns when.Promise<string>

getType

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

    Returns string

Generated using TypeDoc