Home > Adobe AIR, Adobe Flash, Adobe Flex, Xuland > FINALLY, Flash Maps for both iOS & Android for Flex & AIR Mobile Projects

FINALLY, Flash Maps for both iOS & Android for Flex & AIR Mobile Projects

After recently diving into Flex 4.5.1 and starting several mobile AIR-based projects, I ran into an issue with the Google Maps SDK when testing under iOS devices.

Long story short, it didn’t work.

The Google Maps Flash API works great under Android when the mobile project is deployed as an AIR-based application, but when compiled through the PFI (Packager for iPhone) bundled into AIR 2.7 it simply doesn’t ever load.

After a little investigation, the most likely cause was the fact that the Google Maps Flex API attempts to load external SWF’s at runtime from the Google map servers, which is strictly forbidden by Apple’s terms of service thus rendering this functionality completely disabled.

This functionality works fine under Android devices and was actually a pleasure to use, however without iOS, the joy of working with Adobe’s new Flex 4.5.1 SDK quickly subsides and is replaced by frustration.

There are workarounds for iOS, namely through the usage of the JavaScript-based Google Maps SDK and Flex 4.5′s own StageWebView class which can display external HTML content over the Flash content.

Unfortunately, Flex cannot interact with StageWebView content making it very difficult for some apps to function normally as they would in a normal Flash-based SWF rendered through the browser. My own application, Xuland, which depends heavily on the Google Maps SDK required many changes before I could test it’s mobile-version on my iPad.

I can get by with StageWebView, but I prefer a Map object that Flex can interact with directly, apply markers, dynamically zoom or geolocate, etc without having to re-load a URL from my external web-server.

Just today, MapQuest has released a Flex-version of it’s Flash Maps API which supposedly works well under both iOS and Android. I haven’t tested this but I will later tonight for sure ;)

For everyone else, here’s a link to MapQuest’s Developer Reference page and API:

MapQuest Developer Network:

MapQuest Flash Map Mobile API:

Follow me on Twitter for more Adobe Flex & AIR Mobile news and announcements.

Categories: Adobe AIR, Adobe Flash, Adobe Flex, Xuland Tags:
  1. July 18th, 2011 at 18:34 | #1

    That’s great news. Do you know if the EULA will allow you to sell the app? The Gmaps API prevents this.

  2. July 19th, 2011 at 10:10 | #2

    this is great, while I have never been a fan of MapQuest it is good news that mapping is becoming available to Flash Mobile apps

  3. July 19th, 2011 at 10:45 | #3

    Well you can use the Google Maps API currently in Android-based mobile apps and I have seen successful attempts using other mapping software like ESRI (see Adobe’s own MuniTracker: http://www.adobe.com/devnet/flex/samples/muni-tracker.html)

  4. July 25th, 2011 at 14:53 | #4

    Still a shame we can’t use Google Maps for iOS through Flash Builder as a Map Object.

  5. July 27th, 2011 at 21:56 | #5


  6. July 27th, 2011 at 21:59 | #6

    Erich Cervantez :
    Well you can use the Google Maps API currently in Android-based mobile apps and I have seen successful attempts using other mapping software like ESRI (see Adobe’s own MuniTracker: http://www.adobe.com/devnet/flex/samples/muni-tracker.html)

    Erich Cervantez :
    Well you can use the Google Maps API currently in Android-based mobile apps and I have seen successful attempts using other mapping software like ESRI (see Adobe’s own MuniTracker: http://www.adobe.com/devnet/flex/samples/muni-tracker.html)


  7. March 26th, 2013 at 02:02 | #7

    It’s amazing to pay a visit this web site and reading the views of all mates about this piece of writing, while I am also keen of getting familiarity.

  8. September 2nd, 2013 at 11:10 | #8

    If you are not sure how much space you will be requiring, the best
    option would be to locate an affordable host that offers scalable plans.
    Why would anybody want to name his domain something
    silly like hgyqxczpykskyjly. Illusion 3: The ASP prototype is based on application charge.

  9. November 21st, 2013 at 15:47 | #9

    Just had to state Now i am glad I came on the page!

  10. February 13th, 2014 at 03:57 | #10

    My brother recommended I might like this web site.
    He was entirely right. This submit truly made my day. You cann’t imagine simply how a lot time I
    had spent for this information! Thank you!

  11. March 10th, 2014 at 11:09 | #11

    I read this article fully regarding the resemblance of most up-to-date and preceding technologies, it’s awesome article.

  12. April 21st, 2014 at 05:41 | #12

    I know this if off topic but I’m looking into starting my own weblog and was wondering
    what all is needed to get setup? I’m assuming having a blog like yours would cost a pretty
    penny? I’m not very internet savvy so I’m not 100% sure.
    Any suggestions or advice would be greatly appreciated.

  13. April 26th, 2014 at 20:30 | #13

    Hey there! Someone in my Myspace group shared this site with us so I came to give it a look.

    I’m definitely loving the information. I’m book-marking and will be tweeting this to
    my followers! Superb blog and outstanding design.

  14. May 4th, 2014 at 13:27 | #14

    It’s remarkable designed for me to have a website, which
    is good in favor of my experience. thanks admin

  15. May 22nd, 2014 at 00:56 | #15

    I just like the valuable info you provide for your articles.
    I will bookmark your weblog and test once more here regularly.
    I am slightly certain I’ll be told lots of new stuff
    right here! Good luck for the next!

  16. August 21st, 2014 at 21:25 | #16

    I used to be suggested this blog by my cousin. I am not certain whether this
    post is written through him as nobody else recognise such specific about my trouble.
    You’re amazing! Thank you!

  17. August 21st, 2014 at 21:44 | #17

    Pretty section of content. I just stumbled upon your blog
    and in accession capital to assert that I acquire actually enjoyed
    account your blog posts. Any way I will be subscribing to your augment and
    even I achievement you access consistently quickly.

  18. August 27th, 2014 at 19:14 | #18

    Hi, after reading this awesome piece of writing i am also happy to share my familiarity here with friends.

  19. December 17th, 2014 at 19:43 | #19

    It’s an amazing article designed for all the internet viewers; they will take benefit from it I am sure.

  20. February 9th, 2016 at 09:20 | #20

    Hurrah! Finally I got a webpage from where I can genuinely obtain valuable information regarding my study and knowledge.

  21. March 12th, 2016 at 22:41 | #21

    Clash Royale is free to obtain and play, nonetheless,
    some game gadgets will also be purchased for actual you do not want to make use
    of this function, please set up password protection for purchases within the settings of your
    Google Play Store app.

  22. March 14th, 2016 at 17:47 | #22

    We can provide private and/or on-line coaching to make sure your comfort with both the
    use of your gear and the safety of your viewers.

  23. March 17th, 2016 at 14:40 | #23

    It’s actually a nice and useful piece of information. I am satisfied that you
    just shared this helpful information with us. Please keep us
    informed like this. Thanks for sharing.

  24. March 27th, 2016 at 20:06 | #24

    The gross sales-oriented pages a lot less so. By linking from our examine
    to our most essential gross sales-oriented pages, however, we can go among the trust and
    authority of our information onto these pages.

  25. April 9th, 2016 at 14:19 | #25

    Water is one more situation. Photovoltaic manufacturers
    use a variety of it for numerous purposes, including cooling, chemical processing, and air-pollution control.
    The biggest water waster, though, is cleaning throughout set up and use.

  26. April 13th, 2016 at 13:33 | #26

    You can get essentially the most out of a carpet cleaner that mixes top-of-the-line options, equivalent to multiple brushes, sturdy suction,
    heated air drying and convenient accessories. More brushes means extra opportunities to your
    carpet cleaner to clean out cussed stains and raise grime
    from the fibers of your carpet.

  27. April 16th, 2016 at 15:47 | #27

    If you are applying for a function either directly in the NHS or
    in an organisation that supplies NHS services, you will be asked to show how you think
    the NHS values apply in your daily perform. The exact same
    will be true if you are applying for a university course funded by
    the NHS.

  28. May 13th, 2016 at 19:21 | #28

    Ingredients:. Though most likely, being involving in catering
    is a combination of both passion and talent in cooking. Chef Kimberley didn’t panic
    when the demand for catering services started to decline.

  29. June 3rd, 2016 at 23:51 | #29

    We know that properties are as various and unique
    because the people who own them, and there’s no one size fits all” solution to promote each home.
    Instead we provide the best selection of providers for sellers within the
    Edmonton area. Our shopper service supervisor can join you with the best
    Liv agent for you.

  30. July 29th, 2016 at 12:06 | #30

    Customized billing plans: Some pest control companies that develop robust relationships with companies or individuals
    will work together to devise a custom plan for lengthy-time period pest

  31. August 5th, 2016 at 02:21 | #31

    Thanks for the good writeup. It in reality was a enjoyment account it.
    Look complex to more introduced agreeable from you!
    However, how could we keep in touch?

  32. October 2nd, 2016 at 07:16 | #32

    Hi there, just became aware of your blog through Google, and found
    that it’s really informative. I?m gonna watch
    out for brussels. I?ll appreciate if you continue this in future.

    A lot of people will be benefited from your writing. Cheers!

  33. December 13th, 2016 at 08:53 | #33

    This article offers clear idea for the new users of blogging, that truly how to
    do running a blog.

  1. No trackbacks yet.