跳到主要内容

flywave-mapview.poitablemanager

Home > @flywave/flywave-mapview > PoiTableManager

PoiTableManager class

The PoiTableManager manages the list of [[PoiTables]] that can be defined in the sfile.

Signature:

export declare class PoiTableManager 

Constructors

Constructor

Modifiers

Description

(constructor)(mapView)

Creates an instance of PoiTableManager.

Properties

Property

Modifiers

Type

Description

finishedLoading

readonly

boolean

Return true if the PoiTables have finished loading.

mapView

readonly

MapView

poiTables

readonly

Map<string, PoiTable>

Return the map of PoiTables.

Methods

Method

Modifiers

Description

addTable(poiTable)

Manually add a PoiTable. Normally, the [[PoiTables]]s are specified in the .

clear()

Clear the list of PoiTables.

getPoiTable(poiTableName)

Retrieve a PoiTable by name.

loadPoiTables(poiTables)

Load the PoiTables that are stored in the MapViews .