Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PoiTableManager

The PoiTableManager manages the list of [[PoiTables]] that can be defined in the {@link @here/harp-datasource-protocol#Theme} sfile.

Hierarchy

  • PoiTableManager

Index

Constructors

constructor

Properties

Readonly mapView

mapView: MapView

Owning MapView.

Accessors

finishedLoading

  • get finishedLoading(): boolean

poiTables

  • get poiTables(): Map<string, PoiTable>

Methods

addTable

clear

  • clear(): void

getPoiTable

  • getPoiTable(poiTableName: string | undefined): PoiTable | undefined

loadPoiTables

  • loadPoiTables(poiTables?: PoiTableRef[]): Promise<void>
  • Load the PoiTables that are stored in the MapViews {@link @here/harp-datasource-protocol#Theme}.

    remarks

    Note that duplicate names of PoiTables in the {@link @here/harp-datasource-protocol#Theme} will lead to inaccessible PoiTables.

    Parameters

    • Optional poiTables: PoiTableRef[]

      {@link @here/harp-datasource-protocol#PoiTableRef[]} containing all PoiTables to load.

    Returns Promise<void>

    Resolved once all the PoiTables in the {@link @here/harp-datasource-protocol#Theme} have been loaded.

Generated using TypeDoc