createTriangleFOV

fun createTriangleFOV(left: LngLatAlt, location: LngLatAlt, right: LngLatAlt): Polygon

Return a triangle that is used as a "field of view".

Return

A triangle that is a Polygon object.

Parameters

left

The left most point from the starting point.

location

The starting location of the triangle.

right

The right most point from the starting point.