aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-02 10:32:54 +1300
committerGitHub <noreply@github.com>2018-10-02 10:32:54 +1300
commit4d6719f3e45f89407692e6bc737ac660e8da63d9 (patch)
treeff3bef37cfa5ac5dcd167325823b2862f93ea2ca
parentfbe52c384d52d71395b846ec2136115cb5ee7e4a (diff)
parent58a99a37cb93b8dc582aea23690c613f1c09efcf (diff)
downloadtraccar-server-4d6719f3e45f89407692e6bc737ac660e8da63d9.tar.gz
traccar-server-4d6719f3e45f89407692e6bc737ac660e8da63d9.tar.bz2
traccar-server-4d6719f3e45f89407692e6bc737ac660e8da63d9.zip
Merge pull request #4079 from freyfogle/master
Add no_annotations parameter in the call to OpenCage API
-rw-r--r--src/org/traccar/geocoder/OpenCageGeocoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/geocoder/OpenCageGeocoder.java b/src/org/traccar/geocoder/OpenCageGeocoder.java
index c21d5562a..822b6e91e 100644
--- a/src/org/traccar/geocoder/OpenCageGeocoder.java
+++ b/src/org/traccar/geocoder/OpenCageGeocoder.java
@@ -22,7 +22,7 @@ import javax.json.JsonObject;
public class OpenCageGeocoder extends JsonGeocoder {
public OpenCageGeocoder(String url, String key, int cacheSize, AddressFormat addressFormat) {
- super(url + "/json?q=%f,%f&key=" + key, cacheSize, addressFormat);
+ super(url + "/json?q=%f,%f&no_annotations=1&key=" + key, cacheSize, addressFormat);
}
@Override