This commit is contained in:
Jessica Lord 2014-08-03 14:14:27 -07:00
parent 3539c08824
commit fb57320ad0

View file

@ -19,9 +19,9 @@ This creates a website with a fullscreen map of points from a Google Spreadsheet
5. Click File -> **Publish to the web** -> Start Publishing and copy the URL it gives you.
6. **Give your spreadsheet some data**!
7. Back in GitHub, on your fork's page (it should be github.com/yourusername/mappy), **edit the `index.html` file** by clicking the file name to view the file and then 'edit' to make changes. You must change:
- The `URL` variable on **line 26** to the key (or full URL) from your spreadsheet.
- The `URL` variable on **line 29** to the key (or full URL) from your spreadsheet.
- On **line 32** replace `["placename", "photo-url"]` with column headers from your spreadsheet that you'd like to use in your map marker's popup.
- If you don't want a popup, delete **lines 32 and 34**, and change **line 41** to `Sheetsee.addMarkerLayer(geoJSON, map)`.
- If you don't want a popup, delete **lines 35 - 37**, and change **line 48** to `Sheetsee.addMarkerLayer(geoJSON, map)`.
8. If you want to change more things, go for it and checkout the comments in the file for suggetions.
9. **Commit your changes**. At the bottom of the page your editing on, click the green commit button.
10. **View your page!** Visit: `yousername.github.io/mappy` to see your page, live!