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 |
---|---|
Initializes a new instance of the VESearchOptions class. |
Public Properties
Name | Description |
---|---|
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. |
|
A Boolean value that specifies whether VEShape objects are created. The default value is true. |
|
A VEFindType Enumeration value that specifies the type of search performed. The only supported value is VEFindType.Businesses. |
|
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. |
|
A Boolean value that specifies whether the map control moves the view to the first location match. The default value is true. |
|
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. |
|
A Boolean value indicating whether the VEShape objects are visible. Optional. The default value is true. |
|
An integer specifying the beginning index of the results returned. Optional. The default value is 0. |
|
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. |