X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/650ed10866bb07ed6e83b91c4bcba9f0e3bf74ed..154c4ea9e:/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn?ds=sidebyside diff --git a/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn b/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn index 2babb3dae..42e2edb2c 100644 --- a/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn +++ b/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn @@ -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]]