aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn
blob: ce8339d184a868fc33596b0d4d885c407c4e8e1d (plain)
1
2
3
4
5
6
[[!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.