We are shutting down this service on September 13, 2011. We suggest using maps from our partner Nokia. Please visit developer.here.net for more information.
The all-new Yahoo! Maps component for Flash and Flex 3 enables you to add a map to a wide range of web and desktop applications. Included in the API is support for other Yahoo! APIs including geocoding, local search and traffic APIs along with an advanced marker and overlay system to allow you to easily render geo-data on the map.
Using the Yahoo! Maps component in your Flash, Flex, AIR or Ajax projects gives you the ability to develop anything from a simple map mash-up to full application utilizing the Yahoo! Maps engine.
The component is distributed as a SWC. To get it into your Flex 3 project, just drop it in your "libs" folder or point to it within your project build path. Using Flash CS3, install the provided MXP using the Adobe Extension Manager.
Version 0.9.4 - Download
To see a live example, please install Adobe Flash Player version 9 or higher.
To instantiate a YahooMap object, import the YahooMap class first, then simply create an instance of it by passing your application ID, width and height, then add it to the display list using
This example uses the demonstration application ID "YD-tkhtUX4_JHVXpCPDzyMWVw--"; you cannot use this Application ID and must request one here.
At this point you can add event listeners, map controls and widgets to start interacting with the map.
Skip the documentation. We have a ton of sample applications to help you get started in short order, while learning more about the built-in functionality of the API and how to extend it further.
All of the code samples listed in the Examples section are provided free of charge under a BSD license.
The Yahoo! Maps API is a free service for any application that is free of charge and does not exceed the rate limit of 50,000 requests a day. Please see the information on rate limiting, API licensing and the maps API usage policy for more information about building your application with Yahoo! or requesting an exception to the rate limits.