Yahoo! Maps Mashups


Your development world is about to greatly expand because of the new wave of Yahoo! Maps APIs. Written by Charles Freedman, a senior Flash developer at Yahoo!, this book provides you with all the information you'll need to know about these APIs in order to build amazing map mashups. You'll find in-depth coverage of Yahoo! mapping tools and technologies and a variety of techniques for working with the APIs.

Yahoo! Maps Mashups explores each API flavor, guiding you through the ...

See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (6) from $1.99   
  • New (2) from $6.61   
  • Used (4) from $1.99   
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any coupons and promotions
Seller since 2010

Feedback rating:



New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New BRAND NEW..169B.

Ships from: Sussex, WI

Usually ships in 1-2 business days

  • Canadian
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Seller since 2008

Feedback rating:


Condition: New

Ships from: Chicago, IL

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Sort by
Sending request ...


Your development world is about to greatly expand because of the new wave of Yahoo! Maps APIs. Written by Charles Freedman, a senior Flash developer at Yahoo!, this book provides you with all the information you'll need to know about these APIs in order to build amazing map mashups. You'll find in-depth coverage of Yahoo! mapping tools and technologies and a variety of techniques for working with the APIs.

Yahoo! Maps Mashups explores each API flavor, guiding you through the simple yet comprehensive sets of API calls. This will help you gain a strong understanding of the capabilities of each map technology through its respective API. Freedman also uses each API's uniqueness to explore the basic and advanced set of API methods, classes, and events. With this information, you'll be able to download, install, and develop mashups with one or all of the Yahoo! Maps APIs.

What you will learn from this book: All about each Yahoo! Maps API and the technology that drives it, How to build mashups featuring popular web services like Flickr[Trademark]; Hot Jobs; Yahoo! Travel; local, real-time traffic; and video, How to easily adapt from Ajax to the JS-Flash API, Techniques for building Flex 2 mashups by using the AS-Flash API, How to use map features such as panning and zooming, markers, overlays, and geocoding. Who this book is for: This book is for Web developers who have some experience with languages and technologies such as HTML, JavaScript/ Ajax, XML, or Flash/ActionScript. Everything in the book is explained in detail along with source code, which makes this a useful resource regardless of your experience level.

Read More Show Less

Product Details

  • ISBN-13: 9780470097786
  • Publisher: Wiley
  • Publication date: 2/5/2007
  • Series: Wrox Mashup Bks.
  • Edition number: 1
  • Pages: 353
  • Product dimensions: 7.40 (w) x 9.30 (h) x 0.80 (d)

Table of Contents

Acknowledgments     xi
Introduction     xxi
Your Map, Your World     1
What Is a Map API?     1
The Four Types of Map APIs     2
Understanding Map Technology     2
Common Map Features and API Tools     3
Map and Satellite Imagery     3
Zooming     4
Panning     5
Geo-coding     6
Markers and Custom Markers     6
Overlays     7
Navigation     7
Summary     8
Developing with Yahoo! Maps     9
What Is a Mashup?     9
XML     10
Rest     10
RSS and GeoRSS Feeds     11
Prime Mashup Sources     12
Flickr     12     13
HotJobs     13
Weather     14
Traffic     14
Local Search     15
Yahoo! Developer Support     15
Developer Network     15
Message Group     15
Maps Application Gallery     16
Summary     16
The Ajax API     17
What the Ajax API Is     17
Ajax in Greater Depth     18
Applications You Know That Use Ajax     18
Fundamentals of JavaScript     19
Fundamentals of CSS and DHTML     23
Benefits of the Ajax API     24
Summary     25
Get Started with the Ajax API     27
Get an Application ID     27
Software Requirements     28
Integrating the Ajax API     29
Including the API Classes     29
Setting Initial Map Parameters     31
Summary     34
Ajax API Basics     35
Basic APi Methods     35
The YEvent Class     36
Map Zoom Methods and Events     36
Map Type Methods and Events     40
Map Positioning Methods and Events     41
Summary     46
Ajax API Advanced Features     47
Working with Markers     47
Marker Methods and Classes     48
Working with Tools     52
Control Methods     52
Working with Overlays     55
Overlay Methods and Classes     55
Summary     61
The Ajax Mashup     63
Time to Mash Up     63
The Big Idea     63
Planning an Approach     64
The Flickr API     64
How Flickr Photos Are Geo-Tagged     64
API Authentication     65
API Methods     66
Understanding JSON     67
Build the Mashup     68
Code the Mashup     69
Enhancing the Mashup     73
Summary     74
The JS-Flash API     75
What is the JS-Flash API?     75
Fundamentals of JavaScript     76
Fundamentals of CSS and DHTML     79
Benefits of the JS-Flash API     80
Summary     81
Get Started with the JS-Flash API     83
Get an Application ID     83
Software Requirements     84
Transitioning Between APIs     85
Integrating the JS-Flash API     85
Including the API Classes     85
Setting Initial Map Parameters     88
Summary     90
JS-Flash API Basics     93
Basic API Methods     93
Map Zoom Methods and Events     93
Map Type Methods and Events     97
Map Positioning Methods and Events     101
Summary      107
JS-Flash API Advanced Features     109
Working with Markers     109
Marker Methods and Classes     110
Working with Tools     115
Tool Methods and Classes     115
Working with Widgets     119
Working with Overlays     120
Overlay Methods and Classes     121
Summary     125
The JS-Flash Mashup     127
Time to Mash Up     127
The Big Idea     127
Planning and Approach     128
The Yahoo! Travel API     128
How Travel Content Contains Location     128
API Authentication     129
API Methods     130
Understanding JSON     131
Build the Mashup     133
Code the Mashup     133
Enhancing the Mashup     139
Summary     140
The AS-Flash AP     141
What Is the AS-Flash API?     141
Flash in Greater Depth     142
The Flash IDE     142
Fundamentals of ActionScript 2     145
Variable Types     147
Classes     148
Methods     148
Components      149
Events     150
Benefits of the AS-Flash API     150
Summary     151
Get Started with the AS-Flash API     153
Get an Application ID     153
Software Requirements     154
Downloading and Installing Components     154
Adding the Map API     155
Adding to the Stage     156
Initialization     159
Adding with ActionScript     161
Summary     164
AS-Flash API Basics     165
Basic API Methods     165
Map Set Methods     165
Map Get Methods     173
Component Methods     180
Summary     181
AS-Flash API Advanced Features     183
API Classes in Depth     183
Advanced Map Objects and Methods     184
Working with Events     184
Working with Widgets     189
Widget Methods     189
Widget Classes     189
Working with Tools     195
Tool Methods     195
Tool Classes     196
Working with Markers     201
Marker Methods     201
Marker Classes     202
Working with Overlays     211
Overlay Methods     212
Overlay Classes     212
Summary     222
The AS-Flash Mashup     223
Time to Mash Up     223
The Big Idea     224
Planning and Approach     224
Setting the Stage     225
The Layout     225
Coding the Mashup     228
Exploring the HotJobs Web Service     229
Architecting the Mashup     231
Loading the XML     231
Parsing the XML     234
Handling User Interaction     237
Displaying the Data on the Map     239
Enhancing the Mashup     241
Summary     242
Yahoo! Maps and Flex 2     243
Finding Out About Flex     243
The History of Flex     244
How Yahoo! Maps Works in Flex     245
Getting Flex 2     246
Flex Builder 2: The Flex Authoring Tool     247
Fundamentals of MXML     249
Coding with MXML and ActionScript     250
Benefits of Using Flex 2 and the AS-Flash API     252
Summary     253
Get Started with Yahoo! Maps and Flex 2      255
Get an Application ID     255
Software Requirements     256
Download and Install the AS-Flash API     257
Create the Flash Client of the Application     258
Adding the AS-Flash API to the Stage     258
Adding ActionScript to the Flash Client Side     260
Create the MapConnector Class     262
Coding the MapConnector Class in ActionScript     262
Create the Flex Client of the Application     264
Writing the MXML     264
Summary     266
Basic Methods: Flex 2 Using the AS-Flash API     269
Basic API Methods     269
Map Set Methods     270
Map Get Methods     279
Summary     285
Advanced Features: Flex 2 Using the AS-Flash API     287
Advanced AS-Flash API Classes     287
Reviewing Objects and Methods     288
Reviewing Events     288
Working with Widgets     289
Widget Methods     289
Widget Classes     289
Working with Tools     290
Tool Methods     290
setActiveTool(tool)     290
removeTool(tool)     290
Tool Classes      291
Working with Markers     291
Marker Methods     291
Marker Classes     292
Working with Overlays     298
Overlay Methods     298
Overlay Classes     299
Summary     304
The Flex 2 Mashup     305
Time to Mash Up     305
The Big Idea     305
Planning and Approach     306
The Flex Client     307
Architect the MXML     307
The Data     307
The Layout     308
Coding the Controls     309
Handling User Interaction     309
Completing the MXML     310
The Local Connection     312
Coding the MapConnector Class     312
Making the Video     314
Converting Media to Flash Video     314
The Flash Client     316
Architect the ActionScript     316
Importing the Classes     316
Create the Local Connection     316
Add the Event Listeners     317
Field Map Instance Events     317
Field Local Connection Events     318
Completing the ActionScript     318
Finalize the Mashup      320
Enhancing the Mashup     321
Summary     322
API Method Comparison Chart     323
Basic Set Methods and Classes     323
Basic Get Methods     325
Tools and Widgets     325
Markers and Overlays     326
Ajax API Examples     329
JavaScript Flash API Examples     330
ActionScript Flash API Examples     331
AS-Flash/Flex 2 API Examples     332
Index     335
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)