diff options
author | Ed Freyfogle <freyfogle@users.noreply.github.com> | 2022-03-24 11:28:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-24 11:28:36 +0100 |
commit | be44289a93399b74a53797d992d994f7df6187d2 (patch) | |
tree | 35f61767189ee9cb3f72e7d2671e3a4b65dc38b5 /src/main/java/org/traccar | |
parent | c84ab2c13e5529c34e0acf48304618659b427985 (diff) | |
download | trackermap-server-be44289a93399b74a53797d992d994f7df6187d2.tar.gz trackermap-server-be44289a93399b74a53797d992d994f7df6187d2.tar.bz2 trackermap-server-be44289a93399b74a53797d992d994f7df6187d2.zip |
pass language to OpenCageGeocoder
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r-- | src/main/java/org/traccar/MainModule.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java index d72e04588..842f7e3ce 100644 --- a/src/main/java/org/traccar/MainModule.java +++ b/src/main/java/org/traccar/MainModule.java @@ -181,7 +181,7 @@ public class MainModule extends AbstractModule { case "mapquest": return new MapQuestGeocoder(url, key, cacheSize, addressFormat); case "opencage": - return new OpenCageGeocoder(url, key, cacheSize, addressFormat); + return new OpenCageGeocoder(url, key, language, cacheSize, addressFormat); case "bingmaps": return new BingMapsGeocoder(url, key, cacheSize, addressFormat); case "factual": |