]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn
that one bug was hard to diagnose!
[ikiwiki.git] / doc / bugs / osm_plugin_error_TypeError:_mapProjection_is_null.mdwn
1 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. 
2
3 [[!tag patch]]
4 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.
5 <https://github.com/cbaines/ikiwiki/commit/4294b4c24a56c7103c48250dd9d833b42838a472>