No AIR Support for Google Maps Flash API
Well this sucks. I was really excited about the Google Maps Flash API and sat down today to do some work with it inside of AIR. I ran into this security error which prompted a response on the thread linked above:
Error #3207: Application-sandbox content cannot access this feature.
at flash.system::Security$/allowDomain()
at com.google.maps::ClientBootstrap/allowLibraryDomain()
at com.google.maps::ClientBootstrap/loadUrl()
at com.google.maps::ClientBootstrap/internalLoadBootstrap()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Well it turns out that using the Google Maps Flash API inside of an AIR application is actually against the terms of service. So even if you can hack around it (which you should be able to) you’re breaking the ToS by doing so. If you’re interested in using the Google Maps API inside of AIR, I encourage you to file a feature request (see below). Make the world a better place.
Update: Charles has an issue created, starring this is a good way to show support.
Posted in Rich Internet Applications







May 15th, 2008 at 7:22 pm
Ryan,
It looks like this will be the default issue for requesting AIR support:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=322&colspec=ID%20Type%20Status%20Priority%20Introduced%20Fixed%20Summary&start=200
If everyone that wants AIR support can star that issue, it may help them move it through faster.
CS
May 15th, 2008 at 7:23 pm
Ryan,
It looks like this will be the default issue for requesting AIR support.
If everyone that wants AIR support can star that issue, it may help them move it through faster.
CS
May 15th, 2008 at 7:35 pm
seems like more and more the big guys are saying, “Build more! Build more! Build what we want. Not what you want.”
May 15th, 2008 at 8:55 pm
If enough folks submit requests there is no telling what might happen! I’d get the community in on this issue….
May 15th, 2008 at 10:11 pm
Can’t you just use the HtmlLoader class to view a website with a google map on it. If your application is an actual web browser, you aren’t violating it are you? Mind you, that isn’t the Flash API, but what if you visit a website built in flex? Really the lines are so blurry with an embedded web browser.
Shameless plug: Take a look at EarthBrowser to see a great AIR app.
May 15th, 2008 at 11:39 pm
I’m 100% behind this, I was excited yesterday when the news broke but now as in the cold light of day things are not that clear for us AIR developers.
I have offered up my support and I have posted the details up on the news section of freshAIRapps to gain more support.
May 16th, 2008 at 12:28 am
How utterly short-sighted. Yahoo! Maps it is then.
May 16th, 2008 at 1:04 am
I’m totally dissapointed.. bad Google! bad bad!
May 16th, 2008 at 2:57 pm
I was happy to see Google Maps in Flash, but this new wrinkle is just upsetting. I wonder if this has anything to do with Google Apps? Hopefully they will change it soon.
May 20th, 2008 at 6:20 am
[...] released a Flex API for Google Maps. The licensing terms leaves AIR in the cold. Never the less, it breaks new ground in terms of building distributed components in [...]
November 13th, 2008 at 11:40 am
[...] le billet du blog de Ryan Stewart (Adobe), il semble que l’on ne puisse pas utiliser l’API Google Maps Flash dans une [...]