Merge branch 'qa_merge_shunyi_vr_map' into dev2

This commit is contained in:
wangcongtao
2021-02-01 10:03:54 +08:00
4 changed files with 24 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ dependencies {
implementation project(':foudations:mogo-commons')
}
implementation 'com.zhidaoauto.machine:map:1.0.0-vr-8.0.7'
implementation 'com.zhidaoauto.machine:map:1.0.0-vr-8.0.8'
// implementation 'com.zhidaoauto.machine:map:1.0.0-vr-test-3.4'
}

View File

@@ -524,4 +524,18 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
Logger.e( TAG, e, "error." );
}
}
@Override
public void setInfoWindowOffset( int offsetX, int offsetY ) {
try {
mMarker.setInfoWindowOffset( offsetX, offsetY );
} catch ( Exception e ) {
e.printStackTrace();
}
}
@Override
public void addDynamicAnchorPosition( MogoLatLng latLng, long duration ) {
mMarker.addDynamicAnchorPostion( new LonLatPoint( latLng.lon, latLng.lat ), ( int ) duration );
}
}