Thank you, Jonathan! An update on the issue: We are working on pushing the fix and hope to have it out in the next few hours.
On Thu, Oct 15, 2009 at 12:01 PM, Jonathan Wagner <[email protected]>wrote: > > Replace the key with yours and add the following javascript: > > <script src="http://maps.google.com/maps? > file=api&v=2.x&key=ABQIAAAA8CazDZ3tQvLQ7ZYmuvCagBTguBa8HE6- > AVzKq29uE_fP2Aa9kBT_gp2SJUcxdpkct584fepjGYXrYg" type="text/ > javascript"></script> > <script type="text/javascript"> > var geocoder = null; > > function initialize() { > if (GBrowserIsCompatible()) { > geocoder = new GClientGeocoder(); > > } > } > > function geocodeResponse(response) { > FlashObject.geocodeFinished(response); > } > > function geoCode(address) { > if(geocoder) { > geocoder.getLocations(address, geocodeResponse); > } > } > </script> > > On your body tag add the following: > <body onLoad="initialize()" onunload="GUnload()"> > > If you are using flex rename FlashObject.geocodeFinished to > YourApplicationName.geocodeFinished, if not set the name and id on the > embed to FlashObject > > In Flash add the following code: > ExternalInterface.addCallback("geocodeFinished", geocodeFinished); > public function geocodeFinished(results:*):void { > // handle results > } > > public function geocode(address:String):void { > ExternalInterface.call("geoCode", address); > } > > > > On Oct 14, 8:14 pm, "pamela (Google Employee)" <[email protected]> > wrote: > > We are currently experiencing an issue where all geocoding requests are > > being responded to with a 500. We have not yet resolved this issue, and > will > > post again when we have. > > As a temporary workaround, you can use the HTTP Geocoder through a proxy, > or > > use a JS API with an AS/JS bridge. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
