Skip to content

Put points on a map. CSV-driven, clustered, mobile-ready, filterable.

Notifications You must be signed in to change notification settings

colinr23/leaflet-simple-csv

 
 

Repository files navigation

Simple Leaflet map template for putting points on a map.

Leaflet

Features

  • Data is in tabular delimited-text (csv, etc.) with two required columns: lat and lng
  • Points are plotted on full-screen Leaflet map
  • Point markers are clustered dynamically based on zoom level.
  • Clicking on a point cluster will zoom into the extent of the underlying features.
  • Hovering on the point will display the name.
  • Clicking will display a popup with columns/properties displayed as an html table.
  • Full text filtering with typeahead
  • Completely client-side javascript with all dependencies included or linked via CDN

Usage

Download, add your own data csv, copy the config.js.template to config.js, edit it according to your needs, then load index.html in a browser.

Thanks to...

About

Put points on a map. CSV-driven, clustered, mobile-ready, filterable.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.2%
  • CSS 4.8%