Class: IndexBinder

vef.map.importer.binder.IndexBinder()

IndexBinder for loading layer-metadata from the search index.

Constructor

new IndexBinder()

Author:
Source:

Methods

(async) fetchLayers(params) → {Promise}

Get layers from the catalog queried by the given options
Parameters:
Name Type Description
params Array.<Object>
Source:
Returns:
promise returns an array of layers
Type
Promise

(async) fetchLayersByIds(ids) → {Promise}

Get layers from the catalog queried by the given options
Parameters:
Name Type Description
ids Array.<string> any amount of ids
Source:
Returns:
promise returns an array of layers in the index format
Type
Promise