增加获取屏幕经纬度相关

This commit is contained in:
jiaguofeng
2020-06-18 10:33:21 +08:00
parent 85482674fe
commit 5dd7f64f38

View File

@@ -489,11 +489,11 @@ public class AMapViewWrapper implements IMogoMapView, IMogoMapUIController, Loca
@Override
public MogoLatLng getCameraSouthWestPosition() {
// try {
// return ObjectUtils.fromAMap( mMapView.getMapAutoViewHelper().getProjection().getVisibleRegion().latLngBounds.southwest );
// } catch ( Exception e ) {
//
// }
try {
return ObjectUtils.fromAMap( MapTools.INSTANCE.getVisibleRegion().getLeftBottomPoint());
} catch ( Exception e ) {
}
return null;
}