diff options
author | Syed Mujeer Hashmi <mujeerhashmi@4csolutions.in> | 2024-07-25 22:06:25 +0530 |
---|---|---|
committer | Syed Mujeer Hashmi <mujeerhashmi@4csolutions.in> | 2024-07-26 23:11:16 +0530 |
commit | adeb0ef3de976d185b6f61668f0cbd9fdffee801 (patch) | |
tree | fa0e8c65df459200277ce026752a56707156eb11 /src/main/java/org/traccar/MainModule.java | |
parent | 4620fc2db16f05bcd3578b4f5a3239b229d7c99f (diff) | |
download | trackermap-server-adeb0ef3de976d185b6f61668f0cbd9fdffee801.tar.gz trackermap-server-adeb0ef3de976d185b6f61668f0cbd9fdffee801.tar.bz2 trackermap-server-adeb0ef3de976d185b6f61668f0cbd9fdffee801.zip |
geocoder: custom url for google based geocoder
Signed-off-by: Syed Mujeer Hashmi <mujeerhashmi@4csolutions.in>
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 c7b74d049..945bb8bc2 100644 --- a/src/main/java/org/traccar/MainModule.java +++ b/src/main/java/org/traccar/MainModule.java @@ -226,7 +226,7 @@ public class MainModule extends AbstractModule { case "maptiler" -> new MapTilerGeocoder(client, key, cacheSize, addressFormat); case "geoapify" -> new GeoapifyGeocoder(client, key, language, cacheSize, addressFormat); case "geocodejson" -> new GeocodeJsonGeocoder(client, url, key, language, cacheSize, addressFormat); - default -> new GoogleGeocoder(client, key, language, cacheSize, addressFormat); + default -> new GoogleGeocoder(client, url, key, language, cacheSize, addressFormat); }; geocoder.setStatisticsManager(statisticsManager); return geocoder; |