Yahoo Maps Creates Generous and Powerful API for AS3
Maps have come a long way on the web; having a powerful API will take them even further. Yahoo! introduced a very exciting API for AS3 in late February that proves to be the most powerful map API for Actionscript on the web right now.
With the map API you have a great map engine with the ability to create custom components, overlays and markers while taking advantage of different web services provided by Yahoo!.
Some of the goodies they have included in the release so far:
- Traffic
- Satellite
- Hybrid maps
- Custom Markers
- Geo Coding
- Geodesic Polylines (think of that map in Indiana Jones when he’s flying all over the globe)
- Local Search
- Weather Map
- Flickr Photos
The Flickr photos API is one of the fun new features. It takes the most popular key words based on photos taken and tagged within the cities and areas you are currently viewing on your Yahoo! map. The tags act as markers, so you click on a tag to reveal random photos and even videos taken by people who visited the area. It’s a great way to get an eclectic view of whatever area you’re interested in.
Getting started with the API really is very simple. All you have to do is download the swc and sign up for a free API key. Within about 10 minutes, I had the zoom component and the Map, Satellite and Hybrid views fully functioning.
This initial introduction is limited (for now) to Flex. However, a somewhat simple workaround has come from some talented developers for those of you who are very eager to take your maps into Flash right away.
There are some restrictions to usage. However, it’s fairly generous. The rate limits are based on the number of API calls made per IP address during a 24-hour window. You can think of the 24 hours as a day, but the clock does not reset itself at midnight, per se. Instead, the clock starts the first time you make the API call from the IP. Then, 24 hours later, Yahoo! resets the counters for your IP address.
I’m excited about seeing some great (usable) Flash maps on many more sites.
Is the AS 3 version faster than the older Actionscript API? I think the best part of the Actionscript components of Yahoo maps is the ability to customize the look with flash. This is the niche where Yahoo can really set itself apart. This uses the old Yahoo Actionscript API, http://itinerary.tnvacation.com. I agree with you about the flash maps.
Josh...If you mean either development time or processing speed the answer is, Yes! AS3 in general computes everything about 10x’s faster so you can expect to see the benefits of that speed in the new maps.
As for development, Yahoo! has done an excellent job with this API.
Check out this page should you need any help getting going.
Next entry: Raleigh-Durham Adobe User Group (RDAUG) Meeting Recap
Previous entry: Linewrapping With PRE

Recent Comments
JQuery is cool. I recently combo’d it with shadowbox.js to make a gallery of recent projects. The cycle.js plug-in is also worth looking at for lots of ‘Flash-like’ transitions and animations.
- Website Designer Perth on 'Fun With jQuery's Animate() Function'.
- Website Designer Perth on 'How I'm Using Adobe Bridge'.
- Mindy Wagner on 'How I'm Using Adobe Bridge'.
Subscribe to Comments RSS