27.10.2014 Views

Google Maps API 3

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C H A P T E R 1<br />

■ ■ ■<br />

Introducing the <strong>Google</strong> <strong>Maps</strong> <strong>API</strong><br />

On today’s Web, mapping solutions are a natural ingredient. We use them to see the location of things,<br />

to search for the position of an address, to get driving directions, and to do numerous other things. Most<br />

information has a location, and if something has a location, it can be displayed on a map.<br />

There are several mapping solutions including Yahoo! <strong>Maps</strong> and Bing <strong>Maps</strong>, but the most popular<br />

one is <strong>Google</strong> <strong>Maps</strong>. In fact, according to Programmableweb.com, it’s the most popular <strong>API</strong> on the<br />

Internet. According to the site’s May 2010 statistics, 43 percent of all mashups use the <strong>Google</strong> <strong>Maps</strong> <strong>API</strong><br />

(www.programmableweb.com/apis). In comparison, the second most popular <strong>API</strong> was Flickr with 11<br />

percent, and the second most popular mapping <strong>API</strong> was VirtualEarth (Bing <strong>Maps</strong>) with 3 percent.<br />

Applications and web sites that are combining data or functionality from two or more sources are<br />

commonly referred to as mashups. Mashups are becoming increasingly popular and have revolutionized<br />

the way information is being used and visualized.<br />

Mapping solutions are one important ingredient in a lot of these mashups. The <strong>Google</strong> <strong>Maps</strong> <strong>API</strong><br />

lets you harness the power of <strong>Google</strong> <strong>Maps</strong> to use in your own applications to display your own (or<br />

others’) data in an efficient and usable manner.<br />

An example of a mashup using the <strong>Google</strong> <strong>Maps</strong> <strong>API</strong> is the coverage of the Deepwater Horizon oil<br />

spill in the Gulf of Mexico. It combines data of the extent of the oil spill with <strong>Google</strong> <strong>Maps</strong> to visualize its<br />

massive impact (Figure 1-1); see http://mw1.google.com/mw-earth-vectordb/disaster/gulf_oil_spill/<br />

gulf_oil_map.html.<br />

1

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

Saved successfully!

Ooh no, something went wrong!