PointOnRoute

Package: com.eegeo.mapapi.paths

Fields

public final LatLng resultPoint

A point on the Route that is closest to the input point.

public final LatLng inputPoint

The original target point tested against.

public final double distanceFromInputPoint

The distance (in ECEF space) that the result point is from the input point.

public final double fractionAlongRouteStep

How far along the current Step of the route that the result point has travelled, as a fractional value from 0.0 to 1.0

public final double fractionAlongRouteSection

How far along the current Section of the route that the result point has travelled, as a fractional value from 0.0 to 1.0

public final double fractionAlongRoute

How far along the entire route that the result point has travelled, as a fractional value from 0.0 to 1.0

public final int routeStepIndex

The index of the route Step that the result point currently lies on.

public final int routeSectionIndex

The index of the route Section that the result point currently lies on.

public final boolean validResult

True if the result is valid: a PointOnRoute may be invalid if an outdoor route is provided and is tested against an indoor point, and vice versa.

public final int pathSegmentStartVertexIndex

Vertex index where the path segment starts for the projected point. Can be used to separate traversed path.

v0.0.1467
Overview Introduction
Picking PickResult
Widgets (Optional) BlueSphere
Tag Service (Optional) TagService OnTagsLoadCompletedListener
RouteView Widget (Optional) RouteView RouteViewOptions