Class RouteAlertUtils

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static LineString toLineString(RouteAlertGeometry $self, DirectionsRoute directionsRoute, @IntRange(from = 5, to = 6) Integer precision) Returns a LineString geometry of the alert.
      final static LineString toLineString(RouteAlertGeometry $self, LineString routeLineString) Returns a LineString geometry of the alert.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.