Calculation of Center Point from List of Latitude and Longitude are slightly diffrent from actual
I am calculating center Lat/Lng fron list of available Lat/Lng using C# and rendering on OpenLayer Map. I observed the calculation of getting center lat/lng will give me slightly difference in lat/lng . I am referring this link for the calculation Calculate the center point of multiple latitude/longitude coordinate pairs . C# Code: static void Main(string[] args) { List<GeoCoordinate> listCoordinate = new List<GeoCoordinate>(); listCoordinate.Add(new GeoCoordinate() { Latitude = 22.9833, Longitude = 72.5000 }); //Sarkhej listCoordinate.Add(new GeoCoordinate() { Latitude = 18.9750, Longitude =