flywave-mapview.poimanager.updatepoifrompoitable
Home > @flywave/flywave-mapview > PoiManager > updatePoiFromPoiTable
PoiManager.updatePoiFromPoiTable() method
Update the with the information taken from the PoiTable which is referenced in the of the pointLabel.
If the requested PoiTable is not available yet, the function returns false. If the PoiTable is not defined, or if the references POI has no entry in the PoiTable, no action is taken, and the function returns false.
If the PoiTable has been processed, it returns true, indicating that this function doesn't have to be called again.
Signature:
updatePoiFromPoiTable(pointLabel: TextElement): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
pointLabel | TextElement | The to update. |
Returns:
boolean
`true` if the [PoiTable](./flywave-mapview.poitable.md) has been processed, and the function does not have to be called again.