将自动进入鹰眼模式的时间进行延时,避免和初始化的设置冲突
This commit is contained in:
@@ -698,7 +698,10 @@ public class AMapViewWrapper implements IMogoMapView,
|
||||
|
||||
NaviClient.getInstance( getContext() ).syncCarLocation( sysLocation );
|
||||
if ( checkAMapView() ) {
|
||||
MapStyleController.getInstance().onLocationChanged( location, this );
|
||||
// 避免设置之后被其他初始化给重置为其他模式
|
||||
UiThreadHandler.postDelayed( () -> {
|
||||
MapStyleController.getInstance().onLocationChanged( location, this );
|
||||
}, 5_000L );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user