| java.lang.Object | ||
| ↳ | com.carto.routing.RoutingService | |
| ↳ | com.carto.routing.PackageManagerRoutingService | |
A routing service that uses routing packages from package manager.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
PackageManagerRoutingService(PackageManager packageManager)
Constructs a new instance of the PackageManagerRoutingService given package manager instance.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| RoutingResult |
calculateRoute(RoutingRequest request)
Calculates routing result (path) based on routing request.
| ||||||||||
| synchronized void | delete() | ||||||||||
| String |
getProfile()
Returns the current routing profile.
| ||||||||||
| RouteMatchingResult |
matchRoute(RouteMatchingRequest request)
Matches specified points to the points on the road network.
| ||||||||||
| void |
setProfile(String profile)
Sets the current routing profile.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.carto.routing.RoutingService
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs a new instance of the PackageManagerRoutingService 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 current routing profile.
Matches specified points to the points on the road network.
| request | The matching request defining points. |
|---|
| IOException |
|---|
Sets the current routing profile.
| profile | The new routing profile. Routing profiles are dependent on specific routing service. |
|---|