Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MapboxOverlayFactory

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

  • MapboxOverlayFactory

Implements

Index

Methods

marker

  • Returns an annotation, or marker, instance with the specified coordinate and configuration options.

    memberof

    OverlayFactory

    Parameters

    Returns any

polygon

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

    memberof

    OverlayFactory

    Parameters

    Returns Mapbox.Polygon

polyline

tileLayer

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

    memberof

    OverlayFactory

    Parameters

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

    Returns Mapbox.TileSource

Generated using TypeDoc