aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/geocode/AddressFormat.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/geocode/AddressFormat.java')
-rw-r--r--src/org/traccar/geocode/AddressFormat.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/geocode/AddressFormat.java b/src/org/traccar/geocode/AddressFormat.java
index a90de8c5e..a2a0862bf 100644
--- a/src/org/traccar/geocode/AddressFormat.java
+++ b/src/org/traccar/geocode/AddressFormat.java
@@ -27,6 +27,7 @@ import java.text.ParsePosition;
* %s - state
* %d - district
* %t - settlement (town)
+ * %u - suburb
* %r - street (road)
* %h - house
*
@@ -62,6 +63,7 @@ public class AddressFormat extends Format {
result = replace(result, "%s", address.getState());
result = replace(result, "%d", address.getDistrict());
result = replace(result, "%t", address.getSettlement());
+ result = replace(result, "%u", address.getSuburb());
result = replace(result, "%r", address.getStreet());
result = replace(result, "%h", address.getHouse());