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 RoutefromJSONObject(org.json.JSONObject json, EditorKey appKey, DirectionsSource.MapPoint originPoint, DirectionsDestination.MapPoint destination) getAutoAdvanceInfo(MeridianLocation location, MapInfo currentMap) floatdoubleint[]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(org.json.JSONObject json, EditorKey appKey, DirectionsSource.MapPoint originPoint, DirectionsDestination.MapPoint destination) throws org.json.JSONException - Throws:
org.json.JSONException
-
getSteps
-
getStepsForMapKey
-
getPointsFor
-
getSegmentedPointsFor
-
getIndexesForStep
-
getIndexesForStepInRoute
-
getAutoAdvanceInfo
-
getDistance
public float getDistance() -
getSourceMap
-
getDestinationMap
-
getExpectedTravelTime
public double getExpectedTravelTime() -
getTransportType
-
getNearestPlacemarkToDestination
-
getNearestPlacemarkToOrigin
-
getOriginInfo
-
getDestinationInfo
-