Skip to content

GeoCoordinate is a portable class library (in v1.1.x) or netstandard v1.1 (from v2.x.x) compatible implementation of System.Device.Location.GeoCoordinate. It is an exact 1:1 API compliant implementation and will be supported until MSFT sees it fit to embed the type. Which at that point this implementation will cease development/support and you w…

License

Notifications You must be signed in to change notification settings

ghuntley/geocoordinate

Repository files navigation

Icon

GeoCoordinate Build status

GeoCoordinate is a portable class library (in v1.1.x) or netstandard v1.1 (from v2.x.x) compatible implementation of System.Device.Location.GeoCoordinate. It is an exact 1:1 API compliant implementation and will be supported until MSFT sees it fit to embed the type. Which at that point this implementation will cease development/support and you will be able to simply remove this package and everything will still work.

Supported Platforms

  • Mono
  • .NET 4.5
  • .NET Core
  • Windows Phone 8.x
  • Universal Windows Platform
  • Xamarin iOS
  • Xamarin Android

Installation

Installation is done via NuGet:

PM> Install-Package GeoCoordinate

Usage

GeoCoordinate pin1 = new GeoCoordinate(lat, lng);
GeoCoordinate pin2 = new GeoCoordinate(lat, lng);

double distanceBetween = pin1.GetDistanceTo(pin2);

For more examples, refer to the MSDN reference documentation over at: https://msdn.microsoft.com/en-us/library/system.device.location.geocoordinate(v=vs.110).aspx

With thanks to

About

GeoCoordinate is a portable class library (in v1.1.x) or netstandard v1.1 (from v2.x.x) compatible implementation of System.Device.Location.GeoCoordinate. It is an exact 1:1 API compliant implementation and will be supported until MSFT sees it fit to embed the type. Which at that point this implementation will cease development/support and you w…

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published