I\'m putting together a Google Map which contains the locations of various test centres around my country. It plots a marker on each county, and when you click the county marker
Cheers, I changed the event handler to the following and it worked:
GEvent.addListener(marker, "click", (function(key) { return function() { // Zoom to county showCounty(key); }; })(key) );