Place

Place クラス

google.maps.places.Place クラス

このクラスは PlaceOptions を実装します。

const {Place} = await google.maps.importLibrary("places") を呼び出してアクセスします。
Maps JavaScript API のライブラリをご覧ください。

Place
Place(options)
パラメータ: 
searchByText
searchByText(request)
パラメータ: 
戻り値:  Promise<{places:Array<Place>}>
テキスト クエリに基づく場所検索。
searchNearby
searchNearby(request)
パラメータ: 
戻り値:  Promise<{places:Array<Place>}>
付近の場所を検索します。
accessibilityOptions
タイプ:  AccessibilityOptions optional
このスポットのユーザー補助オプション。アクセシビリティ オプションのデータがサーバーから呼び出されていない場合は undefined
addressComponents
タイプ:  Array<AddressComponent> optional
このプレイスのロケーションの住所構成要素のコレクション。既知のアドレスデータがない場合は空のオブジェクト。サーバーからアドレスデータが呼び出されていない場合は undefined
adrFormatAddress
タイプ:  string optional
adr マイクロフォーマットでのプレイスの住所の表現。
allowsDogs
タイプ:  boolean optional
attributions
タイプ:  Array<Attribution> optional
この場所の結果に対して表示される帰属表示テキスト。
businessStatus
タイプ:  BusinessStatus optional
店舗の営業状況。既知のステータスがない場合は null。ステータス データがサーバーから読み込まれていない場合は undefined
displayName
タイプ:  string optional
場所の表示名。名前がない場合は null。名前データがサーバーから読み込まれていない場合は undefined
displayNameLanguageCode
タイプ:  string optional
ビジネスの表示名の言語。名前がない場合は null。名前データがサーバーから読み込まれていない場合は undefined
editorialSummary
タイプ:  string optional
この場所の編集概要。編集者による概要がない場合は null。このフィールドがまだリクエストされていない場合は undefined
editorialSummaryLanguageCode
タイプ:  string optional
この場所の編集概要の言語。編集者による概要がない場合は null。このフィールドがまだリクエストされていない場合は undefined
evChargeOptions
タイプ:  EVChargeOptions optional
スポットで提供されている EV 充電スタンド オプション。undefined(EV 充電オプションがサーバーから呼び出されていない場合)。
formattedAddress
タイプ:  string optional
場所の完全な住所。
fuelOptions
タイプ:  FuelOptions optional
スポットで提供されている燃料オプション。undefined。サーバーから燃料オプションが呼び出されていない場合。
googleMapsURI
タイプ:  string optional
この場所の公式 Google ページの URL。これは、この場所について入手可能な最良の情報を含む Google のページです。
hasCurbsidePickup
タイプ:  boolean optional
店舗で商品のピックアップができるかどうか。値がわかっている場合は「true」または「false」を返します。値が不明な場合は「null」を返します。このフィールドがまだリクエストされていない場合は「undefined」を返します。
hasDelivery
タイプ:  boolean optional
配達サービスがあるかどうか。値がわかっている場合は「true」または「false」を返します。値が不明な場合は「null」を返します。このフィールドがまだリクエストされていない場合は「undefined」を返します。
hasDineIn
タイプ:  boolean optional
その場所で店内飲食が可能かどうか。値がわかっている場合は「true」または「false」を返します。値が不明な場合は「null」を返します。このフィールドがまだリクエストされていない場合は「undefined」を返します。
hasLiveMusic
タイプ:  boolean optional
hasMenuForChildren
タイプ:  boolean optional
hasOutdoorSeating
タイプ:  boolean optional
hasRestroom
タイプ:  boolean optional
hasTakeout
タイプ:  boolean optional
テイクアウトができるかどうか。値がわかっている場合は「true」または「false」を返します。値が不明な場合は「null」を返します。このフィールドがまだリクエストされていない場合は「undefined」を返します。
iconBackgroundColor
タイプ:  string optional
場所のカテゴリのデフォルトの 16 進数色コード。
id
タイプ:  string
一意の場所 ID。
internationalPhoneNumber
タイプ:  string optional
国際電話形式の場所の電話番号。国際形式では、「+」記号と国コードが先頭に付きます。
isGoodForChildren
タイプ:  boolean optional
isGoodForGroups
タイプ:  boolean optional
isGoodForWatchingSports
タイプ:  boolean optional