Nativescript Doc
Preparing search index...
The search index is not available
@nativescript-community/ui-carto
@nativescript-community/ui-carto
routing
RoutingService
Class RoutingService<T, U>
Type Parameters
T
U
extends
RoutingServiceOptions
Hierarchy (
view full
)
BaseNative
<
T
,
U
>
RoutingService
PackageManagerRoutingService
ValhallaOfflineRoutingService
ValhallaOnlineRoutingService
PackageManagerValhallaRoutingService
SGREOfflineRoutingService
CartoOnlineRoutingService
OSRMOfflineRoutingService
Index
Constructors
constructor
Properties
during
Init
native
options
Methods
calculate
Route
get
Native
init
Native
View
routing
Result
ToJSON
Constructors
constructor
new
Routing
Service
<
T
,
U
>
(
options
?
,
native
?
)
:
RoutingService
<
T
,
U
>
Type Parameters
T
U
extends
RoutingServiceOptions
Parameters
Optional
options
:
U
Optional
native
:
T
Returns
RoutingService
<
T
,
U
>
Properties
during
Init
during
Init
:
boolean
native
native
:
T
options
options
:
U
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
(
)
:
T
Returns
T
init
Native
View
init
Native
View
(
native
,
options
)
:
void
Parameters
native
:
T
options
:
U
Returns
void
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
calculate
Route
get
Native
init
Native
View
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