Select to view content in your preferred language

Filter Find or Query by Extent?

523
1
10-17-2011 11:23 AM
MattSheehan
Deactivated User
I am trying to execute a find or query on a layer and filter it by extent. So, for example, return only those buildings in the current extent which have an id containing 123??

Thanks

--Jim
Tags (2)
0 Kudos
1 Reply
KenBuja
MVP Esteemed Contributor
You can set the query's geometry to the extent of the map.

myQuery.geometry = myMap.extent;
0 Kudos