地點資料欄位 (新推出)

地點資料欄位會定義要求中要傳回的地點資料類型。此頁面列出所有地點資料欄位。

下表列出價格層級和平台支援的所有地點資料欄位值。如要進一步瞭解要求的計費方式,請參閱「用量與計費」一文。

Text Search (ID Only)

欄位 Places SDK for iOS
地點 ID GMSPlacePropertyPlaceID
名稱 GMSPlacePropertyName

文字搜尋 (基本)

欄位 Places SDK for iOS
地址元件 GMSPlacePropertyAddressComponents
商家狀態 GMSPlacePropertyBusinessStatus
格式化地址 GMSPlacePropertyFormattedAddress
可視區域 GMSPlacePropertyViewport
位置 GMSPlacePropertyCoordinate
圖示背景顏色 GMSPlacePropertyIconBackgroundColor
相片 GMSPlacePropertyPhotos
圖片網址 GMSPlacePropertyIconImageURL
Plus Code GMSPlacePropertyPlusCode
類型 GMSPlacePropertyTypes
世界標準時間時差 GMSPlacePropertyUTCOffsetMinutes
無障礙入口 GMSPlacePropertyWheelchairAccessibleEntrance

Text Search (進階)

欄位 Places SDK for iOS
國際電話號碼 GMSPlacePropertyPhoneNumber
營業時間 GMSPlacePropertyOpeningHours
目前營業時間 GMSPlacePropertyCurrentOpeningHours
次要營業時間 GMSPlacePropertySecondaryOpeningHours
網站 GMSPlacePropertyWebsite
價格等級 GMSPlacePropertyPriceLevel
Rating GMSPlacePropertyRating
使用者評分總計 GMSPlacePropertyUserRatingsTotal

Text Search (Preferred)

欄位 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 資料類型,可傳回所有可用資料欄位。