Hello all,

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 precise.

However, if I draw a bow tie type shape i.e. following this sequence for 
drawing a polygon NW -> SW -> NE -> SE -> NW 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 ponts on the polygon?

Thanks for any advice.

Greg

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/bHp1bejPag0J.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to