Hi! I have this code on my website:
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.openInfoWindow(map.getCenter(),
document.createTextNode("LINE ONE, LINE TWO"));
}
}
//]]>
I would like to divide the infowindow text into two lines. How can I
do it? I don't care using HTML or any other thing.
Thanks
Note: I forgot, I have first the map script with the maps api key.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---