private static void Search(string text) { if (String.IsNullOrEmpty(text)) { _model.ResetSearch(); return; } MapBounds bounds = _map.GetBounds(); _model.SearchRegion(text, bounds.GetWest(), bounds.GetSouth(), bounds.GetEast(), bounds.GetNorth()); }