get Relative Directions Polygons
fun getRelativeDirectionsPolygons(userGeometry: GeoEngine.UserGeometry, relativeDirectionType: RelativeDirections): FeatureCollection
A wrapper around: getCombinedDirectionPolygons, getIndividualDirectionPolygons, getAheadBehindDirectionPolygons, getLeftRightDirectionPolygons
Return
a Feature Collection containing triangles for the relative directions.
Parameters
user Geometry
Location, heading and FOV distance
relative Direction Type
Enum for the function you want to use