diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-17 12:38:24 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-17 12:38:24 -0700 |
commit | b345db0a647d4bdecd378a9f953c6df3aa0c1b74 (patch) | |
tree | 438db04ca7a020b301b6930428be8280132c63ef /theme | |
parent | 243a9e58405005c6503701a987d2b12eb4041403 (diff) | |
download | subsurface-b345db0a647d4bdecd378a9f953c6df3aa0c1b74.tar.gz |
HTML export: better Google maps link
This way we get an actual place marker
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme')
-rw-r--r-- | theme/list_lib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js index eb26b1eaa..afaa77ad0 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -943,7 +943,7 @@ function getDiveCoor(dive) { if (!dive.coordinates) return ""; - return '<td class="words"> ' + translate.Coordinates + ': </td><td>' + '<a href="http://www.google.com/maps/@' + dive.coordinates.lat + ',' + dive.coordinates.lon + ',13z" target="_blank">' + getDiveCoorString(dive.coordinates) + '</a></td>'; + return '<td class="words"> ' + translate.Coordinates + ': </td><td>' + '<a href="http://maps.google.com/maps?q=loc:' + dive.coordinates.lat + ',' + dive.coordinates.lon + '" target="_blank">' + getDiveCoorString(dive.coordinates) + '</a></td>'; } /** |