Using the map component allows you to display device locations and measured values on a map. Both dynamic devices that actively send changing location data and static devices may be presented on the map.
Prepare Static Devices
For static devices the location information will be taken from a custom field. In your workspace create a custom field of type "GPS coordinates".
Location custom field of type "GPS coordinates"
Edit your device to add the "GPS coordinates" custom field and add latitude and longitude data.
Add coordinates to Location custom field in edit mode
Option to select coordinates from map
Location field with latitude and longitude information
Setting up a map component
In the content tab define the zoom level and location of the map center and a heading if needed.
Map component content setup
In the Source tab of the map component add one or more devices to show on the map. For static devices select the previously created custom field as the location field. For dynamic devices select the respective topic and data key that contain the location information.
Layers
You may add a new layer for each type of device you are adding to the map component. Devices, locations and data point markes may be set for each layer. Also, layer can then be selected to displayed or hidden in the map component on the dashboard.
Configuring the source of a map component
Use the marker data point options to showcase additional information next to the device marker on the map.