Class GLRouteBuilder


  • @ParametersAreNonnullByDefault
    public class GLRouteBuilder
    extends globus.glmap.GLNativeObject
    GLRouteBuilder used construct custom routes.
    • Constructor Summary

      Constructors 
      Constructor Description
      GLRouteBuilder()
      Default constructor
    • Method Summary

      Modifier and Type Method Description
      void addManeuver​(int type, globus.glmap.MapPoint[] points, float[] heights)  
      GLRoute build()  
      void setLanguage​(java.lang.String language)  
      void setManeuverPostInstruction​(java.lang.String postInstruction)  
      void setManeuverPreInstruction​(java.lang.String preInstruction)  
      void setManeuverStreets​(java.lang.String[] maneuverStreets)  
      void setManeuverTime​(double maneuverTime)  
      void setManeuverTransitionInstruction​(java.lang.String transitionInstruction)  
      • Methods inherited from class globus.glmap.GLNativeObject

        dispose
      • Methods inherited from class java.lang.Object

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

      • GLRouteBuilder

        public GLRouteBuilder()
        Default constructor
    • Method Detail

      • setLanguage

        public void setLanguage​(java.lang.String language)
        Parameters:
        language - language of maneuvers instructions
      • addManeuver

        public void addManeuver​(int type,
                                globus.glmap.MapPoint[] points,
                                @Nullable
                                float[] heights)
        Parameters:
        type - type of maneuver
        points - points of maneuver
        heights - optional heights in points
      • setManeuverTime

        public void setManeuverTime​(double maneuverTime)
      • setManeuverStreets

        public void setManeuverStreets​(java.lang.String[] maneuverStreets)
        Parameters:
        maneuverStreets - street names that are consistent along the entire maneuver.
      • setManeuverPreInstruction

        public void setManeuverPreInstruction​(java.lang.String preInstruction)
        Parameters:
        preInstruction - Text suitable for use as a verbal message immediately prior to the maneuver transition.
      • setManeuverTransitionInstruction

        public void setManeuverTransitionInstruction​(java.lang.String transitionInstruction)
        Parameters:
        transitionInstruction - Text suitable for use as a verbal alert in a navigation application.
      • setManeuverPostInstruction

        public void setManeuverPostInstruction​(java.lang.String postInstruction)
        Parameters:
        postInstruction - Text suitable for use as a verbal message immediately after the maneuver transition.