Adding the Panoramio layer

Panoramio is a geotagged photo-sharing website. This means you can upload your photos provided you geotag (georeference) them. Geotagging involves attaching a coordinate pair to the target object, whether it is a photo, video, or any other resource. You can find detailed information on how to use Panoramio at http://www.panoramio.com/.

You can view Panoramio photos on Google Maps, and this recipe will cover the basics of how to do it.

Getting ready

We can continue on from the Creating a simple map in a custom DIV element recipe from Chapter 1, Google Maps JavaScript API Basics, as map display basics are already covered here.

As always, please copy the original recipe before proceeding.

How to do it…

You can overlay the variety ...

Get Google Maps JavaScript API Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.