Beginning Google Maps Applications with PHP and Ajax: From Novice to Professional

Front Cover
Apress, Aug 22, 2006 - Computers - 358 pages
5 Reviews

Until recently, building interactive web-based mapping applications has been a cumbersome affair. This changed when Google released its powerful Maps API. Beginning Google Maps Applications with PHP and Ajax was written to help you take advantage of this technology in your own endeavorswhether you’re an enthusiast playing for fun or a professional building for profit. This book covers version 2 of the API, including Google’s new Geocoding service.

Authors Jeffrey Sambells, Cameron Turner, and Michael Purvis get rolling with examples that require hardly any code at all, but you’ll quickly become acquainted with many facets of the Maps API. They demonstrate powerful methods for simultaneously plotting large data sets, creating your own map overlays, and harvesting and geocoding sets of addresses. You’ll see how to set up alternative tile sets and where to access imagery to use for them. The authors even show you how to build your own geocoder from scratch, for those high-volume batch jobs.

As well as providing hands-on examples of real mapping projects, this book supplies a complete reference for the Maps API, along with the relevant aspects of JavaScript, CSS, PHP, and SQL. Visit the authors' website for additional tips and advice.

What people are saying - Write a review

User ratings

5 stars
4 stars
3 stars
2 stars
1 star

LibraryThing Review

User Review  - onefinemess - LibraryThing

Good general intro to the Google maps api. Some of the examples don't like up properly with what is being suggested (ie skipping a few steps between what is said and what is shown in actual code), but that is only a few cases. Read full review

References to this book

About the author (2006)

Michael Purvis is a mechatronics engineering student at the University of Waterloo, Ontario. He is a mostly self-taught programmer. Prior to discovering PHP, he was busy making a LEGO Mindstorms kit play Connect 4. Currently, he maintains an active community site for classmates, built mostly from home-brewed extensions to PunBB and MediaWiki. He has written about CSS for the Position Is Everything web site, and occasionally participates in the css-discuss mailing list. He particularly enjoys those clever layouts that mix negative margins, relative positioning, and bizarre float tricks to create fiendish, cross-browser, flexible-width concoctions. These and other non-technical topics are discussed on his weblog at Offline, he enjoys cooking, cycling, and social dancing. He has worked for We-Create, Inc. on a number of exciting PHP-based projects and has a strong interest in independent web standards.

Jeffrey Sambellsis a graphic designer and self-taught web applications developer best known for his unique ability to merge the visual world of graphics with the mental realm of code. With a bachelor of technology degree in graphic communications management along with a minor in multimedia, Jeffrey was originally trained for the traditional paper-and-ink printing industry, but he soon realized the world of pixels and code was where his ideas would prosper. In late 1999, he cofounded We-Create, Inc., an Internet software company based in Waterloo, Ontario, which began many long nights of challenging and creative innovation. Currently, as director of research and development for We-Create, Jeffrey is responsible for investigating new and emerging Internet technologies and integrating them using web standards-compliant methods. In late 2005, he also became a Zend Certified Engineer. When not playing at the office, Jeffrey enjoys a variety of hobbies from photography to woodworking. When the opportunity arises, he also enjoys floating in a canoe on the lakes of Algonquin Provincial Park or going on an adventurous, map-free, drive with his wife. Jeffrey also maintains a personal website at, where he shares thoughts, ideas, and opinions about web technologies, photography, design, and more. He lives in Ontario, Canada, eh, with his wife, Stephanie, his daughter, Addison, and their little dog, Milo.

Cameron Turner has been programming computers since his first VIC 20 at age 7. He has been developing interactive web sites since 1994. In 1999, he cofounded We-Create, Inc., which specializes in Internet software development. He is now the company's chief technology officer. Cam obtained his honors degree in computer science from the University of Waterloo, Canada,with specialization in applied cryptography, database design, and computer security.

Cam lives in Canada's technology capital of Waterloo, Ontario, with his wife, Tanya, son, Owen, and dog, Katie. His hobbies include biking, hiking, water skiing, and painting. He maintains a personal blog at, discussing non-technical topics, thoughts, theories, and family life.

Bibliographic information