Yahoo released an AS3 version of their Map API. I got to play with it over the weekend. Ted’s got more details. The pro’s are its cheaper than ESRI’s bad ass component, wayyyyyy faster than the Flex 1.5 AS2 one (yes, you can write slow AS3 code), and “feels” very responsive. They also removed the default animations built-in which is nice. While they were a cool effect, they made the map feel slow and un-responsive, and I’m sure made the code really really challenging for the developers at Yahoo to debug.
The cons are the map tiles are still slow to load, I haven’t figured out how to create more than 1 instance, and I heard from Mario Klingemann that you can’t seem to able to snag bitmapData from it because of a missing crossdomain.xml.
Don’t really care, though. While I’ve had the pleasure of working with ESRI’s awesome component, this component will definitely do in projects in any other market. It’s free, fun, and easy to work with. Good job, Yahoo! After showing Josh Tynjala ESRI’s stuff at 360Flex in San Jose, and then hearing rumors that Yahoo wasn’t working on any map stuff (not from him, just around), I was pretty bummed. Not anymore!
Here is a sample application that loads flight data from FlightAware.com. I whipped this up in about 20 hours. It’s an updated version from a year ago. You can see airports on the map, and then see the plotted flight paths on the map. On the airports tab, click “Show Flights”, and then choose “Plot on Map”.
I’ll go over the code in part 2.
Comments
4 responses to “Yahoo AS3 Maps API & FlightAware in Flex: Part 1 of 2”
Very cool Jesse. I was very happy to see the AS3 map components as well!
Very much looking forward to seeing the code. I especially want to learn how to create my own Markers.
[…] Flex and Flash Developer – Jesse Warden dot Kizz-ohm A blog on software development, technology, games & movies. « Yahoo AS3 Maps API & FlightAware in Flex: Part 1 of 2 […]
Love the Yahoo API. Thought it worth mentioning the Modest Maps Flex map library. Doesn’t limit you to the Yahoo API, but pulls tiles from Yahoo. I have a Flex map mash up at:
http://www.flexmappers.com/arkade
which illustrates some of the possibilities.