If I use this code:
function load() {
if (GBrowserIsCompatible())
{
var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.setCenter(new GLatLng(40.170986, -3.8223199), 9);
map.addOverlay(new GMarker(new GPoint(-3.8223300,
40.170986)));
map.openInfoWindowHtml(map.getCenter(),"LINE ONE, LINE TWO");
}
}
//]]>
It doesn't work. Am I doing something wrong??
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---