Add project files.

This commit is contained in:
Bernard Darnton
2020-10-12 06:03:49 +13:00
parent 15357aad6b
commit 9576c5aa5b
61 changed files with 1993 additions and 0 deletions
@@ -0,0 +1,14 @@
using BlazorDeviceInterop.Components.LeafletMap;
using BlazorDeviceInterop.Geolocation;
namespace BlazorDeviceTestRig.Geolocation
{
public static class GeolocationPositionExtension
{
public static LatLng ToLeafletLatLng(this GeolocationPosition position)
{
var coords = position.Coords;
return new LatLng(coords.Latitude, coords.Longitude);
}
}
}