VEPlace Class

You are not viewing the latest version of the AJAX control. Bing Maps AJAX V7 is the recommended JavaScript control for Bing Maps. If you need this documentation, it is available in as a CHM or PDF download.

A found result returned from a location search.

Public Properties

Name Description

VEPlace.LatLong Property

Gets a VELatLong Class object that represents the best location of the found result.

VEPlace.Locations Property

An array of VEGeocodeLocation Class objects specifying all of the possible match results returned by the geocoder for this place.

VEPlace.Name Property

Gets the String object that represents the unambiguous name for the Bing Maps location.

VEPlace.MatchCode Property

A VEMatchCode Enumeration value specifying the match code from the geocoder. This property value is only valid for where-only searches.

VEPlace.MatchConfidence Property

A VEMatchConfidence Enumeration value specifying the match confidence from the geocoder. This property value is only valid for where-only searches.

VEPlace.Precision Property

A VELocationPrecision Enumeration value specifying the match precision from the geocoder for the best result, which is found in the VEPlace.LatLong property.

Remarks

If the Precision property value is VELocationPrecision.Interpolated, the VEPlace.LatLong property contains a result found using interpolated geocoding. If the Precision property value is VELocationPrecision.Rooftop, the VEPlace.LatLong property contains a result found using rooftop geocoding.

The VEMap.Find Method returns an array of VEPlace objects in the callback. However, the VEPlace class has no constructor, so it cannot be created independently of a VEMap.Find method call. The VEMap.Find method where parameter accepts a VEPlace object reference.