On Jan 7, 7:26 am, "pamela (Google Employee)" <[email protected]> wrote:
> I've been unable to replicate the double_click event not firing at all > with 1.8b however. Please upload full MXML that replicates the issue > if you're still experiencing it. Pamela, I'm using version 1.9 and I experience the same behavior: I'm listening to both the MapMouseEvent.CLICK and MapMouseEvent.DOUBLE_CLICK events and only the CLICK handler gets called (the DOUBLE_CLICK handler is simply ignored). The MXML is trivial: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <maps:Map xmlns:maps="com.google.maps.*" id="map" mapevent_mapready="onMapReady(event)" width="100%" height="100%" key="MY_KEY"/> <mx:Script> <![CDATA[ import com.google.maps.Map; import com.google.maps.MapMouseEvent; private function onMapReady(event:Event):void { map.addEventListener(MapMouseEvent.CLICK, onMapClick); map.addEventListener(MapMouseEvent.DOUBLE_CLICK, onMapDoubleClick); } private function onMapClick(event:MapMouseEvent):void { trace("onMapClick"); } private function onMapDoubleClick(event:MapMouseEvent):void { trace("onMapDoubleClick"); } ]]> </mx:Script> </mx:Application> So it looks like the bug is still present in 1.9. Or am I doing anything wrong? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
