Nativescript Doc
Preparing search index...
The search index is not available
@nativescript-community/ui-carto
@nativescript-community/ui-carto
routing
ValhallaRoutingService
Class ValhallaRoutingService<T, U>
Type Parameters
T
U
extends
ValhallaRoutingServiceOptions
Hierarchy
RoutingService
<
T
,
U
>
ValhallaRoutingService
ValhallaOfflineRoutingService
MultiValhallaOfflineRoutingService
ValhallaOnlineRoutingService
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
Valhalla
Routing
Service
<
T
,
U
>
(
options
?:
U
, native
?:
T
)
:
ValhallaRoutingService
<
T
,
U
>
Type Parameters
T
U
extends
ValhallaRoutingServiceOptions
Parameters
Optional
options:
U
Optional
native:
T
Returns
ValhallaRoutingService
<
T
,
U
>
Properties
during
Init
during
Init
:
boolean
native
native
:
T
options
options
:
U
profile
profile
:
ValhallaProfile
Methods
calculate
Route
calculate
Route
<
T
>
(
options
:
RoutingRequest
<
T
>
, profile
?:
string
)
:
Promise
<
RoutingResult
<
T
>
>
Type Parameters
T =
DefaultLatLonKeys
Parameters
options:
RoutingRequest
<
T
>
Optional
profile:
string
Returns
Promise
<
RoutingResult
<
T
>
>
get
Native
get
Native
(
)
:
T
Returns
T
init
Native
View
init
Native
View
(
native
:
T
, options
:
U
)
:
void
Parameters
native:
T
options:
U
Returns
void
match
Route
match
Route
<
T
>
(
options
:
RouteMatchingRequest
<
DefaultLatLonKeys
>
, profile
?:
string
)
:
Promise
<
RouteMatchingResult
<
T
>
>
Type Parameters
T =
DefaultLatLonKeys
Parameters
options:
RouteMatchingRequest
<
DefaultLatLonKeys
>
Optional
profile:
string
Returns
Promise
<
RouteMatchingResult
<
T
>
>
routing
Result
ToJSON
routing
Result
ToJSON
<
T
>
(
options
:
RoutingResult
<
T
>
)
:
Promise
<
string
>
Type Parameters
T =
DefaultLatLonKeys
Parameters
options:
RoutingResult
<
T
>
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Modules
@nativescript-
community/ui-
carto
core
datasources
datasources/cache
datasources/cartoonline
datasources/http
datasources/maptiler
datasources/mbtiles
datasources/vector
geocoding/service
geometry
geometry/feature
geometry/reader
geometry/simplifier
geometry/writer
index
layers
layers/cluster
layers/raster
layers/vector
packagemanager
projections
projections/epsg3857
projections/epsg4326
rastertiles
routing
search
ui
ui/cssproperties
utils
vectorelements
vectorelements/balloonpopup
vectorelements/group
vectorelements/line
vectorelements/marker
vectorelements/nmlmodel
vectorelements/point
vectorelements/polygon
vectorelements/polygon3d
vectorelements/text
vectortiles
Valhalla
Routing
Service
constructor
during
Init
native
options
profile
calculate
Route
get
Native
init
Native
View
match
Route
routing
Result
ToJSON
Generated using
TypeDoc