i tried that and it still does not work.
here is my new function (added your tip) and moved some things around:
function conservancyInfoWindow(shape, conservancyobj) {
//var thisshape = shape;
var conservancy = conservancyobj;
var thiscontent = 'title';//'<h3>'+conservancy.title+'</h3><a
href="http://namibia.bluemarblecreative.net/conservancy/?
id='+conservancy.id+'"><img src="http://namibia.bluemarblecreative.net/
wp-content/uploads/map/conservancy' + conservancy.id + '.png" alt="" /
></a><br>';
var cwindow = new google.maps.InfoWindow({ content: thiscontent });
google.maps.event.addListener(shape, 'click', function(event) {
var clickedLocation = event.latLng;
cwindow.setPosition(clickedLocation);
cwindow.open(map, shape);
enterprisewindows.push(cwindow);
});
}
what other modifications did you do? thank you very much for the help.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.