rishabhthakur / mapstraction

Automatically exported from code.google.com/p/mapstraction
Other
0 stars 0 forks source link

ReferenceError: Can't find variable: mxn #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Loading a map in Chrome or Safari
2. Using v2

What is the expected output? What do you see instead?
Map fails to render, javascript errors on line 6 of mxn.core.js is 
ReferenceError: Can't find variable: mxn

Original issue reported on code.google.com by lmtsy...@gmail.com on 18 Feb 2010 at 9:12

GoogleCodeExporter commented 9 years ago
For now a workaround is to comment out the first function in mxn.js which loads 
all of the libraries we need 
and to load them manually in the html.

aka. instead of:
<script src="mxn.js?(google)" type="text/javascript"></script>

do:
<script src="mxn.js" type="text/javascript"></script>
<script src="mxn.core.js" type="text/javascript"></script>
<script src="/mxn.google.core.js" type="text/javascript"></script>

Original comment by jackson....@gmail.com on 19 Apr 2010 at 8:53