Package globus.glroute
Class GLRouteBuilder
java.lang.Object
globus.glmap.GLNativeObject
globus.glroute.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 voidaddManeuver(int type, globus.glmap.MapPoint[] points, float[] heights)GLRoutebuild()voidsetLanguage(java.lang.String language)voidsetManeuverPostInstruction(java.lang.String postInstruction)voidsetManeuverPreInstruction(java.lang.String preInstruction)voidsetManeuverStreets(java.lang.String[] maneuverStreets)voidsetManeuverTime(double maneuverTime)voidsetManeuverTransitionInstruction(java.lang.String transitionInstruction)
-
Constructor Details
-
GLRouteBuilder
public GLRouteBuilder()Default constructor
-
-
Method Details
-
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 maneuverpoints- points of maneuverheights- 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.
-
build
-