Skip to content

Instantly share code, notes, and snippets.

@pedromcunha
Created July 21, 2014 20:00
Show Gist options
  • Save pedromcunha/438e152405d3ea715c95 to your computer and use it in GitHub Desktop.
Save pedromcunha/438e152405d3ea715c95 to your computer and use it in GitHub Desktop.
Setting up a layer
{
sql: "SELECT * FROM pm25_na",
cartocss: $('#pm25_na').html().format('pm25_2012'),
interactivity: "cartodb_id, the_geom, pm25_2000, pm25_2001, pm25_2002, pm25_2003, pm25_2004, pm25_2005, pm25_2006, pm25_2007, pm25_2008, pm25_2009, pm25_2010, pm25_2011, pm25_2012, country"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment