]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/ikiwiki/directive/osm.mdwn
(no commit message)
[ikiwiki.git] / doc / ikiwiki / directive / osm.mdwn
index bf7a2e1bd2d5c67d695d1bdd7ca9a24c04a28b4c..6807a81988fbf302591bf3be1c88dc966167c13a 100644 (file)
@@ -6,39 +6,37 @@ 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)..
 
 ## map display
 
- * `map` - map to display, defaults to the current page
-    name in fullscreen mode, "map" otherwise
+ * `map` - map to display, defaults to "map"
  * `zoom` - the level to zoom to on the OSM map
  * `loc` - lattitude and longitude of the map center
  * `lat` - lattitude
  * `lon` - longitude
- * `fullscreen` - make the map take the whole screen through CSS
  * `editable` - add edit controls in a separate layer
- * `right` - float the map right, ignored for fullscreen
- * `left` - float the map left (default unless fullscreen)
- * `width` - width of the map, ignored for fullscreen
- * `height` - height of the map, ignored for fullscreen
+ * `right` - float the map right
+ * `left` - float the map left (default)
+ * `width` - width of the map
+ * `height` - height of the map
 
 ## waypoints