CHAPTER 2Getting Started

In this chapter, you'll learn how to create your first Google map project, plot some markers, and add a bit of interactivity. Because JavaScript plays such a central role in controlling the maps, you'll also start to pick up a few essentials about that language along the way.

In this chapter, you'll see how to do the following:

  • Get off the ground with a basic map and a Google Maps API key.
  • Separate the map application's JavaScript functions, data, and XHTML.
  • Unload finished maps to help browsers free their memory.
  • Create map markers and respond to clicks on them with an information pop-up.

The First Map

In this section, you'll obtain a Google Maps API key, and then begin experimenting with it by retrieving Google's ...

Get Beginning Google Maps Applications with PHP and Ajax: From Novice to Professional now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.