Skip to content

Commit

Permalink
Feature/isochrone new params (#79)
Browse files Browse the repository at this point in the history
* add render_mode and remove_water_bodies to isochrone type

* v6.1.0
  • Loading branch information
MockusTravelTime authored Sep 20, 2024
1 parent 7d3d13e commit ae8e65c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "traveltime-api",
"version": "6.0.0",
"version": "6.1.0",
"description": "TravelTime API SDK for node js with TypeScript",
"main": "target/index.js",
"types": "target/index.d.ts",
Expand Down
8 changes: 8 additions & 0 deletions src/types/timeMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ export type TimeMapRequestSearchBase = Snapping & {
single_shape?: boolean
polygons_filter?: PolygonsFilter
no_holes?: boolean
/**
* Default: `approximate_time_filter`
*/
render_mode?: 'approximate_time_filter' | 'road_buffering'
/**
* Default: true
*/
remove_water_bodies?: boolean
/**
* @deprecated Use {@link TimeMapRequestSearchBase.snapping} instead.
*/
Expand Down

0 comments on commit ae8e65c

Please sign in to comment.