Nativescript Doc
Preparing search index...
The search index is not available
@nativescript-community/ui-carto
@nativescript-community/ui-carto
routing
PackageManagerValhallaRoutingService
Class PackageManagerValhallaRoutingService
Hierarchy (
view full
)
RoutingService
<
any
,
PackageManagerValhallaRoutingServiceOptions
>
PackageManagerValhallaRoutingService
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
Package
Manager
Valhalla
Routing
Service
(
options
?
,
native
?
)
:
PackageManagerValhallaRoutingService
Parameters
Optional
options
:
PackageManagerValhallaRoutingServiceOptions
Optional
native
:
any
Returns
PackageManagerValhallaRoutingService
Properties
during
Init
during
Init
:
boolean
native
native
:
any
options
options
:
PackageManagerValhallaRoutingServiceOptions
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
:
PackageManagerValhallaRoutingServiceOptions
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