Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a single Query Autocomplete prediction.

Hierarchy

  • QueryAutocompletePrediction

Index

Properties

description: string

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

matched_substrings: 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.

place_id?: string

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 google.maps.places.PlacesService.getDetails).

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".

Generated using TypeDoc