My apologies for being so vague.

I indeed want to change the title of a marker [the tooltip]. Besides that I 
also want to change the content of the infowindow.

This is the code I'm using now:

var infowindow0 = new google.maps.InfoWindow({ content: "content here" });
> var marker0 = new google.maps.Marker({position: new 
> google.maps.LatLng(.589552,4.981633), map: map, title: 'bart_de_bruin', icon: 
> 'http://lyxdesign.nl/school/WebApp/media/TwitterMarker.png' });
> google.maps.event.addListener(marker0, 'click', function() { 
> infowindow0.open(map,marker0); });
>
>
The position can be changed by .setPosition, but for example, is there a 
similar function to change the InfoWindow content?
I'm not sure if I could just do this [redefining the variable?]:

> infowindow0 = new google.maps.InfoWindow({ content: "content here" });


The event listener could be left out the update, but the rest...?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/-SXba62KfaMJ.
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.

Reply via email to