@nativescript-community/ui-carto
Nativescript Doc
Preparing search index...
routing
ValhallaOnlineRoutingService
Class ValhallaOnlineRoutingService
Hierarchy (
View Summary
)
ValhallaRoutingService
<
any
,
ValhallaOnlineRoutingServiceOptions
>
ValhallaOnlineRoutingService
Index
Constructors
constructor
Properties
custom
Service
URL
during
Init
http
Headers?
native
options
profile
timeout?
Methods
add
Locale
calculate
Route
dispose
get
Configuration
Parameter
get
Native
init
Native
View
match
Route
routing
Result
To
JSON
set
Configuration
Parameter
Constructors
constructor
new
ValhallaOnlineRoutingService
(
options
?:
ValhallaOnlineRoutingServiceOptions
,
native
?:
any
,
)
:
ValhallaOnlineRoutingService
Parameters
Optional
options
:
ValhallaOnlineRoutingServiceOptions
Optional
native
:
any
Returns
ValhallaOnlineRoutingService
Properties
custom
Service
URL
customServiceURL
:
string
during
Init
duringInit
:
boolean
Optional
http
Headers
httpHeaders
?:
{
[
k
:
string
]:
string
}
native
native
:
any
options
options
:
ValhallaOnlineRoutingServiceOptions
profile
profile
:
ValhallaProfile
Optional
timeout
timeout
?:
number
Methods
add
Locale
addLocale
(
key
:
string
,
json
:
string
)
:
any
Parameters
key
:
string
json
:
string
Returns
any
calculate
Route
calculateRoute
<
T
=
DefaultLatLonKeys
,
U
extends
boolean
=
false
>
(
options
:
RoutingRequest
<
T
>
,
profile
?:
string
,
jsonStr
?:
U
,
)
:
Promise
<
U
extends
true
?
String
:
RoutingResult
<
T
>
>
Type Parameters
T
=
DefaultLatLonKeys
U
extends
boolean
=
false
Parameters
options
:
RoutingRequest
<
T
>
Optional
profile
:
string
Optional
jsonStr
:
U
Returns
Promise
<
U
extends
true
?
String
:
RoutingResult
<
T
>
>
dispose
dispose
()
:
any
Returns
any
get
Configuration
Parameter
getConfigurationParameter
(
param
:
string
)
:
any
Parameters
param
:
string
Returns
any
get
Native
getNative
()
:
any
Returns
any
init
Native
View
initNativeView
(
native
:
any
,
options
:
ValhallaOnlineRoutingServiceOptions
)
:
void
Parameters
native
:
any
options
:
ValhallaOnlineRoutingServiceOptions
Returns
void
match
Route
matchRoute
<
T
=
DefaultLatLonKeys
>
(
options
:
RouteMatchingRequest
,
profile
?:
string
,
)
:
Promise
<
RouteMatchingResult
<
T
>
>
Type Parameters
T
=
DefaultLatLonKeys
Parameters
options
:
RouteMatchingRequest
Optional
profile
:
string
Returns
Promise
<
RouteMatchingResult
<
T
>
>
routing
Result
To
JSON
routingResultToJSON
<
T
=
DefaultLatLonKeys
>
(
options
:
RoutingResult
<
T
>
,
)
:
Promise
<
string
>
Type Parameters
T
=
DefaultLatLonKeys
Parameters
options
:
RoutingResult
<
T
>
Returns
Promise
<
string
>
set
Configuration
Parameter
setConfigurationParameter
(
param
:
string
,
value
:
any
)
:
any
Parameters
param
:
string
value
:
any
Returns
any
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
custom
Service
URL
during
Init
http
Headers
native
options
profile
timeout
Methods
add
Locale
calculate
Route
dispose
get
Configuration
Parameter
get
Native
init
Native
View
match
Route
routing
Result
To
JSON
set
Configuration
Parameter
Nativescript Doc
@nativescript-community/ui-carto
Loading...