Package com.mapfactor.sdk.routing
Interface RoadCategoryParams
public interface RoadCategoryParams
Road category parameters for a specific vehicle
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionint
Speed in km/h on roads of this category outside townsint
Speed in km/h on roads of this category within townsboolean
isClosed()
The road category is/is not used for route computation
-
Method Details
-
isClosed
boolean isClosed()The road category is/is not used for route computation- Returns:
- true/false to use/not use the roads of this category
- Since:
- 1.0
-
getSpeedExtraUrban
int getSpeedExtraUrban()Speed in km/h on roads of this category outside towns- Returns:
- speed outside towns
- Since:
- 1.0
-
getSpeedUrban
int getSpeedUrban()Speed in km/h on roads of this category within towns- Returns:
- speed in towns
- Since:
- 1.0
-