getWayId
Provides the OSM way id for the given directed edge.
May perform blocking access to the on-device routing graph / tiles.
Return
OSM way id on success (including 0 when that is the real way id). On failure, the error string describes the reason (e.g. no graph reader, invalid id, missing tile).
Parameters
Directed edge id
Provides the OSM way ids encountered along a polyline span, map-matched to the routing graph.
Returns an ordered list of distinct consecutive way ids along the matched path. On any failure the result is an error (e.g. no graph reader, invalid span, search failure, missing tile).
May perform blocking graph search and tile IO.
Parameters
LineString object representing the polyline span
start index of the span (inclusive)
end index of the span (exclusive); span must contain at least two points
Throws
if startIndex or endIndex are outside the bounds of geometry
Provides the OSM way ids encountered along a polyline span, map-matched to the routing graph.
Returns an ordered list of distinct consecutive way ids along the matched path. On any failure the result is an error (e.g. no graph reader, invalid span, search failure, missing tile).
May perform blocking graph search and tile IO.
Parameters
a list of Point representing the polyline span
start index of the span (inclusive). Defaults to 0
end index of the span (exclusive). Defaults to the size of the points list
Throws
if startIndex or endIndex are outside the bounds of points