PlaceType
struct PlaceType
extension PlaceType : Equatable, Hashable, RawRepresentable, Sendable
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 theRawValue
type that don’t have a corresponding value of the conforming type.Declaration
Swift
typealias RawValue = String
-
Declaration
Swift
static let accounting: PlaceType
-
Declaration
Swift
static let address: PlaceType
-
Declaration
Swift
static let administrativeAreaLevel1: PlaceType
-
Declaration
Swift
static let administrativeAreaLevel2: PlaceType
-
Declaration
Swift
static let administrativeAreaLevel3: PlaceType
-
Declaration
Swift
static let administrativeAreaLevel4: PlaceType
-
Declaration
Swift
static let administrativeAreaLevel5: PlaceType
-
Declaration
Swift
static let airport: PlaceType
-
Declaration
Swift
static let amusementPark: PlaceType
-
Declaration
Swift
static let aquarium: PlaceType
-
Declaration
Swift
static let artGallery: PlaceType
-
Declaration
Swift
static let atm: PlaceType
-
Declaration
Swift
static let bakery: PlaceType
-
Declaration
Swift
static let bank: PlaceType
-
Declaration
Swift
static let bar: PlaceType
-
Declaration
Swift
static let beautySalon: PlaceType
-
Declaration
Swift
static let bicycleStore: PlaceType
-
Declaration
Swift
static let bookStore: PlaceType
-
Declaration
Swift
static let bowlingAlley: PlaceType
-
Declaration
Swift
static let busStation: PlaceType
-
Declaration
Swift
static let cafe: PlaceType
-
Declaration
Swift
static let campground: PlaceType
-
Declaration
Swift
static let carDealer: PlaceType
-
Declaration
Swift
static let carRental: PlaceType
-
Declaration
Swift
static let carRepair: PlaceType
-
Declaration
Swift
static let carWash: PlaceType
-
Declaration
Swift
static let casino: PlaceType
-
Declaration
Swift
static let cemetery: PlaceType
-
Declaration
Swift
static let church: PlaceType
-
Declaration
Swift
static let cities: PlaceType
-
Declaration
Swift
static let cityHall: PlaceType
-
Declaration
Swift
static let clothingStore: PlaceType
-
Declaration
Swift
static let colloquialArea: PlaceType
-
Declaration
Swift
static let convenienceStore: PlaceType
-
Declaration
Swift
static let country: PlaceType
-
Declaration
Swift
static let courthouse: PlaceType
-
Declaration
Swift
static let dentist: PlaceType
-
Declaration
Swift
static let departmentStore: PlaceType
-
Declaration
Swift
static let doctor: PlaceType
-
Declaration
Swift
static let drugstore: PlaceType
-
Declaration
Swift
static let electrician: PlaceType
-
Declaration
Swift
static let electronicsStore: PlaceType
-
Declaration
Swift
static let embassy: PlaceType
-
Declaration
Swift
static let establishment: PlaceType
-
Declaration
Swift
static let finance: PlaceType
-
Declaration
Swift
static let fireStation: PlaceType
-
Declaration
Swift
static let floor: PlaceType
-
Declaration
Swift
static let florist: PlaceType
-
Declaration
Swift
static let food: PlaceType
-
Declaration
Swift
static let funeralHome: PlaceType
-
Declaration
Swift
static let furnitureStore: PlaceType
-
Declaration
Swift
static let gasStation: PlaceType
-
Declaration
Swift
static let generalContractor: PlaceType
-
Declaration
Swift
static let geocode: PlaceType
-
Declaration
Swift
static let groceryOrSupermarket: PlaceType
-
Declaration
Swift
static let gym: PlaceType
-
Declaration
Swift
static let hairCare: PlaceType
-
Declaration
Swift
static let hardwareStore: PlaceType
-
Declaration
Swift
static let health: PlaceType
-
Declaration
Swift
static let hinduTemple: PlaceType
-
Declaration
Swift
static let homeGoodsStore: PlaceType
-
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)
-
Declaration
Swift
static let insuranceAgency: PlaceType
-
Declaration
Swift
static let intersection: PlaceType
-
Declaration
Swift
static let jewelryStore: PlaceType
-
Declaration
Swift
static let laundry: PlaceType
-
Declaration
Swift
static let lawyer: PlaceType
-
Declaration
Swift
static let library: PlaceType
-
Declaration
Swift
static let lightRailStation: PlaceType
-
Declaration
Swift
static let liquorStore: PlaceType
-
Declaration
Swift
static let localGovernmentOffice: PlaceType
-
Declaration
Swift
static let locality: PlaceType
-
Declaration
Swift
static let locksmith: PlaceType
-
Declaration
Swift
static let lodging: PlaceType
-
Declaration
Swift
static let mealDelivery: PlaceType
-
Declaration
Swift
static let mealTakeaway: PlaceType
-
Declaration
Swift
static let mosque: PlaceType
-
Declaration
Swift
static let movieRental: PlaceType
-
Declaration
Swift
static let movieTheater: PlaceType
-
Declaration
Swift
static let movingCompany: PlaceType
-
Declaration
Swift
static let museum: PlaceType
-
Declaration
Swift
static let naturalFeature: PlaceType
-
Declaration
Swift
static let neighborhood: PlaceType
-
Declaration
Swift
static let nightClub: PlaceType
-
Declaration
Swift
static let painter: PlaceType
-
Declaration
Swift
static let park: PlaceType
-
Declaration
Swift
static let parking: PlaceType
-
Declaration
Swift
static let petStore: PlaceType
-
Declaration
Swift
static let pharmacy: PlaceType
-
Declaration
Swift
static let physiotherapist: PlaceType
-
Declaration
Swift
static let placeOfWorship: PlaceType
-
Declaration
Swift
static let plumber: PlaceType
-
Declaration
Swift
static let pointOfInterest: PlaceType
-
Declaration
Swift
static let police: PlaceType
-
Declaration
Swift
static let political: PlaceType
-
Declaration
Swift
static let postBox: PlaceType
-
Declaration
Swift
static let postOffice: PlaceType
-
Declaration
Swift
static let postalCode: PlaceType
-
Declaration
Swift
static let postalCodePrefix: PlaceType
-
Declaration
Swift
static let postalCodeSuffix: PlaceType
-
Declaration
Swift
static let postalTown: PlaceType
-
Declaration
Swift
static let premise: PlaceType
-
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
-
Declaration
Swift
static let realEstateAgency: PlaceType
-
Declaration
Swift
static let regions: PlaceType
-
Declaration
Swift
static let restaurant: PlaceType
-
Declaration
Swift
static let roofingContractor: PlaceType
-
Declaration
Swift
static let room: PlaceType
-
Declaration
Swift
static let route: PlaceType
-
Declaration
Swift
static let rvPark: PlaceType
-
Declaration
Swift
static let school: PlaceType
-
Declaration
Swift
static let secondarySchool: PlaceType
-
Declaration
Swift
static let shoeStore: PlaceType
-
Declaration
Swift
static let shoppingMall: PlaceType
-
Declaration
Swift
static let spa: PlaceType
-
Declaration
Swift
static let stadium: PlaceType
-
Declaration
Swift
static let storage: PlaceType
-
Declaration
Swift
static let store: PlaceType
-
Declaration
Swift
static let streetAddress: PlaceType
-
Declaration
Swift
static let streetNumber: PlaceType
-
Declaration
Swift
static let sublocality: PlaceType
-
Declaration
Swift
static let sublocalityLevel1: PlaceType
-
Declaration
Swift
static let sublocalityLevel2: PlaceType
-
Declaration
Swift
static let sublocalityLevel3: PlaceType
-
Declaration
Swift
static let sublocalityLevel4: PlaceType
-
Declaration
Swift
static let sublocalityLevel5: PlaceType
-
Declaration
Swift
static let subpremise: PlaceType
-
Declaration
Swift
static let subwayStation: PlaceType
-
Declaration
Swift
static let supermarket: PlaceType
-
Declaration
Swift
static let synagogue: PlaceType
-
Declaration
Swift
static let taxiStand: PlaceType
-
Declaration
Swift
static let touristAttraction: PlaceType
-
Declaration
Swift
static let townSquare: PlaceType
-
Declaration
Swift
static let trainStation: PlaceType
-
Declaration
Swift
static let transitStation: PlaceType
-
Declaration
Swift
static let travelAgency: PlaceType
-
Declaration
Swift
static let university: PlaceType
-
Declaration
Swift
static let veterinaryCare: PlaceType
-
Declaration
Swift
static let zoo: PlaceType