O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Beginning Google Maps Mashups with Mapplets, KML, and GeoRSS: From Novice to Professional

Book Description

Beginning Google Maps Mashups with Mapplets, KML, and GeoRSS is a beginner's guide to creating web mashups using Google mapping technology.

  • Serves as a single–source primer to displaying data on Google Maps

  • Covers both Mapplets and the Google Maps API

  • Provides everything you need to start participating in the geographic Web

What you'll learn

  • "Mash up" GeoWeb services onto a Google map

  • Package your mashup as a mapplet and publish it to maps.google.com

  • Enhance your map with driving directions, local search, map advertising, and more

  • Discover common Google–mapping mistakes to avoid

  • Find out how and when to geocode existing data into mappable coordinates

  • Deliver your own data as GeoXML

Who this book is for

This book is for web designers and developers who have not worked with Google Maps or geographic data before. A working knowledge of HTML is required, and some programming experience is beneficial.

Table of Contents

  1. Title Page
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewer
  7. Acknowledgments
  8. Introduction
    1. Who This Book Is For
    2. How This Book Is Structured
    3. Downloading the Code
    4. Contacting the Author
  9. PART 1: The Geoweb and the Google Maps API
    1. CHAPTER 1: Introduction to the Geoweb
      1. The Geospatial Web
      2. GeoXML
      3. Summary
    2. CHAPTER 2: Getting Started with the Maps API
      1. An XHTML Framework
      2. Linking In the API
      3. Displaying the Map
      4. The Basic Maps API Objects
      5. Map Controls and Types
      6. Bringing It All Together
      7. Putting It to Use
      8. Summary
    3. CHAPTER 3: Consuming GeoXML in the Maps API
      1. Using the GGeoXML Object
      2. Displaying More Than Markers
      3. Drawbacks to Using GGeoXML
      4. Alternatives to GeoXML
      5. Putting It to Use
      6. Summary
    4. CHAPTER 4: Building Out Your Map Page
      1. Building the Basic Structure
      2. Using Custom Marker Icons
      3. Interacting with the User
      4. Interacting with the Rest of the Page
      5. Finishing Touches
      6. Summary
    5. CHAPTER 5: Your Map and the Real World
      1. Geocoding
      2. Driving Directions
      3. Traffic
      4. Street View
      5. Map Advertising
      6. Bringing It All Together
      7. Summary
  10. PART 2: Mashing Up Google Maps with Mapplets
    1. CHAPTER 6: Introduction to Mapplets
      1. Using Mapplets
      2. Developing Mapplets
      3. Summary
    2. CHAPTER 7: Creating a Mapplet
      1. A "Hello, World" Mapplet
      2. Deploying Your Mapplet
      3. Publishing Your Mapplet
      4. Putting It to Use
      5. Summary
    3. CHAPTER 8: Taking Mapplets Further
      1. Geodata Mapplets
      2. Functionality Mapplets
      3. Final Mapplet Development Notes
      4. Summary
  11. PART 3: Ready for the Big Leagues
    1. CHAPTER 9: Intermediate API Topics
      1. Topic 1: Custom Marker Icons
      2. Topic 2: Verified Geocoding
      3. Topic 3: Taking Control of GeoXml
      4. Topic 4: Converting to a Mapplet
      5. Topic 5: Larger Data Sets
      6. Summary
    2. CHAPTER 10: Producing Geodata
      1. Producing KML Manually
      2. Producing Geodata with PHP and MySQL
      3. Using Geo Sitemaps
      4. Producing JSON Instead of XML
      5. Summary
    3. CHAPTER 11: Case Study: Satellite-Friendly Campground Directory
      1. Introducing the Satellite-Friendly Directory
      2. The Home Page
      3. Searching For Campgrounds
      4. Viewing Campground Details
      5. Disseminating Geodata
      6. Summary
  12. PART 4: Appendixes
    1. APPENDIX A: Mapping Fundamentals
      1. Latitude and Longitude
      2. Map Projections
      3. Summary
    2. APPENDIX B: A JavaScript Primer
      1. Statements
      2. Types and Objects
      3. Expressions
      4. Control Structures
      5. Additional JavaScript Topics
      6. Summary
    3. APPENDIX C: JavaScript Techniques for Map Developers
      1. Debugging Map Scripts
      2. Better Event Listeners
      3. Using Multiple API Keys
      4. Using the Gadgets API Cache in Mapplets
    4. APPENDIX D: Mapping Resources Online
      1. API-Related Documentation
      2. Discussion Groups
      3. Map-Oriented Weblogs
      4. Related Resources
  13. Index