Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EsriLeafletMapLayerProvider

The EsriLeafletMapLayerProvider class is an implementation of LeafletMapLayerProvider.
This provider can be registered with a LeafletMap to retrieve LeafletEsriDynamicLayer or LeafletEsriTiledLayer.

example



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

Hierarchy

  • EsriLeafletMapLayerProvider

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

esri:dynamic

  • esri:dynamic(layer: LayerSource): LeafletEsriDynamicLayer
  • Parameters

    • layer: LayerSource

    Returns LeafletEsriDynamicLayer

esri:tiled

  • esri:tiled(layer: LayerSource): LeafletEsriTiledLayer
  • Parameters

    • layer: LayerSource

    Returns LeafletEsriTiledLayer