Example #1
0
        /// <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));
        }
Example #2
0
 public static GeoPoint ToGeoPoint(this IGeoLocatable geoLocation)
 {
     return(new GeoPoint(geoLocation.ToPoint()));
 }