<iframe src="https://developers.devsite.google/frame/maps/documentation/javascript/reference/place_db3814ca43a1d9c258f1ef25ebccd92fbb6281f61a10d455ddedd3f967e9ac7b.frame" class="framebox inherit-locale redirect-iframe" allow="clipboard-write https://developers.devsite.google" allowfullscreen is-upgraded></iframe>

## [Place](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#Place)
class


class
`google.maps.places.Place`
implements `PlaceOptions`

library `"places"`

```javascript
const {Place} = await google.maps.importLibrary("places");
```

| ### Constructor ||
|---|---|
| `Place` | `Place(options)` **Parameters:** - `options: PlaceOptions` |

| ### Static Methods ||
|---|---|
| `searchByText` | `searchByText(request)` **Parameters:** - `request: SearchByTextRequest` **Return Value:** `Promise<{places:Array<Place>}>` Text query based place search. |
| `searchNearby` | `searchNearby(request)` **Parameters:** - `request: SearchNearbyRequest` **Return Value:** `Promise<{places:Array<Place>}>` Search for nearby places. |

| ### Properties ||
|---|---|
| `accessibilityOptions` readonly | **Type:** `AccessibilityOptions optional` Accessibility options of this Place. `undefined` if the accessibility options data have not been called for from the server. |
| `addressComponents` readonly | **Type:** `Array<AddressComponent> optional` The collection of address components for this Place's location. Empty object if there is no known address data. `undefined` if the address data has not been called for from the server. |
| `addressDescriptor` readonly | **Type:** `AddressDescriptor optional` The address descriptor for this place. Address descriptors include additional information that help describe a location using landmarks and areas. See address descriptor regional coverage in <https://developers.google.com/maps/documentation/geocoding/address-descriptors/coverage>. |
| `adrFormatAddress` readonly | **Type:** `string optional` The representation of the Place's address in the [adr microformat](http://microformats.org/wiki/adr). |
| `allowsDogs` readonly | **Type:** `boolean optional` |
| `attributions` readonly | **Type:** `Array<Attribution> optional` Data providers that must be shown for the Place. |
| `businessStatus` readonly | **Type:** `BusinessStatus optional` The location's operational status. `null` if there is no known status. `undefined` if the status data has not been loaded from the server. |
| `consumerAlert` readonly | **Type:** `ConsumerAlert optional` The consumer alert for this place. |
| `containingPlaces` readonly | **Type:** `Array<Place> optional` The list of containing places for this place. Containing places are places that contain the place. |
| `currentOpeningHours` readonly | **Type:** `OpeningHours optional` The hours of operation for the next seven days (including today). This includes exceptional hours like holidays and irregular closures. |
| `currentSecondaryOpeningHours` readonly | **Type:** `Array<SecondaryOpeningHours> optional` The current secondary hours of this place which includes exceptional hours like holidays and irregular closures for the next seven days. Secondary hours are different from a place's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. |
| `displayName` readonly | **Type:** `string optional` The location's display name. `null` if there is no name. `undefined` if the name data has not been loaded from the server. |
| `displayNameLanguageCode` readonly | **Type:** `string optional` The language of the location's display name. `null` if there is no name. `undefined` if the name data has not been loaded from the server. |
| `editorialSummary` readonly | **Type:** `string optional` The editorial summary for this place. `null` if there is no editorial summary. `undefined` if this field has not yet been requested. |
| `editorialSummaryLanguageCode` readonly | **Type:** `string optional` The language of the editorial summary for this place. `null` if there is no editorial summary. `undefined` if this field has not yet been requested. |
| `evChargeAmenitySummary` readonly | **Type:** `EVChargeAmenitySummary optional` The EVChargeAmenitySummary for this place. |
| `evChargeOptions` readonly | **Type:** `EVChargeOptions optional` EV Charge options provided by the place. `undefined` if the EV charge options have not been called for from the server. |
| `formattedAddress` readonly | **Type:** `string optional` The location's full address. |
| `fuelOptions` readonly | **Type:** `FuelOptions optional` Fuel options provided by the place. `undefined` if the fuel options have not been called for from the server. |
| `futureOpeningDate` readonly | **Type:** `Date optional` The date this place will open, if its `businessStatus` is `FUTURE_OPENING`. When the field is not requested, this field will be undefined. Otherwise, this field will be populated with the opening date if it is available, and null if it is not. |
| `generativeSummary` readonly | **Type:** `GenerativeSummary optional` The GenerativeSummary for this place. |
| `googleMapsLinks` readonly | **Type:** `GoogleMapsLinks optional` Links to trigger different Google Maps actions. |
| `googleMapsURI` readonly | **Type:** `string optional` URL of the official Google page for this place. This is the Google-owned page that contains the best available information about the Place. |
| `hasCurbsidePickup` readonly | **Type:** `boolean optional` Whether a place has curbside pickup. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. Returns 'undefined' if this field has not yet been requested. |
| `hasDelivery` readonly | **Type:** `boolean optional` Whether a place has delivery. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. Returns 'undefined' if this field has not yet been requested. |
| `hasDineIn` readonly | **Type:** `boolean optional` Whether a place has dine in. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. Returns 'undefined' if this field has not yet been requested. |
| `hasLiveMusic` readonly | **Type:** `boolean optional` |
| `hasMenuForChildren` readonly | **Type:** `boolean optional` |
| `hasOutdoorSeating` readonly | **Type:** `boolean optional` |
| `hasRestroom` readonly | **Type:** `boolean optional` |
| `hasTakeout` readonly | **Type:** `boolean optional` Whether a place has takeout. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. Returns 'undefined' if this field has not yet been requested. |
| `iconBackgroundColor` readonly | **Type:** `string optional` The default HEX color code for the place's category. |
| `id` readonly | **Type:** `string` The unique place id. |
| `internationalPhoneNumber` readonly | **Type:** `string optional` The Place's phone number in international format. International format includes the country code, and is prefixed with the plus (+) sign. |
| `isGoodForChildren` readonly | **Type:** `boolean optional` |
| `isGoodForGroups` readonly | **Type:** `boolean optional` |
| `isGoodForWatchingSports` readonly | **Type:** `boolean optional` |
| `isPureServiceAreaBusiness` readonly | **Type:** `boolean optional` Indicates whether the place is a pure service area business. A pure service area business is a business that visits or delivers to customers directly but does not serve customers at their business address. For example, businesses like cleaning services or plumbers may not have a physical address or location on Google Maps. |
| `isReservable` readonly | **Type:** `boolean optional` Whether a place is reservable. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. Returns 'undefined' if this field has not yet been requested. |
| `location` readonly | **Type:** `LatLng optional` The Place's position. |
| `nationalPhoneNumber` readonly | **Type:** `string optional` The Place's phone number, formatted according to the [number's regional convention](http://en.wikipedia.org/wiki/Local_conventions_for_writing_telephone_numbers). |
| `neighborhoodSummary` readonly | **Type:** `NeighborhoodSummary optional` The NeighborhoodSummary for this place. |
| `parkingOptions` readonly | **Type:** `ParkingOptions optional` Options of parking provided by the place. `undefined` if the parking options data have not been called for from the server. |
| `paymentOptions` readonly | **Type:** `PaymentOptions optional` Payment options provided by the place. `undefined` if the payment options data have not been called for from the server. |
| `photos` readonly | **Type:** `Array<Photo> optional` Photos of this Place. The collection will contain up to ten `Photo` objects. |
| `plusCode` readonly | **Type:** `PlusCode optional` |
| `postalAddress` readonly | **Type:** `PostalAddress optional` |
| `priceLevel` readonly | **Type:** `PriceLevel optional` The price level of the Place. This property can return any of the following values - `Free` - `Inexpensive` - `Moderate` - `Expensive` - `Very Expensive` |
| `priceRange` readonly | **Type:** `PriceRange optional` The price range for this Place. `endPrice` could be unset, which indicates a range without upper bound (e.g. "More than $100"). |
| `primaryType` readonly | **Type:** `string optional` The location's primary type. `null` if there is no type. `undefined` if the type data has not been loaded from the server. |
| `primaryTypeDisplayName` readonly | **Type:** `string optional` The location's primary type display name. `null` if there is no type. `undefined` if the type data has not been loaded from the server. |
| `primaryTypeDisplayNameLanguageCode` readonly | **Type:** `string optional` The language of the location's primary type display name. `null` if there is no type. `undefined` if the type data has not been loaded from the server. |
| `rating` readonly | **Type:** `number optional` A rating, between 1.0 to 5.0, based on user reviews of this Place. |
| `regularOpeningHours` readonly | **Type:** `OpeningHours optional` The regular hours of operation for this place. This does not include exceptional hours like holidays. |
| `regularSecondaryOpeningHours` readonly | **Type:** `Array<SecondaryOpeningHours> optional` The regular secondary hours of this place which excludes exceptional hours like holidays and irregular closures. Secondary hours are different from a place's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. |
| `requestedLanguage` | **Type:** `string optional` The requested language for this place. |
| `requestedRegion` | **Type:** `string optional` The requested region for this place. |
| `resourceName` readonly | **Type:** `string` The unique place resource name. |
| `reviews` readonly | **Type:** `Array<Review> optional` A list of reviews for this Place. |
| `reviewSummary` readonly | **Type:** `ReviewSummary optional` The ReviewSummary for this place. |
| `servesBeer` readonly | **Type:** `boolean optional` Whether a place serves beer. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. Returns 'undefined' if this field has not yet been requested. |
| `servesBreakfast` readonly | **Type:** `boolean optional` Whether a place serves breakfast. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. Returns 'undefined' if this field has not yet been requested. |
| `servesBrunch` readonly | **Type:** `boolean optional` Whether a place serves brunch. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. Returns 'undefined' if this field has not yet been requested. |
| `servesCocktails` readonly | **Type:** `boolean optional` |
| `servesCoffee` readonly | **Type:** `boolean optional` |
| `servesDessert` readonly | **Type:** `boolean optional` |
| `servesDinner` readonly | **Type:** `boolean optional` Whether a place serves dinner. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. Returns 'undefined' if this field has not yet been requested. |
| `servesLunch` readonly | **Type:** `boolean optional` Whether a place serves lunch. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. Returns 'undefined' if this field has not yet been requested. |
| `servesVegetarianFood` readonly | **Type:** `boolean optional` Whether a place serves vegetarian food. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. Returns 'undefined' if this field has not yet been requested. |
| `servesWine` readonly | **Type:** `boolean optional` Whether a place serves wine. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. Returns 'undefined' if this field has not yet been requested. |
| `shortFormattedAddress` readonly | **Type:** `string optional` The location's short address. |
| `subDestinations` readonly | **Type:** `Array<Place> optional` The list of sub-destinations for this place. Sub-destinations are specific places associated with a main place. These provide more specific destinations for users who are searching within a large or complex place, like an airport, national park, university, or stadium. |
| `svgIconMaskURI` readonly | **Type:** `string optional` URI to the svg image mask resource that can be used to represent a place's category. |
| `timeZone` readonly | **Type:** `TimeZone optional` The TimeZone for this place. |
| `transitStation` readonly | **Type:** `TransitStation optional` Information about the transit station. `undefined` if the transit data has not been loaded from the server. |
| `types` readonly | **Type:** `Array<string> optional` An array of [types for this Place](https://developers.google.com/maps/documentation/places/web-service/supported_types) (for example, `["political", "locality"]` or `["restaurant", "establishment"]`). |
| `userRatingCount` readonly | **Type:** `number optional` The number of user ratings which contributed to this Place's `Place.rating`. |
| `utcOffsetMinutes` readonly | **Type:** `number optional` The offset from UTC of the Place's current timezone, in minutes. For example, Austrialian Eastern Standard Time (GMT+10) in daylight savings is 11 hours ahead of UTC, so the `utc_offset_minutes` will be `660`. For timezones behind UTC, the offset is negative. For example, the `utc_offset_minutes` is `-60` for Cape Verde. |
| `viewport` readonly | **Type:** `LatLngBounds optional` The preferred viewport when displaying this Place on a map. |
| `websiteURI` readonly | **Type:** `string optional` The authoritative website for this Place, such as a business' homepage. |
| `[openingHours](https://developers.google.com/maps/documentation/javascript/reference/place#Place.openingHours)` readonly | > [!WARNING] > **[Deprecated:](https://developers.google.com/maps/deprecations.md.txt)** Use `Place.regularOpeningHours` instead. **Type:** `OpeningHours optional` |
| `[hasWiFi](https://developers.google.com/maps/documentation/javascript/reference/place#Place.hasWiFi)` readonly | > [!WARNING] > **[Deprecated:](https://developers.google.com/maps/deprecations.md.txt)** This field was accidentally documented, but has never actually been populated. **Type:** `boolean optional` |

| ### Methods ||
|---|---|
| `fetchFields` | `fetchFields(options)` **Parameters:** - `options: FetchFieldsRequest` **Return Value:** `Promise<{place:Place}>` |
| `![Beta](data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M20.21,17.64l-6.15-8.22V5.57h2.57V3H6.35v2.57h2.57v3.86l-6.3,8.4c-0.44,0.6-0.5,1.41-0.15,2.08C2.8,20.58,3.49,21,4.24,21h14.5c1.11,0,2.01-0.9,2.01-2.01C20.75,18.48,20.53,18,20.21,17.64z' fill='%2301579b'/%3E%3C/svg%3E "Beta")getNextOpeningTime` | > [!WARNING] > **Notice:** Available only in the [v=beta channel](https://developers.google.com/maps/documentation/javascript/versions.md.txt#choosing-the-beta-channel). `getNextOpeningTime([date])` **Parameters:** - `date: Date optional` **Return Value:** `Promise<Date optional>` Calculates the `Date` for the next opening time using the Place's `Place.regularOpeningHours`. Returns undefined if the data is insufficient to calculate the result, or this place is not operational. |
| `![Beta](data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M20.21,17.64l-6.15-8.22V5.57h2.57V3H6.35v2.57h2.57v3.86l-6.3,8.4c-0.44,0.6-0.5,1.41-0.15,2.08C2.8,20.58,3.49,21,4.24,21h14.5c1.11,0,2.01-0.9,2.01-2.01C20.75,18.48,20.53,18,20.21,17.64z' fill='%2301579b'/%3E%3C/svg%3E "Beta")isOpen` | > [!WARNING] > **Notice:** Available only in the [v=beta channel](https://developers.google.com/maps/documentation/javascript/versions.md.txt#choosing-the-beta-channel). `isOpen([date])` **Parameters:** - `date: Date optional` Defaults to now. **Return Value:** `Promise<boolean optional>` Check if the place is open at the given `Date`. Resolves with `undefined` if the known data for the location is insufficient to calculate this, e.g. if the opening hours are unregistered. |

## [PlaceOptions](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#PlaceOptions)
interface


interface
`google.maps.places.PlaceOptions`

implemented by `Place`

Options for constructing a Place.

| ### Properties ||
|---|---|
| `id` optional | **Type:** `string optional` The unique place id. |
| `requestedLanguage` optional | **Type:** `string optional` A language identifier for the language in which details should be returned. See the [list of supported languages](https://developers.google.com/maps/faq.md.txt#languagesupport). |
| `requestedRegion` optional | **Type:** `string optional` 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")](https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Country_code_top-level_domains) 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"). |
| `resourceName` optional | **Type:** `string optional` The unique place resource name. |

## [AccessibilityOptions](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#AccessibilityOptions)
class


class
`google.maps.places.AccessibilityOptions`

library `"places"`

```javascript
const {AccessibilityOptions} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `hasWheelchairAccessibleEntrance` readonly | **Type:** `boolean optional` Whether a place has a wheelchair accessible entrance. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |
| `hasWheelchairAccessibleParking` readonly | **Type:** `boolean optional` Whether a place has wheelchair accessible parking. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |
| `hasWheelchairAccessibleRestroom` readonly | **Type:** `boolean optional` Whether a place has a wheelchair accessible restroom. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |
| `hasWheelchairAccessibleSeating` readonly | **Type:** `boolean optional` Whether a place offers wheelchair accessible seating. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |

## [AddressComponent](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#AddressComponent)
class


class
`google.maps.places.AddressComponent`

library `"places"`

Address component for the Place's location.

```javascript
const {AddressComponent} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `longText` readonly | **Type:** `string optional` The full text of the address component. |
| `shortText` readonly | **Type:** `string optional` The abbreviated, short text of the given address component. |
| `types` readonly | **Type:** `Array<string>` An array of strings denoting the type of this address component. A list of valid types can be found [here](https://developers.google.com/maps/documentation/javascript/geocoding.md.txt#GeocodingAddressTypes). |

| ### Methods ||
|---|---|

## [AddressDescriptor](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#AddressDescriptor)
class


class
`google.maps.places.AddressDescriptor`

library `"places"`

A relational description of a location. Includes a ranked set of nearby landmarks and precise containing areas and their relationship to the target location.

```javascript
const {AddressDescriptor} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `areas` readonly | **Type:** `Array<Area>` A ranked list of containing or adjacent areas. The most recognizable and precise areas are ranked first. |
| `landmarks` readonly | **Type:** `Array<Landmark>` A ranked list of nearby landmarks. The most recognizable and nearby landmarks are ranked first. |

| ### Methods ||
|---|---|

## [Area](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#Area)
class


class
`google.maps.places.Area`

library `"places"`

Area information and the area's relationship with the target location.

```javascript
const {Area} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `containment` readonly | **Type:** `Containment optional` Defines the spatial relationship between the target location and the area. |
| `place` readonly | **Type:** `Place` The area's place. |

| ### Methods ||
|---|---|

## [Attribution](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#Attribution)
class


class
`google.maps.places.Attribution`

library `"places"`

Information about a data provider for a Place.

```javascript
const {Attribution} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `provider` readonly | **Type:** `string optional` Name of the Place's data provider. |
| `providerURI` readonly | **Type:** `string optional` URI to the Place's data provider. |

| ### Methods ||
|---|---|

## [AuthorAttribution](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#AuthorAttribution)
class


class
`google.maps.places.AuthorAttribution`

library `"places"`

Information about the author of user-generated content.

```javascript
const {AuthorAttribution} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `displayName` readonly | **Type:** `string` Author's name for this result. |
| `photoURI` readonly | **Type:** `string optional` Author's photo URI for this result. This may not always be available. |
| `uri` readonly | **Type:** `string optional` Author's profile URI for this result. |

| ### Methods ||
|---|---|

## [ConnectorAggregation](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#ConnectorAggregation)
class


class
`google.maps.places.ConnectorAggregation`

library `"places"`

EV charging information, aggregated for connectors of the same type and the same charge rate.

```javascript
const {ConnectorAggregation} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `availabilityLastUpdateTime` readonly | **Type:** `Date optional` The time when the connector availability information in this aggregation was last updated. |
| `availableCount` readonly | **Type:** `number optional` Number of connectors in this aggregation that are currently available. |
| `count` readonly | **Type:** `number` Number of connectors in this aggregation. |
| `maxChargeRateKw` readonly | **Type:** `number` The static max charging rate in kw of each connector of the aggregation. |
| `outOfServiceCount` readonly | **Type:** `number optional` Number of connectors in this aggregation that are currently out of service. |
| `type` readonly | **Type:** `EVConnectorType optional` The connector type of this aggregation. |

## [ConsumerAlert](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#ConsumerAlert)
class


class
`google.maps.places.ConsumerAlert`

library `"places"`

The consumer alert message. All text are rendered in the language specified by the `languageCode` field.

```javascript
const {ConsumerAlert} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `details` readonly | **Type:** `ConsumerAlertDetails optional` The details of the consumer alert message. |
| `languageCode` readonly | **Type:** `string optional` The language code of the consumer alert message. |
| `overview` readonly | **Type:** `string optional` The overview of the consumer alert message. |

| ### Methods ||
|---|---|

## [ConsumerAlertDetails](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#ConsumerAlertDetails)
class


class
`google.maps.places.ConsumerAlertDetails`

library `"places"`

Details of the consumer alert message.

```javascript
const {ConsumerAlertDetails} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `aboutLinkTitle` readonly | **Type:** `string optional` The title to show for a link to provide more information. |
| `aboutLinkURI` readonly | **Type:** `string optional` The URI for a link to provide more information. |
| `description` readonly | **Type:** `string optional` The description of the consumer alert message. |
| `title` readonly | **Type:** `string optional` The title to show together with the detailed description. |

## [Containment](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#Containment)
constants


constants
`google.maps.places.Containment`

library `"places"`

Defines the spatial relationship between the target location and the area. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#containment) for more information.

These constants are also usable as strings. In TypeScript, the string literals are defined by the `ContainmentString` type.

```javascript
const {Containment} = await google.maps.importLibrary("places");
```

| ### Constants ||
|---|---|
| `NEAR` | The target location is outside the area region, but close by. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#containment) for more information. |
| `OUTSKIRTS` | The target location is within the area region, close to the edge. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#containment) for more information. |
| `WITHIN` | The target location is within the area region, close to the center. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#containment) for more information. |

## [ContentBlock](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#ContentBlock)
class


class
`google.maps.places.ContentBlock`

library `"places"`

ContentBlock describes the content of a summary and where it came from.

```javascript
const {ContentBlock} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `content` readonly | **Type:** `string optional` Content related to the topic. |
| `contentLanguageCode` readonly | **Type:** `string optional` Language code of the content. |
| `referencedPlaces` readonly | **Type:** `Array<Place>` A list of `Place`s referenced. When first retrieved, each Place only contains a place ID in the `id` field. |

| ### Methods ||
|---|---|

## [EVChargeAmenitySummary](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#EVChargeAmenitySummary)
class


class
`google.maps.places.EVChargeAmenitySummary`

library `"places"`

AI-generated summary of amenities near the EV charging station. This only applies to places with type `electric_vehicle_charging_station`.

```javascript
const {EVChargeAmenitySummary} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `coffee` readonly | **Type:** `ContentBlock optional` A summary of the nearby coffee options. |
| `disclosureText` readonly | **Type:** `string optional` The text for the disclosure relating to this summary. |
| `disclosureTextLanguageCode` readonly | **Type:** `string optional` The language code of the disclosure text. |
| `flagContentURI` readonly | **Type:** `string optional` A URI to report a problem with the summary. |
| `overview` readonly | **Type:** `ContentBlock optional` An overview of the available amenities. |
| `restaurant` readonly | **Type:** `ContentBlock optional` A summary of the nearby restaurants. |
| `store` readonly | **Type:** `ContentBlock optional` A summary of nearby stores. |

| ### Methods ||
|---|---|

## [EVChargeOptions](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#EVChargeOptions)
class


class
`google.maps.places.EVChargeOptions`

library `"places"`

Information about the EV charging station hosted in the place.

```javascript
const {EVChargeOptions} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `connectorAggregations` readonly | **Type:** `Array<ConnectorAggregation>` A list of EV charging connector aggregations that contain connectors of the same type and same charge rate. |
| `connectorCount` readonly | **Type:** `number` Number of connectors at this station. Because some ports can have multiple connectors but only be able to charge one car at a time, the number of connectors may be greater than the total number of cars which can charge simultaneously. |

| ### Methods ||
|---|---|

## [EVConnectorType](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#EVConnectorType)
constants


constants
`google.maps.places.EVConnectorType`

library `"places"`

See <http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=6872107> for additional information/context on EV charging connector types. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#evconnectortype) for more information.

These constants are also usable as strings. In TypeScript, the string literals are defined by the `EVConnectorTypeString` type.

```javascript
const {EVConnectorType} = await google.maps.importLibrary("places");
```

| ### Constants ||
|---|---|
| `CCS_COMBO_1` | Combined Charging System (AC and DC). See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#evconnectortype) for more information. |
| `CCS_COMBO_2` | Combined Charging System (AC and DC). See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#evconnectortype) for more information. |
| `CHADEMO` | CHAdeMO type connector. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#evconnectortype) for more information. |
| `J1772` | J1772 type 1 connector. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#evconnectortype) for more information. |
| `NACS` | The North American Charging System (NACS), standardized as SAE J3400. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#evconnectortype) for more information. |
| `OTHER` | Other connector types. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#evconnectortype) for more information. |
| `TESLA` | The generic TESLA connector. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#evconnectortype) for more information. |
| `TYPE_2` | IEC 62196 type 2 connector. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#evconnectortype) for more information. |
| `UNSPECIFIED_GB_T` | GB/T type corresponds to the GB/T standard in China. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#evconnectortype) for more information. |
| `UNSPECIFIED_WALL_OUTLET` | Unspecified wall outlet. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#evconnectortype) for more information. |

## [EVSearchOptions](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#EVSearchOptions)
interface


interface
`google.maps.places.EVSearchOptions`

EV-related options that can be specified for a place search request.

| ### Properties ||
|---|---|
| `connectorTypes` optional | **Type:** `Array<EVConnectorType> optional` The list of preferred EV connector types. A place that does not support any of the listed connector types is filtered out. |
| `minimumChargingRateKw` optional | **Type:** `number optional` Minimum required charging rate in kilowatts. A place with a charging rate less than the specified rate is filtered out. |

## [FetchFieldsRequest](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#FetchFieldsRequest)
interface


interface
`google.maps.places.FetchFieldsRequest`

Options for fetching Place fields.

| ### Properties ||
|---|---|
| `fields` | **Type:** `Iterable<string>` List of fields to be fetched. |
| `internalUsageAttributionIds` optional | **Type:** `Iterable<string> optional` Identifiers used to attribute calls to specific packages or OSS libraries. |

## [FuelOptions](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#FuelOptions)
class


class
`google.maps.places.FuelOptions`

library `"places"`

The most recent information about fuel options in a gas station. This information is updated regularly.

```javascript
const {FuelOptions} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `fuelPrices` readonly | **Type:** `Array<FuelPrice>` A list of fuel prices for each type of fuel this station has, one entry per fuel type. |

| ### Methods ||
|---|---|

## [FuelPrice](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#FuelPrice)
class


class
`google.maps.places.FuelPrice`

library `"places"`

Fuel price information for a given type of fuel.

```javascript
const {FuelPrice} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `price` readonly | **Type:** `Money optional` The price of the fuel. |
| `type` readonly | **Type:** `FuelType optional` The type of fuel. |
| `updateTime` readonly | **Type:** `Date optional` The time the fuel price was last updated. |

## [FuelType](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#FuelType)
constants


constants
`google.maps.places.FuelType`

library `"places"`

Types of fuel. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information.

These constants are also usable as strings. In TypeScript, the string literals are defined by the `FuelTypeString` type.

```javascript
const {FuelType} = await google.maps.importLibrary("places");
```

| ### Constants ||
|---|---|
| `BIO_DIESEL` | Bio-diesel. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `DIESEL` | Diesel fuel. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `DIESEL_PLUS` | Diesel plus fuel. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `E100` | E 100. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `E80` | E 80. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `E85` | E 85. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `LPG` | Liquefied Petroleum Gas. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `METHANE` | Methane. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `MIDGRADE` | Midgrade. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `PREMIUM` | Premium. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `REGULAR_UNLEADED` | Regular unleaded. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `SP100` | SP 100. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `SP91` | SP 91. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `SP91_E10` | SP 91 E10. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `SP92` | SP 92. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `SP95` | SP 95. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `SP95_E10` | SP95 E10. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `SP98` | SP 98. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `SP99` | SP 99. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |
| `TRUCK_DIESEL` | Truck diesel. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#fueltype) for more information. |

## [GenerativeSummary](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#GenerativeSummary)
class


class
`google.maps.places.GenerativeSummary`

library `"places"`

AI-generated summary of the place.

```javascript
const {GenerativeSummary} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `disclosureText` readonly | **Type:** `string optional` The text for the disclosure relating to this summary. |
| `disclosureTextLanguageCode` readonly | **Type:** `string optional` The language code of the disclosure text. |
| `flagContentURI` readonly | **Type:** `string optional` A URI to report a problem with the summary. |
| `overview` readonly | **Type:** `string optional` The overview of the place. |
| `overviewLanguageCode` readonly | **Type:** `string optional` The language code of the overview. |

| ### Methods ||
|---|---|

## [GoogleMapsLinks](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#GoogleMapsLinks)
class


class
`google.maps.places.GoogleMapsLinks`

library `"places"`

Links to trigger different Google Maps actions.

```javascript
const {GoogleMapsLinks} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `directionsURI` readonly | **Type:** `string optional` A link to show the directions to the place on Google Maps. The link only populates the destination location and uses the default travel mode `DRIVE`. |
| `photosURI` readonly | **Type:** `string optional` A link to show the photos for the place on Google Maps. |
| `placeURI` readonly | **Type:** `string optional` A link to show the place on Google Maps. |
| `reviewsURI` readonly | **Type:** `string optional` A link to show the reviews for the place on Google Maps. |
| `writeAReviewURI` readonly | **Type:** `string optional` A link to write a review for the place on Google Maps. |

| ### Methods ||
|---|---|

## [Landmark](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#Landmark)
class


class
`google.maps.places.Landmark`

library `"places"`

Basic landmark information and the landmark's relationship with the target location. Landmarks are prominent places that can be used to describe a location.

```javascript
const {Landmark} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `place` readonly | **Type:** `Place` The landmark's place. |
| `spatialRelationship` readonly | **Type:** `SpatialRelationship` The spatial relationship between the target location and the landmark. |
| `straightLineDistanceMeters` readonly | **Type:** `number` The straight line distance, in meters, between the center point of the target and the center point of the landmark. In some situations, this value can be longer than `travelDistanceMeters`. |
| `travelDistanceMeters` readonly | **Type:** `number optional` The travel distance, in meters, along the road network from the target to the landmark, if known. This value does not take into account the mode of transportation, such as walking, driving, biking. |

| ### Methods ||
|---|---|

## [Money](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#Money)
class


class
`google.maps.places.Money`

library `"places"`

A representation of an amount of money with its currency type.

```javascript
const {Money} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `currencyCode` readonly | **Type:** `string` The three-letter currency code, defined in ISO 4217. |
| `nanos` readonly | **Type:** `number` Number of nano (10\^-9) units of the amount. |
| `units` readonly | **Type:** `number` The whole units of the amount. For example, if `Money.currencyCode` is "USD", then 1 unit is 1 US dollar. |

| ### Methods ||
|---|---|
| `toString` | `toString()` **Parameters:** None **Return Value:** `string` Returns a human-readable representation of the amount of money with its currency symbol. |

## [NeighborhoodSummary](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#NeighborhoodSummary)
class


class
`google.maps.places.NeighborhoodSummary`

library `"places"`

AI-generated summary of points of interest near the place.

```javascript
const {NeighborhoodSummary} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `description` readonly | **Type:** `ContentBlock optional` A detailed description of the neighborhood. |
| `disclosureText` readonly | **Type:** `string optional` The text for the disclosure relating to this summary. |
| `disclosureTextLanguageCode` readonly | **Type:** `string optional` The language code of the disclosure text. |
| `flagContentURI` readonly | **Type:** `string optional` A URI to report a problem with the summary. |
| `overview` readonly | **Type:** `ContentBlock optional` An overview of the neighborhood. |

| ### Methods ||
|---|---|

## [OpeningHours](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#OpeningHours)
class


class
`google.maps.places.OpeningHours`

extended by `SecondaryOpeningHours`

library `"places"`

Information about business hours of a Place.

```javascript
const {OpeningHours} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `periods` readonly | **Type:** `Array<OpeningHoursPeriod>` Opening periods covering each day of the week, starting from Sunday, in chronological order. Does not include days where the Place is not open. |
| `specialDays` readonly | **Type:** `Array<Date>` An array of dates representing special days that fall within the current period. Special days impact the business hours of a place, e.g. Christmas day or one off closures. Set for currentOpeningHours and currentSecondaryOpeningHours if there are exceptional hours. |
| `weekdayDescriptions` readonly | **Type:** `Array<string>` An array of seven strings representing the formatted opening hours for each day of the week. The Places Service will format and localize the opening hours appropriately for the current language. The ordering of the elements in this array depends on the language. Some languages start the week on Monday, while others start on Sunday. |

| ### Methods ||
|---|---|

## [OpeningHoursPeriod](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#OpeningHoursPeriod)
class


class
`google.maps.places.OpeningHoursPeriod`

library `"places"`

A period where the Place is open.

```javascript
const {OpeningHoursPeriod} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `close` readonly | **Type:** `OpeningHoursPoint optional` The closing time for the Place. |
| `open` readonly | **Type:** `OpeningHoursPoint` The opening time for the Place. |

| ### Methods ||
|---|---|

## [OpeningHoursPoint](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#OpeningHoursPoint)
class


class
`google.maps.places.OpeningHoursPoint`

library `"places"`

A point where the Place changes its opening status.

```javascript
const {OpeningHoursPoint} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `day` readonly | **Type:** `number` The day of the week, as a number in the range \[0, 6\], starting on Sunday. For example, 2 means Tuesday. |
| `hour` readonly | **Type:** `number` The hour of the OpeningHoursPoint.time as a number, in the range \[0, 23\]. This will be reported in the Place's time zone. |
| `minute` readonly | **Type:** `number` The minute of the OpeningHoursPoint.time as a number, in the range \[0, 59\]. This will be reported in the Place's time zone. |

| ### Methods ||
|---|---|

## [SecondaryOpeningHours](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#SecondaryOpeningHours)
class


class
`google.maps.places.SecondaryOpeningHours`
extends `OpeningHours`

library `"places"`

Information about secondary business hours of a Place.

```javascript
const {SecondaryOpeningHours} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `type` readonly | **Type:** `string optional` The type of secondary opening hours. This refers to what the secondary hours apply to like takeout, delivery, or pickup. See [SecondaryHoursType](https://developers.google.com/maps/documentation/places/web-service/reference/rest/v1/places.md.txt#secondaryhourstype) for a list of valid values. |

| ### Methods ||
|---|---|

## [ParkingOptions](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#ParkingOptions)
class


class
`google.maps.places.ParkingOptions`

library `"places"`

```javascript
const {ParkingOptions} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `hasFreeGarageParking` readonly | **Type:** `boolean optional` Whether a place offers free garage parking. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |
| `hasFreeParkingLot` readonly | **Type:** `boolean optional` Whether a place offers free parking lots. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |
| `hasFreeStreetParking` readonly | **Type:** `boolean optional` Whether a place offers free street parking. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |
| `hasPaidGarageParking` readonly | **Type:** `boolean optional` Whether a place offers paid garage parking. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |
| `hasPaidParkingLot` readonly | **Type:** `boolean optional` Whether a place offers paid parking lots. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |
| `hasPaidStreetParking` readonly | **Type:** `boolean optional` Whether a place offers paid street parking. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |
| `hasValetParking` readonly | **Type:** `boolean optional` Whether a place offers valet parking. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |

## [PaymentOptions](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#PaymentOptions)
class


class
`google.maps.places.PaymentOptions`

library `"places"`

```javascript
const {PaymentOptions} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `acceptsCashOnly` readonly | **Type:** `boolean optional` Whether a place only accepts payment via cash. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |
| `acceptsCreditCards` readonly | **Type:** `boolean optional` Whether a place accepts payment via credit card. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |
| `acceptsDebitCards` readonly | **Type:** `boolean optional` Whether a place accepts payment via debit card. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |
| `acceptsNFC` readonly | **Type:** `boolean optional` Whether a place accepts payment via NFC. Returns 'true' or 'false' if the value is known. Returns 'null' if the value is unknown. |

## [Photo](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#Photo)
class


class
`google.maps.places.Photo`

library `"places"`

Information about a photo of a Place.

```javascript
const {Photo} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `authorAttributions` readonly | **Type:** `Array<AuthorAttribution>` Attribution text to be displayed for this photo. |
| `flagContentURI` readonly | **Type:** `string optional` A link where user can flag a problem with the photo. |
| `googleMapsURI` readonly | **Type:** `string optional` A link to show the photo on Google Maps. |
| `heightPx` readonly | **Type:** `number` The height of the photo in pixels. |
| `widthPx` readonly | **Type:** `number` The width of the photo in pixels. |

| ### Methods ||
|---|---|
| `getURI` | `getURI([options])` **Parameters:** - `options: PhotoOptions optional` **Return Value:** `string` Returns the image URL corresponding to the specified options. |

## [PlusCode](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#PlusCode)
class


class
`google.maps.places.PlusCode`

library `"places"`

Plus code for the Place. See <https://plus.codes/> for more information.

```javascript
const {PlusCode} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `compoundCode` readonly | **Type:** `string optional` A plus code with a 1/8000th of a degree by 1/8000th of a degree area where the first four characters (the area code) are dropped and replaced with a locality description. For example, "9G8F+5W Zurich, Switzerland". |
| `globalCode` readonly | **Type:** `string optional` A plus code with a 1/8000th of a degree by 1/8000th of a degree area. For example, "8FVC9G8F+5W". |

| ### Methods ||
|---|---|

## [PostalAddress](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#PostalAddress)
class


class
`google.maps.places.PostalAddress`
implements `PostalAddressLiteral`

library `"places"`

Represents a postal address (e.g. for a postal service to deliver items to). Note: PostalAddress is used by the JavaScript API to instantiate objects that represent data returned by the Web Service.

```javascript
const {PostalAddress} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `addressLines` readonly | **Type:** `Array<string>` Unstructured address lines describing the lower levels of an address. |
| `administrativeArea` readonly | **Type:** `string optional` The highest administrative subdivision which is used for postal addresses of a country or region. |
| `languageCode` readonly | **Type:** `string optional` BCP-47 language code of the contents of this address. Examples: "zh-Hant", "ja", "ja-Latn", "en". |
| `locality` readonly | **Type:** `string optional` Generally refers to the city/town portion of the address. |
| `organization` readonly | **Type:** `string optional` The name of the organization at the address. |
| `postalCode` readonly | **Type:** `string optional` Postal code of the address. |
| `recipients` readonly | **Type:** `Array<string>` The recipient at the address. |
| `regionCode` readonly | **Type:** `string` CLDR region code of the country/region of the address. Example: "CH" for Switzerland. See <https://cldr.unicode.org/> and <https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html> for details. |
| `sortingCode` readonly | **Type:** `string optional` Sorting code of the address. |
| `sublocality` readonly | **Type:** `string optional` Sublocality of the address such as neighborhoods, boroughs, or districts. |

| ### Methods ||
|---|---|

## [PostalAddressLiteral](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#PostalAddressLiteral)
interface


interface
`google.maps.places.PostalAddressLiteral`

implemented by `PostalAddress`

Data for hydrating a PostalAddress.

| ### Properties ||
|---|---|
| `regionCode` | **Type:** `string` See `PostalAddress.regionCode`. |
| `addressLines` optional | **Type:** `Iterable<string> optional` See `PostalAddress.addressLines`. |
| `administrativeArea` optional | **Type:** `string optional` See `PostalAddress.administrativeArea`. |
| `languageCode` optional | **Type:** `string optional` See `PostalAddress.languageCode`. |
| `locality` optional | **Type:** `string optional` See `PostalAddress.locality`. |
| `organization` optional | **Type:** `string optional` See `PostalAddress.organization`. |
| `postalCode` optional | **Type:** `string optional` See `PostalAddress.postalCode`. |
| `recipients` optional | **Type:** `Iterable<string> optional` See `PostalAddress.recipients`. |
| `sortingCode` optional | **Type:** `string optional` See `PostalAddress.sortingCode`. |
| `sublocality` optional | **Type:** `string optional` See `PostalAddress.sublocality`. |

## [PriceLevel](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#PriceLevel)
constants


constants
`google.maps.places.PriceLevel`

library `"places"`

Price level of the place. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#pricelevel) for more information.

These constants are also usable as strings. In TypeScript, the string literals are defined by the `PriceLevelString` type.

```javascript
const {PriceLevel} = await google.maps.importLibrary("places");
```

| ### Constants ||
|---|---|
| `EXPENSIVE` | Place provides expensive services. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#pricelevel) for more information. |
| `FREE` | Place provides free services. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#pricelevel) for more information. |
| `INEXPENSIVE` | Place provides inexpensive services. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#pricelevel) for more information. |
| `MODERATE` | Place provides moderately priced services. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#pricelevel) for more information. |
| `VERY_EXPENSIVE` | Place provides very expensive services. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#pricelevel) for more information. |

## [PriceRange](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#PriceRange)
class


class
`google.maps.places.PriceRange`

library `"places"`

The price range associated with a Place. `endPrice` could be unset, which indicates a range without upper bound (e.g. "More than $100").

```javascript
const {PriceRange} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `endPrice` readonly | **Type:** `Money optional` The upper end of the price range (inclusive). Price should be lower than this amount. |
| `startPrice` readonly | **Type:** `Money` The low end of the price range (inclusive). Price should be at or above this amount. |

| ### Methods ||
|---|---|

## [Review](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#Review)
class


class
`google.maps.places.Review`

library `"places"`

Information about a review of a Place.

```javascript
const {Review} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `authorAttribution` readonly | **Type:** `AuthorAttribution optional` The reviewer. |
| `flagContentURI` readonly | **Type:** `string optional` A link where user can flag a problem with the review. |
| `googleMapsURI` readonly | **Type:** `string optional` A link to show the review on Google Maps. |
| `originalText` readonly | **Type:** `string optional` The review text in its original language. |
| `originalTextLanguageCode` readonly | **Type:** `string optional` An IETF language code indicating the original language of the review. |
| `publishTime` readonly | **Type:** `Date optional` |
| `rating` readonly | **Type:** `number optional` The rating of this review, a number between 1.0 and 5.0 (inclusive). |
| `relativePublishTimeDescription` readonly | **Type:** `string optional` A string of formatted recent time, expressing the review time relative to the current time in a form appropriate for the language and country. For example \`"a month ago"'. |
| `text` readonly | **Type:** `string optional` The localized text of the review. |
| `textLanguageCode` readonly | **Type:** `string optional` An IETF language code indicating the localized language of the review. |
| `visitDateMonth` readonly | **Type:** `number optional` The month of the date when the review author visited the place. This field is 0-based; 0 is January, and 11 is December. |
| `visitDateYear` readonly | **Type:** `number optional` The year of the date when the review author visited the place. |

| ### Methods ||
|---|---|

## [ReviewSummary](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#ReviewSummary)
class


class
`google.maps.places.ReviewSummary`

library `"places"`

AI-generated summary of the place user reviews.

```javascript
const {ReviewSummary} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `disclosureText` readonly | **Type:** `string optional` The text for the disclosure relating to this summary. |
| `disclosureTextLanguageCode` readonly | **Type:** `string optional` The language code of the disclosure text. |
| `flagContentURI` readonly | **Type:** `string optional` A URI to report a problem with the summary. |
| `reviewsURI` readonly | **Type:** `string optional` A URI to show reviews of this place on Google Maps. |
| `text` readonly | **Type:** `string optional` The summary of user reviews. |
| `textLanguageCode` readonly | **Type:** `string optional` The language code of the summary of user reviews. |

| ### Methods ||
|---|---|

## [SearchByTextRequest](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#SearchByTextRequest)
interface


interface
`google.maps.places.SearchByTextRequest`

Request interface for `Place.searchByText`.

| ### Properties ||
|---|---|
| `fields` | **Type:** `Array<string>` Fields to be included in the response, [which will be billed for](https://developers.google.com/maps/billing/understanding-cost-of-use#places-product). If `['*']` is passed in, all available fields will be returned and billed for (this is not recommended for production deployments). You can request any property in the `Place` class as a field. |
| `evSearchOptions` optional | **Type:** `EVSearchOptions optional` EV-related options that can be specified for a place search request. |
| `futureOpeningBusinessesIncluded` optional | **Type:** `boolean optional` Include places that are not yet open but are expected to open in the future. |
| `includedType` optional | **Type:** `string optional` The requested place type. Full list of types supported: <https://developers.google.com/maps/documentation/places/web-service/place-types>. Only one included type is supported. See `SearchByTextRequest.useStrictTypeFiltering` |
| `internalUsageAttributionIds` optional | **Type:** `Iterable<string> optional` Identifiers used to attribute calls to specific packages or OSS libraries. |
| `isOpenNow` optional | **Type:** `boolean optional` **Default:** `false` Used to restrict the search to places that are currently open. |
| `language` optional | **Type:** `string optional` Place details will be displayed with the preferred language if available. Will default to the browser's language preference. Current list of supported languages: <https://developers.google.com/maps/faq#languagesupport>. |
| `locationBias` optional | **Type:** `LatLng|LatLngLiteral|LatLngBounds|LatLngBoundsLiteral|CircleLiteral|Circle optional` The region to search. This location serves as a bias which means results around given location might be returned. Cannot be set along with locationRestriction. |
| `locationRestriction` optional | **Type:** `LatLngBounds|LatLngBoundsLiteral optional` The region to search. This location serves as a restriction which means results outside given location will not be returned. Cannot be set along with locationBias. |
| `maxResultCount` optional | **Type:** `number optional` Maximum number of results to return. It must be between 1 and 20, inclusively. |
| `minRating` optional | **Type:** `number optional` Filter out results whose average user rating is strictly less than this limit. A valid value must be an float between 0 and 5 (inclusively) at a 0.5 cadence i.e. \[0, 0.5, 1.0, ... , 5.0\] inclusively. The input rating will be rounded up to the nearest 0.5(ceiling). For instance, a rating of 0.6 will eliminate all results with a less than 1.0 rating. |
| `priceLevels` optional | **Type:** `Array<PriceLevel> optional` Used to restrict the search to places that are marked as certain price levels. Any combinations of price levels can be chosen. Defaults to all price levels. |
| `pureServiceAreaBusinessesIncluded` optional | **Type:** `boolean optional` Include pure service area businesses if the field is set to true. A pure service area business is a business that visits or delivers to customers directly but does not serve customers at their business address. For example, businesses like cleaning services or plumbers may not have a physical address or location on Google Maps. Places will not return fields including `location`, `plusCode`, and other location related fields for these businesses. |
| `[query](https://developers.google.com/maps/documentation/javascript/reference/place#SearchByTextRequest.query)` optional | > [!WARNING] > **[Deprecated:](https://developers.google.com/maps/deprecations.md.txt)** Please use textQuery instead **Type:** `string optional` |
| `![Beta](data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M20.21,17.64l-6.15-8.22V5.57h2.57V3H6.35v2.57h2.57v3.86l-6.3,8.4c-0.44,0.6-0.5,1.41-0.15,2.08C2.8,20.58,3.49,21,4.24,21h14.5c1.11,0,2.01-0.9,2.01-2.01C20.75,18.48,20.53,18,20.21,17.64z' fill='%2301579b'/%3E%3C/svg%3E "Beta")[rankBy](https://developers.google.com/maps/documentation/javascript/reference/place#SearchByTextRequest.rankBy)` optional | > [!WARNING] > **[Deprecated:](https://developers.google.com/maps/deprecations.md.txt)** Please use rankPreference instead. > [!WARNING] > **Notice:** Available only in the [v=beta channel](https://developers.google.com/maps/documentation/javascript/versions.md.txt#choosing-the-beta-channel). **Type:** `SearchByTextRankPreference optional` |
| `rankPreference` optional | **Type:** `SearchByTextRankPreference optional` **Default:** `SearchByTextRankPreference.RELEVANCE` How results will be ranked in the response. |
| `region` optional | **Type:** `string optional` The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is used to display the place details, like region-specific place name, if available. The parameter can affect results based on applicable law. For more information, see <https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html>. Note that 3-digit region codes are not currently supported. |
| `textQuery` optional | **Type:** `string optional` Required when you do not use `SearchByTextRequest.query`. The text query for textual search. |
| `useStrictTypeFiltering` optional | **Type:** `boolean optional` **Default:** `false` Used to set strict type filtering for `SearchByTextRequest.includedType`. If set to true, only results of the same type will be returned. |

## [SearchByTextRankPreference](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#SearchByTextRankPreference)
constants


constants
`google.maps.places.SearchByTextRankPreference`

library `"places"`

How results will be ranked in the response. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#rankpreference_1) for more information.

These constants are also usable as strings. In TypeScript, the string literals are defined by the `SearchByTextRankPreferenceString` type.

```javascript
const {SearchByTextRankPreference} = await google.maps.importLibrary("places");
```

| ### Constants ||
|---|---|
| `DISTANCE` | Ranks results by distance. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#rankpreference_1) for more information. |
| `RELEVANCE` | Ranks results by relevance. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#rankpreference_1) for more information. |

## [SearchNearbyRequest](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#SearchNearbyRequest)
interface


interface
`google.maps.places.SearchNearbyRequest`

Request interface for `Place.searchNearby`. For more information on the request, see [Places API reference](https://developers.google.com/maps/documentation/places/web-service/reference/rest/v1/places/searchNearby.md.txt).

| ### Properties ||
|---|---|
| `fields` | **Type:** `Array<string>` Fields to be included in the response, [which will be billed for](https://developers.google.com/maps/billing/understanding-cost-of-use#places-product). If `['*']` is passed in, all available fields will be returned and billed for (this is not recommended for production deployments). You can request any property in the `Place` class as a field. |
| `locationRestriction` | **Type:** `Circle|CircleLiteral` The region to search, specified as a circle with center and radius. Results outside given location are not returned. |
| `excludedPrimaryTypes` optional | **Type:** `Array<string> optional` Excluded primary place types. See the [full list of types supported](https://developers.google.com/maps/documentation/places/web-service/place-types.md.txt). A place can only have a single primary type. Up to 50 types may be specified. If you specify the same type in both `included` and `excluded` lists, an INVALID_ARGUMENT error is returned. |
| `excludedTypes` optional | **Type:** `Array<string> optional` Excluded place types. See the [full list of types supported](https://developers.google.com/maps/documentation/places/web-service/place-types.md.txt). A place can have many different place types. Up to 50 types may be specified. If you specify the same type in both `included` and `excluded` lists, an INVALID_ARGUMENT error is returned. |
| `futureOpeningBusinessesIncluded` optional | **Type:** `boolean optional` Include places that are not yet open but are expected to open in the future. |
| `includedPrimaryTypes` optional | **Type:** `Array<string> optional` Included primary place types. See the [full list of types supported](https://developers.google.com/maps/documentation/places/web-service/place-types.md.txt). A place can only have a single primary type. Up to 50 types may be specified. If you specify the same type in both `included` and `excluded` lists, an INVALID_ARGUMENT error is returned. |
| `includedTypes` optional | **Type:** `Array<string> optional` Included place types. See the [full list of types supported](https://developers.google.com/maps/documentation/places/web-service/place-types.md.txt). A place can have many different place types. Up to 50 types may be specified. If you specify the same type in both `included` and `excluded` lists, an INVALID_ARGUMENT error is returned. |
| `internalUsageAttributionIds` optional | **Type:** `Iterable<string> optional` Identifiers used to attribute calls to specific packages or OSS libraries. |
| `language` optional | **Type:** `string optional` Place details will be displayed with the preferred language if available. Will default to the browser's language preference. Current list of supported languages: <https://developers.google.com/maps/faq#languagesupport>. |
| `maxResultCount` optional | **Type:** `number optional` Maximum number of results to return. For acceptable values and default, see [Places API reference](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#searchnearbyrequest). |
| `rankPreference` optional | **Type:** `SearchNearbyRankPreference optional` **Default:** `SearchNearbyRankPreference.POPULARITY` How results will be ranked in the response. |
| `region` optional | **Type:** `string optional` The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is used to display the place details, like region-specific place name, if available. The parameter can affect results based on applicable law. For more information, see <https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html>. Note that 3-digit region codes are not currently supported. |

## [SearchNearbyRankPreference](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#SearchNearbyRankPreference)
constants


constants
`google.maps.places.SearchNearbyRankPreference`

library `"places"`

How results will be ranked in the response. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#rankpreference) for more information.

These constants are also usable as strings. In TypeScript, the string literals are defined by the `SearchNearbyRankPreferenceString` type.

```javascript
const {SearchNearbyRankPreference} = await google.maps.importLibrary("places");
```

| ### Constants ||
|---|---|
| `DISTANCE` | Ranks results by distance. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#rankpreference) for more information. |
| `POPULARITY` | Ranks results by popularity. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#rankpreference) for more information. |

## [SpatialRelationship](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#SpatialRelationship)
constants


constants
`google.maps.places.SpatialRelationship`

library `"places"`

Defines the spatial relationship between the target location and the landmark. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#spatialrelationship) for more information.

These constants are also usable as strings. In TypeScript, the string literals are defined by the `SpatialRelationshipString` type.

```javascript
const {SpatialRelationship} = await google.maps.importLibrary("places");
```

| ### Constants ||
|---|---|
| `ACROSS_THE_ROAD` | The target is directly opposite the landmark on the other side of the road. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#spatialrelationship) for more information. |
| `AROUND_THE_CORNER` | Not on the same route as the landmark but a single turn away. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#spatialrelationship) for more information. |
| `BEHIND` | Close to the landmark's structure but further away from its street entrances. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#spatialrelationship) for more information. |
| `BESIDE` | The target is directly adjacent to the landmark. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#spatialrelationship) for more information. |
| `DOWN_THE_ROAD` | On the same route as the landmark but not besides or across. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#spatialrelationship) for more information. |
| `NEAR` | This is the default relationship when nothing more specific below applies. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#spatialrelationship) for more information. |
| `WITHIN` | The landmark has a spatial geometry and the target is within its bounds. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#spatialrelationship) for more information. |

## [TimeZone](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#TimeZone)
class


class
`google.maps.places.TimeZone`

library `"places"`

Represents a time zone from the IANA Time Zone Database <https://www.iana.org/time-zones>.

```javascript
const {TimeZone} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `id` readonly | **Type:** `string optional` IANA Time Zone Database time zone. For example "America/New_York". |
| `version` readonly | **Type:** `string optional` IANA Time Zone Database version number. For example "2019a". |

| ### Methods ||
|---|---|

## [TransitAgency](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#TransitAgency)
class


class
`google.maps.places.TransitAgency`

library `"places"`

Represents a transit agency.

```javascript
const {TransitAgency} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `displayName` | **Type:** `string optional` The name of the agency in the requested language. |
| `displayNameLanguageCode` | **Type:** `string optional` The agency name text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see <http://www.unicode.org/reports/tr35/#Unicode_locale_identifier>. |
| `fareURL` | **Type:** `URL optional` The URL of the agency's fare details page. |
| `icon` | **Type:** `TransitIcon optional` A localized branded icon of a transit system. |
| `lines` | **Type:** `Array<TransitLine>` The transit lines that are served by this agency. |
| `url` | **Type:** `URL optional` The URL of the agency's homepage. |

| ### Methods ||
|---|---|

## [TransitIcon](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#TransitIcon)
class


class
`google.maps.places.TransitIcon`

library `"places"`

Represents a transit icon.

```javascript
const {TransitIcon} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `nameIncluded` | **Type:** `boolean optional` Whether the name is contained in the icon and there is no need to display it next to the icon. |
| `url` | **Type:** `URL optional` The URL of the icon. |

| ### Methods ||
|---|---|

## [TransitLine](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#TransitLine)
class


class
`google.maps.places.TransitLine`

library `"places"`

Represents a transit line.

```javascript
const {TransitLine} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `backgroundColor` | **Type:** `string optional` The background color of the labels for this transit line in hexadecimal format (e.g., "#909CE1"). This color can also be used for drawing shapes for this transit line. |
| `displayName` | **Type:** `string optional` The full name of this transit line (e.g., "Sunnydale local"). |
| `displayNameLanguageCode` | **Type:** `string optional` The transit line full name text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see <http://www.unicode.org/reports/tr35/#Unicode_locale_identifier>. |
| `icon` | **Type:** `TransitIcon optional` Icon for this particular line. |
| `id` | **Type:** `string optional` The id of the transit line that can be used to uniquely identify the line among other transit lines in the same transit station. This identifier is not guaranteed to be stable across different responses. |
| `shortDisplayName` | **Type:** `string optional` The short name of this transit line (e.g., "S2"). |
| `shortDisplayNameLanguageCode` | **Type:** `string optional` The transit line short name text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see <http://www.unicode.org/reports/tr35/#Unicode_locale_identifier>. |
| `textColor` | **Type:** `string optional` The text color of labels for this transit line in hexadecimal format (e.g., "#909CE1"). |
| `url` | **Type:** `URL optional` The URL of a webpage with details about this line. |
| `vehicleIcon` | **Type:** `TransitIcon optional` Icon for this particular vehicle type. |
| `vehicleType` | **Type:** `TransitVehicleType optional` The type of vehicle used. |

| ### Methods ||
|---|---|

## [TransitStation](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#TransitStation)
class


class
`google.maps.places.TransitStation`

library `"places"`

Represents transit-specific information for a place.

```javascript
const {TransitStation} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `agencies` | **Type:** `Array<TransitAgency>` The transit agencies that serve this station. |
| `displayName` | **Type:** `string optional` The name of the station in the local language. |
| `displayNameLanguageCode` | **Type:** `string optional` The local display name text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see <http://www.unicode.org/reports/tr35/#Unicode_locale_identifier>. |
| `stops` | **Type:** `Array<TransitStop>` The transit stops at this station. |

| ### Methods ||
|---|---|

## [TransitStop](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#TransitStop)
class


class
`google.maps.places.TransitStop`

library `"places"`

Represents a transit stop.

```javascript
const {TransitStop} = await google.maps.importLibrary("places");
```

| ### Properties ||
|---|---|
| `displayName` | **Type:** `string optional` The name of the stop in the requested language. |
| `displayNameLanguageCode` | **Type:** `string optional` The name of the stop in the requested language's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see <http://www.unicode.org/reports/tr35/#Unicode_locale_identifier>. |
| `hasWheelchairAccessibleEntrance` | **Type:** `boolean optional` This field indicates whether there is an accessible path from outside the station to the stop. It does not indicate whether it is possible to board a vehicle from the stop. |
| `id` | **Type:** `string optional` The id of the transit stop that can be used to uniquely identify the stop among other transit stops in the same transit station. This identifier is not guaranteed to be stable across different responses. |
| `location` | **Type:** `LatLngAltitude optional` The stop's location. |
| `platformCode` | **Type:** `string optional` The platform code represented by this stop. It can be formatted in any way (e.g., "2", "Platform 2", "2-4", or "1x"). |
| `platformCodeLanguageCode` | **Type:** `string optional` The platform code text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see <http://www.unicode.org/reports/tr35/#Unicode_locale_identifier>. |
| `signageText` | **Type:** `string optional` The verbatim text written on the signboard for this platform (e.g., "Towards Central" or "East side \& Brooklyn"). When `platformCode` is absent, this field is potentially the only identifier for the platform. However, both `platformCode` and `signageText` may be set simultaneously. |
| `signageTextLanguageCode` | **Type:** `string optional` The signage text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see <http://www.unicode.org/reports/tr35/#Unicode_locale_identifier>. |
| `stopCode` | **Type:** `string optional` Human readable identifier of the stop, used by transit agencies to distinguish stops with the same name. |
| `stopCodeLanguageCode` | **Type:** `string optional` The stop code text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see <http://www.unicode.org/reports/tr35/#Unicode_locale_identifier>. |

| ### Methods ||
|---|---|

## [TransitVehicleType](https://developers.google.com/maps/documentation/javascript/reference/place.md.txt#TransitVehicleType)
constants


constants
`google.maps.places.TransitVehicleType`

library `"places"`

The type of vehicle for a transit line. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information.

These constants are also usable as strings. In TypeScript, the string literals are defined by the `TransitVehicleTypeString` type.

```javascript
const {TransitVehicleType} = await google.maps.importLibrary("places");
```

| ### Constants ||
|---|---|
| `AIRPLANE` | Airplane. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `BUS` | Bus. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `CABLE_CAR` | Cable car. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `COACH` | Coach. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `COMMUTER_TRAIN` | Commuter train. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `FERRY` | Ferry. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `FUNICULAR` | Funicular. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `GONDOLA_LIFT` | Gondola lift. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `HEAVY_RAIL` | Heavy rail. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `HIGH_SPEED_TRAIN` | High speed train. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `HORSE_CARRIAGE` | Horse carriage. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `INTERCITY_BUS` | Intercity bus. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `LONG_DISTANCE_TRAIN` | Long distance train. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `METRO_RAIL` | Metro rail. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `MONORAIL` | Monorail. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `RAIL` | Rail. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `SHARE_TAXI` | Share taxi. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `SPECIAL` | Special. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `SUBWAY` | Subway. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `TRAM` | Tram. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |
| `TROLLEYBUS` | Trolleybus. See the [web service documentation](https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1.md.txt#vehicletype) for more information. |