SuggestionResult Object

Bing
 

Represents the suggestion result from the Autosuggest manager.

NameTypeDescription
addressAddressA structured address object for the result.
bestViewLocationRectA LocationRect that can be used to set the map view over the result.
entityIdstringUnique entity id to be used for searching the entity.
entityTypestringThe type of the result; Address, Place
entitySubTypestringThe sub type of result; Address, RoadBlock, PopulatedPlace, CountryRegion, etc.
subtitlestringA secondary title that provides additional context to the title value of the suggestion.
formattedSuggestionstringA nicely formatted suggestion string for the result based on market.
locationLocationThe coordinate of the result. This value is only returned for place (city, landmarks) results and not for addresses. Street addresses will need to be geocoded to get their location.
titlestringThe display title for the result (i.e. “Redmond”).
Show: