java.lang.Object | |
↳ | com.carto.routing.RoutingService |
![]() |
An abstract base class for routing services (either online or offline).
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Calculates routing result (path) based on routing request.
request | The routing request defining via points. |
---|
Exception | If IO error occured during the route calculation. |
---|---|
IOException |
Returns the current routing profile.
Matches specified points to the points on the road network.
request | The matching request defining points. |
---|
Exception | If IO error occured during the route matching. |
---|---|
IOException |
Sets the current routing profile.
profile | The new routing profile. Routing profiles are dependent on specific routing service. |
---|