I am drawing a circle on a layer which has a lot of polygons (from Maps Engine) on it and trying to get the area of the intersection between my circle and the polygon.
If i use the intersects method from Maps Engine, i am getting all the coordinates of the polygon, but not exactly getting the points where i cut the polygon with my circle.
There is an example image:
You can get the Radius from drawingManager like circle.getRadius()
and the area of it, as everybody knows circleArea=Math.PI*radius*radius
And with the intersects method from Maps Engine intersects=CIRCLE(center_lng center_lat, radius)
, then we can use the area of the all polygon area with computeArea method.
google.maps.geometry.spherical.computeArea();
At the end actually i want only the intersection between the polygon and the circle. Is there any other method that i can get the Intersection area between them?