On Aug 12, 2:39 pm, "[email protected]" <[email protected]> wrote: > On Aug 12, 10:48 am, Dave <[email protected]> wrote: > > > i tried that and it still does not work. > > I don't know what you tried. This is what "worked" for me:
http://www.geocodezip.com/v3_polygon_exampleD.html The infowindows seem to open in weird places in Chrome though... -- Larry > > > > > 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.
