GeoMapping Bearing and Coordinate Calculation for GoogleMaps markers
I'm writing an Android app and integrating GoogleMapsV2 API. I have a series of markers on the map at various locations around an anchor. I want those markers to converge on the anchor's position incrementally. I've got a loop running that will call each marker B and from B's position calculate the bearing to the anchor A. I then calculate the destination coordinate for a fixed distance along that bearing and update. Here are the two functions (taken from an amalgamation of stack posts and a GeoMapping site, for full disclosure) I'm using: public double calcBearing(double lat1, double lon1,