Re: map2.31.js
map2.31.js isn't yet available through the Javascript Versioning system.
In fact it's not compatible with the version 1 loader. It assumes the
existence of the variable _mTermsUrl.
I was going to take a look at how Google Local was loading it, but it's
now reverted to 30a.
What you have to do is:
Use the Javascript Versioning system, specifying a non-existent version.
You don't want a mixture of maps.30a.js and map2.31.js, but you do want
most of the stuff that's in the version 1 loader.
Create a dummy _mTermsUrl variable
<script type="text/javascript" var _mTermsUrl; </script>
Load the target file explicitly
<script src="http://maps.google.com/mapfiles/maps2.31.js"
type="text/javascript"></script>
--
The Blackpool Community Church Google Map API Tutorial
http://www.econym.demon.co.uk/googlemaps/
0 Comments:
Yorum Gönder
<< Home