Trying to get the hello world map working on a page on our site. We
have many other pages with maps that work fine.
The map renders as a grey box, top right hand corner seems t be a 1 x
1 pixel map. Controls appear a bit messed up. Nothing I do seem st
change it.
The markup validates.
IF I view source, save as html, then view in the browser - the map is
perfect.?!?!
Driving me crazy trynig to work it out, its probably staring me inthe
face but can't see it.
I am not using an onload event, but simply...
function initialize() {
// if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("a_map_canvas"));
map.setCenter(new GLatLng(18.314114582548655,
-65.29294967651367), 5, G_NORMAL_MAP);
map.setUIToDefault();
// }
}
initialize();
</script>
help...............
--
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.