Nativescript Doc
Preparing search index...
The search index is not available
@nativescript-community/ui-carto
@nativescript-community/ui-carto
routing
PackageManagerValhallaRoutingService
Class PackageManagerValhallaRoutingService
Hierarchy
ValhallaRoutingService
<
any
,
PackageManagerValhallaRoutingServiceOptions
>
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
Package
Manager
Valhalla
Routing
Service
(
options
?:
PackageManagerValhallaRoutingServiceOptions
, native
?:
any
)
:
PackageManagerValhallaRoutingService
Parameters
Optional
options:
PackageManagerValhallaRoutingServiceOptions
Optional
native:
any
Returns
PackageManagerValhallaRoutingService
Properties
during
Init
during
Init
:
boolean
native
native
:
any
options
options
:
PackageManagerValhallaRoutingServiceOptions
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
(
)
:
any
Returns
any
init
Native
View
init
Native
View
(
native
:
any
, options
:
PackageManagerValhallaRoutingServiceOptions
)
:
void
Parameters
native:
any
options:
PackageManagerValhallaRoutingServiceOptions
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
Package
Manager
Valhalla
Routing
Service
constructor
during
Init
native
options
profile
calculate
Route
get
Native
init
Native
View
match
Route
routing
Result
ToJSON
Generated using
TypeDoc