I have a set of lat/long points. I need to calculate the center point and radius of a circle that will encompass all the points.
The co-ordinate system used is latitude/longitude as per google maps.
I previously used Think-Geo MapSuite where I could call a function, provide a collection of points and receive a bounding box. I would use the bounding box to instruct the map to display at a particular location and scale.
The tooling I'm using now is Xamarin Forms. This is a cross-platform tool that provides a high level wrapper across mobile platforms. For iOS this is Apple maps, Android is Google Maps and Windows Phone is Bing Maps. It is a new tool so the wrapper is very basic at present. I can only provide a center point and radius to instruct the map where to display.
I ultimately need C# code but pseudo code, or any other flavour would be a great help.