hi, i've been using the wonderful tutorial found here to create a google maps API for a site of mine. it uses an external .JS file to store the perameters and functions of the google API, as i understand it... i'm a javascript noob (hence why i need help!)
the page i'm working on can be found here http://www.farmersmarkets.net/google...test/ajax4.htm
and the .JS file is here http://www.farmersmarkets.net/google...20test/gmap.js
the problem i'm having is in generating the info windows for the markers. i just can't work out how to do it... i think i'm calling the Gmaps API function in the .js file with
and calling that in the html withCode:function openInfoWindowHtml() { GEvent.addListener(marker, "click") marker.openInfoWindowHtml(); }
after the appropriate marker's postcodeCode:marker.openInfoWindowHtml = "home"
but it just doesn't seem to work![]()
any clues as to why? am i totally barking up the wrong tree? any help would be really appreciated, as this is the last hurdle before this project can finally be put into practice!



Reply With Quote
Bookmarks