ui/gazetteer

Module to export the gazetteer UI element functions used in mapp.

Requires

Methods

(inner) gazetteer(gazetteer) → {Object}

Parameters:
NameTypeDescription
gazetteerObject

The gazetteer configuration object.

Properties
NameTypeAttributesDescription
gazetteer.targetHTMLElement

The target element to append the gazetteer to.

gazetteer.placeholderstring

The placeholder text for the search input.

gazetteer.providerstring<optional>

The external gazetteer provider to use for searching.

Returns:

The gazetteer object.

Type: 
Object