aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-12-18 09:39:06 -0800
committerGitHub <noreply@github.com>2018-12-18 09:39:06 -0800
commitd0798cd3699c7ce5cc25daf65335d0670256eda0 (patch)
tree0593a646a7f6651be02139779ee1cdfefd2add20 /src/org/traccar/Context.java
parent85cd0f9e023b7c664373ea19418c2ed5675c5025 (diff)
parent0e39aad22c5679f37e5a2ab892c15cf196cd0873 (diff)
downloadtraccar-server-d0798cd3699c7ce5cc25daf65335d0670256eda0.tar.gz
traccar-server-d0798cd3699c7ce5cc25daf65335d0670256eda0.tar.bz2
traccar-server-d0798cd3699c7ce5cc25daf65335d0670256eda0.zip
Merge pull request #4166 from mujeerhashmi/mapmyindia
Implement MapmyIndia 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 07fab2bd1..95d433795 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -60,6 +60,7 @@ import org.traccar.geocoder.HereGeocoder;
import org.traccar.geocoder.MapQuestGeocoder;
import org.traccar.geocoder.NominatimGeocoder;
import org.traccar.geocoder.OpenCageGeocoder;
+import org.traccar.geocoder.MapmyIndiaGeocoder;
import org.traccar.geocoder.Geocoder;
import org.traccar.geolocation.UnwiredGeolocationProvider;
import org.traccar.helper.Log;
@@ -351,6 +352,8 @@ public final class Context {
return new BanGeocoder(cacheSize, addressFormat);
case "here":
return new HereGeocoder(id, key, language, cacheSize, addressFormat);
+ case "mapmyindia":
+ return new MapmyIndiaGeocoder(url, key, cacheSize, addressFormat);
default:
return new GoogleGeocoder(key, language, cacheSize, addressFormat);
}