-
- All Implemented Interfaces:
public final class RegionForRoutesInfo
-
-
Field Summary
Fields Modifier and Type Field Description private final List<String>
routes
private final Rect
rect
private final Boolean
gridAligned
private final Boolean
showFullRouteOverview
private final Boolean
includeCVP
private final Boolean
nearestLegMode
private final List<Annotation>
annotations
-
Constructor Summary
Constructors Constructor Description RegionForRoutesInfo(List<String> routes, Rect rect, Boolean gridAligned, Boolean showFullRouteOverview, Boolean includeCVP, Boolean nearestLegMode, List<Annotation> annotations)
RegionForRoutesInfo(List<String> routes, Rect rect, Boolean gridAligned, Boolean showFullRouteOverview, Boolean includeCVP, Boolean nearestLegMode)
RegionForRoutesInfo(List<String> routes, Rect rect, Boolean gridAligned, Boolean showFullRouteOverview, Boolean includeCVP)
RegionForRoutesInfo(List<String> routes, Rect rect, Boolean gridAligned, Boolean showFullRouteOverview)
RegionForRoutesInfo(List<String> routes, Rect rect, Boolean gridAligned)
RegionForRoutesInfo(List<String> routes, Rect rect)
-
Method Summary
Modifier and Type Method Description final List<String>
getRoutes()
list of id that need include final Rect
getRect()
The rect is specified by parameters of x (Rect param left), y (Rect param top), width (Rect param width) and height (Rect param height). final Boolean
getGridAligned()
If false, the end position rotation and declination of the camera will be based on the current mode. final Boolean
getShowFullRouteOverview()
if the value true shows region including already eaten parts else only shows region for the remaining route final Boolean
getIncludeCVP()
Whether to include the cvp annotation in the region which will be shown or not. final Boolean
getNearestLegMode()
If nearestLegMode is true, the route overview will display only the part of the route to the first waypoint final List<Annotation>
getAnnotations()
annotations that needed to be shown on the region -
-
Constructor Detail
-
RegionForRoutesInfo
RegionForRoutesInfo(List<String> routes, Rect rect, Boolean gridAligned, Boolean showFullRouteOverview, Boolean includeCVP, Boolean nearestLegMode, List<Annotation> annotations)
-
RegionForRoutesInfo
RegionForRoutesInfo(List<String> routes, Rect rect, Boolean gridAligned, Boolean showFullRouteOverview, Boolean includeCVP, Boolean nearestLegMode)
-
RegionForRoutesInfo
RegionForRoutesInfo(List<String> routes, Rect rect, Boolean gridAligned, Boolean showFullRouteOverview, Boolean includeCVP)
-
RegionForRoutesInfo
RegionForRoutesInfo(List<String> routes, Rect rect, Boolean gridAligned, Boolean showFullRouteOverview)
-
-
Method Detail
-
getRect
final Rect getRect()
The rect is specified by parameters of x (Rect param left), y (Rect param top), width (Rect param width) and height (Rect param height).
-
getGridAligned
final Boolean getGridAligned()
If false, the end position rotation and declination of the camera will be based on the current mode. Grid aligned can be thought of as a shortcut, the shortcut to set rendering mode to 2d north up before show region.
-
getShowFullRouteOverview
final Boolean getShowFullRouteOverview()
if the value true shows region including already eaten parts else only shows region for the remaining route
-
getIncludeCVP
final Boolean getIncludeCVP()
Whether to include the cvp annotation in the region which will be shown or not.
Note: if includeCVP is false, the region may still coincidentally include the cvp, but the engine will not actively try to make sure the cvp is within the region shown.
-
getNearestLegMode
final Boolean getNearestLegMode()
If nearestLegMode is true, the route overview will display only the part of the route to the first waypoint
-
getAnnotations
final List<Annotation> getAnnotations()
annotations that needed to be shown on the region
-
-
-
-