How to pass QueryTask Geometry to DisplayForm
I'm trying to build a workflow that lets a user type in a number that corresponds to a polygon, then the workflow selects all the points inside that polygon and provides a list of them, the user then selects the point they want and the map zooms to it.
I've got the first DisplayForm working and the user selects the polygon, the the QueryTask queries the polygon layer for that shape and returns a FeatureSet. How do I pass that FeatureSet Geometry to the next DisplayForm to select all the points inside of it and make a list? I see the filter by geometry option, but I can't convert the FeatureSet to Geometry for the DisplayForm to use.
0
-
I guess you'd have to do a second querytask for the points layer, and set its Geometry property the polygon's geometry.
The geometry would be something like this:polygonFeatureSet.Features.First.Geometry0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar