AnsweredAssumed Answered

ArcGIS JS API v3.22 Query features does not respect returnGeometry

Question asked by dwaldo on Jan 10, 2018
Latest reply on Jan 10, 2018 by rscheitlin

When using the API to call back to ArcGIS Server 10.41, geometries are always returned irregardless of the returnGeometry flag.

 

Snippet

private getGisDataQuery(field: string, value: string): Query {     let query = new Query();     query.returnGeometry = false;     query.outFields = ["*"];     query.where = `${field}='${value}'`;     return query;}

 

I found this question which may be related?  QueryParameters ReturnGeometry Not Honored  

 

If so it would mean this is more of a service, or server issue, not necessarily a bug with the API.

Outcomes