java.lang.Object | ||
↳ | com.carto.routing.RoutingService | |
↳ | com.carto.routing.PackageManagerValhallaRoutingService |
A routing service that uses routing packages from package manager.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PackageManagerValhallaRoutingService(PackageManager packageManager)
Constructs a new instance of the PackageManagerValhallaRoutingService given package manager instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RoutingResult |
calculateRoute(RoutingRequest request)
Calculates routing result (path) based on routing request.
| ||||||||||
synchronized void | delete() | ||||||||||
Variant |
getConfigurationParameter(String param)
Returns the value of specified Valhalla configuration parameter.
| ||||||||||
String |
getProfile()
Returns the current routing profile.
| ||||||||||
RouteMatchingResult |
matchRoute(RouteMatchingRequest request)
Matches specified points to the points on the road network.
| ||||||||||
void |
setConfigurationParameter(String param, Variant value)
Sets the value of specified Valhalla configuration parameter.
| ||||||||||
void |
setProfile(String profile)
Sets the current routing profile.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructs a new instance of the PackageManagerValhallaRoutingService given package manager instance.
packageManager | The package manager instance to use. |
---|
Calculates routing result (path) based on routing request.
request | The routing request defining via points. |
---|
IOException |
---|
Returns the value of specified Valhalla configuration parameter.
param | The name of the parameter. For example, "meili.auto.search_radius". |
---|
Returns the current routing profile.
Matches specified points to the points on the road network.
request | The matching request defining points. |
---|
IOException |
---|
Sets the value of specified Valhalla configuration parameter.
param | The name of the parameter. For example, "meili.auto.search_radius". |
---|---|
value | The new value of the parameter. |
Sets the current routing profile.
profile | The new routing profile. Routing profiles are dependent on specific routing service. |
---|