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 Walmart overnight parking locations.
You can display those places on the map. Many places include a boundary polygon around the site and entry and exit gates for trucks.
Set the visibility of the places layer.
Get the visibility of the places layer.
const placesVisible = myMap.isPlacesVisible();
Toggle the visibility of the places layer.
Optionally enable a pop-up menu to display place details when clicked.
const placeClickControl = new TrimbleMaps.PlaceClickControl(); myMap.addControl(placeClickControl);