A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-routing/serviceArea/ below:

serviceArea | ArcGIS REST JS

serviceArea Function serviceArea(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.

Use dark colors for code blocks Copy

1
2
3
4
5
6
7
8
9
10
11
import { serviceArea } from '@esri/arcgis-rest-routing';

serviceArea({
  facilities: [
    [-90.444716, 38.635501],
    [-90.311919, 38.633523],
    [-90.451147, 38.581107]
   ],
   authentication
})
  .then(response) // => {routes: {features: [{attributes: { ... }, geometry:{ ... }}]}
Parameters Parameter Type Notes requestOptions IServiceAreaOptions

Options to pass through to the routing service.

Returns Promise<IServiceAreaResponse>

A Promise that will resolve with service area polygons for the request.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4