Hi, I am trying to use MapLayer.DisplayExpression and it doesn't seem to be working.Here is the code:
ERSI.ArcGIS.Mobile.WPF Map. mMap = MobileApplication.Current.Map;
MapLayer mapLayer1 = mMap.Layers["Dose Rates"];
string currentEvent = "Event7";
QueryFilter pQueryFilter = new QueryFilter();
pQueryFilter.WhereClause = "EVENT_NAME = " + "'" + currentEvent + "'"
mapLayer1.DisplayExpression = pQueryFilter.WhereClause;
Kindly advise on how to implement this properly. The code does not work, I still see all the points on the map, when I should only see 2 points.Thanks,Akhil P.