GazetteerSource

ol-ishare/ui/gazetteer~ GazetteerSource

Interface for GazetteerSource instances.

Methods

Search for results based on the provided query string, returns a Promise which will resolve to an Array of module:ol-ishare/ui/gazetteer~GazetteerResult objects or an error

Parameters:
Name Type Description
query string

String to search for

Returns:

Promise that resolves to an Array of GazetteerResult objects or an Error

Type
Promise.<Array.<module:ol-ishare/ui/gazetteer~GazetteerResult>>