diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-11-06 22:55:15 -0800 |
---|---|---|
committer | Ryan Neuharth <neuharthr@gmail.com> | 2019-11-09 11:50:07 -0600 |
commit | a632ac3daaca8389e380c4c862765f46b88f1fb9 (patch) | |
tree | 4045fbc231ae95218b149dcb8710de0f57700a41 /src/main/java/org/traccar/MainModule.java | |
parent | 56cf856e0d08b32d7b637b066e0f735209d86e21 (diff) | |
download | trackermap-server-a632ac3daaca8389e380c4c862765f46b88f1fb9.tar.gz trackermap-server-a632ac3daaca8389e380c4c862765f46b88f1fb9.tar.bz2 trackermap-server-a632ac3daaca8389e380c4c862765f46b88f1fb9.zip |
Updated OpenCellId geolocation to utilize the URL parameter from the
configuration file in order to allow for changes to the end point. If
not set, default URL is used for backwards compatibility.
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 3acd19b6a..9adea61b0 100644 --- a/src/main/java/org/traccar/MainModule.java +++ b/src/main/java/org/traccar/MainModule.java @@ -191,7 +191,7 @@ public class MainModule extends AbstractModule { case "google": return new GoogleGeolocationProvider(key); case "opencellid": - return new OpenCellIdGeolocationProvider(key); + return new OpenCellIdGeolocationProvider(url, key); case "unwired": return new UnwiredGeolocationProvider(url, key); default: |