Geotagged Flickr Photos banner

Flickr2Map Documentation

Flickr2Map is a free service that allows Flickr users to link their photos to a variety of different maps. Here's an example.

To use Flickr2Map, you must geotag your photos and then place the appropriate links in the Flickr photo descriptions. These 2 requirements are described below.

Geotagging Flickr Photos

There are 2 ways to geotag photos. One is to use Flickr tags. For example, if a photo is located at a latitude/longitude of 32.12345/-103.987654 and the camera is pointing to the southeast, the tags should be:

geo:lat=32.12345 geo:lon=-103.987654 geo:dir=135

That's all there is to it. If tags of this format are found, Flickr2Map uses them to locate the photos.

If any or all of these tags don't exist, Flickr2Map will try to determine them from the photo's EXIF headers.

The direction tag (geo:dir=angle) is optional. If it exists, the icons in Google Earth and Google Maps will contain an arrow that points in the direction that the picture was taken. Otherwise, standard icons are used. Directions are positive and measured clockwise from true north.

There are advantages to using EXIF instead of Flickr tags. These include:

1. You can include altitude information when viewing in Google Earth.
2. It's significantly faster since the information is cached locally.
3. You won't have to go through the trouble of typing in the tags.

Linking to Flickr2Map

Once your photos are geotagged using either of the above methods, all you have to do is link to the Flickr2Map URL anywhere (description, notes or comments) on the Flickr photo page.

Flickr2Map determines the Flickr photo by looking at the HTTP referring URL - that's why the links must originate on a Flickr photo page. If you want to use the links on other web pages, you must include the Flickr URL as a URL parameter named 'referer'. For example:


1. Link to Google Earth (the default) and let Flickr automatically generate the HTML link:

2. Link to Google Earth and specify the range (meters above the earth), tilt (degrees relative to vertical), and heading (degrees clockwise from north):

3. Link to Google Earth and provide your own HTML formatting:

<a href="">Fly to this location</a> (requires Google Earth)

4. Link to Google Maps and default to a street map view:

5. Link to Google Maps and default to a satellite view with a zoom factor of 11:

6. Link to Google Maps and default to a hybrid view with a zoom factor of 15:

7. Link to Google Maps and default to a terrain view with a zoom factor of 13:

8. Link to a topo map (only valid in the USA):

9. Link to an aeronautical chart (only valid in the USA and Europe):

10. Link as shown in the example (line breaks and white space shown for clarity purposes only):

Map it:
<a href="">Google Earth</a> |

<a href="" target="_blank">Street</a> |

<a href="" target="_blank">Satellite</a> |

<a href="" target="_blank">Hybrid</a> |

<a href="" target="_blank">Nautical</a> |

<a href="" target="_blank">Topo</a>

© 2003-2024 Pretek, Inc.