Hi,
We apply setLayerDefinitions() to layer and want to get extent of filtered features.
The way we do it - use Query and return geometries and get extent.
It works good until big number of result. Let say the result is one million features.
So, the question is if we can get somehow the extent of filtered features from the server, or other way?
Or ArcGISDynamicMapServiceLayer or FeatureLayer.
Solved! Go to Solution.
Piterson,
Sure you can use the QueryTask executeForExtent this will return a count and an extent of the features that meet the query criteria.
Piterson,
Sure you can use the QueryTask executeForExtent this will return a count and an extent of the features that meet the query criteria.
Robert,
Thank you for response.
It says "Valid only for hosted features services on arcgis.com"
We have no such services.
and for ArcGIS Server 10.3.1 and later.
We do not use hosted feature servises
Piterson,
If you have ArcGIS Server 10.3,1 or greater then you CAN.
Valid only for hosted features services on arcgis.com and for ArcGIS Server 10.3.1 and later