Open 1232Ga opened 5 months ago
Agent comment from yating.liao in Zendesk ticket #109948:
You can refer to the example code of UXSDK. The example code in the default page implements the switching logic between the map and camera views.
https://github.com/dji-sdk/Mobile-UXSDK-Android/blob/master/sample/app/src/main/java/com/dji/ux/sample/CompleteWidgetActivity.java
°°°
how to replace mapwidget to mapbox to switch camera and map
Agent comment from yating.liao in Zendesk ticket #109948:
You can choose to initialize the mapwidget as mapbox when initializing it. However, the mapbox version used by mapwidget is relatively low, and msdk will no longer use mapbox maps. If you need mapbox, I recommend building a component similar to mapwidget on your own.
https://developer.dji.com/api-reference/android-uilib-api/Widgets/DUXMapWidget.html?search=mapwidget&i=4&#duxmapwidget_initmapbox_inline
°°°
how to swap map to camera and camera to map on Flight screen page on MSDK V4 .On Unmanned Screen page.