Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LeafletShapefileDynamicLayer

example



var provider = new ShapefileLeafletMapLayerProvider();
var dataSource = new ShapefileDynamicLayerSource(id, name, description, layers);
var leafletShapefileDynamicLayer = provider.provide(dataSource);

Hierarchy

  • LeafletShapefileDynamicLayer

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

Methods

addTo

  • addTo(map: LeafletMap): void
  • addTo(map: LeafletMap): void
  • addTo(map: LeafletMap): void
  • Add layer to the specified map.

    Parameters

    Returns void

  • Add layer to the specified map.

    Parameters

    Returns void

  • Add layer to the specified map.

    Parameters

    Returns void

removeFrom

  • removeFrom(map: LeafletMap): void
  • removeFrom(map: LeafletMap): void
  • removeFrom(map: LeafletMap): void
  • Remove layer from the specified map.

    Parameters

    Returns void

  • Remove layer from the specified map.

    Parameters

    Returns void

  • Remove layer from the specified map.

    Parameters

    Returns void