Hi.
I have the JS:
var map = null;
var geocoder = null;
function initialize() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("map_canvas"));
//map.setMapType(G_SATELLITE_MAP);
map.setCenter(new GLatLng(-26.487969, -49.083502, true), 16);
geocoder = new GClientGeocoder();
map.setUIToDefault();
}
}
and HTML:
<!-- more code -->
<head>
<script src="http://maps.google.com/maps?
file=api&v=2.x&key=ABQIAAAAMOg_oc9Yv02HqXUfxfW-
DRRW6MDROsOSXPZrlggocOEb73l_KhTxm8vyb_KnCW78QWSjpSOG1o8khw" type="text/
javascript; charset=utf-8"></script>
</head>
<body onload="initialize()" onunload="GUnload()">
<div id="map_canvas" style="width: 500px; height: 450px"></div>
<!-- more code -->
With this code, the map doesn't appears in IE (6, 7, 8). In Firefox
it's all right!
Someone can help me? 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
-~----------~----~----~----~------~----~------~--~---