mapp.ui.gazetteer()

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

Methods

(inner) gazetteer(gazetteer) → {Object}

Creates a gazetteer component.

Parameters:
NameTypeDescription
gazetteerObject

The gazetteer configuration object.

Properties
NameTypeAttributesDescription
targetHTMLElement

The target element to append the gazetteer to.

placeholderstring

The placeholder text for the search input.

providerstring<optional>

The external gazetteer provider to use for searching.

Returns:

The gazetteer object.

Type: 
Object