地点数据字段(新)

地点数据字段定义了要从请求返回的地点数据类型。此页面列出了所有地点数据字段。

下表按价格层级和平台列出了所有支持的地点数据字段值。如需详细了解请求的结算方式,请参阅使用量和结算

文本搜索(仅 ID)

字段 Places SDK for iOS
地点 ID GMSPlacePropertyPlaceID
名称 GMSPlacePropertyName

文本搜索(基本)

字段 Places SDK for iOS
地址组件 GMSPlacePropertyAddressComponents
商家状态 GMSPlacePropertyBusinessStatus
设置了格式的地址 GMSPlacePropertyFormattedAddress
视口 GMSPlacePropertyViewport
位置 GMSPlacePropertyCoordinate
图标背景颜色 GMSPlacePropertyIconBackgroundColor
照片 GMSPlacePropertyPhotos
图片网址 GMSPlacePropertyIconImageURL
Plus Code GMSPlacePropertyPlusCode
类型 GMSPlacePropertyTypes
UTC 时差 GMSPlacePropertyUTCOffsetMinutes
无障碍入口 GMSPlacePropertyWheelchairAccessibleEntrance

文本搜索(高级)

字段 Places SDK for iOS
国际电话号码 GMSPlacePropertyPhoneNumber
营业时间 GMSPlacePropertyOpeningHours
当前营业时间 GMSPlacePropertyCurrentOpeningHours
次要营业时间 GMSPlacePropertySecondaryOpeningHours
网站 GMSPlacePropertyWebsite
价格水平 GMSPlacePropertyPriceLevel
分级 GMSPlacePropertyRating
用户评分总计 GMSPlacePropertyUserRatingsTotal

文本搜索(首选)

字段 Places SDK for iOS
路边自提 GMSPlacePropertyCurbsidePickup
送餐 GMSPlacePropertyDelivery
堂食 GMSPlacePropertyDineIn
编辑摘要 GMSPlacePropertyEditorialSummary
可预订 GMSPlacePropertyReservable
供应啤酒 GMSPlacePropertyServesBeer
供应早餐 GMSPlacePropertyServesBreakfast
供应早午餐 GMSPlacePropertyServesBrunch
供应晚餐 GMSPlacePropertyServesDinner
供应午餐 GMSPlacePropertyServesLunch
供应素食 GMSPlacePropertyServesVegetarianFood
供应葡萄酒 GMSPlacePropertyServesWine
外带 GMSPlacePropertyTakeout

Places SDK for iOS 所有字段

除了前面列出的字段之外,Places SDK for iOS 还包含 GMSPlacePropertyAll 数据类型,该数据类型会返回所有可用的数据字段。