Skip to content

Latest commit

 

History

History
44 lines (23 loc) · 1.99 KB

TextSearchRequest.md

File metadata and controls

44 lines (23 loc) · 1.99 KB

See html formatted version

TextSearchRequest interface

google.maps.places.TextSearchRequest interface

A text search request to be sent to the PlacesService.

Library

places

Properties

undefined

Type:  LatLngBounds|LatLngBoundsLiteral optional

Bounds used to bias results when searching for Places (optional). Both location and radius will be ignored if bounds is set. Results will not be restricted to those inside these bounds; but, results inside it will rank higher.

undefined

Type:  LatLng|LatLngLiteral optional

The center of the area used to bias results when searching for Places.

undefined

Type:  string optional

The request's query term. For example, the name of a place ('Eiffel Tower'), a category followed by the name of a location ('pizza in New York'), or the name of a place followed by a location disambiguator ('Starbucks in Sydney').

undefined

Type:  number optional

The radius of the area used to bias results when searching for Places, in meters.

undefined

Type:  string optional

Searches for places of the given type. The type is translated to the local language of the request's target location and used as a query string. If a query is also provided, it is concatenated to the localized type string. Results of a different type are dropped from the response. Use this field to perform language and region independent categorical searches. Valid types are given here.