]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn
c81ed6ae88b11ada4e68516c6949c8741761cc1f
[ikiwiki.git] / doc / bugs / osm_plugin_error_TypeError:_mapProjection_is_null.mdwn
1 [[!template  id=gitbranch branch=cbaines/osm-layers-patch author="[[cbaines]]"]]
2
3 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. 
4
5 [[!tag patch]]
6 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.
7
8 > It looks sound, but I have yet to test it. --[[anarcat]]
9
10 >> I reviewed a version of this (possibly rebased or modified or something)
11 >> that was in the [[todo/osm_plugin_GeoJSON_popup_patch]] branch,
12 >> over on the todo page for that branch. Feel free to move my
13 >> review comments for it here if you want to split the discussion. --[[smcv]]
14 >> [[!tag reviewed]]