if (openDataGrid && floatorfixed != "fixed") showGridResults(); zoomAll(); } catch (error:Error){ showMessage(error.message, false); }
Matt, So you want to automatically zoom to all the returned results or just the fist result?
Matt, Find the queryFeaturesText function and then find these lines and add the code in red: if (openDataGrid && floatorfixed != "fixed") showGridResults(); zoomAll(); } catch (error:Error){ showMessage(error.message, false); }And if you want it to do the same for the graphical then you would add the zoomAll to the same general area in the queryFeaturesGraphical function.
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.