diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-06-24 16:10:33 +0400 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-06-24 16:10:33 +0400 |
commit | 3baeb26089a65ea7b65beedf2f3157dc2aab33a2 (patch) | |
tree | db50048c38a38a5ace5add7dd81bc465955ad43a /src/org/traccar/model/DatabaseDataManager.java | |
parent | 7a7c38268e09a67134b34a0a8e4fcba4f8bf639a (diff) | |
download | trackermap-server-3baeb26089a65ea7b65beedf2f3157dc2aab33a2.tar.gz trackermap-server-3baeb26089a65ea7b65beedf2f3157dc2aab33a2.tar.bz2 trackermap-server-3baeb26089a65ea7b65beedf2f3157dc2aab33a2.zip |
Add reverse geocoding (fix #15)
Diffstat (limited to 'src/org/traccar/model/DatabaseDataManager.java')
-rw-r--r-- | src/org/traccar/model/DatabaseDataManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/model/DatabaseDataManager.java b/src/org/traccar/model/DatabaseDataManager.java index 8235a6170..f312c3dcd 100644 --- a/src/org/traccar/model/DatabaseDataManager.java +++ b/src/org/traccar/model/DatabaseDataManager.java @@ -229,6 +229,7 @@ public class DatabaseDataManager implements DataManager { queryAddPosition.setDouble("speed", position.getSpeed()); queryAddPosition.setDouble("course", position.getCourse()); queryAddPosition.setDouble("power", position.getPower()); + queryAddPosition.setString("address", position.getAddress()); queryAddPosition.setString("extended_info", position.getExtendedInfo()); queryAddPosition.executeUpdate(); |