public Locateable(sb.Point wgs84GeodeticPosition, AncherFunctionHandler ancherFunction = null) : this(ancherFunction) { var webMercator = IRI.Ham.CoordinateSystem.MapProjection.MapProjects.GeodeticWgs84ToWebMercator(wgs84GeodeticPosition); this.X = webMercator.X; this.Y = webMercator.Y; this._location = webMercator.AsWpfPoint(); }
public Locateable(AncherFunctionHandler ancherFunction = null) { if (ancherFunction == null) { this.AncherFunction = AncherFunctionHandlers.CenterCenter; } else { this.AncherFunction = ancherFunction; } this._location = new Point(0, 0); }