From d4e4a4a00c04d2a848d1f1f8d58724202d578ea6 Mon Sep 17 00:00:00 2001 From: Matjaž Črnko Date: Sat, 15 Jun 2024 21:09:18 +0200 Subject: Photon Geocoder --- src/test/java/org/traccar/geocoder/GeocoderTest.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/test/java/org') diff --git a/src/test/java/org/traccar/geocoder/GeocoderTest.java b/src/test/java/org/traccar/geocoder/GeocoderTest.java index ef2dd062d..e05477ac3 100644 --- a/src/test/java/org/traccar/geocoder/GeocoderTest.java +++ b/src/test/java/org/traccar/geocoder/GeocoderTest.java @@ -122,4 +122,11 @@ public class GeocoderTest { assertEquals("114 East 13th Street, New York, New York, US", address); } + @Disabled + @Test + public void testPhoton() { + Geocoder geocoder = new PhotonGeocoder(client, null, null, null, 0, new AddressFormat()); + String address = geocoder.getAddress(40.7337807, -73.9974401, null); + assertEquals("35 West 9th Street, New York, New York, US", address); + } } -- cgit v1.2.3