Mobile-UXSDK-Android icon indicating copy to clipboard operation
Mobile-UXSDK-Android copied to clipboard

MapWidget - Custom Flight Path

Open Caufmann opened this issue 4 years ago • 1 comments

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,

Caufmann avatar Mar 03 '21 09:03 Caufmann

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

dji-dev avatar Mar 04 '21 07:03 dji-dev