getRoadBearingToIntersection

fun getRoadBearingToIntersection(intersection: Feature?, road: Feature?, deviceHeading: Double): Double

Given an intersection Feature and a road Feature will return the bearing of the road to the intersection

Return

the bearing from the road to the intersection

Parameters

intersection

intersection Feature

road

road Feature