Exploring the Google Maps API

KEEPING DISTANCE

Author(s):

We’ll show you how to incorporate interactive maps into your web pages with the Google Maps API.

The engineers at Google have released a JavaScript(or ECMAScript[1])-based API that lets users create programs that incorporate maps and satellite pictures of the Earth. The Google Maps API even lets you embed a map-enhanced application in a website so that it will run from a browser without any additional server- side infrastructure. We tried out the Google Maps API on an example program that calculates the distance between points on a map. The Key The Google Maps API is available without charge as long as users follow some guidelines specified by Google [2]. Users must make any creations freely available to the public, not exceeding a specific number of queries each day, and not hiding the Google brand wherever it may be displayed. In order to use the API, you must obtain a key identifying yourself as a user. You can get a key from [3] as long as you have a Google account. Any Gmail account will be enough, but if even if you are not a Gmail user, you can create an account. Each key is associated with an access URL. If you do not have web space to host your Google Maps application, but you have an Apache server running locally, you can register the address http:// localhost.

Read full article as PDF:

Google_Maps_API.pdf (585.57 kB)

Related content

  • Google Maps

    Google Maps can pinpoint any location on the globe and more. Here’s how to embed the service into any web application.

  • Perl: Plotting GPS Data

    Perl hackers take to the hills with a navigation system that provides a graphical rendering of a hiking tour.

  • Urban Lightscape

    The Urban Lightscape photo tool lets you adjust local brightness levels within an image, thus turning a simple snapshot into a real eye-catcher.

  • Perl – k-means Clusters

    A human observer can register clusters in a two-dimensional set of points at a glance. Artificial intelligence has a harder time getting it done; however, the relatively simple k-means method delivers usable results.

  • Perl: Reading GPS Data

    With a small GPS receiver on his wrist, Mike has been jogging through San Francisco neighborhoods. While catching his breath, safe at home, he visualizes the data he acquired while running with Perl.

comments powered by Disqus

Direct Download

Read full article as PDF:

Google_Maps_API.pdf (585.57 kB)

News