Class Route
java.lang.Object
com.arubanetworks.meridian.maps.directions.Route
- All Implemented Interfaces:
Serializable
Describes a path between two points.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Route
fromJSONObject
(JSONObject json, EditorKey appKey, DirectionsSource.MapPoint originPoint, DirectionsDestination.MapPoint destination) getAutoAdvanceInfo
(MeridianLocation location, MapInfo currentMap) float
double
int[]
getIndexesForStep
(RouteStep step) static int[]
getIndexesForStepInRoute
(RouteStep step, Route route) float[]
getPointsFor
(EditorKey mapKey) float[][]
getSegmentedPointsFor
(EditorKey mapKey) getSteps()
getStepsForMapKey
(EditorKey mapKey)
-
Constructor Details
-
Route
public Route()
-
-
Method Details
-
fromJSONObject
public static Route fromJSONObject(JSONObject json, EditorKey appKey, DirectionsSource.MapPoint originPoint, DirectionsDestination.MapPoint destination) throws JSONException - Throws:
JSONException
-
getSteps
-
getStepsForMapKey
-
getPointsFor
-
getSegmentedPointsFor
-
getIndexesForStep
-
getIndexesForStepInRoute
-
getAutoAdvanceInfo
-
getDistance
public float getDistance() -
getSourceMap
-
getDestinationMap
-
getExpectedTravelTime
public double getExpectedTravelTime() -
getTransportType
-
getNearestPlacemarkToDestination
-
getNearestPlacemarkToOrigin
-
getOriginInfo
-
getDestinationInfo
-