Hi Andrew, Firstly thanks for the reply. I'm not 100% sure how to do what you've suggested, my problem is that I want to display the image outside of the info window.... is this possible? Obviously I could apply css to the image and give it an absolute position, but perhaps you know of a better way? I'm not an expert in this sadly
also, I'm not sure how relevant this is, but the markers I've set up are pulled from a mysql database, via an external php file I call into the map. Ideally, I'd like to specify the image so that it's relevant to each marker. Eg marker number 1 calls up a file named image001.jpg, and so on. Thanks in advance to you (or anyone else for that matter!) for any reply... :) On Apr 14, 11:02 am, Andrew Leach <[email protected]> wrote: > On Apr 14, 10:32 am, David K-C <[email protected]> wrote: > > > > > Can someone give me some pointers on how to do this, or any tutorials > > I could read that will help me ? > > Currently your click listener opens an infoWindow. You can do anything > in that listener function, including something like > document.getElementById("advert").innerHTML="<img ...>" -- 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.
