aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/osm.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-03-18 17:48:09 -0400
committerJoey Hess <joey@kitenet.net>2012-03-18 17:48:57 -0400
commitb2471aa729388243e598d389044d14fe86d5a7d5 (patch)
tree8cf6048b6488cf2b4ee7c549961611430b731afd /IkiWiki/Plugin/osm.pm
parent5fcc4a9434fe8a698977a7a22b9b0113246e77b8 (diff)
downloadikiwiki-b2471aa729388243e598d389044d14fe86d5a7d5.tar
ikiwiki-b2471aa729388243e598d389044d14fe86d5a7d5.tar.gz
fix waypoint hrefs
Diffstat (limited to 'IkiWiki/Plugin/osm.pm')
-rw-r--r--IkiWiki/Plugin/osm.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/osm.pm b/IkiWiki/Plugin/osm.pm
index ef6bc5b11..511fe3c9b 100644
--- a/IkiWiki/Plugin/osm.pm
+++ b/IkiWiki/Plugin/osm.pm
@@ -191,10 +191,11 @@ sub process_waypoint {
tag => $tag,
lat => $lat,
lon => $lon,
- # how to link back to the page from the map, not to be
+ # How to link back to the page from the map, not to be
# confused with the URL of the map itself sent to the
- # embeded map below
- href => urlto($page,$map),
+ # embeded map below. Note: used in generated KML etc file,
+ # so must be absolute.
+ href => urlto($page),
};
my $output = '';
if (defined($params{'embed'})) {