diff options
author | Matjaž Črnko <m.crnko@txt.si> | 2024-06-15 21:09:18 +0200 |
---|---|---|
committer | Matjaž Črnko <m.crnko@txt.si> | 2024-06-15 21:09:18 +0200 |
commit | d4e4a4a00c04d2a848d1f1f8d58724202d578ea6 (patch) | |
tree | 06cd760f9e593b6fc0d416ce9dc8420b120e1b80 /src/test/java/org | |
parent | bc65eb120807b7c899d3fd95fbb6684934bfa3ef (diff) | |
download | trackermap-server-d4e4a4a00c04d2a848d1f1f8d58724202d578ea6.tar.gz trackermap-server-d4e4a4a00c04d2a848d1f1f8d58724202d578ea6.tar.bz2 trackermap-server-d4e4a4a00c04d2a848d1f1f8d58724202d578ea6.zip |
Photon Geocoder
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/traccar/geocoder/GeocoderTest.java | 7 |
1 files changed, 7 insertions, 0 deletions
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); + } } |