hmm while am working on maps , i got a problem to find the distance between two latitudes and longitudes ..here is the code for that ..here unit =k is distance in kilometers and n is nautical miles…
private double distance(double lat1, double lon1, double lat2, double lon2, char unit)
{
double theta = lon1 – lon2;
double dist [...]
Archive for December, 2008
Finding distance between two latitudes and longitudes
Posted in latitudes and longitudes in maps, tagged asp.net 2.0, c#, latitudes and longitudes, maps on December 19, 2008 | Leave a Comment »