TAS:Pokročilé/Pluginy/TGMap: Porovnání verzí

Z Solvertech
Skočit na navigaci Skočit na vyhledávání
Řádek 1: Řádek 1:
Nastavení informací zobrazujících se v tooltipu v mapě.
Nastavení informací zobrazujících se v tooltipu v mapě.
<br />


[[File:TAS_Pokroile_Pluginy_TGMapimage2017-2-14_14-57-9.png|549x217px]]
[[File:TAS_Pokroile_Pluginy_TGMapimage2017-2-14_14-57-9.png|549x217px]]
Řádek 74: Řádek 71:


{| class="wrapped wikitable"
{| class="wrapped wikitable"
| Parametr
| '''Parametr'''
| Zobrazuje
| '''Zobrazuje'''
|-
|-
| location;address
| location;address

Verze z 4. 8. 2022, 10:54

Nastavení informací zobrazujících se v tooltipu v mapě.

TAS Pokroile Pluginy TGMapimage2017-2-14 14-57-9.png

Zápis:

<string>odkud bere;co bere;text před zobrazenou hodnotou {0:formát hodnoty} text za

</string>

Příklad:

<string>stop;demand1;Množství {0:N0}kg
</string>

Výsledek:

Množství - 18kg



Zápis dvou hodnot na jeden řádek:

<string>stop;opentime;Čas závozu: {0:HH:mm}</string>
<string>stop;closetime; - {0:HH:mm}
</string>

Výsledek:

Čas závozu: 04:00 - 15:00



Příklad config:

<?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;Množství {0:N0}
</string>
<string>routestop;eta;Příjezd: {0:HH:mm}
</string>
<string>stop;opentime;Čas závozu: {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;Množství {0:N0}
</string>
<string>stop;opentime;Čas závozu: {0:HH:mm}</string>
<string>stop;closetime; - {0:HH:mm}
</string>
<string>stop;specialcodes;{0}
</string>
</NotServedToolTipValues>
</TGMapSettings>



Parametr Zobrazuje
location;address adresa