Commit 7691fa3c by wnb0128

车家智能数据服务 用户经纬度--think.wang

1 parent 42f8974b
......@@ -47,7 +47,7 @@ public class DeviceAddressProducer {
} else{
GCJ2WGS wg = new GCJ2WGS();
String[] lngLat = lngAndLat.split(":");
hm = wg.delta(Double.valueOf(lngLat[0]), Double.valueOf(lngLat[1]));
hm = wg.delta(Double.valueOf(lngLat[1]), Double.valueOf(lngLat[0]));
}
Fence.GpsLoc gpsLoc = this.buildGpsLoc(hm.get("lon"), hm.get("lat"));
Fence.FenceDeviceFamilyInfo deviceFamilyInfo = this.buildFenceDevice(deviceId, gpsLoc);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!