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

MapWidget - Custom Flight Path #115

Open
Caufmann opened this issue Mar 3, 2021 · 1 comment
Open

MapWidget - Custom Flight Path #115

Caufmann opened this issue Mar 3, 2021 · 1 comment

Comments

@Caufmann
Copy link

Caufmann commented Mar 3, 2021

Dear DJI,

I need to change the flightpath color of the aircraft on a mapWidget (Mapbox) depending on data I'm receiving.

I would like to do something like this :

mapWidget.setFlightPathColor(greenColor);

  • Flying a few minutes *
  • data received *
    mapWidget.setFlightPathColor(redColor);
  • Flying a few minutes *
  • data received *
    mapWidget.setFlightPathColor(blueColor);
    ...

But when I use "setFlightPathColor", the entire FlightPath changes, when I would like different colours segments/portions.

Do you have any idea ?

Thanks for your time,

@dji-dev
Copy link
Contributor

dji-dev commented Mar 4, 2021

Agent comment from Luce Luo in Zendesk ticket #44469:

Dear Customer,

Thank you for contacting DJI.
Sorry that the UXSDK doesn't support changing the color segments/portions.
Maybe you can try with the open-source UXSDK to customize the behavior by yourself.
https://github.com/dji-sdk/Mobile-UXSDK-Beta-Android

Thanks,

Luce Luo
DJI Developer Support

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