Apologies, I pasted the wrong snippet of code from a different test
page! The correct (well, the one causing the problem) bit of code is:
// == creates a "normal" marker
function createMarker(point,text,value,score) {
var marker = new GMarker(point, gicons[value]);
GEvent.addListener(marker,"click", function() {
marker.openInfoWindowHtml(value);
});
map.addOverlay(marker);
return marker;
}
--
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.