diff options
author | jcardus <joaquim.cardeira@gmail.com> | 2020-01-21 18:24:03 +0000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-01-21 10:24:03 -0800 |
commit | 0c40b37a389ae681152f320e47731ee3012f17eb (patch) | |
tree | 0218c165eb05dd03ece2d075b94998e2a93d32c4 /src/main/java/org/traccar/MainModule.java | |
parent | df740ef9d1f2c339f4ffb0bf96f4a418065c72c8 (diff) | |
download | trackermap-server-0c40b37a389ae681152f320e47731ee3012f17eb.tar.gz trackermap-server-0c40b37a389ae681152f320e47731ee3012f17eb.tar.bz2 trackermap-server-0c40b37a389ae681152f320e47731ee3012f17eb.zip |
Here geocoder url config parameter (#4472)
* here geocoder url config parameter
* here geocoder url config parameter
* added new parameter apiKey and kept app_code for retro compatibility
added default url for here
* fixed ident
removed url from here geocode test
* fixed ident
intellij uses 2 spaces, this project uses 4.
* fixed ident
intellij uses 2 spaces, this project uses 4.
* url should be null not ""
* wrong file
Diffstat (limited to 'src/main/java/org/traccar/MainModule.java')
-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 9adea61b0..0957d9fe3 100644 --- a/src/main/java/org/traccar/MainModule.java +++ b/src/main/java/org/traccar/MainModule.java @@ -170,7 +170,7 @@ public class MainModule extends AbstractModule { case "ban": return new BanGeocoder(cacheSize, addressFormat); case "here": - return new HereGeocoder(id, key, language, cacheSize, addressFormat); + return new HereGeocoder(url, id, key, language, cacheSize, addressFormat); case "mapmyindia": return new MapmyIndiaGeocoder(url, key, cacheSize, addressFormat); default: |