Skip to content

Interface

Options for findPlacesNearPoint .

Inheritance: IFindPlaceWithinExtentOptionsOmit<IRequestOptions"httpMethod" | "f">queryParams

Properties

Hide inherited properties
PropertyTypeNotes
string | IAuthenticationManager

The instance of @esri/arcgis-rest-request!ArcGISIdentityManager , @esri/arcgis-rest-request!ApplicationCredentialsManager or @esri/arcgis-rest-request!ApiKeyManager to use to authenticate this request. A token may also be passed directly as a string however using the built in authentication managers is encouraged.

categoryIds
inherited
string[]

Filters places to those that match the category Ids.

credentials
inherited
RequestCredentials

A string indicating whether credentials (cookies) will be sent with the request. Used internally for authentication workflows.

headers
inherited
{}

Additional Headers to pass into the request.

hideToken
inherited
boolean

Prevents the token from being passed in a URL Query param that is saved in browser history. Instead, the token will be passed in POST request body or through X-Esri-Authorization header. NOTE: This will force POST requests in browsers since auth header is not yet supported by preflight OPTIONS check with CORS.

iconIconOptions
maxUrlLength
inherited
number

If the length of a GET request's URL exceeds maxUrlLength the request will use POST instead.

offset
inherited
number

Request results starting from the given offset.

pageSize
inherited
number

The number of places that should be sent in the response for a single request.

params
inherited
IParams

Additional parameters to pass in the request.

portal
inherited
string

Base url for the portal you want to make the request to. Defaults to authentication.portal if authentication exists, otherwise to 'https://www.arcgis.com/sharing/rest'.

rawResponse
inherited
boolean

Return the raw response

request
inherited
(urlstring, requestOptionsInternalRequestOptions) => Promise<any>

Override the default function for making the request. This is mainly useful for testing purposes (i.e. so you can pass in a spy).

searchText
inherited
string

Free search text for places against names, categories etc.

signal
inherited
AbortSignal

An AbortSignal object instance; allows you to abort a request and via an AbortController.

boolean

Suppress any ArcGIS REST JS related warnings for this request.

xmax
inherited
number

The maximum x coordinate, or longitude, of the search extent, in WGS84 decimal degrees.

xmin
inherited
number

The minimum x coordinate, or longitude, of the search extent, in WGS84 decimal degrees.

ymax
inherited
number

The maximum y coordinate, or latitude, of the search extent, in WGS84 decimal degrees.

ymin
inherited
number

The minimum y coordinate, or latitude, of the search extent, in WGS84 decimal degrees.

authentication

optionalinheritedinherited
Interface Property
authentication: string | IAuthenticationManager

The instance of @esri/arcgis-rest-request!ArcGISIdentityManager , @esri/arcgis-rest-request!ApplicationCredentialsManager or @esri/arcgis-rest-request!ApiKeyManager to use to authenticate this request. A token may also be passed directly as a string however using the built in authentication managers is encouraged.

Inherited from Omit.authentication

categoryIds

optionalinheritedinherited
Interface Property
categoryIds: string[]

Filters places to those that match the category Ids.

Places will be returned if they match any of the category Ids. If this property is not set, places will be returned regardless of their category.

You can obtain information on category Ids from the places/categories endpoint. For example, to filter for places where the category is "Bicycle Store", include the categoryId 17117 in this property.

You can search up to a maximum of 10 category Ids.

Inherited from queryParams.categoryIds

credentials

optionalinheritedinherited
Interface Property
credentials: RequestCredentials

A string indicating whether credentials (cookies) will be sent with the request. Used internally for authentication workflows.

Inherited from Omit.credentials

headers

optionalinheritedinherited
Interface Property
headers: {}

Additional Headers to pass into the request.

Type declaration
    Inherited from Omit.headers

    hideToken

    optionalinheritedinherited
    Interface Property
    hideToken: boolean

    Prevents the token from being passed in a URL Query param that is saved in browser history. Instead, the token will be passed in POST request body or through X-Esri-Authorization header. NOTE: This will force POST requests in browsers since auth header is not yet supported by preflight OPTIONS check with CORS.

    Inherited from Omit.hideToken

    icon

    optional
    Interface Property

    maxUrlLength

    optionalinheritedinherited
    Interface Property
    maxUrlLength: number

    If the length of a GET request's URL exceeds maxUrlLength the request will use POST instead.

    Inherited from Omit.maxUrlLength

    offset

    optionalinheritedinherited
    Interface Property
    offset: number

    Request results starting from the given offset.

    This parameter works with the pageSize parameter to fetch results from subsequent pages. For example, with a page size of 2, setting the offset to 2 would return the 3rd and 4th results.

    Regardless of paging, the maximum number of places that can be returned in total is 200 .

    Inherited from queryParams.offset

    pageSize

    optionalinheritedinherited
    Interface Property
    pageSize: number

    The number of places that should be sent in the response for a single request.

    You can set this to any value up to 20 when you need to control the size of responses that your app downloads.

    If the query results in more than this page size, then the response object will contain a pagination.nextUrl . This can be used to request the next page of results.

    Regardless of paging, the maximum number of places that can be returned in total is 200 .

    The default pageSize is 10.

    Inherited from queryParams.pageSize

    params

    optionalinheritedinherited
    Interface Property
    params: IParams

    Additional parameters to pass in the request.

    Inherited from Omit.params

    portal

    optionalinheritedinherited
    Interface Property
    portal: string

    Base url for the portal you want to make the request to. Defaults to authentication.portal if authentication exists, otherwise to 'https://www.arcgis.com/sharing/rest'.

    Inherited from Omit.portal

    rawResponse

    optionalinheritedinherited
    Interface Property
    rawResponse: boolean

    Return the raw response

    Inherited from Omit.rawResponse

    request

    optionalinheritedinherited
    Interface Property
    request: (urlstring, requestOptionsInternalRequestOptions) => Promise<any>

    Override the default function for making the request. This is mainly useful for testing purposes (i.e. so you can pass in a spy).

    Type declaration
    Inherited from Omit.request

    searchText

    optionalinheritedinherited
    Interface Property
    searchText: string

    Free search text for places against names, categories etc.

    Inherited from queryParams.searchText

    signal

    optionalinheritedinherited
    Interface Property
    signal: AbortSignal

    An AbortSignal object instance; allows you to abort a request and via an AbortController.

    Inherited from Omit.signal

    suppressWarnings

    optionalinheritedinherited
    Interface Property
    suppressWarnings: boolean

    Suppress any ArcGIS REST JS related warnings for this request.

    Inherited from Omit.suppressWarnings

    xmax

    inheritedinherited
    Interface Property
    xmax: number

    The maximum x coordinate, or longitude, of the search extent, in WGS84 decimal degrees.

    This is the furthest east that will be searched.

    Inherited from queryParams.xmax

    xmin

    inheritedinherited
    Interface Property
    xmin: number

    The minimum x coordinate, or longitude, of the search extent, in WGS84 decimal degrees.

    This is the furthest west that will be searched.

    Inherited from queryParams.xmin

    ymax

    inheritedinherited
    Interface Property
    ymax: number

    The maximum y coordinate, or latitude, of the search extent, in WGS84 decimal degrees.

    This is the furthest north that will be searched.

    Inherited from queryParams.ymax

    ymin

    inheritedinherited
    Interface Property
    ymin: number

    The minimum y coordinate, or latitude, of the search extent, in WGS84 decimal degrees.

    This is the furthest south that will be searched.

    Inherited from queryParams.ymin

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.