aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Freyfogle <freyfogle@users.noreply.github.com>2022-03-24 11:28:36 +0100
committerGitHub <noreply@github.com>2022-03-24 11:28:36 +0100
commitbe44289a93399b74a53797d992d994f7df6187d2 (patch)
tree35f61767189ee9cb3f72e7d2671e3a4b65dc38b5
parentc84ab2c13e5529c34e0acf48304618659b427985 (diff)
downloadtrackermap-server-be44289a93399b74a53797d992d994f7df6187d2.tar.gz
trackermap-server-be44289a93399b74a53797d992d994f7df6187d2.tar.bz2
trackermap-server-be44289a93399b74a53797d992d994f7df6187d2.zip
pass language to OpenCageGeocoder
-rw-r--r--src/main/java/org/traccar/MainModule.java2
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":