mapbox / mapbox-isochrone

Isochrone generator built atop the Mapbox Matrix API, with CONREC polygonization.
MIT License
119 stars 28 forks source link

Adaptive default resolution #16

Closed peterqliu closed 6 years ago

peterqliu commented 6 years ago

This PR implements a sensible default resolution for isochrone requests, based on the mode of transportation used and the maximum threshold desired. This is technically a breaking change from before (resolution was hardcoded at 1), but should be minimally noticeable, and readily override-able.