]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Add patch, and fix directive
authorcbaines <cbaines@web>
Sat, 24 Aug 2013 14:55:18 +0000 (10:55 -0400)
committeradmin <admin@branchable.com>
Sat, 24 Aug 2013 14:55:18 +0000 (10:55 -0400)
doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn

index 2babb3dae11ad8c93ef43a190a7902ee7eb085ff..39113c1b415a5b5a88fb82ebdaf4291ebeaa67e6 100644 (file)
@@ -1 +1,5 @@
-Using the osm plugin with a simple [[osm ]] directive does not seem to work, a "TypeError: mapProjection is null" is given. I believe this is because the client side Javascript uses the options.layers, which is always Null. 
+Using the osm plugin with a simple \[[!osm]] directive does not seem to work, a "TypeError: mapProjection is null" is given. I believe this is because the client side Javascript uses the options.layers, which is always Null. 
+
+[[!tag patch]]
+I have produced a patch for this issue, but beware, while it appears to fix the problem for me, I have little understanding of perl and the existing code base.
+<https://github.com/cbaines/ikiwiki/commit/4294b4c24a56c7103c48250dd9d833b42838a472>