Skip to content

Instantly share code, notes, and snippets.

View lemonprogis's full-sized avatar
:octocat:
jamming

Ed lemonprogis

:octocat:
jamming
  • Conway, Arkansas
View GitHub Profile
@patsweet
patsweet / mappy.js
Created July 15, 2013 16:19
Ties a datatable to a leaflet map. Requires jQuery, Leaflet, DataTables, Leaflet-geosearch
var intersections, // Geojson
map,
delaware, // Lat/Lng of center of Delaware
streetMapUrl,
streetMapLayer,
geosearch,
legend,
polyindex, // Custom ID for each point.
highlightStyle = {
fillColor: 'green',
@canthony
canthony / CSVFileApplication.java
Created September 6, 2012 12:47
Vaadin : Reading an uploaded CSV File and using it to populate a Container/Table
package org.backstage;
import au.com.bytecode.opencsv.CSVReader;
import com.vaadin.Application;
import com.vaadin.data.Item;
import com.vaadin.data.util.IndexedContainer;
import com.vaadin.ui.Table;
import com.vaadin.ui.Upload;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;