]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Add some examples for the OSM plugin
authorChristopher Baines <mail@cbaines.net>
Sun, 13 Jul 2014 20:37:12 +0000 (21:37 +0100)
committerChristopher Baines <mail@cbaines.net>
Sun, 13 Jul 2014 20:37:12 +0000 (21:37 +0100)
Note that these examples are intended to be used more for testing and fixing
the plugin, rather than demonstrating its functionality.

doc/plugins/osm.mdwn

index d15dfbfd86bb5f90df46b1e94e4f4882b2fcdca9..a2455a4be07c606e934d8c77bfb311eb287895bd 100644 (file)
@@ -15,6 +15,22 @@ if the [[!cpan JSON]] perl module is installed.
 
 This provides the [[ikiwiki/directive/waypoint]] and [[ikiwiki/directive/osm]] directives.
 
+### Examples
+
+A [[basic set of examples|http://cbaines.net/osm-examples]] is available
+([[repository|http://git.cbaines.net/?p=ikiwiki/osm-examples.git;a=summary]]).
+Note that none of these will work without patching the plugin. With the
+following patches, most of the examples will work (while each patch is
+seperate, the branch includes all previous patches in the list, so the
+cbaines/osm-icon-fixes branch includes all patches).
+
+ - [[bugs/osm plugin error TypeError: mapProjection is null]]
+ - [[todo/osm plugin GeoJSON popup patch]]
+ - [[todo/osm plugin icon patch]]
+
+Even with these patches, the CSV examples do not work, and there are cosmetic
+issues with a few of the other examples.
+
 ---
 
 The plugin was originally written by