Constructor
(abstract) new GeoAutocomplete(context, options)
Parameters:
| Name |
Type |
Description |
context |
bemap.Context
|
BeMap-JS-API Context. Mandatory. |
options |
object
|
see below the available values. |
- Source:
Methods
Parameters:
| Name |
Type |
Attributes |
Description |
request |
bemap.AutocompleteGeocodingRequest
|
Object
|
|
When a typed request is passed, a Promise is returned.
Any other shape falls through to the legacy callback implementation. |
options |
Object
|
function
|
<optional>
|
|
- Source:
Returns:
-
Type
-
Promise.<bemap.AutocompleteGeocodingResponse>
|
undefined
autocomplete(options, listener)
Autocomplete is sending only when user stop taping text in input and after option.timer time
Parameters:
| Name |
Type |
Description |
options |
|
see below |
listener |
|
return by function, list of autocomplete results |
- Source:
showList(inp, arr)
This methode was found on the net to prevent charging jQuery UI lib with nice autocomplete functionality
Parameters:
| Name |
Type |
Description |
inp |
|
id of input field |
arr |
|
result of geocoding already filtred |
- Source: