Advanced Interactive Web Mapping, Programming, and Design
Spring 2016
Assignments
Classes
Class 1: Refreshers and CartoDB
slides in-class exercisesClass 2: CartoCSS and SQL
slides in-class exercisesClass 3: APIs
slides in-class exercisesClass 4: APIs continued
slides in-class exercisesClass 5: APIs continued
slides in-class exercisesClass 6: Leaflet
slides in-class exercisesClass 7: Leaflet
slides in-class exercisesClass 8: Spatial SQL, CartoDB.js
slides in-class exercisesClass 9: More CartoDB.js
slides in-class exercisesClass 10: Mapbox
slides in-class exercisesClass 11: Templates, Turf
slides in-class exercisesClass 12
slides in-class exercisesWrap-up
slidesMaterials
Code Examples
JavaScript
Leaflet
- CartoDB SQL API: mapping some rows in a table
- CartoDB SQL API: mapping some rows in a table, zooming to the mapped rows
- Style features as circles
- Features with events
- Using the Leaflet.MapPaint plugin
- Styling popups
- Dynamic popups
- Looping over features
- Leaflet with functions
- Searching with Mapzen Search
- Map events
- Layer and marker events
- Leaflet.timeline
- Leaflet with Mustache popups