Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MgLayerManager

Implements

Index

Constructors

constructor

Methods

addLayer

  • addLayer<T>(name: string, layer: T, allowReplace?: boolean | undefined): T
  • Type parameters

    • T: olLayerBase

    Parameters

    • name: string
    • layer: T
    • Optional allowReplace: boolean | undefined

    Returns T

getLayer

  • getLayer<T>(name: string, factory: function): T
  • Type parameters

    • T: olLayerBase

    Parameters

    • name: string
    • factory: function
        • (): T
        • Returns T

    Returns T

getLayers

hasLayer

  • hasLayer(name: string): boolean
  • Parameters

    • name: string

    Returns boolean

moveDown

  • moveDown(name: string): number
  • Parameters

    • name: string

    Returns number

moveUp

  • moveUp(name: string): number
  • Parameters

    • name: string

    Returns number

removeLayer

  • removeLayer(name: string): olLayerBase | undefined
  • Parameters

    • name: string

    Returns olLayerBase | undefined

Generated using TypeDoc