Share via


VESearchOptions.CreateResults Property

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 Boolean value that specifies whether VEShape objects are created.

VESearchOptions.CreateResults = value;

Remarks

If CreateResults is set to true, VEShape objects are returned to the callback function. These objects can be used to create pushpins on the map to display search results.

If CreateResults is set to false the following modifications occur in the arguments returned to the callback function:

  • The array of VEFindResult Class objects is still present, but no shape layer is created.

  • Each VEFindResult object's corresponding Shape property is null.