Skip to main content

Places

Trimble Maps maintains an ever-growing places database that includes tens of thousands of commercial locations across North America that serve the transportation industry. These places range from distribution centers and manufacturing facilities to truck stops and rest areas.

You can display those places on the map. Many places include a boundary polygon around the site and entry and exit gates for trucks.

Places Layer

Set the visibility of the places layer.

myMap.setPlacesVisibility(true);

Get the visibility of the places layer.

const placesVisible = myMap.isPlacesVisible();

Toggle the visibility of the places layer.

myMap.togglePlacesVisibility();

Optionally enable a pop-up menu to display place details when clicked.

const placeClickControl = new TrimbleMaps.PlaceClickControl();
myMap.addControl(placeClickControl);
Last updated November 16, 2023.