On Oct 23, 12:10 pm, Andyroo1000 <[email protected]> wrote: > > Suggestions welcome!! >
Suggestion: Please read and follow the group's posting guidelines: http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical -- Marcelo - http://maps.forum.nu -- > -Andrew > > On 22 Oct, 18:45, Marcelo <[email protected]> wrote: > > > On Oct 22, 6:14 pm, Andyroo1000 <[email protected]> > > wrote: > > > > Does anyone know of any way of doing this? > > > hmmm ...I wonder if anyone knows. > > You happen to be in a group dedicated to the Google Maps API, so I'd > > put my money on a "yes" for an answer to that question. ;-) > > > You could add the polygon to its marker as a property, and then add a > > click event handler that opens the infoWindow, (not speech bubble), > > and in that same event handler toggle the polygon with something like > > > if (marker.polygon.isHidden()) {} > > marker.polygon.show(); > > marker.openIngoWindow(html);} > > > else { > > marker.polygon.hide(); > > map.closeInfoWindow(); > > > } > > > Of course you'd need to pass the relevant content of the html variable > > to the function that creates the marker and attaches the event > > listener. > > > -- > > Marcelo -http://maps.forum.nu > > -- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
