Kolom Data Tempat

Pilih platform: Android iOS JavaScript Layanan Web

Kolom data tempat menentukan jenis data Tempat yang akan dikembalikan saat meminta Place Details. Halaman ini mencantumkan semua kolom data tempat, dan menjelaskan cara kolom tersebut didukung untuk setiap API/SDK (dukungan untuk kolom tempat bervariasi menurut platform dan/atau fitur).

Untuk informasi selengkapnya tentang cara penagihan permintaan Place Details, lihat Penggunaan dan Penagihan.

Tabel berikut mencantumkan semua nilai kolom data tempat yang didukung berdasarkan tingkat harga, dan platform.

Basic Data

Kolom Places API Places Library, Maps JavaScript API Places SDK for Android Places SDK for iOS
Komponen Alamat address_component address_component Place.Field.ADDRESS_COMPONENTS GMSPlaceFieldAddressComponents
Alamat adr_address adr_address --- ---
Status Bisnis business_status business_status Place.Field.BUSINESS_STATUS GMSPlaceFieldBusinessStatus
Alamat yang Diformat formatted_address formatted_address Place.Field.ADDRESS GMSPlaceFieldFormattedAddress
Area pandang geometry/viewport geometry.viewport Place.Field.VIEWPORT GMSPlaceFieldViewport
Lokasi geometry/location geometry.location Place.Field.LAT_LNG GMSPlaceFieldCoordinate
Ikon icon icon --- ---
URI Dasar Mask Ikon icon_mask_base_uri icon_mask_base_uri Place.Field.ICON_URL GMSPlaceFieldIconImageURL
Warna Latar Belakang Ikon icon_background_color icon_background_color Place.Field.ICON_BACKGROUND_COLOR GMSPlaceFieldIconBackgroundColor
Name name name Place.Field.NAME GMSPlaceFieldName
Tutup Permanen (tidak digunakan lagi) permanently_closed permanently_closed --- ---
Foto photos photos Place.Field.PHOTO_METADATAS GMSPlaceFieldPhotos
ID Tempat place_id place_id Place.Field.ID GMSPlaceFieldPlaceID
Plus Codes plus_code plus_code Place.Field.PLUS_CODE GMSPlaceFieldPlusCode
Jenis type type Place.Field.TYPES GMSPlaceFieldTypes
URL url url --- ---
Offset UTC utc_offset utc_offset_minutes Place.Field.UTC_OFFSET GMSPlaceFieldUTCOffsetMinutes
Visinitas vicinity vicinity --- ---
Pintu Masuk yang Dapat Diakses Kursi Roda wheelchair_accessible_entrance --- --- ---

Kolom Contact Data

Kolom Places API Places Library, Maps JavaScript API Places SDK for Android Places SDK for iOS
Nomor Telepon formatted_phone_number formatted_phone_number --- ---
Nomor Telepon Internasional international_phone_number international_phone_number Place.Field.PHONE_NUMBER GMSPlaceFieldPhoneNumber
Jam Buka opening_hours opening_hours Place.Field.OPENING_HOURS GMSPlaceFieldOpeningHours
Jam Buka Saat Ini current_opening_hours --- --- ---
Jam Buka Sekunder secondary_opening_hours --- --- ---
Situs website website Place.Field.WEBSITE_URI GMSPlaceFieldWebsite

Kolom Atmosphere Data

Kolom Places API Places Library, Maps JavaScript API Places SDK for Android Places SDK for iOS
Ambil di Tepi Jalan curbside_pickup --- --- ---
Penayangan delivery --- --- ---
Makan di tempat dine_in --- --- ---
Ringkasan Editorial editorial_summary --- --- ---
Tingkat Harga price_level price_level Place.Field.PRICE_LEVEL GMSPlaceFieldPriceLevel
Rating rating rating Place.Field.RATING GMSPlaceFieldRating
Dapat dipesan reservable --- --- ---
Layanan reviews reviews --- ---
Menyajikan Bir serves_beer --- --- ---
Menyajikan Sarapan serves_breakfast --- --- ---
Menyajikan Sarapan Siang serves_brunch --- --- ---
Menyajikan Makan Malam serves_dinner --- --- ---
Menyajikan Makan Siang serves_lunch --- --- ---
Menyajikan Makanan Vegetarian serves_vegetarian_food --- --- ---
Menyajikan Anggur serves_wine --- --- ---
Bawa pulang takeout --- --- ---
Total Penilaian Pengguna user_ratings_total user_ratings_total Place.Field.USER_RATINGS_TOTAL GMSPlaceFieldUserRatingsTotal

Dukungan kolom Places SDK for Android

findCurrentPlace() TIDAK mendukung kolom berikut:

  • Place.Field.ADDRESS_COMPONENTS
  • Place.Field.OPENING_HOURS
  • Place.Field.PHONE_NUMBER
  • Place.Field.WEBSITE_URI
  • Place.Field.UTC_OFFSET