Yahoo! Maps AS3 Component
Flash and Flex Examples:
All of the code samples listed in this section are built in Flex 3 / Flash CS3 and provided free of charge under a BSD license.
|
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 |
|
Creating a YahooMap object in Flash CS3This example demonstrates the minimum ActionScript required to create a YahooMap and geocode an address using the Flash CS3 component. Output | Download Flash Source |
|
Map EventsThis example demonstrates listening to various events dispatched from the map and displaying the event data. View Source | Output | Download Flex Project Archive |
|
MarkersThis example demonstrates how create random markers on the map using the SimpleMarker object. 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 |
|
GeoPlanet SampleThis example uses the Yahoo! GeoPlanet API to query the neighbors of a place and display them using a custom marker. 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 |
|
AIR SampleA desktop application built in Adobe AIR that demonstrates reading a file on the local file system to load and display markers. View Source | Download Flex Project Archive |
Recent Blog Articles
view all
Yes, Virginia, There is Compression in Flash
Tue, 30 Jun 2009
The Knack to Rotating Device Fonts in Flash 10
Thu, 21 May 2009
Wed, 15 Apr 2009
Tue, 17 Mar 2009
Creating Accessible Components in Flash and Flex (Part 2)
Mon, 12 Jan 2009
Yahoo! Groups Discussions
view all
Returning more than 100 results using Yahoo Search AS3 API
Wed, 10 Feb 2010
Re: Tree text being trimmed...
Thu, 04 Feb 2010
Re: Rollover problems with Astra toolbar
Tue, 02 Feb 2010
Rollover problems with Astra toolbar
Tue, 02 Feb 2010















