Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LeafletOverlayFactory

A factory class that generates and returns renderable map objects from data, such as tile layers and annotations, as required by the associated mapping strategy.

export
implements

{OverlayFactory}

implements

{PointDataSource}

Hierarchy

  • LeafletOverlayFactory

Implements

Index

Methods

marker

  • Returns a map annotation instance at the provided coordinate and configured for the specified layer code and configuration.

    memberof

    OSMOverlayFactory

    Parameters

    Returns Leaflet.Marker

markerIcon

  • Returns an annotation icon based on the provided configuration.

    memberof

    OSMOverlayFactory

    Parameters

    Returns any

polygon

  • Returns a polygon instance configured for the specified layer code and configuration.

    memberof

    OSMOverlayFactory

    Parameters

    Returns Leaflet.Polygon

polyline

  • Parameters

    Returns Leaflet.Polyline

tileLayer

  • tileLayer(layer: string, service: MapRequest, opts?: any): Leaflet.TileSource
  • Returns a map tile source instance configured with the specified layer code and url template string.

    memberof

    OSMOverlayFactory

    Parameters

    • layer: string
    • service: MapRequest
    • Optional opts: any

    Returns Leaflet.TileSource

Generated using TypeDoc