Hello everyone,I search a solution for this problem since several days, and my first conclusion is that is not possible...But if someone meet this problem and got a solution ?I work with the ArcGIS Mobile 10 API for WPF, and i want to add a part of my annotation layer in my map.I've got a MobileCache Object, set with ArcGIS Server.public MobileCache LocalMobileCache { get; set; }
Then I asked this cache to retrieve an annotation layer, called "Annotation".var annotationLayer = (from f in LocalMobileCache.FeatureLayers
where f.Name == "Annotation"
select f).FirstOrDefault() as AnnotationLayer;
Next, I want to retrieve only a certain portion of these data and displaying it on my card.QueryFilter filter = new QueryFilter();
filter.WhereClause = "Request???";
using (FeatureDataReader reader = annotationLayer.GetDataReader(filter, null))
{
while (reader.Read())
{
//How to get here the annotation and display it on the map ?
}
}
With this solution, I can collect the information I need with the request, but I can't display it on the map. The geometry of the reader look like a rectangle...Is it possible with the ArcGIS Mobile 10 API for WPF ?Thanks in advance.