mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 13:59:50 +00:00
no need to use nameInfo or typeInfo any more
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@288 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
dd9461585e
commit
ee22585482
1 changed files with 3 additions and 3 deletions
|
@ -978,9 +978,9 @@ public abstract class AbstractEfaProvider implements NetworkProvider
|
||||||
{
|
{
|
||||||
if ((location.type == LocationType.POI || location.type == LocationType.ADDRESS) && location.lat != 0 && location.lon != 0)
|
if ((location.type == LocationType.POI || location.type == LocationType.ADDRESS) && location.lat != 0 && location.lon != 0)
|
||||||
{
|
{
|
||||||
uri.append("&nameInfo_").append(paramSuffix).append("=").append(String.format("%2.6f:%2.6f", location.lon / 1E6, location.lat / 1E6))
|
uri.append("&type_").append(paramSuffix).append("=coord");
|
||||||
.append(":WGS84[DD.dddddd]");
|
uri.append("&name_").append(paramSuffix).append("=").append(String.format("%2.6f:%2.6f", location.lon / 1E6, location.lat / 1E6)).append(
|
||||||
uri.append("&typeInfo_").append(paramSuffix).append("=coord");
|
":WGS84[DD.dddddd]");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue