/// <summary> /// Projects a Cartesian point to geodetic point /// </summary> public static GeoPoint ProjectToGeographic(IGeoLocatable geodetic, GeoProjectionType projectionType = GeoProjectionType.SphericalMercator) { var point = ProjectToGeographic(geodetic.ToPoint(), projectionType); return(new GeoPoint(point)); }
public static GeoPoint ToGeoPoint(this IGeoLocatable geoLocation) { return(new GeoPoint(geoLocation.ToPoint())); }