diff options
author | Anton Tananaev <anton@traccar.org> | 2023-11-09 07:55:45 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-11-09 07:55:45 -0800 |
commit | cd5413ae082a55e94d46f38a2a73f72eddb92aca (patch) | |
tree | a67bedd81e4e113a60deef516c30e43f6ab02bb4 /src/main/java/org/traccar/MainModule.java | |
parent | d57af42117c98a0c52d9bd776aa8d24af2dfafeb (diff) | |
download | trackermap-server-cd5413ae082a55e94d46f38a2a73f72eddb92aca.tar.gz trackermap-server-cd5413ae082a55e94d46f38a2a73f72eddb92aca.tar.bz2 trackermap-server-cd5413ae082a55e94d46f38a2a73f72eddb92aca.zip |
Update HERE geocoder
Diffstat (limited to 'src/main/java/org/traccar/MainModule.java')
-rw-r--r-- | src/main/java/org/traccar/MainModule.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java index 9559b3a90..3fec4d1e6 100644 --- a/src/main/java/org/traccar/MainModule.java +++ b/src/main/java/org/traccar/MainModule.java @@ -200,7 +200,6 @@ public class MainModule extends AbstractModule { if (config.getBoolean(Keys.GEOCODER_ENABLE)) { String type = config.getString(Keys.GEOCODER_TYPE, "google"); String url = config.getString(Keys.GEOCODER_URL); - String id = config.getString(Keys.GEOCODER_ID); String key = config.getString(Keys.GEOCODER_KEY); String language = config.getString(Keys.GEOCODER_LANGUAGE); String formatString = config.getString(Keys.GEOCODER_FORMAT); @@ -243,7 +242,7 @@ public class MainModule extends AbstractModule { geocoder = new BanGeocoder(client, cacheSize, addressFormat); break; case "here": - geocoder = new HereGeocoder(client, url, id, key, language, cacheSize, addressFormat); + geocoder = new HereGeocoder(client, url, key, language, cacheSize, addressFormat); break; case "mapmyindia": geocoder = new MapmyIndiaGeocoder(client, url, key, cacheSize, addressFormat); |