title: Display title of closest marker from my current position Google Maps v2
body: <p>I get the data from my database which contains, TITLE, SNIPPET and LOCATION and tried to test to check the distances between my currentlocation. I'm confused how to display the title of the closest marker to my position.</p>
  
  <pre><code>    List&lt;MyMarkerObj&gt; m = data.getMyMarkers();
                  for (int i = 0; i &lt; m.size(); i++) {
                      String[] slatlng =  m.get(i).getPosition().split(" ");
                      LatLng lat = new LatLng(Double.valueOf(slatlng[0]), Double.valueOf(slatlng[1]));
                      map.addMarker(new MarkerOptions()
                              .title(m.get(i).getTitle())
                              .snippet(m.get(i).getSnippet())
                              .icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_AZURE))
                              .position(lat)
                              );
  
                      float[] distance = new float[1];
                      Location.distanceBetween(currentlat, currentlong,Double.valueOf(slatlng[0]), Double.valueOf(slatlng[1]), distance);
                      Toast.makeText(getActivity(), "Marker Distance: "+ m.get(i).getTitle() +" "+distance[0], Toast.LENGTH_LONG).show();
  
                  }
  </code></pre>