PlaceResult Object

Bing
 

Represents a place result in the Search module.

NameTypeDescription
addressAddressA structured address object.
bestViewLocationRectThe location rectangle that defines the boundaries of the best map view of the place result.
entityTypestringThe classification of the geographic entity returned, such as PopulatedPlace.
locationLocationThe geocoded location of the best result.
locationsGeocodeLocation[]The geocoded locations.
matchCodeMatchCodeThe match code of the best result. The possible values are:

  • Good: The location has only one match or all returned matches are considered strong matches. For example, a query for New York returns several Good matches.
  • Ambiguous: The location is one of a set of possible matches. For example, when you query for the street address 128 Main St., the response may return two locations for 128 North Main St. and 128 South Main St. because there is not enough information to determine which option to choose.
  • UpHierarchy: The location represents a move up the geographic hierarchy. This occurs when a match for the location request was not found, so a less precise result is returned. For example, if a match for the requested address cannot be found, then a match code of UpHierarchy with a RoadBlock entity type may be returned.
matchConfidenceMatchConfidenceThe match confidence of the best result. The possible values are:

  • High
  • Medium
  • Low

For more information on this property, see the documentation on the Bing Maps REST Location Data object.
namestringThe name of the place result, if one exists.
Show: