X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9f56a417a1c20508f64fd80dc3e8f0eab6ec5f98..2f013cc0c26246d3a29fe6078275b4822b6f4aa9:/doc/ikiwiki/directive/osm.mdwn?ds=sidebyside diff --git a/doc/ikiwiki/directive/osm.mdwn b/doc/ikiwiki/directive/osm.mdwn index bf7a2e1bd..a2cdd667f 100644 --- a/doc/ikiwiki/directive/osm.mdwn +++ b/doc/ikiwiki/directive/osm.mdwn @@ -6,21 +6,21 @@ to add points to the map. ## examples - [[!osm]] - [[!waypoint lat="45°30N" lon="73°40W" name="My city" tag="city"]] + \[[!osm]] + \[[!waypoint lat="45°30N" lon="73°40W" name="My city" tag="city"]] The osm directive will display the actual map, while the waypoint directive adds waypoints to the map. The above can also be shortened as: - [[!waypoint lat="45°30N" lon="73°40W" name="My city" tag="city" embed]] + \[[!waypoint lat="45°30N" lon="73°40W" name="My city" tag="city" embed]] The tag is also taken from the tags elsewhere in the page, so the above is equivalent to: - [[!waypoint lat="45°30N" lon="73°40W" name="My city" embed]] - [[!tag city]] + \[[!waypoint lat="45°30N" lon="73°40W" name="My city" embed]] + \[[!tag city]] The icon is also taken from the tag if attached to the tag page as icon.png (default, modifiable)..