It would be very useful to have a feature to find two possible tangents from a point to polygon.

Hi @dhivehi
Are you aware of any algorithms that exist that could be used for this calculation?
Cheers
This page might provide some good guidance
http://geomalgorithms.com/a15-_tangents.html
The only algorithms i found is from this link http://geomalgorithms.com/a15-_tangents.html
But I donno how to write it in js. Another algorithm could be algorithms which is used to find shadows of an object from a light
Got a first cut of this functioning, just writing up some tests before I send through the pull request.
Now available
Most helpful comment
This page might provide some good guidance
http://geomalgorithms.com/a15-_tangents.html