mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 08:10:46 +00:00
VRS: Fix swapped latitude and longitude in queryNearbyLocations URI.
This commit is contained in:
parent
7165730bb3
commit
095fd87052
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ public class VrsProvider extends AbstractNetworkProvider
|
|||
uri.append("?eID=tx_vrsinfo_ass2_timetable");
|
||||
if (location.hasLocation())
|
||||
{
|
||||
uri.append("&r=").append(String.format(Locale.ENGLISH, "%.6f,%.6f", location.lon / 1E6, location.lat / 1E6));
|
||||
uri.append("&r=").append(String.format(Locale.ENGLISH, "%.6f,%.6f", location.lat / 1E6, location.lon / 1E6));
|
||||
}
|
||||
else if (location.type == LocationType.STATION && location.hasId())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue