diff options
author | Iván Ávalos <avalos@disroot.org> | 2021-12-27 18:22:07 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2021-12-27 18:22:07 -0600 |
commit | f03b999d6d17e53c1c1e1aa2f9271d03f12f2264 (patch) | |
tree | a16d409887e65e4211e0f8ea4fc73a86e637a032 /src/test/java/org/traccar/geocoder | |
parent | 3a528ddc88f72f39ff9566cf5e0f54938b1584ef (diff) | |
parent | 790db6295f130e64c8346f13985dd0c15f938b40 (diff) | |
download | traccar-server-f03b999d6d17e53c1c1e1aa2f9271d03f12f2264.tar.gz traccar-server-f03b999d6d17e53c1c1e1aa2f9271d03f12f2264.tar.bz2 traccar-server-f03b999d6d17e53c1c1e1aa2f9271d03f12f2264.zip |
Merge branch 'master' into suntech-fixes
Diffstat (limited to 'src/test/java/org/traccar/geocoder')
-rw-r--r-- | src/test/java/org/traccar/geocoder/GeocoderTest.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/geocoder/GeocoderTest.java b/src/test/java/org/traccar/geocoder/GeocoderTest.java index 5f1748984..380980d2b 100644 --- a/src/test/java/org/traccar/geocoder/GeocoderTest.java +++ b/src/test/java/org/traccar/geocoder/GeocoderTest.java @@ -101,4 +101,13 @@ public class GeocoderTest { String address = geocoder.getAddress(40.733, -73.989, null); assertEquals("120 East 13th Street, New York, New York 10003, United States", address); } + + @Ignore + @Test + public void testMapTiler() { + Geocoder geocoder = new MapTilerGeocoder("mnbnwLErpdspq13f0kC6", 0, new AddressFormat()); + String address = geocoder.getAddress(40.733, -73.989, null); + assertEquals("East 13th Street, New York City, New York, United States", address); + } + } |