Exemplo n.º 1
0
 public GenericLocation(LocationTypeCountTuple t)
 {
     LocationType = t.Type;
     requiredVisitCount = t.RequiredVisitCount;
     placesVisited = new List<BasicMarker>();
 }
Exemplo n.º 2
0
 public static string googlePlacesTypeToString(GooglePlacesType placeType)
 {
     switch (placeType)
     {
         case GooglePlacesType.ACCOUNTING:                return ACCOUNTING;             
         case GooglePlacesType.AIRPORT:                   return AIRPORT;                
         case GooglePlacesType.AMUSEMENT_PARK:            return AMUSEMENT_PARK;         
         case GooglePlacesType.AQUARIUM:                  return AQUARIUM;               
         case GooglePlacesType.ART_GALLERY:               return ART_GALLERY;            
         case GooglePlacesType.ATM:                       return ATM;                    
         case GooglePlacesType.BAKERY:                    return BAKERY;                 
         case GooglePlacesType.BANK:                      return BANK;                   
         case GooglePlacesType.BAR:                       return BAR;                    
         case GooglePlacesType.BEAUTY_SALON:              return BEAUTY_SALON;           
         case GooglePlacesType.BICYCLE_STORE:             return BICYCLE_STORE;          
         case GooglePlacesType.BOOK_STORE:                return BOOK_STORE;             
         case GooglePlacesType.BOWLING_ALLEY:             return BOWLING_ALLEY;          
         case GooglePlacesType.BUS_STATION:               return BUS_STATION;            
         case GooglePlacesType.CAFE:                      return CAFE;                   
         case GooglePlacesType.CAMPGROUND:                return CAMPGROUND;             
         case GooglePlacesType.CAR_DEALER:                return CAR_DEALER;             
         case GooglePlacesType.CAR_RENTAL:                return CAR_RENTAL;             
         case GooglePlacesType.CAR_REPAIR:                return CAR_REPAIR;             
         case GooglePlacesType.CAR_WASH:                  return CAR_WASH;               
         case GooglePlacesType.CASINO:                    return CASINO;                 
         case GooglePlacesType.CEMETERY:                  return CEMETERY;               
         case GooglePlacesType.CHURCH:                    return CHURCH;                 
         case GooglePlacesType.CITY_HALL:                 return CITY_HALL;              
         case GooglePlacesType.CLOTHING_STORE:            return CLOTHING_STORE;         
         case GooglePlacesType.CONVENIENCE_STORE:         return CONVENIENCE_STORE;      
         case GooglePlacesType.COURTHOUSE:                return COURTHOUSE;             
         case GooglePlacesType.DENTIST:                   return DENTIST;                
         case GooglePlacesType.DEPARTMENT_STORE:          return DEPARTMENT_STORE;       
         case GooglePlacesType.DOCTOR:                    return DOCTOR;                 
         case GooglePlacesType.ELECTRICIAN:               return ELECTRICIAN;            
         case GooglePlacesType.ELECTRONICS_STORE:         return ELECTRONICS_STORE;      
         case GooglePlacesType.EMBASSY:                   return EMBASSY;                
         case GooglePlacesType.FIRE_STATION:              return FIRE_STATION;           
         case GooglePlacesType.FLORIST:                   return FLORIST;                
         case GooglePlacesType.FUNERAL_HOME:              return FUNERAL_HOME;           
         case GooglePlacesType.FURNITURE_STORE:           return FURNITURE_STORE;        
         case GooglePlacesType.GAS_STATION:               return GAS_STATION;            
         case GooglePlacesType.GYM:                       return GYM;                    
         case GooglePlacesType.HAIR_CARE:                 return HAIR_CARE;              
         case GooglePlacesType.HARDWARE_STORE:            return HARDWARE_STORE;         
         case GooglePlacesType.HINDU_TEMPLE:              return HINDU_TEMPLE;           
         case GooglePlacesType.HOME_GOODS_STORE:          return HOME_GOODS_STORE;       
         case GooglePlacesType.HOSPITAL:                  return HOSPITAL;               
         case GooglePlacesType.INSURANCE_AGENCY:          return INSURANCE_AGENCY;       
         case GooglePlacesType.JEWELRY_STORE:             return JEWELRY_STORE;          
         case GooglePlacesType.LAUNDRY:                   return LAUNDRY;                
         case GooglePlacesType.LAWYER:                    return LAWYER;                 
         case GooglePlacesType.LIBRARY:                   return LIBRARY;                
         case GooglePlacesType.LIQUOR_STORE:              return LIQUOR_STORE;           
         case GooglePlacesType.LOCAL_GOVERNMENT_OFFICE:   return LOCAL_GOVERNMENT_OFFICE;
         case GooglePlacesType.LOCKSMITH:                 return LOCKSMITH;              
         case GooglePlacesType.LODGING:                   return LODGING;                
         case GooglePlacesType.MEAL_DELIVERY:             return MEAL_DELIVERY;          
         case GooglePlacesType.MEAL_TAKEAWAY:             return MEAL_TAKEAWAY;          
         case GooglePlacesType.MOSQUE:                    return MOSQUE;                 
         case GooglePlacesType.MOVIE_RENTAL:              return MOVIE_RENTAL;           
         case GooglePlacesType.MOVIE_THEATER:             return MOVIE_THEATER;          
         case GooglePlacesType.MOVING_COMPANY:            return MOVING_COMPANY;         
         case GooglePlacesType.MUSEUM:                    return MUSEUM;                 
         case GooglePlacesType.NIGHT_CLUB:                return NIGHT_CLUB;             
         case GooglePlacesType.PAINTER:                   return PAINTER;                
         case GooglePlacesType.PARK:                      return PARK;                   
         case GooglePlacesType.PARKING:                   return PARKING;                
         case GooglePlacesType.PET_STORE:                 return PET_STORE;              
         case GooglePlacesType.PHARMACY:                  return PHARMACY;               
         case GooglePlacesType.PHYSIOTHERAPIST:           return PHYSIOTHERAPIST;        
         case GooglePlacesType.PLUMBER:                   return PLUMBER;                
         case GooglePlacesType.POLICE:                    return POLICE;                 
         case GooglePlacesType.POST_OFFICE:               return POST_OFFICE;            
         case GooglePlacesType.REAL_ESTATE_AGENCY:        return REAL_ESTATE_AGENCY;     
         case GooglePlacesType.RESTAURANT:                return RESTAURANT;             
         case GooglePlacesType.ROOFING_CONTRACTOR:        return ROOFING_CONTRACTOR;     
         case GooglePlacesType.RV_PARK:                   return RV_PARK;                
         case GooglePlacesType.SCHOOL:                    return SCHOOL;                 
         case GooglePlacesType.SHOE_STORE:                return SHOE_STORE;             
         case GooglePlacesType.SHOPPING_MALL:             return SHOPPING_MALL;          
         case GooglePlacesType.SPA:                       return SPA;                    
         case GooglePlacesType.STADIUM:                   return STADIUM;                
         case GooglePlacesType.STORAGE:                   return STORAGE;                
         case GooglePlacesType.STORE:                     return STORE;                  
         case GooglePlacesType.SUBWAY_STATION:            return SUBWAY_STATION;         
         case GooglePlacesType.SYNAGOGUE:                 return SYNAGOGUE;              
         case GooglePlacesType.TAXI_STAND:                return TAXI_STAND;             
         case GooglePlacesType.TRAIN_STATION:             return TRAIN_STATION;          
         case GooglePlacesType.TRANSIT_STATION:           return TRANSIT_STATION;        
         case GooglePlacesType.TRAVEL_AGENCY:             return TRAVEL_AGENCY;          
         case GooglePlacesType.UNIVERSITY:                return UNIVERSITY;             
         case GooglePlacesType.VETERINARY_CARE:           return VETERINARY_CARE;        
         case GooglePlacesType.ZOO:                       return ZOO;                    
         default:
             return "";
     }
 }