Skip to main content

Trimble layers

Trimble layers are used to visualize various types of data on a map. The Maps SDK provides several built-in layers that can be toggled to display different types of information. These layers include Traffic, 3D Buildings, POIs, Weather Alerts, Weather Radar, and Road Conditions. Below is an overview of each layer and how to use them.

Traffic layer

The Traffic layer displays real-time traffic information on the map. This layer can be toggled to show or hide traffic data.

3D Buildings layer

The 3D Buildings layer renders buildings in three dimensions, providing a more realistic view of the map.

POIs (Points of Interest) layer

The POIs layer shows various points of interest on the map, such as restaurants, gas stations, and landmarks.

Weather Alerts layer

The Weather Alerts layer displays weather alerts on the map, helping users stay informed about severe weather conditions. (North America only)

Weather Radar layer

The Weather Radar layer shows real-time weather radar data, including precipitation and storm movements. (North America only)

Road Conditions layer

The Road Conditions layer provides information about the current state of the roads, such as wet, icy, or closed roads. (North America only)

Example Usage

The Trimble layers code example shows how to set up a map with buttons to toggle these Trimble layers. In the example, the onClickToggleTrimbleLayer function handles the button clicks and toggles the corresponding layer on the map. This setup allows users to easily switch between different types of map data, enhancing the map’s functionality and user experience.

Last updated January 16, 2025.