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