search results for multiple layers
Has anyone developed a workflow or other means of returning search results for, say, a parcel layer and also other layers that intersect that particular parcel?
0
-
Hi Rebecca,
This Code Gallery example does something similar to what you want:
https://support.geocortex.com/essentialsGSCCodeGallery?sub-nav=codegall&main-nav=essentials&#
If you want to use the selected parcel to query other layers, you just need to add more QueryTask activities (one for each of your layers) and reference the parcel geometry for the Geometry parameter. Then, to add all the results to the same result pane, you have multiple SelectFeatures activities (one for each queried layer) and enter the same Collection Name for all of them.
I hope this helps.
Regards,
Carmen0 -
Hi, is there any updated link to the code example featured here? The one on the comment is outdated. Thanks
1
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer