ikiwiki/doc/bugs/osm_plugin_error_TypeError:...

9 lines
544 B
Plaintext
Raw Normal View History

[[!template id=gitbranch branch=cbaines/osm-layers-patch author="[[cbaines]]"]]
2013-08-24 16:55:18 +02:00
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.
2013-10-12 13:20:09 +02:00
> It looks sound, but I have yet to test it. --[[anarcat]]