Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShapefileLeafletMapLayerProvider

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

example



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

Hierarchy

  • ShapefileLeafletMapLayerProvider

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

    boolean.

  • Determine whether this provider handles the input parameter layerType.

    Parameters

    • layerType: string

      string.

    Returns boolean

    boolean.

  • Determine whether this provider handles the input parameter layerType.

    Parameters

    • layerType: string

      string.

    Returns boolean

    boolean.

provide

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

Object literals

Private layerMap

layerMap: object

shapefile:tiled

  • shapefile:tiled(layer: ShapefileDynamicLayerSource): LeafletShapefileTiledLayer
  • Parameters

    • layer: ShapefileDynamicLayerSource

    Returns LeafletShapefileTiledLayer