Skip to main content

@mapgear/geoapps > SmartList

SmartList class

Provides access to the usage of the Smartlist functionality in GeoApps

Signature:
export declare class SmartList 

Example

An example of the usage:

geoapps.Initialize("<tenantUrl>");

// Initialize the smart list
const smartlist = geoapps.AddSmartList("<smartlistId>");

// Perform a query on the data
smartlist.Query().then((data) => {
console.log(data);
});

Constructors

ConstructorModifiersDescription
(constructor)(httpClient, id)Constructs a new instance of the Smartsearch.

Methods

MethodModifiersDescription
Query(options)Request the autocomplete for the search