Mobile-SDK-Android-V5 icon indicating copy to clipboard operation
Mobile-SDK-Android-V5 copied to clipboard

Unable to Expand MapWidget

Open 6itf1ip opened this issue 9 months ago • 1 comments

I am using DJI MSDK, V5 Version 5.11, The map widget is not opening, is there any sample code for it ? I want to toggle between mapwidget and fpv.

6itf1ip avatar Mar 05 '25 07:03 6itf1ip

Agent comment from YIGUI LIU in Zendesk ticket #133168:

Dear Developer,

Are you referring to swapping the positions of the FPV widget and the map?

  • This requires you to design and implement it yourself, depending on which layout you are using on the layout page and how you swap them.

You can refer to how the logic of swapping the map and FPV widget is implemented in the V4 UXSDK: Mobile-UXSDK-Android.

  • https://github.com/dji-sdk/Mobile-UXSDK-Android
  • Mobile-UXSDK-Android enlarges the map and then reduces the FPV widget, swapping the positions of the two controls to achieve the switch between the map and view controls. If your solution also requires changing the positions of the two controls, you can refer to the method of changing positions in the UXSDK.

Best Regards, DJI Innovations SDK Technical Support Team

°°°

dji-dev avatar Mar 05 '25 11:03 dji-dev