I have a problem with Google Maps in IE, the center of map show's
correctly in Firefox,but not in Internet Explorer.
The code is:
<div id='map' style='width:350px;height:350px'></div>
<script type='text/javascript'>
var map = null;
var geocoder = null;
map = new GMap2(document.getElementById('map'));
geocoder = new GClientGeocoder();
map.addControl(new GSmallMapControl());
map.setCenter(new GLatLng(41.609877,2.27858), 8);
map.setMapType(G_NORMAL_MAP);
</script>
I don't know why,but in Internet Explorer doesn't work. It show's the
center of map in the sea, not in Barcelona. Help me, please
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---