Turn a spreadsheet and an HTML page for the first row into a complete website.
Use a GeoJSON file,
Google Earth KML,
or a shapefile instead of a spreadsheet.
Get an HTML page for each feature.
Avoid database, server, and cross-domain API weirdness. It's a website you can set up by forking this code and editing it online on GitHub.
Currently supports: CSV, GeoJSON, KML, and shapefiles.
Write row/index.html for the first row. Any JavaScript widgets and visualizations work for all of the other rows.
Use the callback function to act after data has been loaded.
For Example:
Hello World,40,-80
Hello Row 2,45,-100
Hello Row-to-Scoped,30.429,30.4
var rts = rowToScope( "data.csv", function(row){
var center = rts.replaceRow([ 40, -80 ]);
var map = L.map("map").setView( center, 6 );
var message = rts.replaceRow("Hello World");
L.marker( center ).bindPopup( message ).addTo(map);
});