The map symbol is used to show the position of AF elements on a world map. AF attributes can be used to dynamically set the elements' colors. Additional information can be seen in a tooltip when hovering the mouse over a point on the map.
Conditions
The control displays AF elements. These elements need to have attributes called “Latitude” and “Longitude” which represent the element's position in degrees.
Starting the Control
To start the control click on the “Assets” button in the upper left corner of the PI Vision display.
In the upper part select “weruMap” by clicking on it.
Afterwards the desired element from the asset tree could be added to the display via drag and drop. The Map control appears on the display and can be used.
It is important to drag the whole element as opposed to individual attributes.
Additional elements can be dragged and dropped onto the same Map symbol to display more than one element on the same map.
Configuration
With a right click on the control in the upper area there is the possibility to press "Configure". Thereby the configuration tile appears.
Colors
Here the point colors can be configured.
The colors can be configured to be dynamic based on an attribute’s value being under or over a threshold. If there are AF limits configured for the attribute, one of those can be chosen as the threshold.
Tooltips
There are three ways to configure the tooltips for the points on the map.
All
In this mode, all attributes and their values will be shown in the tooltip.
Common
In this mode, attributes to be shown in the tooltips can be chosen from a list of attributes that can be found in every element on the map.
Individual
In this mode, attributes can be configured based on the templates used for the elements in the map. For each element template, its attribute templates can be chosen to appear in the tooltip.