aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-31 11:57:48 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-31 11:57:48 +1300
commitfc002d6133338c8b0adc1f9ea149a75be7f03e4f (patch)
tree43c492fa93bfd15862b5ff08bca3629b0fad3d65 /src
parent352986138b5eb580af85f9d0650766303c72ea90 (diff)
downloadtrackermap-server-fc002d6133338c8b0adc1f9ea149a75be7f03e4f.tar.gz
trackermap-server-fc002d6133338c8b0adc1f9ea149a75be7f03e4f.tar.bz2
trackermap-server-fc002d6133338c8b0adc1f9ea149a75be7f03e4f.zip
Fix a bug in geolocation initialization
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/Context.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index 46294edfa..cd6820778 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -256,8 +256,10 @@ public final class Context {
switch (type) {
case "google":
geolocationProvider = new GoogleGeolocationProvider(key);
+ break;
case "opencellid":
geolocationProvider = new OpenCellIdGeolocationProvider(key);
+ break;
default:
if (key != null) {
geolocationProvider = new MozillaGeolocationProvider(key);