Hello, I had this problem or similar at least, where only FF worked
with maps while Explorer didn't. In general Explorer is "more
strict" and FF has broader range to understand "what you mean"
The GMaps javascript interface says something like th is:
<script type="text/javascript">
google.load("maps", "2",{"other_params":"sensor=false"});
// Call this function when the page has been loaded
function initialize() {
VAR map = new google.maps.Map2(document.getElementById("map"));
map.setCenter(new google.maps.LatLng
(20.399240662258034,-99.979727268219), 16);
map.setMapType(G_HYBRID_MAP);
map.enableContinuousZoom();
...
...
Notice the word VAR -upper case on purpose-. If you miss to write
it, Explorer's javascript will complain, while Firefox will not. As
soon as you put the "var" prior to the "map" variable, the Explorer's
JS will work fine.
Greetings
On Sep 11, 5:09 am, setecastronomy <[email protected]>
wrote:
> I have searched the net a lot without finding a definitive answer on
> the problems I'm experiencing using internet explorer 8.
>
> First simple experiment:
> I open map.google.com
> On the status bar I can see an alert and if I click on it the
> following js errors are reported:
> ----------------------------------------------------------------------------------------------------
> Dettagli errore pagina Web
>
> Agente utente: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
> Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR
> 3.5.21022; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR
> 3.5.30729)
> Timestamp: Fri, 11 Sep 2009 09:24:34 UTC
>
> Messaggio: Carattere non valido // invalid character
> Linea: 1
> Carattere: 1
> Codice: 0
> URI:http://maps.gstatic.com/cat_js/intl/it_ALL/mapfiles/175c/maps2/%7Bmod...
>
> Messaggio: Carattere non valido // invalid character
> Linea: 1
> Carattere: 1
> Codice: 0
> URI:http://maps.gstatic.com/intl/it_ALL/mapfiles/175c/maps2/mod_act.js
> ----------------------------------------------------------------------------------------------------
> Is it the same for you too ?
> Besides if I click on My Maps it doesn't work.
>
> Another test
> Fromhttp://www.coscini.it/easy5.htmluse the menu to choose 'Parchi'
> ----------------------------------------------------------------------------------------------------
> Dettagli errore pagina Web
>
> Agente utente: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
> Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR
> 3.5.21022; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR
> 3.5.30729)
> Timestamp: Fri, 11 Sep 2009 10:01:20 UTC
>
> Messaggio: Carattere non valido // invalid character
> Linea: 1
> Carattere: 1
> Codice: 0
> URI:http://maps.gstatic.com/intl/it_ALL/mapfiles/164e/maps2.api/mod_lyrs.js
> ----------------------------------------------------------------------------------------------------
>
> All these tests are succesful using Firefox, so according to me IE8 is
> not compatible with
> google maps, but I cannot find any official information on this.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---