Preparing search index...
The search index is not available
Leaflet Routing Machine API
Leaflet Routing Machine API
autocomplete
Function autocomplete
autocomplete
(
element
:
HTMLInputElement
, callback
:
(
(
result
:
GeocodingResult
)
=>
void
|
Promise
<
void
>
)
, options
?:
AutocompleteOptions
)
:
Autocomplete
Parameters
element:
HTMLInputElement
callback:
(
(
result
:
GeocodingResult
)
=>
void
|
Promise
<
void
>
)
(
result
:
GeocodingResult
)
:
void
|
Promise
<
void
>
Parameters
result:
GeocodingResult
Returns
void
|
Promise
<
void
>
Optional
options:
AutocompleteOptions
Returns
Autocomplete
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Modules
Leaflet
Routing
Machine API
<internal>
Autocomplete
Error
Control
Formatter
Geocoder
Element
Itinerary
Builder
Line
Localization
Mapbox
OSRMv1
Plan
Routing
Control
Waypoint
autocomplete
error
Control
formatter
geocoder
Element
itinerary
Builder
line
localization
mapbox
osrmv1
plan
routing
Control
waypoint
Generated using
TypeDoc