Documentation
Preparing search index...
@locatienet/api-client
Api
Variable Api
Const
Api
:
{
apikey
:
any
;
calculateRoute
:
(
locations
?:
Location
[]
,
options
?:
RouteOptions
,
)
=>
Promise
<
RouteInfoFeatureResult
>
;
calculateRouteInfo
:
(
locations
?:
Location
[]
,
options
?:
RouteOptions
,
)
=>
Promise
<
RouteInfoFeatureResult
>
;
countries
:
()
=>
Promise
<
Country
[]
>
;
locateByAddress
:
(
address
:
Address
,
options
?:
LocateOptions
,
)
=>
Promise
<
LocateFeatureResult
[]
>
;
locateByPosition
:
(
position
:
Coordinate
|
Position
,
options
?:
LocateOptions
,
)
=>
Promise
<
LocateFeatureResult
[]
>
;
locateByText
:
(
query
:
string
,
country
?:
string
,
options
?:
LocateOptions
,
)
=>
Promise
<
LocateFeatureResult
[]
>
;
}
= ...
Type Declaration
apikey
:
any
calculateRoute
:
(
locations
?:
Location
[]
,
options
?:
RouteOptions
,
)
=>
Promise
<
RouteInfoFeatureResult
>
calculateRouteInfo
:
(
locations
?:
Location
[]
,
options
?:
RouteOptions
,
)
=>
Promise
<
RouteInfoFeatureResult
>
countries
:
()
=>
Promise
<
Country
[]
>
locateByAddress
:
(
address
:
Address
,
options
?:
LocateOptions
)
=>
Promise
<
LocateFeatureResult
[]
>
locateByPosition
:
(
position
:
Coordinate
|
Position
,
options
?:
LocateOptions
,
)
=>
Promise
<
LocateFeatureResult
[]
>
locateByText
:
(
query
:
string
,
country
?:
string
,
options
?:
LocateOptions
,
)
=>
Promise
<
LocateFeatureResult
[]
>
Search for locations using a free-form text input.
Param: query
input
Param: country
Param: options
Returns
{Promise<Array
>}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Search for locations using a free-form text input.