Many apologizes Pamela...I thought that I had seen this issue documented in the Issue Tracker.
A million thanks for following up... (at 1 and 3am no less...) On Sep 23, 3:42 am, "pamela (Google Employee)" <[EMAIL PROTECTED]> wrote: > I've replicated the issue and filed a bug > myself:http://code.google.com/p/gmaps-api-issues/issues/detail?id=706 > > Please star that. > > Javier, I haven't looked into yours yet. > > On Mon, Sep 22, 2008 at 11:45 PM, pamela (Google Employee) > > <[EMAIL PROTECTED]> wrote: > > Hey Ed- > > > I can't find mention of this bug elsewhere in the group or issue > > tracker. Can you file it as an issue in the issue tracker (with code > > to replicate, instead of code to workaround it)? Thanks! > > > - pamela > > > On Mon, Sep 22, 2008 at 8:16 PM, WIBGeoCoder <[EMAIL PROTECTED]> wrote: > > >> Yes, before you say anything, this is a complete "quick fix work- > >> around" for the "feature" that auto-magically fires the click event > >> after the "MapMouseEvent.DRAG_END" event: > > >> private var _isMouseDragging:Boolean = false; > > >> private function onMapMouseDragStart(e:MapMouseEvent):void //The > >> DRAG_START event > >> { > >> _isMouseDragging = true; > >> } > >> private function onMapMouseDragEnd(e:MapMouseEvent):void //The > >> DRAG_END event > >> { > >> //Quick fix for click event fired straight after "onMapMouseDragEnd" > >> var mouseDragTimer:Timer = new Timer(.5, 1); > >> mouseDragTimer.addEventListener(TimerEvent.TIMER_COMPLETE, > >> onMapMouseReallyDragEnd); > >> mouseDragTimer.start(); > >> } > >> private function onMapMouseReallyDragEnd(e:TimerEvent):void > >> { > >> _isMouseDragging = false; > >> } > > >> private function onMouseClick(e:MapMouseEvent):void > >> { > >> if (!_isMouseDragging) > >> { > >> //Execute this code when the mouse clicks the map... > >> } > >> } > > >> Timers rule AS3! > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
