Constructor
new Gazetteer(opt_options)
Autocomplete Gazetteer search
Parameters:
| Name | Type | Description |
|---|---|---|
opt_options |
module:ol-ishare/ui/gazetteer~GazetteerOptions | Gazetteer options |
Standalone auto-complete search
If any of the placeholder, noResults, queryTooShort, selectedOption,
resultsDescription or assistiveHint options are unset, the iShare server
version is >= v6.0.9, your langauge file contains matching properties under
oli.gazetteer and the lang UI text lookup is available when this control
is created then the entries from the language file will be used. Otherwise
the default English values will be used. The lang lookup can be loaded by
calling ol-ishare/lang~getLang(iShareUrl) which returns a Promise that
resolves to the lang lookup object.
Autocomplete Gazetteer search
| Name | Type | Description |
|---|---|---|
opt_options |
module:ol-ishare/ui/gazetteer~GazetteerOptions | Gazetteer options |