• 2024-07-01wgs84转墨卡托 | 墨卡托转wgs84 算法实现
    /**地理坐标转墨卡托*/functionconvertToMercator(lonLat){varD2R=Math.PI/180,A=6378137,MAXEXTENT=20037508342789244e-9;varadjusted=Math.abs(lonLat[0])<=180?lonLat[0]:lonLat[0]-sign(lonLat[0])*360;varxy=[A*adjusted*