Nativescript Doc
Preparing search index...
The search index is not available
@nativescript-community/ui-carto
@nativescript-community/ui-carto
routing
MultiValhallaOfflineRoutingService
Class MultiValhallaOfflineRoutingService
Hierarchy (
View Summary
)
ValhallaRoutingService
<
any
,
MultiValhallaOfflineRoutingServiceOptions
>
MultiValhallaOfflineRoutingService
Index
Constructors
constructor
Properties
during
Init
native
options
profile
Methods
add
calculate
Route
dispose
get
Configuration
Parameter
get
Native
init
Native
View
match
Route
remove
routing
Result
ToJSON
set
Configuration
Parameter
Constructors
constructor
new
MultiValhallaOfflineRoutingService
(
options
?:
MultiValhallaOfflineRoutingServiceOptions
,
native
?:
any
,
)
:
MultiValhallaOfflineRoutingService
Parameters
Optional
options
:
MultiValhallaOfflineRoutingServiceOptions
Optional
native
:
any
Returns
MultiValhallaOfflineRoutingService
Properties
during
Init
duringInit
:
boolean
native
native
:
any
options
options
:
MultiValhallaOfflineRoutingServiceOptions
profile
profile
:
ValhallaProfile
Methods
add
add
(
database
:
string
)
:
any
Parameters
database
:
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
:
MultiValhallaOfflineRoutingServiceOptions
,
)
:
void
Parameters
native
:
any
options
:
MultiValhallaOfflineRoutingServiceOptions
Returns
void
match
Route
matchRoute
<
T
=
DefaultLatLonKeys
>
(
options
:
RouteMatchingRequest
<
DefaultLatLonKeys
>
,
profile
?:
string
,
)
:
Promise
<
RouteMatchingResult
<
T
>
>
Type Parameters
T
=
DefaultLatLonKeys
Parameters
options
:
RouteMatchingRequest
<
DefaultLatLonKeys
>
Optional
profile
:
string
Returns
Promise
<
RouteMatchingResult
<
T
>
>
remove
remove
(
database
:
string
)
:
any
Parameters
database
:
string
Returns
any
routing
Result
ToJSON
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
during
Init
native
options
profile
Methods
add
calculate
Route
dispose
get
Configuration
Parameter
get
Native
init
Native
View
match
Route
remove
routing
Result
ToJSON
set
Configuration
Parameter
Nativescript Doc
@nativescript-community/ui-carto
Loading...