22.04.2013 Views

HTML, XHTML & CSS

HTML, XHTML & CSS

HTML, XHTML & CSS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 15: Bring the Best of the Web to Your Web Site<br />

Figure 15-5: Yelp mashes its location and review info with Google<br />

Maps for a tasty combo.<br />

We decided to expand on this idea (as shown in Figure 15-6) in a Web site<br />

that author Jeff Noble and his friend Ron Norman created just for grins.<br />

Taking the same approach as Yelp, they accessed its API (remember,<br />

that’s application programming interface, fancy talk for programming links<br />

that let services talk to one another through a Web page) to display Yelp<br />

information about breakfast taco joints inside a Google satellite map. The<br />

results are displayed in Figure 15-6 below or check it out online at www.<br />

breakfasttacomap.com.<br />

Notice how we updated the map markers with little breakfast taco icons? You<br />

can do this, too! All sorts of neat customizations are possible when you make<br />

your own mashups. No salsa needed, either!<br />

For more information, check out these resources:<br />

✓ The Google Maps JavaScript API V3 at http://code.google.com/<br />

apis/maps/documentation/javascript/examples/index.html<br />

✓ Yelp for Developers at www.yelp.com/developers/documentation<br />

261

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!