Export (0) Print
Expand All

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

Contains additional search options for the VEMap.Search Method.

Constructor

Name Description

VESearchOptions Constructor

Initializes a new instance of the VESearchOptions class.

Public Properties

Name Description

VESearchOptions.BoundingRectangle Property

A VELatLongRectangle Class that defines the area to search. If this property is not specified, the current map view is used. The default value is null.

VESearchOptions.CreateResults Property

A Boolean value that specifies whether VEShape objects are created. The default value is true.

VESearchOptions.FindType Property

A VEFindType Enumeration value that specifies the type of search performed. The only supported value is VEFindType.Businesses.

VESearchOptions.NumberOfResults Property

An integer that defines the number of results to be returned, starting at StartIndex. The default value is 10, the minimum value is 1, and the maximum value is 20.

VESearchOptions.SetBestMapView Property

A Boolean value that specifies whether the map control moves the view to the first location match. The default value is true.

VESearchOptions.ShapeLayer Property

A VEShapeLayer Class object that will contain the VEShape objects created as a result of this search. Optional. If the shape layer is not specified, the pins are added to the base map layer. The default value is null.

VESearchOptions.ShowResults Property

A Boolean value indicating whether the VEShape objects are visible. Optional. The default value is true.

VESearchOptions.StartIndex Property

An integer specifying the beginning index of the results returned. Optional. The default value is 0.

VESearchOptions.UseDefaultDisambiguation Property

A Boolean value indicating whether to show the disambiguation dialog if there is more than one result with high match confidence. The default value is true.

See Also

Show:
© 2014 Microsoft