aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/geocode/MapQuestReverseGeocoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 19:50:55 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 19:50:55 +1200
commitf8055b4ccb4a248d8bcd7914d72a18596f6c5db8 (patch)
tree2ec1b6e67b97b4c0236e9e4cd3bc1d0eb97a01a8 /src/org/traccar/geocode/MapQuestReverseGeocoder.java
parent2e1d36be1e21209926d01ea4fc32fd4925f7f9d6 (diff)
downloadtrackermap-server-f8055b4ccb4a248d8bcd7914d72a18596f6c5db8.tar.gz
trackermap-server-f8055b4ccb4a248d8bcd7914d72a18596f6c5db8.tar.bz2
trackermap-server-f8055b4ccb4a248d8bcd7914d72a18596f6c5db8.zip
Fix minor formatting issues
Diffstat (limited to 'src/org/traccar/geocode/MapQuestReverseGeocoder.java')
-rw-r--r--src/org/traccar/geocode/MapQuestReverseGeocoder.java13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/org/traccar/geocode/MapQuestReverseGeocoder.java b/src/org/traccar/geocode/MapQuestReverseGeocoder.java
index 45df18658..e1ed18918 100644
--- a/src/org/traccar/geocode/MapQuestReverseGeocoder.java
+++ b/src/org/traccar/geocode/MapQuestReverseGeocoder.java
@@ -15,24 +15,17 @@
*/
package org.traccar.geocode;
-import java.io.InputStreamReader;
-import java.net.URL;
-import java.net.URLConnection;
-import javax.json.Json;
import javax.json.JsonArray;
import javax.json.JsonObject;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-
-import org.traccar.helper.Log;
-import org.w3c.dom.Document;
public class MapQuestReverseGeocoder extends JsonReverseGeocoder {
+
public MapQuestReverseGeocoder() {
this("http://www.mapquestapi.com/geocoding/v1/reverse", "ABCDE", 0);
}
+
public MapQuestReverseGeocoder(String url, String key, int cacheSize) {
- super(url + "?key=" + key + "&location=%f,%f", cacheSize);
+ super(url + "?key=" + key + "&location=%f,%f", cacheSize);
}
@Override