The process is very similar to the one used in the sample linked to below but in your case you'll want to create a new Extent geometry and add it as a graphic to the map
Select with Feature Layer | ArcGIS API for JavaScript 3.20
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.