Takes an array of points, google.maps.Polygon or Feature and returns points at all self-intersections.
object
(google.maps.Polyline | google.maps.Polygon | Array<google.maps.LatLng> | Feature<Polygon>) array of points, google.maps.Polygon or Feature
Returns FeatureCollection<Point> self-intersections