Ian,
You execute the same queriy again but this time use the executeForExtent method
https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-QueryTask.html#executeForExtent
and union the resulting extent of the first extent query with the second.
//
Is this question about 4.x or 3.x?
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.