Google Earth API Samples - HTML Div Balloons

Last Modified:
06/08/2009
Installed Plugin Version:
...

Relevant Resources:

Relevant Code Excerpt:

var balloon = ge.createHtmlDivBalloon('');
balloon.setFeature(placemark); // optional
balloon.setMaxWidth(800);

// create the <div>
var div = document.createElement('DIV');
div.innerHTML =
        '<img src="http://www.google.com/googlegulp/images/logo.gif"><br>'
        + '<a href="http://www.google.com/googlegulp/">Google Gulp</a>';
balloon.setContentDiv(div);

ge.setBalloon(balloon);