From 5dd7f64f383180fbefeec189d2b7d723e0d950e2 Mon Sep 17 00:00:00 2001 From: jiaguofeng Date: Thu, 18 Jun 2020 10:33:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=8E=B7=E5=8F=96=E5=B1=8F?= =?UTF-8?q?=E5=B9=95=E7=BB=8F=E7=BA=AC=E5=BA=A6=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/mogo/map/impl/custom/AMapViewWrapper.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/AMapViewWrapper.java b/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/AMapViewWrapper.java index df6b96ec54..e02377c689 100644 --- a/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/AMapViewWrapper.java +++ b/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/AMapViewWrapper.java @@ -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; }