@nativescript-community/ui-massifmaps
Nativescript Doc
Preparing search index...
routing
SGREOfflineRoutingService
Class SGREOfflineRoutingService
public shape of the accessors this class declares itself
Hierarchy (
View Summary
)
RoutingService
<
any
,
SGREOfflineRoutingServiceOptions
>
Accessors
Methods
Omit
<
Accessors
,
"profile"
>
Omit
<
Methods
,
"calculateRoute"
|
"getProfile"
|
"matchRoute"
|
"setProfile"
>
SGREOfflineRoutingService
Index
Constructors
constructor
Properties
during
Init
native
options
profile
Methods
calculate
Route
dispose
get
Native
get
Profile
get
Routing
Parameter
init
Native
View
match
Route
routing
Result
To
JSON
set
Profile
set
Routing
Parameter
Constructors
constructor
new
SGREOfflineRoutingService
(
options
?:
SGREOfflineRoutingServiceOptions
,
native
?:
any
,
)
:
SGREOfflineRoutingService
Parameters
Optional
options
:
SGREOfflineRoutingServiceOptions
Optional
native
:
any
Returns
SGREOfflineRoutingService
Properties
during
Init
duringInit
:
boolean
native
native
:
any
options
options
:
SGREOfflineRoutingServiceOptions
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
()
:
any
Returns
any
get
Profile
getProfile
()
:
string
Returns
string
get
Routing
Parameter
getRoutingParameter
(
arg0
:
string
)
:
number
Parameters
arg0
:
string
Returns
number
init
Native
View
initNativeView
(
native
:
any
,
options
:
SGREOfflineRoutingServiceOptions
)
:
void
Parameters
native
:
any
options
:
SGREOfflineRoutingServiceOptions
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
set
Routing
Parameter
setRoutingParameter
(
arg0
:
string
,
arg1
:
number
)
:
void
Parameters
arg0
:
string
arg1
:
number
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
get
Routing
Parameter
init
Native
View
match
Route
routing
Result
To
JSON
set
Profile
set
Routing
Parameter
Nativescript Doc
@nativescript-community/ui-massifmaps
Loading...
public shape of the accessors this class declares itself