Select to view content in your preferred language

Add the ability to set the extent for a query layer via. ArcObjects

08-17-2017 02:57 PM
Status: Open
Occasional Contributor II

Provide a mechanism for setting the extent of a query layer via. ArcObjects so that it doesn't have to be calculated when the layer is added to the map.  This functionality is exposed in ArcMap when a query layer is added interactively the user can click on the input extent button and enter the xmin,ymin,xmax,ymax coordinates to use for the extent rather than having to wait while all the records in the spatial query are fetched to determine the extent for the layer.  There is currently no ArcObjects way to set the layer extent before adding the layer to the map to prevent this processing overhead (which can take a really long time for large datasets).

Tags (2)