Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.86 KB

API.md

File metadata and controls

43 lines (27 loc) · 1.86 KB

serverConfig

src/defaults.js:17-27

Server configuration

Type: Object

Parameters

  • options Object object
    • options.osrmPath string path to *.osrm file OSRM
    • options.radius number distance to draw the buffer as in @turf/buffer
    • options.cellSize number the distance across each cell as in @turf/point-grid
    • options.intervals Array<number> intervals for isochrones in minutes
    • options.concavity number relative measure of concavity as in concaveman (optional, default 2)
    • options.deintersect boolean whether or not to deintersect the final isochrones (optional, default true)
    • options.lengthThreshold number length threshold as in concaveman (optional, default 0)
    • options.units string any of the options supported by turf units (optional, default 'kilometers')