Unfortunately I've tried that, and whilst it doesn't totally break the
map, it causes the markers to not show any info window at all?! (As
opposed to showing a blank window or just the value). I have a
sneaking suspicion that I need to do something somewhere else to
define the score properly maybe. The address of the current working
version of the map is now: http://www.zpyder.co.uk/tess/mapping/db5/test.html
(I am incrementing the db# every time I get the map to do one more
thing correctly, just so I have an online back up of working previous
versions!)
I should add that the above code was another modified version, the
original before I played around with it is:
// == creates a "normal" marker
function createMarker(point,text,value) {
var marker = new GMarker(point, gicons[value]);
GEvent.addListener(marker,"click", function() {
marker.openInfoWindow(document.createTextNode(text));
});
map.addOverlay(marker);
return marker;
}
I'm thinking the problem may be that its a text window rather than
html? Changing to openInfoWindowHtml isn't enough to get it to display
what I want? I've tried adding the score to
createMarker(point,text,value) but it seems to do nothing, and if I
change the text to something else it does break the map completely.
Thank you for your help.
--
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.