- Put your photos in the
photos/
folder - Adjust the
locations
file (order is important!) using the following schema:
"Sydney": { // a name for you to remember - not used in the code
lat: -33.866174, // where the marker will be placed
lng: 150.808343,
pictures: [62,63,64,65,66,67,68,69], // the picture filename(s)
showDirections: false // show driving direction or not - e.g. because you flew there
}
- Push and see live in Github pages
- Vertical images work only on FF.
- Google Maps JS API
- Google MarkerClusterer library
- DOM manipulation with Vanilla JS (no JQuery etc)
- Deployed in Github pages
- Developed in Sublime2.