/leaflet-maps-with-google-sheets

Create Leaflet maps with a linked Google Sheets template

Primary LanguageJavaScriptMIT LicenseMIT

Leaflet Maps with Google Sheets

Create Leaflet maps with a linked Google Sheets template.

  • friendly and easy-to-learn searchable map tool with flexibility for advanced users
  • clickable point data layers with custom marker icons and pop-up images
  • color-coded polygon data layers with numeric or text legends
  • upload and geocode addresses, and set map options, in the Google Sheet template
  • host your live web map and polygon data with GitHub Pages
  • responsive web design for both small and large devices
  • built entirely with open-source code, and no usage limits

Demo

Create your own

  • Fork/copy this code repo and publish with GitHub Pages
  • File > Make a Copy and Publish your Google Sheets template
  • Paste your Google Sheets ID into the GoogleDocID.js file
  • Customize your map settings the Google Sheets Options tab
  • Geocode address data and customize markers in the Points tab
  • Upload/link polygon data and set legend colors in Options tab

See step-by-step tutorial at https://datavizforall.org/leaflet/with-google-sheets/

BETA version

  • Report bugs and suggest features in Issues

Credits (and licenses)

Created by Ilya Ilyankou and Jack Dougherty, using a Google Sheets template, with these open-source components: