国际坐标系转换网站:https://mygeodata.cloud/cs2cs/;
上边连接可以查询到对应的坐标系参数;
transformPoint(x, y) {
//点位的坐标系
var fromProjection = '+proj=longlat +datum=WGS84 +no_defs'
//转换后的坐标系
var toProjection = '++proj=tmerc +lat_0=0 +lon_0=120 +k=1 +x_0=40500000 +y_0=0 +ellps=GRS80 +units=m +no_defs '
var transformPoint = proj4(fromProjection, toProjection, [x, y])
return transformPoint//数组【x,y】
}