PART 1: Your First Google Maps

CHAPTER 1: Introducing Google Maps

  • KML: Your First Map
  • Wayfaring: Your Second Map
    • Adding the First Point
    • Adding the Flight Route
    • Adding the Destination Point
    • Adding a Driving Route
  • What’s Next?

CHAPTER 2: Getting Started (source)

  • The First Map
    • Keying Up
    • Examining the Sample Map
    • Specifying a New Location
    • Separating Code from Content
    • Cleaning Up
  • Basic Interaction
    • Using Map Control Widgets
    • Creating Markers
    • Opening Info Windows
  • A List of Points
    • Using Arrays and Objects
    • Iterating
  • Summary

CHAPTER 3: Interacting with the User and the Server (source)

  • Going on a Treasure Hunt
  • Creating the Map and Marking Points
    • Starting the Map
    • Listening to User Events
  • Asking for More Information with an Info Window
    • Creating an Info Window on the Map
    • Embedding a Form into the Info Window
    • Avoiding an Ambiguous State
    • Controlling the Info Window Size
  • Using Google’s Ajax Object
    • Saving Data with GXmlHttp
    • Parsing the XML Document Using DOM Methods
  • Retrieving Markers from the Server
  • Adding Some Flair
  • Summary

CHAPTER 4: Geocoding Addresses (source)

  • Creating an XML File with the Address Data
  • Using Geocoding Web Services
    • Requirements for Consuming Geocoding Services
    • The Google Maps API Geocoder
    • The Yahoo Geocoding API
    • Geocoder.us
    • Geocoder.ca
    • Services for Geocoding Addresses Outside Google’s Coverage
  • Caching Lookups
  • Building a Store Location Map
  • Summary

PART 2 : Beyond the Basics

CHAPTER 5: Manipulating Third-Party Data (source)

  • Using Downloadable Text Files
    • Downloading the Database
    • Parsing CSV Data
    • Optimizing the Import
    • Using Your New Database Schema
  • Screen Scraping
    • A Scraping Example
    • Screen Scraping Considerations
  • Summary

CHAPTER 6: Improving the User Interface (source)

  • CSS: A Touch of Style
    • Maximizing Your Map
    • Adding Hovering Toolbars
    • Creating Collapsible Side Panels
  • Scripted Style
    • Switching Up the Body Classes
    • Resizing with the Power of JavaScript
    • Populating the Side Panel
    • Getting Side Panel Feedback
  • Warning, Now Loading
  • Data Point Filtering
    • Showing and Hiding Points
    • Discovering Groupings
    • Creating Filter Buttons
  • Summary

CHAPTER 7: Optimizing and Scaling for Large Data Sets (source)

  • Understanding the Limitations
  • Streamlining Server-Client Communications
  • Optimizing Server-Side Processing
    • Server-Side Boundary Method
    • Server-Side Common Point Method
    • Server-Side Clustering
    • Custom Detail Overlay Method
    • Custom Tile Method
  • Optimizing the Client-Side User Experience
    • Client-Side Boundary Method
    • Client-Side Closest to a Common Point Method
    • Client-Side Clustering
    • Further Optimizations
  • Summary

CHAPTER 8: What’s Next for the Google Maps API?

  • Driving Directions
  • Integrated Google Services
  • KML Data
  • More Data Layers
  • Beyond the Enterprise
  • Interface Improvements
  • Summary

PART 3: Advanced Map Features and Methods

CHAPTER 9: Advanced Tips and Tricks (source)

  • Debugging Maps
  • Interacting with the Map from the API
    • Helping You Find Your Place
    • Force Triggering Events with GEvent
    • Creating Your Own Events
  • Creating Map Objects with GOverlay
    • Choosing the Pane for the Overlay
    • Creating a Quick Tool Tip Overlay
  • Creating Custom Controls
    • Creating the Control Object
    • Creating the Container
    • Positioning the Container
    • Using the Control
  • Adding Tabs to Info Windows
    • Creating a Tabbed Info Window
    • Gathering Info Window Information and Changing Tabs
  • Creating a Custom Info Window
    • Creating the Overlay Object and Containers
    • Drawing a LittleInfoWindow
  • Implementing Your Own Map Type, Tiles, and Projection
    • GMapType: Gluing It Together
    • GProjection: Locating Where Things Are
    • GTileLayer: Viewing Images
    • The Blue Marble Map: Putting It All Together
  • Summary

CHAPTER 10: Lines, Lengths, and Areas (source)

  • Starting Flat
    • Lengths and Angles
    • Areas
  • Moving to Spheres
    • The Great Circle
    • Great-Circle Lengths
    • Area on a Spherical Surface
  • Working with Polylines
    • Building the Polylines Demo
    • Expanding the Polylines Demo
  • What About UTM Coordinates?
  • Running Afoul of the Date Line
  • Summary

CHAPTER 11: Advanced Geocoding Topics (source)

  • Where Does the Data Come From?
    • Sample Data from Government Sources
    • Sources of Raw GIS Data
  • Geocoding Based on Postal Codes
  • Grabbing the TIGER/Line by the Tail
    • Understanding and Defining the Data
    • Parsing and Importing the Data
    • Building a Geocoding Service
  • Summary

PART 4: Appendixes

APPENDIX A: Finding the Data You Want

  • Knowing What to Look For: Search Tips
    • Finding the Information
    • Specifying Search Terms
    • Watching for Errors
  • The Cat Came Back: Revisiting the TIGER/Line
  • More on Airports
  • The Government Standard: The Geonames Data
  • Shake, Rattle, and Roll: The NOAA Goldmine
  • For the Space Aficionado in You
    • Crater Impacts
    • UFO/UAP Sightings

APPENDIX B: Google Maps API

  • A complete reference to evey class, method and property in the API V2 (up to 2.58)