Yahoo! Maps AS3 Component
The all-new Yahoo! Maps component for 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 the geocoder, local search and traffic APIs along with an advanced marker and overlay manager to allow you to easily represent data on the map.
Using the YahooMap component in your Flash, Flex, Ajax or AIR projects gives you the ability to develop anything from a simple map mash-up to full application utilizing Yahoo! Maps.
Examples: Yahoo! Maps AS3 Component for Flex 3
|
Creating a YahooMap object in MXML.This example demonstrates the minimum MXML and ActionScript required to create a YahooMap and geocode an address. View Source | Output | Download Flex Project Archive |
|
Map EventsThis example demonstrates listening to events dispatched from YahooMap. View Source | Output | Download Flex Project Archive |
|
MarkersThis example demonstrates how create markers to add on the map. View Source | Output | Download Flex Project Archive |
|
Polyline OverlaysThis example demonstrates how to create a PolylineOverlay and drawing in Flash within a geo-context. View Source | Output | Download Flex Project Archive |
|
Geodesic Polyline OverlaysThis example demonstrates how to draw a polyline as a geodesic. (A segment of a great circle) View Source | Output | Download Flex Project Archive |
|
Drawing Custom OverlaysThis example shows how to create a custom overlay to draw a scaled circle on the map on mouse click. View Source | Output | Download Flex Project Archive |
|
GeocodingThis example shows geocode address and latitude/longitudes using the default map event listeners. View Source | Output | Download Flex Project Archive |
|
Local SearchThis example shows you how to query the Yahoo! Local listings in ActionScript and display search results on the map. View Source | Output | Download Flex Project Archive |
|
Map UtilitiesThis example demonstrates the distance API built into the YahooMap component. View Source | Output | Download Flex Project Archive |
|
Sample Search ApplicationThis application uses Flex as the layout engine and the YahooMap component to create a simple app that accepts user input to center the map. View Source | Output | Download Flex Project Archive |
|
Custom Markers ApplicationThis application demonstrates creating custom markers and a simple user-interface to adding markers. View Source | Output | Download Flex Project Archive |
|
Weather Map ApplicationThis application uses the ASTRA Web APIs Library to display weather data on the map using a custom marker. View Source | Output | Download Flex Project Archive |











