Пример #1
0
        public void Gcj02_To_Bd09()
        {
            var p1 = CoordinateUtil.Gcj02_To_Bd09(39.984717169345, 116.4748955248);

            Assert.AreEqual(0, Math.Round(p1.getWgLat() - 39.990475, 3));
            Assert.AreEqual(0, Math.Round(p1.getWgLon() - 116.481499, 3));
        }