pamela (Google Employee) wrote:
> This is a known issue. See:
> http://code.google.com/p/gmaps-api-issues/issues/detail?id=394

thanks. the posted workaround's for JS API? maybe i'm not following the logic 
but it looks like the workaround doesn't handle single clicks, just the double 
clicks?

private function onMapClick(event:MapMouseEvent):void {
  if (timeout==null) {
   timeout=setTimeout(zoomIn,250,event);
   tzServiceHTTP.url="http://ws.geonames.org/timezone?lat="+
    event.latLng.lat().toString()+"&lng="+event.latLng.lng().toString();
   tzServiceHTTP.method = "GET";
   tzServiceHTTP.resultFormat="e4x";
   tzServiceHTTP.addEventListener("result",tzServiceResult);
   tzServiceHTTP.addEventListener("fault",tzServiceFault);
   tzServiceHTTP.useProxy=false;
   tzServiceHTTP.send();
  } else {
   clearTimeout(timeout)
   timeout=null;
  }                                     
}

..playing a bit more it looks like the single click is still getting fired 
(though the above snippet does get the double click).



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to