mapbox/mapbox-directions.js — pull request #52 by willwhite (2014-09-26 04:10:35+00:00)
Title: Allow custom profile to be set

Allows custom profile to be set. Still defaults to `mapbox.driving`. Opens possibility for alternate profiles like `mapbox.walking` and `mapbox.cycling`.