]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/osm.pm
fix waypoint hrefs
[ikiwiki.git] / IkiWiki / Plugin / osm.pm
index ef6bc5b11d313940ddee503d047594da39b1c1a7..511fe3c9b322d912938b29ee6b9fe946063d2495 100644 (file)
@@ -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'})) {