diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-31 11:57:48 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-31 11:57:48 +1300 |
commit | fc002d6133338c8b0adc1f9ea149a75be7f03e4f (patch) | |
tree | 43c492fa93bfd15862b5ff08bca3629b0fad3d65 /src/org/traccar | |
parent | 352986138b5eb580af85f9d0650766303c72ea90 (diff) | |
download | trackermap-server-fc002d6133338c8b0adc1f9ea149a75be7f03e4f.tar.gz trackermap-server-fc002d6133338c8b0adc1f9ea149a75be7f03e4f.tar.bz2 trackermap-server-fc002d6133338c8b0adc1f9ea149a75be7f03e4f.zip |
Fix a bug in geolocation initialization
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/Context.java | 2 |
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); |