TGMap
Setting the information displayed in the tooltip in the map.
Syntax:
<string>where it gets;what it takes;text in front of the displayed value {0:value format} text behind
</string>
Example:
<string>stop;demand1;Quantity {0:N0}kg
</string>
Result:
Quantity - 18kg
Writing two values on one row:
<string>stop;opentime;Departure time: {0:HH:mm}</string>
<string>stop;closetime; - {0:HH:mm}
</string>
Result:
Departure time: 04:00 - 15:00
Config example:
<?xml version="1.0" encoding="utf-8"?>
<TGMapSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema%22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance%22>
<RouteStopToolTipValues>
<string>stop;name;{0}
</string>
<string>location;address;{0}
</string>
<string>stop;demand1;Quantity {0:N0}
</string>
<string>routestop;eta;Arrival: {0:HH:mm}
</string>
<string>stop;opentime;Departure time: {0:HH:mm}</string>
<string>stop;closetime; - {0:HH:mm}
</string>
</RouteStopToolTipValues>
<NotServedToolTipValues>
<string>stop;name;{0}
</string>
<string>location;address;{0}
</string>
<string>stop;demand1;Quantity {0:N0}
</string>
<string>stop;opentime;Departure time: {0:HH:mm}</string>
<string>stop;closetime; - {0:HH:mm}
</string>
<string>stop;specialcodes;{0}
</string>
</NotServedToolTipValues>
</TGMapSettings>
Parameter | Displays |
location;address | address |