On Oct 15, 12:20 pm, Sunny <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know, How to find a center of a polygon. > Like if you have a bunch of Lat & Lons and you want to find their > average. > How should I do that?
You could try polygon.getBounds().getCenter() Don't know if that does what you want... -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
