com.supermap.onlineservices
Class NavigationOnlineParameter
- java.lang.Object
-
- com.supermap.onlineservices.NavigationOnlineParameter
-
public class NavigationOnlineParameter extends java.lang.ObjectThe path analysis parameter class.
-
-
Constructor Summary
Constructors Constructor and Description NavigationOnlineParameter()The default constructor for constructing a newNavigationOnlineParameterobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidsetCoordinateType(CoordinateType type)Set the coordinate type.voidsetEndPoint(Point2D endPoint)Sets the destination point.voidsetPassPoints(Point2Ds passPoints)Set the path to the route.voidsetReturnPathInfos(boolean returnPathInfos)Set whether to return route guidance information.voidsetReturnPathPoints(boolean returnPathPoints)Set whether to return the path.voidsetRouteType(RouteType routeType)Set the navigation plan mode, the default isRouteType.MIN_LENGTHvoidsetStartPoint(Point2D startPoint)Sets the start point.
-
-
-
Constructor Detail
-
NavigationOnlineParameter
public NavigationOnlineParameter()
The default constructor for constructing a newNavigationOnlineParameterobject.
-
-
Method Detail
-
setStartPoint
public void setStartPoint(Point2D startPoint)
Sets the start point.- Parameters:
startPoint- The starting point of the path plan.
-
setEndPoint
public void setEndPoint(Point2D endPoint)
Sets the destination point.- Parameters:
endPoint- The end of the path plan.
-
setPassPoints
public void setPassPoints(Point2Ds passPoints)
Set the path to the route.- Parameters:
passPoints- way point
-
setRouteType
public void setRouteType(RouteType routeType)
Set the navigation plan mode, the default isRouteType.MIN_LENGTH- Parameters:
routeType- path planning mode
-
setReturnPathInfos
public void setReturnPathInfos(boolean returnPathInfos)
Set whether to return route guidance information.- Parameters:
returnPathInfos- path guide information, true that return path guide information, false that does not return.
-
setReturnPathPoints
public void setReturnPathPoints(boolean returnPathPoints)
Set whether to return the path.- Parameters:
returnPathPoints- whether to return the path, true that return path, false that does not return, the default is true.
-
setCoordinateType
public void setCoordinateType(CoordinateType type)
Set the coordinate type.- Parameters:
type- The coordinate type, the default isCoordinateType.NAVINFO_AMAP_LONGITUDE_LATITUDE
-
-