Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch map to camera on Flight page #1310

Open
1232Ga opened this issue Jun 18, 2024 · 3 comments
Open

switch map to camera on Flight page #1310

1232Ga opened this issue Jun 18, 2024 · 3 comments

Comments

@1232Ga
Copy link

1232Ga commented Jun 18, 2024

how to swap map to camera and camera to map on Flight screen page on MSDK V4 .On Unmanned Screen page.

@dji-dev
Copy link
Contributor

dji-dev commented Jun 18, 2024

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

°°°

@1232Ga
Copy link
Author

1232Ga commented Jun 26, 2024

how to replace mapwidget to mapbox to switch camera and map

@dji-dev
Copy link
Contributor

dji-dev commented Jun 26, 2024

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

°°°

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants