Hi Rossko, I see. That sound like it could be very handy. My application uses the map bounds to pull the shapes from the MySQL database when the moveend event is fired, so it would be changing the available shapes quite frequently. I'm not sure this map-wide click event would be able to deal with the different shapes, since it would have to know the unique key of each shape, which could be displayed in the info window, and then, when the user clicks the link, it would fire the function that fetches the detailed information and puts it on the right side of the map via an Ajax call. If you can think of a way to get that functionality with a single listener on the map, I, like the map, am all ears...
Thanks, -Steve On Mar 24, 5:32 pm, Rossko <[email protected]> wrote: > > I'm not aware of a "third parameter" can you clue me in? > > Wot Larry said. But that's for map-clicks, and if you've changed to > using poly-clicks it's not there. The different events return > different data. > That one comes in useful for folk like me who prefer a single listener > for the whole map and all the objects on it, as the multi-purpose > listener then has to figure out what's been clicked and what to do > about it ;) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
