diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-02 10:32:54 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 10:32:54 +1300 |
commit | 4d6719f3e45f89407692e6bc737ac660e8da63d9 (patch) | |
tree | ff3bef37cfa5ac5dcd167325823b2862f93ea2ca | |
parent | fbe52c384d52d71395b846ec2136115cb5ee7e4a (diff) | |
parent | 58a99a37cb93b8dc582aea23690c613f1c09efcf (diff) | |
download | trackermap-server-4d6719f3e45f89407692e6bc737ac660e8da63d9.tar.gz trackermap-server-4d6719f3e45f89407692e6bc737ac660e8da63d9.tar.bz2 trackermap-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.java | 2 |
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 |