On Jul 18, 7:51 am, MapsRus <[email protected]> wrote: > Anyone know if it is possible to calculate the centroid of a GPolygon?
To quote a certain member here, "Anything is possible." For example you can extend a GLatLngBounds object by each point of the polygon, and then get the centre of that area. Or you can use Mike's EPoly extension http://econym.org.uk/gmap/epoly.htm which adds a poly.Bounds() object which you can use without doing the spadework beforehand. -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
