aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-09-25 10:43:20 +1200
committerGitHub <noreply@github.com>2018-09-25 10:43:20 +1200
commitcd011431dbae56ca9b3f4546b1485ab24bdb90af (patch)
tree63da193abebbb77f2f98705e959408ed677123f3 /src/org/traccar/Context.java
parent33a04ec588f5f0f1145249a5c5163fef0f35fb1c (diff)
parent2e5d13c34227a6c636b78ee4a867dd45fe69afa8 (diff)
downloadtrackermap-server-cd011431dbae56ca9b3f4546b1485ab24bdb90af.tar.gz
trackermap-server-cd011431dbae56ca9b3f4546b1485ab24bdb90af.tar.bz2
trackermap-server-cd011431dbae56ca9b3f4546b1485ab24bdb90af.zip
Merge pull request #4047 from oliv3/fr_3769
Add Base Adresse Nationale reverse geocoder
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index 334503640..b310d6740 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -57,6 +57,7 @@ import org.traccar.geocoder.FactualGeocoder;
import org.traccar.geocoder.GeocodeFarmGeocoder;
import org.traccar.geocoder.GeocodeXyzGeocoder;
import org.traccar.geocoder.GisgraphyGeocoder;
+import org.traccar.geocoder.BanGeocoder;
import org.traccar.geocoder.GoogleGeocoder;
import org.traccar.geocoder.MapQuestGeocoder;
import org.traccar.geocoder.NominatimGeocoder;
@@ -339,6 +340,8 @@ public final class Context {
return new GeocodeFarmGeocoder(key, language, cacheSize, addressFormat);
case "geocodexyz":
return new GeocodeXyzGeocoder(key, cacheSize, addressFormat);
+ case "ban":
+ return new BanGeocoder(cacheSize, addressFormat);
default:
return new GoogleGeocoder(key, language, cacheSize, addressFormat);
}