Way
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
direction returns the integer direction (0-7) indicating which direction the way is relative to the device heading.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun followWays(fromIntersection: Intersection, ways: MutableList<Pair<Boolean, Way>>, depth: Int = 0, optionalEarlyPredicate: (Way, Way?) -> Boolean? = null)
Link copied to clipboard
Link copied to clipboard
heading returns the heading of the way as it leaves the intersection
Link copied to clipboard
isLoopedBack is used to determine if a Way starts and ends at the same intersection.
Link copied to clipboard
isSidewalkConnector returns true if this way is joining mainWay from intersection to its own sidewalk e.g. https://www.openstreetmap.org/way/958596881. If we are map matched to the sidewalk, but calling out from the perspective of mainWay, these connectors are not useful.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard