Hey,
Using only a single resource module seems to fix the scope problem. However, the script is still breaking. For some reason I'm getting an error in the OpenLayers lib when I try to create a new Map object in my script, and code execution stops there. See line 56 in this file [0]. As far as I can tell, the code I have there is pretty equivalent to what I have in the old non-RL-using version, which is working. Any idea's there?
[0] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Maps/includes/ser...
Cheers
-- Jeroen De Dauw * http://blog.bn2vs.com * http://wiki.bn2vs.com Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! --