Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LeafletKmlDynamicLayer

The LeafletKmlDynamicLayer class is an implementation of LeafletLayer.
A LeafletMap will retrieve a LeafletKmlDynamicLayer from its KmlLeafletMapLayerProvider.

example



var provider = new KmlLeafletMapLayerProvider();
var dataSource = new KmlDynamicLayerSource(id, name, description, layers);
var leafletKmlDynamicLayer = provider.provide(dataSource);

Hierarchy

  • LeafletKmlDynamicLayer

Implements

Index

Constructors

constructor

Properties

Private _data

_data: any

Private _getActiveLayerIds

  • _getActiveLayerIds(layers: Layer[]): number[]
  • Parameters

    • layers: Layer[]

    Returns number[]

Private _hide

  • _hide(): void
  • Returns void

Private _imageLayer

_imageLayer: any = null

Private _layersChanged

  • _layersChanged(): void
  • Returns void

Private _map

_map: any = null

Private _show

  • _show(): void
  • Returns void

Private _source

_source: any

Private _subscriptions

_subscriptions: any = []

Private hidden

hidden: any

source

  • get source(): LayerSource
  • Property source is a KmlDynamicLayerSource

    Returns LayerSource

Methods

addTo

  • addTo(map: LeafletMap): void
  • addTo(map: LeafletMap): void
  • addTo(map: LeafletMap): void
  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

removeFrom

  • removeFrom(map: LeafletMap): void
  • removeFrom(map: LeafletMap): void
  • removeFrom(map: LeafletMap): void
  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void