]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn
Merge remote-tracking branch 'intrigeri/fix_diffurl_vs._cgit'
[ikiwiki.git] / doc / bugs / osm_plugin_error_TypeError:_mapProjection_is_null.mdwn
index 2babb3dae11ad8c93ef43a190a7902ee7eb085ff..42e2edb2cb7bb34b252ba199358ae377c243e457 100644 (file)
@@ -1 +1,8 @@
-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. 
+[[!template  id=gitbranch branch=cbaines/osm-layers-patch author="[[cbaines]]"]]
+
+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.
+
+> It looks sound, but I have yet to test it. --[[anarcat]]