Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 1.32 KB

StructuredFormatting.md

File metadata and controls

32 lines (17 loc) · 1.32 KB

See html formatted version

StructuredFormatting interface

google.maps.places.StructuredFormatting interface

Contains structured information about the place's description, divided into a main text and a secondary text, including an array of matched substrings from the autocomplete input, identified by an offset and a length, expressed in unicode characters.

Library

places

Properties

undefined

Type:  string

This is the main text part of the unformatted description of the place suggested by the Places service. Usually the name of the place.

undefined

Type:  Array<PredictionSubstring>

A set of substrings in the main text 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

This is the secondary text part of the unformatted description of the place suggested by the Places service. Usually the location of the place.