Skip to content
Create a gist now

Instantly share code, notes, and snippets.

var sql = new cartodb.SQL({ user: 'examples', format: 'geojson' });
// create the layer and add to the map, then will be filled with data
var countriesLayer = L.geoJson().addTo(map);
sql.execute("SELECT * FROM european_countries_e").done(function(geojson) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.