On Feb 5, 3:00 am, Mounir <mou...@gmail.com> wrote: > Hello, > > What I'm basically trying to do for a week : > Draw a polygon area from a cloud of points with coordinates. > > I have clouds of points with coordinates. Each cloud is a group of 30 > to 100 points. > > What I want : is to determine the most external points, or > peripherical points, so I can add them to a <LinearRing> so I can draw > a Polygon area that will includes all the points of the cloud. > > Is there an API way to do it? Or should I found a solution trough > basic maths?
You want the "convex hull" of the points. Here is an example of the convex hull applied to a random set of markers in the v2 API: http://www.geocodezip.com/map-markers_ConvexHull_Polygon.asp -- Larry > > Thank you for your help. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. 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.