实现地图瓦片纠偏的leaflet.mapCorrection.js代码: //坐标转换 L.CoordConvertor = function () { /**百度转84*/ this.bd09_To_gps84 = function (lng, lat) { var gcj02 = this.bd09_To_gcj02...
// ,非原创, 博客原地址 : https://blog.csdn.net/ma969070578/article/details/41013547public class Gps { private double wgLat; private double wgLon; public Gps(double wgLat,...
1 function tobdMap(x, y) { 2 var x_pi = 3.14159265358979324 * 3000.0 / 180.0; 3 var z = Math.sqrt(x * x + y * y) + 0.00002 * Math.sin(y * x_pi); 4...