GooglePlacesSwift Framework Reference

PlaceType

struct PlaceType
extension PlaceType : Equatable, Hashable, RawRepresentable

All Places (NEW) API place types found at https://developers.google.com/maps/documentation/places/ios-sdk/place-types All Place Types found at https://developers.google.com/maps/documentation/places/ios-sdk/supported_types

  • The raw type that can be used to represent all values of the conforming type.

    Every distinct value of the conforming type has a corresponding unique value of the RawValue type, but there may be values of the RawValue type that don’t have a corresponding value of the conforming type.

    Declaration

    Swift

    typealias RawValue = String
  • Undocumented

    Declaration

    Swift

    static let accounting: PlaceType
  • Undocumented

    Declaration

    Swift

    static let address: PlaceType
  • Undocumented

    Declaration

    Swift

    static let administrativeAreaLevel1: PlaceType
  • Undocumented

    Declaration

    Swift

    static let administrativeAreaLevel2: PlaceType
  • Undocumented

    Declaration

    Swift

    static let administrativeAreaLevel3: PlaceType
  • Undocumented

    Declaration

    Swift

    static let administrativeAreaLevel4: PlaceType
  • Undocumented

    Declaration

    Swift

    static let administrativeAreaLevel5: PlaceType
  • Undocumented

    Declaration

    Swift

    static let airport: PlaceType
  • Undocumented

    Declaration

    Swift

    static let amusementPark: PlaceType
  • Undocumented

    Declaration

    Swift

    static let aquarium: PlaceType
  • Undocumented

    Declaration

    Swift

    static let artGallery: PlaceType
  • atm

    Undocumented

    Declaration

    Swift

    static let atm: PlaceType
  • Undocumented

    Declaration

    Swift

    static let bakery: PlaceType
  • Undocumented

    Declaration

    Swift

    static let bank: PlaceType
  • bar

    Undocumented

    Declaration

    Swift

    static let bar: PlaceType
  • Undocumented

    Declaration

    Swift

    static let beautySalon: PlaceType
  • Undocumented

    Declaration

    Swift

    static let bicycleStore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let bookStore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let bowlingAlley: PlaceType
  • Undocumented

    Declaration

    Swift

    static let busStation: PlaceType
  • Undocumented

    Declaration

    Swift

    static let cafe: PlaceType
  • Undocumented

    Declaration

    Swift

    static let campground: PlaceType
  • Undocumented

    Declaration

    Swift

    static let carDealer: PlaceType
  • Undocumented

    Declaration

    Swift

    static let carRental: PlaceType
  • Undocumented

    Declaration

    Swift

    static let carRepair: PlaceType
  • Undocumented

    Declaration

    Swift

    static let carWash: PlaceType
  • Undocumented

    Declaration

    Swift

    static let casino: PlaceType
  • Undocumented

    Declaration

    Swift

    static let cemetery: PlaceType
  • Undocumented

    Declaration

    Swift

    static let church: PlaceType
  • Undocumented

    Declaration

    Swift

    static let cities: PlaceType
  • Undocumented

    Declaration

    Swift

    static let cityHall: PlaceType
  • Undocumented

    Declaration

    Swift

    static let clothingStore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let colloquialArea: PlaceType
  • Undocumented

    Declaration

    Swift

    static let convenienceStore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let country: PlaceType
  • Undocumented

    Declaration

    Swift

    static let courthouse: PlaceType
  • Undocumented

    Declaration

    Swift

    static let dentist: PlaceType
  • Undocumented

    Declaration

    Swift

    static let departmentStore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let doctor: PlaceType
  • Undocumented

    Declaration

    Swift

    static let drugstore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let electrician: PlaceType
  • Undocumented

    Declaration

    Swift

    static let electronicsStore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let embassy: PlaceType
  • Undocumented

    Declaration

    Swift

    static let establishment: PlaceType
  • Undocumented

    Declaration

    Swift

    static let finance: PlaceType
  • Undocumented

    Declaration

    Swift

    static let fireStation: PlaceType
  • Undocumented

    Declaration

    Swift

    static let floor: PlaceType
  • Undocumented

    Declaration

    Swift

    static let florist: PlaceType
  • Undocumented

    Declaration

    Swift

    static let food: PlaceType
  • Undocumented

    Declaration

    Swift

    static let funeralHome: PlaceType
  • Undocumented

    Declaration

    Swift

    static let furnitureStore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let gasStation: PlaceType
  • Undocumented

    Declaration

    Swift

    static let generalContractor: PlaceType
  • Undocumented

    Declaration

    Swift

    static let geocode: PlaceType
  • Undocumented

    Declaration

    Swift

    static let groceryOrSupermarket: PlaceType
  • gym

    Undocumented

    Declaration

    Swift

    static let gym: PlaceType
  • Undocumented

    Declaration

    Swift

    static let hairCare: PlaceType
  • Undocumented

    Declaration

    Swift

    static let hardwareStore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let health: PlaceType
  • Undocumented

    Declaration

    Swift

    static let hinduTemple: PlaceType
  • Undocumented

    Declaration

    Swift

    static let homeGoodsStore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let hospital: PlaceType
  • Creates a new instance with the specified raw value.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    print(PaperSize(rawValue: "Legal"))
    // Prints "Optional("PaperSize.Legal")"
    
    print(PaperSize(rawValue: "Tabloid"))
    // Prints "nil"
    

    Declaration

    Swift

    init(rawValue: String)
  • Undocumented

    Declaration

    Swift

    static let insuranceAgency: PlaceType
  • Undocumented

    Declaration

    Swift

    static let intersection: PlaceType
  • Undocumented

    Declaration

    Swift

    static let jewelryStore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let laundry: PlaceType
  • Undocumented

    Declaration

    Swift

    static let lawyer: PlaceType
  • Undocumented

    Declaration

    Swift

    static let library: PlaceType
  • Undocumented

    Declaration

    Swift

    static let lightRailStation: PlaceType
  • Undocumented

    Declaration

    Swift

    static let liquorStore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let localGovernmentOffice: PlaceType
  • Undocumented

    Declaration

    Swift

    static let locality: PlaceType
  • Undocumented

    Declaration

    Swift

    static let locksmith: PlaceType
  • Undocumented

    Declaration

    Swift

    static let lodging: PlaceType
  • Undocumented

    Declaration

    Swift

    static let mealDelivery: PlaceType
  • Undocumented

    Declaration

    Swift

    static let mealTakeaway: PlaceType
  • Undocumented

    Declaration

    Swift

    static let mosque: PlaceType
  • Undocumented

    Declaration

    Swift

    static let movieRental: PlaceType
  • Undocumented

    Declaration

    Swift

    static let movieTheater: PlaceType
  • Undocumented

    Declaration

    Swift

    static let movingCompany: PlaceType
  • Undocumented

    Declaration

    Swift

    static let museum: PlaceType
  • Undocumented

    Declaration

    Swift

    static let naturalFeature: PlaceType
  • Undocumented

    Declaration

    Swift

    static let neighborhood: PlaceType
  • Undocumented

    Declaration

    Swift

    static let nightClub: PlaceType
  • Undocumented

    Declaration

    Swift

    static let painter: PlaceType
  • Undocumented

    Declaration

    Swift

    static let park: PlaceType
  • Undocumented

    Declaration

    Swift

    static let parking: PlaceType
  • Undocumented

    Declaration

    Swift

    static let petStore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let pharmacy: PlaceType
  • Undocumented

    Declaration

    Swift

    static let physiotherapist: PlaceType
  • Undocumented

    Declaration

    Swift

    static let placeOfWorship: PlaceType
  • Undocumented

    Declaration

    Swift

    static let plumber: PlaceType
  • Undocumented

    Declaration

    Swift

    static let pointOfInterest: PlaceType
  • Undocumented

    Declaration

    Swift

    static let police: PlaceType
  • Undocumented

    Declaration

    Swift

    static let political: PlaceType
  • Undocumented

    Declaration

    Swift

    static let postBox: PlaceType
  • Undocumented

    Declaration

    Swift

    static let postOffice: PlaceType
  • Undocumented

    Declaration

    Swift

    static let postalCode: PlaceType
  • Undocumented

    Declaration

    Swift

    static let postalCodePrefix: PlaceType
  • Undocumented

    Declaration

    Swift

    static let postalCodeSuffix: PlaceType
  • Undocumented

    Declaration

    Swift

    static let postalTown: PlaceType
  • Undocumented

    Declaration

    Swift

    static let premise: PlaceType
  • Undocumented

    Declaration

    Swift

    static let primarySchool: PlaceType
  • The corresponding value of the raw type.

    A new instance initialized with rawValue will be equivalent to this instance. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    let selectedSize = PaperSize.Letter
    print(selectedSize.rawValue)
    // Prints "Letter"
    
    print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)
    // Prints "true"
    

    Declaration

    Swift

    let rawValue: String
  • Undocumented

    Declaration

    Swift

    static let realEstateAgency: PlaceType
  • Undocumented

    Declaration

    Swift

    static let regions: PlaceType
  • Undocumented

    Declaration

    Swift

    static let restaurant: PlaceType
  • Undocumented

    Declaration

    Swift

    static let roofingContractor: PlaceType
  • Undocumented

    Declaration

    Swift

    static let room: PlaceType
  • Undocumented

    Declaration

    Swift

    static let route: PlaceType
  • Undocumented

    Declaration

    Swift

    static let rvPark: PlaceType
  • Undocumented

    Declaration

    Swift

    static let school: PlaceType
  • Undocumented

    Declaration

    Swift

    static let secondarySchool: PlaceType
  • Undocumented

    Declaration

    Swift

    static let shoeStore: PlaceType
  • Undocumented

    Declaration

    Swift

    static let shoppingMall: PlaceType
  • spa

    Undocumented

    Declaration

    Swift

    static let spa: PlaceType
  • Undocumented

    Declaration

    Swift

    static let stadium: PlaceType
  • Undocumented

    Declaration

    Swift

    static let storage: PlaceType
  • Undocumented

    Declaration

    Swift

    static let store: PlaceType
  • Undocumented

    Declaration

    Swift

    static let streetAddress: PlaceType
  • Undocumented

    Declaration

    Swift

    static let streetNumber: PlaceType
  • Undocumented

    Declaration

    Swift

    static let sublocality: PlaceType
  • Undocumented

    Declaration

    Swift

    static let sublocalityLevel1: PlaceType
  • Undocumented

    Declaration

    Swift

    static let sublocalityLevel2: PlaceType
  • Undocumented

    Declaration

    Swift

    static let sublocalityLevel3: PlaceType
  • Undocumented

    Declaration

    Swift

    static let sublocalityLevel4: PlaceType
  • Undocumented

    Declaration

    Swift

    static let sublocalityLevel5: PlaceType
  • Undocumented

    Declaration

    Swift

    static let subpremise: PlaceType
  • Undocumented

    Declaration

    Swift

    static let subwayStation: PlaceType
  • Undocumented

    Declaration

    Swift

    static let supermarket: PlaceType
  • Undocumented

    Declaration

    Swift

    static let synagogue: PlaceType
  • Undocumented

    Declaration

    Swift

    static let taxiStand: PlaceType
  • Undocumented

    Declaration

    Swift

    static let touristAttraction: PlaceType
  • Undocumented

    Declaration

    Swift

    static let townSquare: PlaceType
  • Undocumented

    Declaration

    Swift

    static let trainStation: PlaceType
  • Undocumented

    Declaration

    Swift

    static let transitStation: PlaceType
  • Undocumented

    Declaration

    Swift

    static let travelAgency: PlaceType
  • Undocumented

    Declaration

    Swift

    static let university: PlaceType
  • Undocumented

    Declaration

    Swift

    static let veterinaryCare: PlaceType
  • zoo

    Undocumented

    Declaration

    Swift

    static let zoo: PlaceType