This commit is contained in:
wangcongtao
2020-01-09 22:38:43 +08:00
86 changed files with 2456 additions and 1090 deletions

View File

@@ -356,7 +356,7 @@ public class MogoServiceProvider implements IMogoModuleProvider,
return;
}
if ( mLastZoomLevel != zoom ) {
if ( mLastZoomLevel != zoom || mCameraNorthEastPosition == null ) {
refreshCameraPosition();
}
@@ -401,7 +401,7 @@ public class MogoServiceProvider implements IMogoModuleProvider,
float distance = Utils.calculateLineDistance( latLng, mLastCustomRefreshCenterLocation );
return distance > factor;
} catch ( Exception e ) {
Logger.w( TAG, "warming. ", e );
Logger.e( TAG, e, "warming. " );
return false;
}
}