优化mapview初始化

This commit is contained in:
wangcongtao
2020-09-10 14:23:25 +08:00
parent f6ce6e4048
commit e66bbf304a
4 changed files with 11 additions and 7 deletions

View File

@@ -272,7 +272,7 @@ public class MogoServices implements IMogoMapListener,
/**
* 当前限速
*/
private int mCurrentLimit = 0;
private int mCurrentLimit = -1;
private boolean mIsMainPageFirstResume = true;
@@ -821,7 +821,6 @@ public class MogoServices implements IMogoMapListener,
return;
}
if ( mCurrentLimit == traffic.getSpeedLimit() ) {
return;
}