Select to view content in your preferred language

Definition query in Feature Layer?

681
1
Jump to solution
03-05-2014 04:50 AM
HectorChapa
Frequent Contributor
How to do a feature layer with a definition query in my flex map? This feature class I only want to see one city out of 22 cities in total? Is there away to filter out only the particular city I would like to display to the map? They are going to edit only the particular city? Any code that I could you use would be great. I know you could use layer definition but only in DynamicMapServiceLayer.
Please help...
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Hector,

   FeatureLayer has a definitionExpression.

Docs:

https://developers.arcgis.com/flex/api-reference/com/esri/ags/layers/FeatureLayer.html
0 Kudos