Class RouteAlertUtils
-
- All Implemented Interfaces:
public final class RouteAlertUtils
-
-
Method Summary
Modifier and Type Method Description final static LineStringtoLineString(RouteAlertGeometry $self, DirectionsRoute directionsRoute, @IntRange(from = 5, to = 6) Integer precision)Returns a LineString geometry of the alert. final static LineStringtoLineString(RouteAlertGeometry $self, LineString routeLineString)Returns a LineString geometry of the alert.
-
-
-
Method Detail
-
toLineString
final static LineString toLineString(RouteAlertGeometry $self, DirectionsRoute directionsRoute, @IntRange(from = 5, to = 6) Integer precision)
Returns a LineString geometry of the alert.
- Parameters:
directionsRoute- the original route that this alert is a part of.precision- precision of the polyline encoding.
-
toLineString
final static LineString toLineString(RouteAlertGeometry $self, LineString routeLineString)
Returns a LineString geometry of the alert.
- Parameters:
routeLineString- line-string of the original route that this alert is a part of.
-
-