Skip to content

zkiiito/MapGallery

Repository files navigation

MapGallery

I could not find an image viewer which supports slideshows mixing photos with maps, so I created my own. It's designed for local images and flickr sets.

Try it now at http://zkiiito.github.io/MapGallery

Controls

Next photo: right arrow, down arrow, click

Prev photo: left arrow, up arrow

Instructions

Local images

  1. Download and unzip the .zip file or clone the repo.
  2. Copy your photos to the /images folder
  3. Edit scripts/demo.js
  4. Edit index.html, add your google maps key.
  5. Access the index.html page.

Flickr images

See map-gallery-flickr

Options

from: string, starting position
to: string, destination
speed: integer, indicating travel speed
mode: string, if it equals FLYING, it's a line on the map. otherwise, a driving road is calculated by google.
waypoints: array, see here

Stuff used to make this: