]> iEval git - fonbot.git/commitdiff
Add OSM links to location updates
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 27 Jul 2013 14:24:45 +0000 (17:24 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 27 Jul 2013 14:24:45 +0000 (17:24 +0300)
src/ro/ieval/fonbot/Heavy.java

index 4e064a718433493838212b6064c66a551229a1e0..c06234d7ac35a2a9ec1e97ab641d970f91840438 100644 (file)
@@ -168,6 +168,12 @@ final class Heavy {
                        sb.append(toNonNull(context.getString(at)));
                        sb.append(" ");
                        sb.append(locationDate.toString());
+                       sb.append(". ");
+
+                       sb.append("http://openstreetmap.org/?zoom=15&mlat=");
+                       sb.append(loc.getLatitude());
+                       sb.append("&mlon=");
+                       sb.append(loc.getLongitude());
                        Utils.sendMessage(toNonNull(context), toNonNull(replyTo), toNonNull(sb.toString()));
                }
 
This page took 0.0287 seconds and 4 git commands to generate.