Could a hittest returns a complete feature other than the id of the feature?

05-27-2015 12:38 AM
New Contributor

I am using a feature service with the ondemand mode (no editing request), and I would like to obtain which feature the user clicked.

So when a tapped event fires, I may do a hittest on the feature layer so that I obtain the id of the feature.

But I want more, not only the id, but the geometry info and the attached attributes.

With the only id, I have to do a remote query to obtain the full info. of the feature, this cloud take a significant time.

And I think this approach is a bad solution.

I need a direct way. Any one could provide a remote query free solution? Thanks.

0 Kudos
0 Replies