Not really with GInfoWindow.

You could crawl through the DOM looking for references to
  http://maps.gstatic.com/intl/en_ALL/mapfiles/iw3.png
and direct then to your own equivalent image, but opening the infowindow is asynchronous, so the user will probably see an ugly flash of white before the colour changes.

While crawling the DOM you'd need to look for <img src=""> and <div style="background-image:..."> and calls to AlphaImageLoader if the browser is MSIE.

Crawling the DOM is not futureproof. Google do change the image URL from time to time. The image used to be iw.png, then iw2.png, and it used to be in www.google.com/mapfiles/ and then in www.google.com/intl/en_ALL/mapfiles/. Each of those changes would have caused a simple search fro the image to fail.


Alternatively, you could use a third party window system like ExtInfoWindows or EWindows.

--
Mike Williams
-- 
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.


Reply via email to