How to get all toll prices in Czech Crowns?
Posted: Thu Jan 14, 2016 10:55 am
Hello together,
today a customer asked me how to parametrize a routing request to get all mentioned toll prices in Czech Crowns.
The answer is simple but negative: there is no direct parametrizing that returns all costs in this non-Euro currency. xRoute is able to return one of the following styles depending on the parameter CountryInfoOptions.allEuro (or the derived version CountryInfoVehicleOptions)
So if you want to get every price in the same NON EURO currency you have to convert it on client side, e.g. based on those factors.
Regards Bernd
today a customer asked me how to parametrize a routing request to get all mentioned toll prices in Czech Crowns.
The answer is simple but negative: there is no direct parametrizing that returns all costs in this non-Euro currency. xRoute is able to return one of the following styles depending on the parameter CountryInfoOptions.allEuro (or the derived version CountryInfoVehicleOptions)
- .allEuro==true: Every toll price is returned in EURO, even in Czech Republic, United Kingdom, Danmark, Sweden, ...
- .allEuro==false: We return the national currencies for each country which doesn't belong to the EURO.
So if you want to get every price in the same NON EURO currency you have to convert it on client side, e.g. based on those factors.
Regards Bernd