Thanks! That was it. On Aug 29, 4:56 pm, Rossko <[email protected]> wrote: > google.maps.event.addListener(poly2, 'click', function() { > poly_window2.open(map, poly2); > > To > quotehttp://code.google.com/apis/maps/documentation/javascript/overlays.ht... > "InfoWindows may be attached to either Marker objects (in which case > their position is based on the marker's location) or on the map itself > at a specified LatLng." > It can't tell where you want it to open if you give it a polygon as > the second argument. > You'll probably want to calculate the centroid or choose a corner of > your poly and use that lat/long
-- 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.
