Close and Go BackBack to Viget

Yahoo Maps Creates Generous and Powerful API for AS3

Erik Olson
Erik Olson, ON THE TOPIC OF Flash and Opinions/Reviews
Mar17 2

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.

Flickr API

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.

Josh Miller said on 03/22 at 06:02 AM

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.

Erik Olson said on 03/23 at 10:44 AM

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.

Name:

Email:

URL:

Remember my personal information

Notify me of follow-up comments?

We're The Designers

at Viget Labs. We write about design news, trends, techniques, buildout, inspiration, CSS, and our projects.

So Can You:

Viget's hiring a Senior Designer, a Front-End Developer, and Web Designers. Find out more »

Recent Comments

Great blog I hope we can work to build a better health care system as we are in a major crisis and health insurance is a major aspect to many.

Subscribe to Comments RSS RSS