Google Maps Hacks
Authors: Rich Gibson, Schuyler Erle
The world is full of Google Maps mashups, and O’Reilly’s Rich Gibson and Schuyler Erle set out to catalogue them, in the hope that they would be useful to their readers. When I think of these code-powered map tools, I think first of chicagocrime.org and Seattle Bus Monster, and of HousingMaps most of all. They’re great tools, and well worth reading about.
Google Maps Hacks is just one volume in a series, ranging from Skype Hacks to Google Hacks to Nokia Smartphone Hacks, which outline a variety of interesting and innovative ways power users are using a particular tool.
I haven’t read any of the other Hacks series books, but if they’re anything like this one, they will not present themselves as especially useful. I say this as an extremely satisfied customer of O’Reilly’s now-legendary programming references, which is what put the publishing house on the map in the first place. But I’m not sure who these Hacks books are aimed at, and I am apparently not in this group. The subtitle on the book is dangerously misleading: “Tips & Tools for Geographic Searching and Remixing.”
Originally I approached Google Maps Hacks as a way to implement something I’ve been trying to do for a long time, which is to convert a database of hotel information into a map with clickable tabs. I’ve never been happy with any of the existing solutions, either the code examples Google provides or mapbuilder.net, so I thought I would see what the pros had done, and maybe get some ideas about other neat ways to extend Google Maps.
While I found all kinds of interesting things, none of them had anything to do with what I wanted to do. My project must not be sophisticated enough to qualify. Some of the hacks presented—which, I feel I should note, are almost all real-world mashups by ordinary people—were genuinely awesome: traffic and cell phone reception maps, crime and news and weather maps, that kind of thing. They made me wish I was the kind of innovative thinker who could produce useful computer software, because some of them will change the world with their ideas. The map software is just the platform.
I would like to celebrate, then, the many amazing accomplishments of people much smarter than me, many of whom wrote their own chapters in the books. These are remarkably novel ideas, and go from the mundane, like sharing GPS tracking data using Google Maps, to the exotic things I mentioned previously.
But try though I could, re-reading the book three times over the last month while I hammered away at my problem, I found nothing in the book that would help me make my map work. All I wanted to know how to do was to design a map with markers in specific locations, labeled with the names of hotels, and make it so that a click brought up a useful information pane. I think it’s fantastic that somebody figured out how to scrape Craigslist into Google Maps, but I’m not going to buy a book to find out about that. I’m glad I didn’t purchase this book at the bookstore, because I would have been sad to return it, but it has a title which misleads you into believing that it will help you use Google Maps in your own site. It’s certainly theoretically possible that this book could, but it did not help me.
I’m not really sure what to make of the experience. The “Tips” part of the book appears to be the hacks themselves, with introductions by the various programmers explaining how and why they did things in a particular way. The “Tools” part is presumably the first two and last two chapters, explaining some neat little tricks that you can get away with in making your own maps. While these tricks are indeed neat, they’re very little, and the great bulk of the book is rather less useful.
Now my problem remains, and I have no new ideas about Google Maps mashups to share. Perhaps I’m wrong about Google Maps Hacks, and a thousand and one new mashups are forthcoming (just not from me). If that’s the case, I will admit defeat and move along, and publicly apologize to O’Reilly for the poor review of this book.
But if it’s anything like the “thought-provoking” conceptual art in certain galleries in the Art Institute of Chicago, I’m not holding my breath. Sorry, guys.