This commit is contained in:
wangcongtao
2020-01-08 10:54:59 +08:00
parent 58803435f0
commit 46c713cdca
21 changed files with 304 additions and 0 deletions

View File

@@ -488,4 +488,13 @@ public class AMapNaviViewWrapper implements IMogoMapView,
}
return null;
}
@Override
public void setPointToCenter( double mapCenterX, double mapCenterY ) {
if ( checkAMapView() ) {
AMapNaviViewOptions options = mMapView.getViewOptions();
options.setPointToCenter( mapCenterX, mapCenterY );
mMapView.setViewOptions( options );
}
}
}

View File

@@ -129,4 +129,11 @@ public class AMapUIController implements IMogoMapUIController {
}
return null;
}
@Override
public void setPointToCenter( double mapCenterX, double mapCenterY ) {
if ( mClient != null ) {
mClient.setPointToCenter( mapCenterX, mapCenterY );
}
}
}