Skip to main content

Points of Interest (POI)

POIs include truck stops, restaurants, repair shops and other services of interest to drivers. Icons that identify POIs can be hidden or displayed on the map. See our truck stops example.

POI Layer

Set the visibility of the POI layer.

myMap.setPOIVisibility(true);

Get the visibility of the POI layer.

const poiVisible = myMap.isPOIVisible();

Toggle the visibility of the POI layer.

myMap.togglePOIVisibility();
Last updated November 8, 2022.