Merge branch 'feature/v1.0.0' of gitlab.zhidaoauto.com:ecos/yycp-service/Launcher into feature/v1.0.0

This commit is contained in:
wangcongtao
2020-01-10 15:32:41 +08:00
28 changed files with 511 additions and 345 deletions

View File

@@ -495,6 +495,15 @@ public class AMapNaviViewWrapper implements IMogoMapView,
return null;
}
@Override public MogoLatLng getTarget() {
try {
return ObjectUtils.fromAMap( mMapView.getMap().getCameraPosition().target );
} catch ( Exception e ) {
}
return null;
}
@Override
public void setPointToCenter( double mapCenterX, double mapCenterY ) {
if ( checkAMapView() ) {

View File

@@ -130,6 +130,13 @@ public class AMapUIController implements IMogoMapUIController {
return null;
}
@Override public MogoLatLng getTarget() {
if ( mClient != null ) {
return mClient.getCameraSouthWestPosition();
}
return null;
}
@Override
public void setPointToCenter( double mapCenterX, double mapCenterY ) {
if ( mClient != null ) {