Class: SearchItemsList

Cadcorp.UI.SearchItemsList

new SearchItemsList(optionsopt)

List of results from spatial queries
Parameters:
Name Type Attributes Description
options Object <optional>
The options used to configure this object

Methods

add(list) → {number}

Adds a results set from GeognoSIS to the list
Parameters:
Name Type Description
list Object The results to be added
Returns:
The identifier for the added result
Type
number

getItems(collectionId) → {Object|boolean}

Retreives a previously added result set
Parameters:
Name Type Description
collectionId number The identifier for the results to be returned
Returns:
The found results or false if not found
Type
Object | boolean