com.supermap.onlineservices
Class NavigationOnlineParameter
- java.lang.Object
-
- com.supermap.onlineservices.NavigationOnlineParameter
-
public class NavigationOnlineParameter extends java.lang.Object
The path analysis parameter class.
-
-
Constructor Summary
Constructors Constructor and Description NavigationOnlineParameter()
The default constructor for constructing a newNavigationOnlineParameter
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
setCoordinateType(CoordinateType type)
Set the coordinate type.void
setEndPoint(Point2D endPoint)
Sets the destination point.void
setPassPoints(Point2Ds passPoints)
Set the path to the route.void
setReturnPathInfos(boolean returnPathInfos)
Set whether to return route guidance information.void
setReturnPathPoints(boolean returnPathPoints)
Set whether to return the path.void
setRouteType(RouteType routeType)
Set the navigation plan mode, the default isRouteType.MIN_LENGTH
void
setStartPoint(Point2D startPoint)
Sets the start point.
-
-
-
Constructor Detail
-
NavigationOnlineParameter
public NavigationOnlineParameter()
The default constructor for constructing a newNavigationOnlineParameter
object.
-
-
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
-
-