public static IEnumerable <IFeature> FindFeatures(this Map map, string searchWord)
 {
     foreach (var layer in map.Layers)
     {
         foreach (var feature in layer.Features)
         {
             if (MapQueryServices.FeatureSelector(feature, searchWord))
             {
                 yield return(feature);
             }
         }
     }
 }
 public static IEnumerable <IFeature> QueryFeatures(this ILayer layer, string prop, DataQueryOperation operation, object param)
 {
     return(layer.Features.Where(f => MapQueryServices.FeatureSelector(f, prop, operation, param)).ToList());
 }