删除锁车相关废弃逻辑

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2022-04-12 10:36:11 +08:00
parent 1ad955ae36
commit b3ad5f39ae
8 changed files with 1 additions and 109 deletions

View File

@@ -386,7 +386,6 @@ public class AMapViewWrapper implements IMogoMapView,
if (DebugConfig.isDebug()) {
CallerLogger.INSTANCE.d(TAG, Log.getStackTraceString(new Throwable()));
}
loseLockMode();
mMapView.getMapAutoViewHelper().animateCamera(new LonLatPoint(latLng.lon, latLng.lat));
}
@@ -437,26 +436,6 @@ public class AMapViewWrapper implements IMogoMapView,
}
}
@Override
public void recoverLockMode() {
if (checkAMapView()) {
if (isVrMold()) {
return;
}
CallerLogger.INSTANCE.d(TAG, "锁车");
mMapView.getMapAutoViewHelper().setLockMode(true);
}
}
@Override
public void loseLockMode() {
if (isVrMold()) {
return;
}
CallerLogger.INSTANCE.d(TAG, "解锁锁车");
mMapView.getMapAutoViewHelper().setLockMode(false);
}
@Override
public float getScalePerPixel() {
@@ -558,9 +537,6 @@ public class AMapViewWrapper implements IMogoMapView,
CallerLogger.INSTANCE.i(TAG, "showBounds : " + tag + " , " + carPosition.toString() + " , " + bound.toShortString() + " , " + lockCarPosition);
try {
LatLngBounds latLngBounds = MogoMapUtils.getLatLngBounds(carPosition, lonLats, lockCarPosition);
if (!lockCarPosition) {
loseLockMode();
}
mMapView.getMapAutoViewHelper().setCenter(ObjectUtils.fromMogo(carPosition));
mMapView.getMapAutoViewHelper().moveCamera(CameraUpdateFactory.INSTANCE.newLatLngBounds(latLngBounds, bound.left, bound.right, bound.top, bound.bottom));
} catch (Exception e) {
@@ -852,11 +828,6 @@ public class AMapViewWrapper implements IMogoMapView,
}
}
@Override
public void emphasizeMyLocation() {
}
@Override
public void onChangeMapStyle(int styleId) {
CallerLogger.INSTANCE.d(TAG, "currentMapStyle = " + styleId);