To be filled in!
If you don't know github that well google some of the basics about creating repositories, creating branches, and pushing changes to github. You'll need them for this!
Create a new github repository to contain your code
Create a gh-pages branch so that your code is made into a website.
Go to data/Guinea_cities.json
- Populate this json with data about the places you want to jump the map to
- The places should have a place name (city in this example), a latitude, a longitude, an ideal zoom level to view at, and a mapbox ID for the "Before" scene.
- The city name will tell the map where to skip to
- The lat long will tell the map where to go to
- The zoom will tell the map what zoom level to adopt
- The mapbox ID will be swapped into the JS running the site to load that "Before" scene
Go to index.html
- Under the "navigation" div, replace the [place]s listed under ```[place] with the places for your example. The text inside the <> will be matched against your .json, so make sure the match is exact! Accents, cases, characters, etc. matter!
- Populate the modal text with an explanation of what the page is, who's involved and how people can contribute.
- Make sure the links to other websites work!
- Make sure to keep recent HOT tasks people can contribute to updated (or exclude them entirely)
- Otherwise the modals and the site should work smoothly
Go to JS/site.js
- Change the name of the .json referred to in line 42 to whatever the name of your .json of places is