Commit a36cec83 authored by sunyuhua's avatar sunyuhua

gps坐标系的转化,本小程序使用的火星坐标系

parent 2f675b12
......@@ -103,10 +103,10 @@ public class KmlParserUtil {
}
// 轨迹点转换百度坐标系
route.setTracePoint(GpsTransform.tracePoint2Baidu(route.getTracePoint()));
// 路标转百度坐标
route.setPlaceMark(GpsTransform.placeMarker2Baidu(route.getPlaceMark()));
// 轨迹点转换火星坐标系,本系统小程序使用的火星坐标系
route.setTracePoint(GpsTransform.tracePoint2Mar(route.getTracePoint()));
// 路标转化为火星坐标系,本系统小程序使用的火星坐标系
route.setPlaceMark(GpsTransform.placeMarker2Mar(route.getPlaceMark()));
} catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment