support postcode

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@369 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach 2010-11-28 21:08:32 +00:00
parent ef73a8bb0d
commit d4aaecbe7a
2 changed files with 18 additions and 1 deletions

View file

@ -148,7 +148,8 @@ public abstract class AbstractEfaProvider implements NetworkProvider
type = LocationType.ANY;
id = 0;
}
else if ("street".equals(anyType) || "address".equals(anyType) || "singlehouse".equals(anyType) || "buildingname".equals(anyType))
else if ("postcode".equals(anyType) || "street".equals(anyType) || "address".equals(anyType) || "singlehouse".equals(anyType)
|| "buildingname".equals(anyType))
{
type = LocationType.ADDRESS;
id = 0;