/tabletop_to_leaflet_old

Template for converting data from Google spreadsheet to Leaflet using Tabletop

Primary LanguageJavaScript

Tabletop to Leaflet

Setting up Tabletop

  • Follow the Tabletop.js instructions for setting up the spreadsheet and publishing it.

  • Make sure your table includes columns titled 'latitude' and 'longitude' with lat, long values for each location. Leaflet needs these values to map our markers. Click to view the example table.

  • Open up the js/script.js file and add your spreadsheet ID as a value of the spreadsheet_key variable. Then rename "lat_column" and "long_column" to whatever the latitude and longitude columns in your table are called.

Plugins