serviceArea
serviceArea
FunctionserviceArea(requestOptions: IServiceAreaOptions): Promise<IServiceAreaResponse>
Used to find the area that can be reached from the input location within a given travel time or travel distance. See the REST Documentation for more information.
Parameters
Parameter | Type | Notes |
---|---|---|
request | IServiceAreaOptions | Options to pass through to the routing service. |
Returns
Promise<IServiceAreaResponse>
A Promise that will resolve with service area polygons for the request.