1.js转换代码 1 //转换常数 2 var x_pi = 3.14159265358979324 * 3000.0 / 180.0; 3 var pi = 3.14159265358979324; 4 var a = 6378245.0; 5 var ee = 0.00669342162296594323; 6 7 function transformLon(x, y) { 8 var ret = 300.0 + x + 2.0 * y + 0.1 * x * x + 0.1 * x * y
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { /// <summary> /// 公用的特殊函数 /// </summary> public class SpecialFunctions { #region 构造函数 /// <summary> /// 构造函数 /// </s