display

abstract fun display(poiList: List<PoiLocation>)

Displays or updates the provided Points of Interest (PoiLocations) on the map.

For each PoiLocation in the provided list:

  • If it doesn't already exist on the map, it is added.

  • If it does exist and has updated metadata, it is replaced with the new data.

Parameters

poiList

A list of PoiLocation objects that represent the locations, metadata, and potential changes for the Points of Interest to be visualized or updated on the map.