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.


Type alias

The spatial relationship used to compare input geometries

SpatialRelationship can also be imported from the following packages:

import { SpatialRelationship } from "@esri/arcgis-rest-feature-layer";
"esriSpatialRelIntersects" | "esriSpatialRelContains" | "esriSpatialRelCrosses" | "esriSpatialRelEnvelopeIntersects" | "esriSpatialRelIndexIntersects" | "esriSpatialRelOverlaps" | "esriSpatialRelTouches" | "esriSpatialRelWithin"

Type alias defined in packages/arcgis-rest-types/src/geometry.ts:196