Hi Martin.

Thanks for your reply - it works great, thanks. Only small thing left:
How do I get the address to appear inside the balloon along with my
info - like in this example:
http://code.google.com/intl/da/apis/maps/documentation/examples/geocoding-simple.html
I tried with myMarker.openInfoWindowHtml(address); but it doesn't
work. It says in the docs here
http://code.google.com/intl/da/apis/maps/documentation/services.html#Geocoding_Object
that "address" returns a nicely formatted version of the address...
Any ideas?

Thanks again.

Meek.


On 15 Jun., 14:25, warwound <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to