Teleport Anywhere with Google Maps Street View

Adam DuVander
Nov. 05 2010, 12:00AM EDT

Getting on a plane and actually traveling somewhere is so old fashioned. Teleporting is the future. But since we haven't worked out all the kinks of physically moving our atoms from place to place, for now we have the Google Maps API and it's Street View feature.

The Globe Genie website brings the future to you in a click. Just select the continents you want to consider for your virtual vacation and click "teleport." Perhaps you're in the Northern Hemisphere and things are cooling down. Choose Australia, Africa and South America. Poof, you're there.

As much as Google would like it to be the case, much of the earth is not Street View-able. So, how does Globe Genie know which points it can choose? The short answer: it doesn't. Thanks to the getNearestPanorama function from the Google Maps API, Globe Genie just needs to know which points on earth belong to which continents. To find a new place to teleport, it generates a random latitude and longitude. Then, once it confirms the point is within the chosen continents, it asks the API for the nearest Street View location.

Incidentally, that's why you'll find that some locations come up more often than others, especially when you're restricting continents with few Street View options. But that doesn't make it any less fun to teleport about.

The site was made by Joseph G. McMichael, an Engineering graduate student at MIT. He has even received a write-up in the Guardian.

via @googlemaps

Adam DuVander -- Adam heads developer relations at Orchestrate, a database-as-a-service company. He's spent many years analyzing APIs and developer tools. Previously he worked at SendGrid, edited ProgrammableWeb and wrote for Wired and Webmonkey. Adam is also the author of mapping API cookbook Map Scripting 101.

Comments

Comments(4)