mirror of
https://github.com/ZCShou/GoGoGo.git
synced 2026-06-13 21:00:55 +08:00
修复输入WGS 坐标时,不能正常跳转的问题
This commit is contained in:
parent
34b2dee7c6
commit
58b185761d
@ -702,7 +702,7 @@ public class MainActivity extends BaseActivity
|
||||
mCurLatLngMap = new LatLng(dialog_lat_double, dialog_lng_double);
|
||||
} else {
|
||||
double[] latLon = MapUtils.wgs2bd09(dialog_lat_double, dialog_lng_double);
|
||||
mCurLatLngMap = new LatLng(latLon[0], latLon[0]);
|
||||
mCurLatLngMap = new LatLng(latLon[1], latLon[0]);
|
||||
}
|
||||
|
||||
MapStatusUpdate mapstatusupdate = MapStatusUpdateFactory.newLatLng(mCurLatLngMap);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user