I've been working on developing an Android application that can display the distance between two points on Google Maps. The first point is my current location, and the second point is a marker set on the map.
So far, I've successfully implemented setting my location on the map using setMyLocationEnabled(true)
. Now, I need to figure out how to compare it with a marker I've added to the map at this location:
map.addMarker(newMarkerOptions().position(LOCATION_BEIJING).title("Find me here!"));