# Class: GeoAutocomplete

## (abstract) bemap.GeoAutocomplete(context, options)

Base class for GeoAutocomplete.

## 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:
  - bemap-services/bemap-geoAutocomplete.js, line 14

### Methods

#### 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:
  - bemap-services/bemap-geoAutocomplete.js, line 31

#### 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:
  - bemap-services/bemap-geoAutocomplete.js, line 140