Nativescript Doc
Preparing search index...
The search index is not available
@nativescript-community/ui-carto
@nativescript-community/ui-carto
routing
OSRMOfflineRoutingService
Class OSRMOfflineRoutingService
Hierarchy (
View Summary
)
RoutingService
<
any
,
OSRMOfflineRoutingServiceOptions
>
OSRMOfflineRoutingService
Index
Constructors
constructor
Properties
during
Init
native
options
Methods
calculate
Route
dispose
get
Native
init
Native
View
routing
Result
ToJSON
Constructors
constructor
new
OSRMOfflineRoutingService
(
options
?:
OSRMOfflineRoutingServiceOptions
,
native
?:
any
,
)
:
OSRMOfflineRoutingService
Parameters
Optional
options
:
OSRMOfflineRoutingServiceOptions
Optional
native
:
any
Returns
OSRMOfflineRoutingService
Properties
during
Init
duringInit
:
boolean
native
native
:
any
options
options
:
OSRMOfflineRoutingServiceOptions
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
()
:
any
Returns
any
init
Native
View
initNativeView
(
native
:
any
,
options
:
OSRMOfflineRoutingServiceOptions
)
:
void
Parameters
native
:
any
options
:
OSRMOfflineRoutingServiceOptions
Returns
void
routing
Result
ToJSON
routingResultToJSON
<
T
=
DefaultLatLonKeys
>
(
options
:
RoutingResult
<
T
>
,
)
:
Promise
<
string
>
Type Parameters
T
=
DefaultLatLonKeys
Parameters
options
:
RoutingResult
<
T
>
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
during
Init
native
options
Methods
calculate
Route
dispose
get
Native
init
Native
View
routing
Result
ToJSON
Nativescript Doc
@nativescript-community/ui-carto
Loading...