Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for constructing a Place.

Hierarchy

  • PlaceOptions

Index

Properties

id: string

The unique place id.

requestedLanguage?: null | string

A language identifier for the language in which details should be returned. See the list of supported languages.

requestedRegion?: null | string

A region code of the user's region. This can affect which photos may be returned, and possibly other things. The region code accepts a ccTLD ("top-level domain") two-character value. Most ccTLD codes are identical to ISO 3166-1 codes, with some notable exceptions. For example, the United Kingdom's ccTLD is "uk" (.co.uk) while its ISO 3166-1 code is "gb" (technically for the entity of "The United Kingdom of Great Britain and Northern Ireland").

Generated using TypeDoc