This commit is contained in:
wangcongtao
2021-01-29 18:31:34 +08:00
parent e90e299b95
commit 50c30eeea1
4 changed files with 24 additions and 1 deletions

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 );
}
}