diff --git a/services/isochrone.js b/services/isochrone.js index 10060ec..10b9b7e 100644 --- a/services/isochrone.js +++ b/services/isochrone.js @@ -36,7 +36,8 @@ Isochrone.getContours = function(config) { colors: v.arrayOf(v.string), polygons: v.boolean, denoise: v.number, - generalize: v.number + generalize: v.number, + depart_at: v.string })(config); config.profile = config.profile || 'driving'; @@ -101,7 +102,8 @@ Isochrone.getContours = function(config) { contours_colors: config.colors ? config.colors.join(',') : null, polygons: config.polygons, denoise: config.denoise, - generalize: config.generalize + generalize: config.generalize, + depart_at: config.depart_at }); return this.client.createRequest({