Google Maps - create polygon with group of lon/lat points
I have groups of 10 to 700 longitude and latitude points around a city or region. I would like to create a polygon or "blob" to cover area defined by these points.
I Could pre-process points on our server to save time.
has anyone done anything like this or seen any useful to开发者_运维技巧ols?
In order to find the polygon you talk about you need the compute the convex hull of your points. There are plenty of algorithms available. Here you can find one in PHP.
精彩评论