This commit is contained in:
wangcongtao
2020-02-21 11:32:05 +08:00
parent a9a89e9909
commit 95781acafd
3 changed files with 9 additions and 3 deletions

View File

@@ -352,6 +352,7 @@ public class AMapNaviViewWrapper implements IMogoMapView,
@Override
public void changeZoom(float zoom) {
Logger.d( TAG, "changeZoom %s", zoom );
getMap().changeZoom(zoom);
}
@@ -403,6 +404,7 @@ public class AMapNaviViewWrapper implements IMogoMapView,
@Override
public void moveToCenter(MogoLatLng latLng) {
Logger.d( TAG, "move to center %s", latLng );
if (latLng == null || latLng.lat == 0.0d || latLng.lng == 0.0d) {
Logger.e(TAG, "latlng = null or is illegal");
return;