If the infowindow is open you can use 
map.getInfoWindow().getContentContainers(). It returns an array of DOM 
nodes, one for each tab. So if you're not using tabs you can read

map.getInfoWindow().getContentContainers()[0].firstChild.innerHTML

which should return exactly the "sometext" that you put in.

The .firstChild is because .bindInfoWindowHtml(text) wraps the text in a 
<div> in order to create a HTMLnode to be used in .bindInfoWindow(node)

-- 
Mike Williams
http://econym.org.uk/gmap


--

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=.


Reply via email to