Hi,
Looks to me like you haven't added a listener.
This is from the working page.
google.maps.event.addListener(marker, 'click', function() {
infowindow.setContent(contentString);
infowindow.open(map,marker);
});
On Apr 13, 9:43 am, tommaso <[email protected]> wrote:
> Hello,
> i'm looking to resolve this issue:
> i made this pagehttp://www.unforgettablerome.it/prova5.htmlwith 3
> marker and infowindow.
>
> i would like that when the page load come out one infowindow that is
> allready in the code
> var marker = createMarker(point,'<div style="width:
> 200px"><CENTER><font size="2" face="Georgia, Arial"><b><font
> color="#ff0000">Unforgettable Rome B&B</b></font></font><br>via A.
> Ferrara 12<br> 00165 Roma (ITALIA)</CENTER><\/div>')
>
> i tried with another maphttp://www.unforgettablerome.it/prova3.html
> and this is what i'm looking but if i close the infowindow i can't
> reopen.
>
> could you someone help to find the solution for both?
>
> thank you
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.