Nativescript Doc
Preparing search index...
The search index is not available
@nativescript-community/ui-carto
@nativescript-community/ui-carto
routing
ValhallaOnlineRoutingService
Class ValhallaOnlineRoutingService
Hierarchy (
view full
)
RoutingService
<
any
,
ValhallaOnlineRoutingServiceOptions
>
ValhallaOnlineRoutingService
Index
Constructors
constructor
Properties
during
Init
native
options
profile
Methods
calculate
Route
get
Native
init
Native
View
match
Route
routing
Result
ToJSON
Constructors
constructor
new
Valhalla
Online
Routing
Service
(
options
?
,
native
?
)
:
ValhallaOnlineRoutingService
Parameters
Optional
options
:
ValhallaOnlineRoutingServiceOptions
Optional
native
:
any
Returns
ValhallaOnlineRoutingService
Properties
during
Init
during
Init
:
boolean
native
native
:
any
options
options
:
ValhallaOnlineRoutingServiceOptions
profile
profile
:
ValhallaProfile
Methods
calculate
Route
calculate
Route
<
T
,
U
>
(
options
,
profile
?
,
jsonStr
?
)
:
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
>
>
get
Native
get
Native
(
)
:
any
Returns
any
init
Native
View
init
Native
View
(
native
,
options
)
:
void
Parameters
native
:
any
options
:
ValhallaOnlineRoutingServiceOptions
Returns
void
match
Route
match
Route
<
T
>
(
options
,
profile
?
)
:
Promise
<
RouteMatchingResult
<
T
>
>
Type Parameters
T
=
DefaultLatLonKeys
Parameters
options
:
RouteMatchingRequest
<
DefaultLatLonKeys
>
Optional
profile
:
ValhallaProfile
Returns
Promise
<
RouteMatchingResult
<
T
>
>
routing
Result
ToJSON
routing
Result
ToJSON
<
T
>
(
options
)
:
Promise
<
string
>
Type Parameters
T
=
DefaultLatLonKeys
Parameters
options
:
RoutingResult
<
T
>
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
during
Init
native
options
profile
calculate
Route
get
Native
init
Native
View
match
Route
routing
Result
ToJSON
@nativescript-community/ui-carto
core
datasources
geocoding/service
geometry
index
layers
packagemanager
projections
rastertiles
routing
search
ui
utils
vectorelements
vectortiles
Generated using
TypeDoc