aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/DatabaseDataManager.java
diff options
context:
space:
mode:
authorLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-15 11:04:16 -0400
committerLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-15 11:04:16 -0400
commit3a78e641bacccaca181bbd292f0f2f0d579b5caf (patch)
tree5655a02dbcbb160bdc8b15551109892acfefaa99 /src/org/traccar/model/DatabaseDataManager.java
parent704decd15f70a0251675041826c472b7326ae40c (diff)
downloadtrackermap-server-3a78e641bacccaca181bbd292f0f2f0d579b5caf.tar.gz
trackermap-server-3a78e641bacccaca181bbd292f0f2f0d579b5caf.tar.bz2
trackermap-server-3a78e641bacccaca181bbd292f0f2f0d579b5caf.zip
Changes to save de address field from geocoding and show it on markers
at the map and on position's grid
Diffstat (limited to 'src/org/traccar/model/DatabaseDataManager.java')
-rw-r--r--src/org/traccar/model/DatabaseDataManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/model/DatabaseDataManager.java b/src/org/traccar/model/DatabaseDataManager.java
index 2207d272b..3092744c0 100644
--- a/src/org/traccar/model/DatabaseDataManager.java
+++ b/src/org/traccar/model/DatabaseDataManager.java
@@ -211,6 +211,7 @@ public class DatabaseDataManager implements DataManager {
position.setCourse(result.getDouble("course"));
position.setPower(result.getDouble("power"));
position.setMode(result.getInt("mode"));
+ position.setAddress(result.getString("address"));
positionList.add(position);
}