MapWidget integration into UXSDK project
已完成I am trying to integrate the MapWidget into my project, but the sample code I have seen requires making 4 (possibly paid) accounts to generate several keys required for one map. Is this the only way to make the widget work or is there an easier path?
Thanks in advance!
-
If you want MapWidget to display those three kinds of maps you need to fill in the corresponding APP_KEY. AMAP refers to Gaode Map, Here Map refers to local map, and Google Map uses Google Maps. mapwidget can also use mapbox. mapbox does not need to fill in the relevant KEY, it can be obtained after initialization by mapWidget.initMapboxMap method. The specific implementation can be found in sample. SAMPLE:Mobile-UXSDK-Android/MapWidgetActivity.java at master · dji-sdk/Mobile-UXSDK-Android (github.com)
请先登录再写评论。
评论
1 条评论