This documentation is for ArcGIS REST JS 3.x which is no longer maintained. For the latest 4.x documentation see ArcGIS REST JS on the ArcGIS Developer website.



ILocation can also be imported from the following packages:

import { ILocation } from "@esri/arcgis-rest-routing";
import { ILocation } from "@esri/arcgis-rest-geocoding";


Property Type Notes
lat Optional number
latitude Optional number
long Optional number
longitude Optional number
z Optional number

Interface defined in packages/arcgis-rest-types/src/geometry.ts:74