Introduce location type for plain coordinates.

This commit is contained in:
Andreas Schildbach 2015-01-27 13:41:24 +01:00
parent 71d88fcd18
commit 4b65f0145c
70 changed files with 186 additions and 174 deletions

View file

@ -52,7 +52,7 @@ public class VgnProviderLiveTest extends AbstractProviderLiveTest
@Test
public void nearbyStationsByCoordinate() throws Exception
{
final NearbyLocationsResult result = queryNearbyStations(new Location(LocationType.ADDRESS, 49455472, 11079655));
final NearbyLocationsResult result = queryNearbyStations(Location.coord(49455472, 11079655));
print(result);
}