Exemple #1
0
        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();
        }
Exemple #2
0
        public Locateable(AncherFunctionHandler ancherFunction = null)
        {
            if (ancherFunction == null)
            {
                this.AncherFunction = AncherFunctionHandlers.CenterCenter;
            }
            else
            {
                this.AncherFunction = ancherFunction;
            }

            this._location = new Point(0, 0);
        }