Try updating your place() function:
function place(lat,lng) {
var point = new GLatLng(lat,lng);
map.setCenter(point,14);
var myMarker=new GMarker(point);
map.addOverlay(myMarker);
myMarker.openInfoWindowHtml('<div>Your info to display here</div>');
document.getElementById("message").innerHTML = "";
}
Martin.
On 15 June, 11:48, Meek <[email protected]> wrote:
> Hi.
>
> I'm using a Google Maps script to display any given
> address:http://komfrisk.dk/test/test1.html- if the address is unclear it
> gives you some options. It works perfectly. However, once the right
> address has been selected and a pin is located on the map, I would
> like to display a balloon tip with the address and some additional
> text - just like Google does it here:http://code.google.com/apis/maps/
>
> I guess I would have to add marker.openInfoWindowHtml(address);
> somewhere, but how?
>
> Can anyone help me out?
>
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---