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