You are previewing Google Maps Mashups with Google Mapplets.
O'Reilly logo
Google Maps Mashups with Google Mapplets

Book Description

Have a Google Maps mashup that you'd like to expose to millions of users on maps.google.com? New to the mapping craze, but have an idea for a killer map-based application? Want to learn how to create GeoRSS and KML feeds with your geotagged content, exposing your customer to new ways of exploring and navigating your content?

Google Maps Mashups with Google Mapplets

  • Is the first book to cover Google's new Mapplet technology

  • Shows you how to create Google Maps-based applications and publish to maps.google.com

  • Provides a single-source resource and practical guide to Mapplets and mashups

  • Teaches you how to mash up Mapplets using location-specific data

  • Includes examples of real-world applications

Table of Contents

  1. Copyright
  2. Google Maps Mashups with Google Mapplets
  3. I. Getting Started with Google Mapplets
    1. 1. Introducing Google Mapplets
      1. 1.1. What's a Mapplet?
      2. 1.2. Getting Started with Mapplets
        1. 1.2.1. Installing the Developer Tools
        2. 1.2.2. Creating Your First Mapplet
        3. 1.2.3. Adding a Map
        4. 1.2.4. Adding an Info Window
        5. 1.2.5. Making the Marker Clickable
        6. 1.2.6. Responding to Mapplet Events
        7. 1.2.7. Using Dynamic Markers and Setting Map Bounds
      3. 1.3. How Mapplets Differ from Standard Google Maps
        1. 1.3.1. Easy API Initialization
        2. 1.3.2. Requesting Data from Remote Servers
        3. 1.3.3. Communicating Between Your Application and the Map
        4. 1.3.4. Info Window Restrictions
      4. 1.4. Summary
    2. 2. Using Remote Data in Your Mapplets
      1. 2.1. Data Feed Formats
        1. 2.1.1. CSV: The Equivalent of Cave Paintings
        2. 2.1.2. XML: The Worldwide Format
        3. 2.1.3. RSS: A Timely Format
        4. 2.1.4. JSON: The Programmer-Friendly Format
      2. 2.2. Retrieving Remote Content with Mapplet APIs
        1. 2.2.1. Retrieving Text
        2. 2.2.2. Making Mapplets More Interactive
        3. 2.2.3. Retrieving XML
        4. 2.2.4. Mapping Remote XML Data
        5. 2.2.5. Google's Data Cache
      3. 2.3. Summary
  4. II. Creating the Mashup
    1. 3. Geocoding Web Content
      1. 3.1. Identifying Good Content for Mashups
        1. 3.1.1. Your Mashup Data Sources: Tourfilter and Eventful
      2. 3.2. The Boring (But Important) Requirements
        1. 3.2.1. Determining Whether You Have the Proper Software Installed
        2. 3.2.2. Getting an Eventful Developer Account
        3. 3.2.3. Using Third-Party Content in Your Own Applications
      3. 3.3. Retrieving Tourfilter Concert RSS Feeds
        1. 3.3.1. Parsing Venue Location from the Tourfilter Feeds
      4. 3.4. Looking Up the Venue Location with Eventful's API
        1. 3.4.1. Eventful Venue Search API
        2. 3.4.2. Creating the Eventful Library
        3. 3.4.3. Using Your Eventful Library
      5. 3.5. Geocoding Tourfilter Data
      6. 3.6. Summary
    2. 4. Creating Geocoded Data Feeds
      1. 4.1. Creating an XML Data Feed
        1. 4.1.1. Examining the Code
      2. 4.2. Using Caching to Speed Up Your Geocoding
        1. 4.2.1. Examining the Code
        2. 4.2.2. Storing Venue Information in the Cache
        3. 4.2.3. Speeding Things Up
        4. 4.2.4. A Few Things to Consider
      3. 4.3. Adding More Cities!
        1. 4.3.1. Examining the Code
      4. 4.4. Automating the Script Using cron
      5. 4.5. Summary
    3. 5. Finalizing the Mashup
      1. 5.1. Displaying the Geocoded Data on a Mapplet
        1. 5.1.1. Planning the Mapplet
        2. 5.1.2. Adding the Full List of Cities
      2. 5.2. Styling the Mapplet
        1. 5.2.1. Examining the Code
      3. 5.3. Installing Your Mapplet
        1. 5.3.1. Sharing Your Mapplet
      4. 5.4. Next Steps
        1. 5.4.1. Multiple Markers in Same Location
        2. 5.4.2. User Preferences in Mapplets
        3. 5.4.3. GeoRSS and KML
        4. 5.4.4. Build Your Own!
        5. 5.4.5. Submitting Your Mapplet to the Google Directory
      5. 5.5. Summary