GEOG 863:
Web Application Development for Geospatial Professionals




An important element of many geospatial applications is the ability to search for features that meet certain criteria. The nature of those criteria might be spatial (e.g., land parcels adjacent to a particular street) or non-spatial (e.g., land parcels owned by a particular person).

In Lesson 6, we’ll see how Query objects can be used in an Esri JS API app to answer both spatial and non-spatial questions. Before that, however, we’ll look at the API’s Search widget, which can be used to find values in a layer’s attribute table or to find places when configured to work with a locator service.


At the successful completion of this lesson, you should be able to:

  • configure the Search widget using sources (layers and/or locators);
  • understand the concept of a promise (in a JS context);
  • set a layer's definition expression;
  • define and execute queries.


If you have any questions now or at any point during this week, please feel free to post them to the Lesson 6 Discussion Forum. (That forum can be accessed at any time by clicking on the Discussions tab.)