# 请求方式
gisTwin.UEAPI("GISController","SetNewCoordinate",jsondata,(e) =>{
console.log(e); //成功、失败回调
});
# 数据格式
let jsondata = {
geographic_center: "104.06173904,30.64318365,0", //地图中心点wgs84的坐标
projected_crs: "EPSG:4544", //投影坐标EPSG编码
origin_offset: [0, 0, 0], //矫正偏移
scale: 100 //比例尺:ue4 坐标是cm,所以需要乘100
};
# 回调格式
let callback = {
class_name: "GISController",
func_name: "SetNewCoordinate",
data: {
result: "success" //只用成功才会是success,其他会发送错误的原因
}
};