Hi all,
I'm experiencing an issue in WAB about Selection Manager class:
I need to set the tool so that it can make a selection among already selected features;
just like ArcMap (ArcGIS Desktop) does with its tool (see figure below)
I'm not able to find the correct option neither among Selection Class nor among ArcGIS API JS:
Selection manager class has:
setFeaturesToSelection, addFeaturesToSelection, removeFeaturesFromSelection
Any suggestion?
Thanks
Solved! Go to Solution.
The JS API does not have any option for this. The best thing you can do is get an array of Object Ids and then set the Queries ObjectIds array and then do your query where clause or Geometry.
The JS API does not have any option for this. The best thing you can do is get an array of Object Ids and then set the Queries ObjectIds array and then do your query where clause or Geometry.
Ok, it seems a good solution.
Thanx, Robert.
Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.