Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OpenLayersOverlayFactory

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

  • OpenLayersOverlayFactory

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 OpenLayers.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 OpenLayers.Polygon

polyline

  • Parameters

    Returns OpenLayers.Polyline

tileLayer

  • tileLayer(layer: string, service: MapRequest, opts?: any): OpenLayers.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 OpenLayers.TileSource

Generated using TypeDoc