diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-08-12 13:28:41 +0400 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-08-12 13:28:41 +0400 |
commit | afa255e4c319482a486230308214374afe842bb8 (patch) | |
tree | f5541a695a36b0499f11c7e99334b2099a80a460 /src/org/traccar/Server.java | |
parent | ff01e06a078e0e53791f7889f777e821d65c1766 (diff) | |
download | traccar-server-afa255e4c319482a486230308214374afe842bb8.tar.gz traccar-server-afa255e4c319482a486230308214374afe842bb8.tar.bz2 traccar-server-afa255e4c319482a486230308214374afe842bb8.zip |
Fix reverse geocoding (fix #37)
Diffstat (limited to 'src/org/traccar/Server.java')
-rw-r--r-- | src/org/traccar/Server.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/Server.java b/src/org/traccar/Server.java index 5a6b298c7..2f1c7fce5 100644 --- a/src/org/traccar/Server.java +++ b/src/org/traccar/Server.java @@ -174,7 +174,7 @@ public class Server { } private void initGeocoder(Properties properties) throws IOException { - if (Boolean.parseBoolean("geocoder.enable")) { + if (Boolean.parseBoolean(properties.getProperty("geocoder.enable"))) { geocoder = new GoogleReverseGeocoder(); } } |