Weather Radar
The Weather Radar layer displays current precipitation events using a gradation of colors that indicate rain and snow.
Set the visibility of the weather radar layer.
const weatherRadar = new TrimbleMaps.WeatherRadar();
myMap.on("load", function () {
weatherRadar.addTo(map);
});
Get the visibility of the weather radar layer.
const radarVisible = weatherRadar.isVisible();
Toggle the visibility of the weather radar layer.
weatherRadar.toggleVisibility();
Radar map legend
Weather radar is shown in decibels (dBZ). dBZ values increase as precipitation becomes more intense.
Type | Legend |
---|---|
Rain (dBZ) |
|
Ice (dBZ) |
|
Snow (dBZ) |
|