Thanks, i got it to work, but it is strange that the API initiate a click event on a dblclick event.last question of the day - how do i initiate the map viewing all the US states ?
On Mon, Aug 31, 2009 at 3:45 PM, Andrew Leach <[email protected] > wrote: > > On Aug 31, 11:18 pm, Chris Kilgus <[email protected]> wrote: > > thanks for the info, works like a charmalso, i have an issue that a > dblclick > > event cause a click event any idea ? > > This happens because a click event is triggered immediately. If it > wasn't, the click would have to wait for a "double-click" to fail to > appear before it registered as a single click. The documentation > should probably make that clear. > > You could write a delaying routine yourself (click sets a timeout > which will run whatever you want to happen on a click; dblclick clears > the timeout and does the double-click action. If there isn't a double- > click in the timeout period, it's not cleared and single-click > function is run). > > Andrew > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
