This commit is contained in:
wangcongtao
2021-02-02 15:53:13 +08:00
parent f11e8c651e
commit 89dc62477f
4 changed files with 25 additions and 1 deletions

1
.idea/gradle.xml generated
View File

@@ -89,7 +89,6 @@
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
<option name="useQualifiedModuleNames" value="true" />
</GradleProjectSettings>
</option>
</component>

View File

@@ -82,6 +82,11 @@ public abstract class BaseOchFragment<V extends IView, P extends Presenter<V>> e
findViewById(R.id.btnAutopilotArrive).setOnClickListener(view -> MogoApisHandler.getInstance().getApis().getAdasControllerApi().mockOchStatus(-1, "Running"));
// MogoApisHandler.getInstance()
// .getApis()
// .getMapServiceApi()
// .getMapUIController()
// .openVrMode();
}
private void checkCallView(boolean isShown) {

View File

@@ -1000,4 +1000,13 @@ public class AMapViewWrapper implements IMogoMapView,
Logger.d( "ADASCOOR", "使用rtk定位数据%s", GsonUtil.jsonFromObject( bean ) );
mMapView.getLocationClient().updateRTKAutoPilotLocation( bean );
}
@Override
public void openVrMode() {
try {
changeZoom( 20 );
} catch ( Exception e ) {
e.printStackTrace();
}
}
}

View File

@@ -257,7 +257,18 @@ public interface IMogoMapUIController {
}
/**
* 使用自动驾驶车的定位数据
* @param data
*/
default void syncLocation2Map( JSONObject data ){
}
/**
* 打开鹰眼模式
*/
default void openVrMode(){
}
}