Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 1.55 KB

File metadata and controls

38 lines (20 loc) · 1.55 KB

See html formatted version

QueryAutocompletePrediction interface

google.maps.places.QueryAutocompletePrediction interface

Represents a single Query Autocomplete prediction.

Library

places

Properties

undefined

Type:  string

This is the unformatted version of the query suggested by the Places service.

undefined

Type:  Array<PredictionSubstring>

A set of substrings in the place's description that match elements in the user's input, suitable for use in highlighting those substrings. Each substring is identified by an offset and a length, expressed in unicode characters.

undefined

Type:  string optional

Only available if prediction is a place. A place ID that can be used to retrieve details about this place using the place details service (see PlacesService.getDetails).

undefined

Type:  Array<PredictionTerm>

Information about individual terms in the above description. Categorical terms come first (for example, "restaurant"). Address terms appear from most to least specific. For example, "San Francisco", and "CA".