@nativescript-community/ui-massifmaps
Nativescript Doc
Preparing search index...
routing
RoutingService
Class RoutingService<T, U>
public shape of the accessors this class declares itself
Type Parameters
T
U
extends
RoutingServiceOptions
Hierarchy (
View Summary
)
BaseNative
<
T
,
U
>
Accessors
Omit
<
Methods
,
"calculateRoute"
>
RoutingService
ValhallaRoutingService
PackageManagerRoutingService
SGREOfflineRoutingService
OSRMOfflineRoutingService
Index
Constructors
constructor
Properties
during
Init
native
options
profile
Methods
calculate
Route
dispose
get
Native
get
Profile
init
Native
View
match
Route
routing
Result
To
JSON
set
Profile
Constructors
constructor
new
RoutingService
<
T
,
U
extends
RoutingServiceOptions
>
(
options
?:
U
,
native
?:
T
,
)
:
RoutingService
<
T
,
U
>
Type Parameters
T
U
extends
RoutingServiceOptions
Parameters
Optional
options
:
U
Optional
native
:
T
Returns
RoutingService
<
T
,
U
>
Properties
during
Init
duringInit
:
boolean
native
native
:
T
options
options
:
U
profile
profile
:
string
Methods
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
Native
getNative
()
:
T
Returns
T
get
Profile
getProfile
()
:
string
Returns
string
init
Native
View
initNativeView
(
native
:
T
,
options
:
U
)
:
void
Parameters
native
:
T
options
:
U
Returns
void
match
Route
matchRoute
(
arg0
:
any
)
:
any
Parameters
arg0
:
any
Returns
any
routing
Result
To
JSON
routingResultToJSON
<
T
=
DefaultLatLonKeys
>
(
options
:
RoutingResult
<
T
>
,
)
:
Promise
<
string
>
Type Parameters
T
=
DefaultLatLonKeys
Parameters
options
:
RoutingResult
<
T
>
Returns
Promise
<
string
>
set
Profile
setProfile
(
arg0
:
string
)
:
void
Parameters
arg0
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
during
Init
native
options
profile
Methods
calculate
Route
dispose
get
Native
get
Profile
init
Native
View
match
Route
routing
Result
To
JSON
set
Profile
Nativescript Doc
@nativescript-community/ui-massifmaps
Loading...
public shape of the accessors this class declares itself