Incorrect area calculation of google maps polygon
===

I have an event listener on a drawingManager for "overlaycomplete". Within this event, I get the path of my polygon - [event.overly.getPath()], and use google.maps.geometry.spherical.computeArea() with that path I got. Normally this works as expected and areas appear to be precise.

However, if I draw a bow tie type shape i.e. following this sequence for drawing a polygon NW -> SW -> NE -> SE -> NW (clicking those points within an imaginary square area) The area is computed drastically lower than it should be - and sometimes 0.

Is this a bug? Is there another calculation I should be using for overlapping points on the polygon?

Thanks for any advice.

Greg