Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MaplibreOverlayFactory

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

  • MaplibreOverlayFactory

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

polyline

  • Parameters

    Returns Maplibre.Polyline

tileLayer

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

Generated using TypeDoc