get Intersection Road Names Relative Directions
fun getIntersectionRoadNamesRelativeDirections(intersectionRoadNames: FeatureCollection, nearestIntersection: Feature?, intersectionRelativeDirections: FeatureCollection): FeatureCollection
Given an intersection Road names FeatureCollection, a nearest Intersection FeatureCollection and an intersectionRelativeDirections FeatureCollection. This will return a feature collection of the roads that make up the intersection tagged with their relative directions. 0 = Behind, 1 = Behind Left, 2 = Left, 3 = Ahead Left, 4 = Ahead, 5 = Ahead Right, 6 = Right, 7 = Behind Right
Return
A feature collection sorted by "Direction" that contains the roads that make up the intersection tagged with their relative direction
Parameters
intersection Road Names
Roads FeatureCollection that contains the roads that make up the intersection.
nearest Intersection
Intersection Feature
intersection Relative Directions
Feature collection that consists of relative direction polygons that we are using to determine relative direction