I've an array of locations: {'**place1**', '**place2**', '**place3**'} \**// these are addresses*

Now assume that there is a new location: '**place4**'.

I want to detect which one is nearest to '**place4**'....comparing from above array of locations....

i.e. tracking nearest location of a point from array of locations...(By using Google Map APIs)..

psuedo code:

```
foreach(var item in array)
{
     var i = TrackNearestLocationByGoogleMapAPIs(item);
     if(i is nerest)
     {
       print(i);  and go out of loop...
     }
}

```