mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
HTML export: better Google maps link
This way we get an actual place marker Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
243a9e5840
commit
b345db0a64
1 changed files with 1 additions and 1 deletions
|
@ -943,7 +943,7 @@ function getDiveCoor(dive)
|
||||||
{
|
{
|
||||||
if (!dive.coordinates)
|
if (!dive.coordinates)
|
||||||
return "";
|
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>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue