Select to view content in your preferred language

SelectionMapAction SelectionLayers - can selection be constrainted by queryfilter?

503
0
02-21-2012 10:47 AM
LaureBowman
Emerging Contributor
I have an existing mobile app I've taken over support/development of. It uses SelectionMapAction.SelectionFeatures to perform updates on selected features. The code constrains the selection based on a layer:

selectionMapAction.SelectionLayers.Clear();
selectionMapAction.SelectionLayers.Add(layer);

and then functions are performed on the results using:

selectionMapAction.SelectedFeatures
                           
If there a way in mobile to constrain selection based on a queryfilter for the layer. All features in the layer are visible on the screen, but I want the select to only work on features that have a certain attribute field value.

If this possible and if so, what is the best way to go about this?

Thank you for any suggestions!
0 Kudos
0 Replies