-
public class PointRteAction.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static PointRteAction.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final PointRteActiongetActionById(Integer id)Get action defined by it's ID. final PointRteActiongetActionByText(String text)Get turn instruction from text representation. final PointRteActiongetActionRoundabout(Integer exitNo)Get aciton for roundabouts, defined by number of exit. final PointRteActiongetActionByAngle(Float angle)Get angle for certain angle. -
-
Method Detail
-
getActionById
final PointRteAction getActionById(Integer id)
Get action defined by it's ID.
- Parameters:
id- ID of required action
-
getActionByText
final PointRteAction getActionByText(String text)
Get turn instruction from text representation.
- Parameters:
text- text to analyze
-
getActionRoundabout
final PointRteAction getActionRoundabout(Integer exitNo)
Get aciton for roundabouts, defined by number of exit.
- Parameters:
exitNo- exit no.
-
getActionByAngle
final PointRteAction getActionByAngle(Float angle)
Get angle for certain angle.
- Parameters:
angle- computed angle
-
-
-
-