/cpln692-week10

Guest lecture: Aaron Su, Leaflet plugins, APIs

Primary LanguageJavaScript

Week 10

As always: make a copy of this repository to commit changes to

Class Outline

Guest Speaker Aaron Su

Introduction

  • Leaflet plugins utilization
    • connecting to your app:
    • Geo-locator, geo-coding
  • Leaflet draw (a plugin for the leaflet library)
    • Generate polygons, points, and lines from user interaction
  • Mapbox APIs
    • Free(ish) alternative to writing backend code
    • Powerful (though limited for free users)
    • Geocoding
    • Routing

Interaction and analysis

Section 1: Leaflet Draw
  • Plugin usage introduction
  • Lab 1
Section 2: Mapbox Utilities
  • In-class exploration of experimentation with an API
  • Lab 2

Homework Assignment (Due: Friday, March 5th)