// This import ensures, that a ComplexQuery knows about the spatial operators.
import SpatialQuery from "store-api/SpatialQuery";
const testGeom = ...;
const query = { "geometry": { $intersects: testGeom } };
const options = {};
if( SpatialQuery.isSpatialQuery(query)){
const complexQuery = SpatialQuery.parse(query, options);
...
}
Generated using TypeDoc
SpatialQuery registers and implements all SpatialOperators using the geometry engine of the esri js api.