Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KmlLeafletMapLayerProvider

The KmlLeafletMapLayerProvider class is an implementation of LeafletMapLayerProvider.
This provider can be registered with a LeafletMap to retrieve a LeafletKmlDynamicLayer.

example



var map = new LeafletMap();
map.create("map", { initialXMin: -88.679196, initialYMin: 24.326418, initialXMax: -79.57153, initialYMax: 30.892178 });
map.registerProvider(new KmlLeafletMapLayerProvider());

Hierarchy

  • KmlLeafletMapLayerProvider

Implements

Index

Methods

Object literals

Methods

canProvide

  • canProvide(layerType: string): boolean
  • canProvide(layerType: string): boolean
  • canProvide(layerType: string): boolean
  • Determine whether this provider handles the input parameter layerType.

    Parameters

    • layerType: string

      string.

    Returns boolean

    a true or false.

  • Determine whether this provider handles the input parameter layerType.

    Parameters

    • layerType: string

      string.

    Returns boolean

    a true or false.

  • Determine whether this provider handles the input parameter layerType.

    Parameters

    • layerType: string

      string.

    Returns boolean

    a true or false.

provide

  • provide(layer: LayerSource): LeafletLayer
  • provide(layer: LayerSource): LeafletLayer
  • provide(layer: LayerSource): LeafletLayer

Object literals

Private layerMap

layerMap: object

kml:dynamic

  • kml:dynamic(layer: LayerSource): LeafletKmlDynamicLayer
  • Parameters

    • layer: LayerSource

    Returns LeafletKmlDynamicLayer

kml:tiled

  • kml:tiled(layer: LayerSource): LeafletKmlTiledLayer
  • Parameters

    • layer: LayerSource

    Returns LeafletKmlTiledLayer