Skip to content

GeoCoordinate is a Portable Class Library 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 …

License

Notifications You must be signed in to change notification settings

syncrisis/GeoCoordinate.NetStandard1

 
 

Repository files navigation

Icon

GeoCoordinate.NetStandard1

GeoCoordinate is a Portable Class Library 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

  • .NET Standard 1.0

Installation

Installation is done via NuGet:

PM> Install-Package GeoCoordinate.NetStandard1

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 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 …

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 87.6%
  • F# 8.8%
  • Batchfile 2.0%
  • Shell 1.6%