I want to find the minimum distance between two polygons. but I had some problems to find it. I am new with google maps, so can you help me? I have those coordinates to use;
polygonArray = [[
new google.maps.LatLng(40.56389453066509,33.739013671875),
new google.maps.LatLng(40.39676430557206,32.135009765625),
new google.maps.LatLng(39.87601941962116,36.046142578125)
]];
Thank you in advance.
You need a geometry library that computes distances between two points, the center of a polygon, etc. Take a look at this other question.