class Mapkit
Package: | com.dji.mapkit.core |
Description:
Contains methods to set information that is required for map initialization.
Class Members:
method mapboxAccessToken
static void mapboxAccessToken(@NonNull String accessToken)
|
Package: | com.dji.mapkit.core |
Description:
Sets the mapbox access token. This must be called before fetching the Mapbox map view.
@NonNull String accessToken | The mapbox access token. |
method inMainlandChina
static void inMainlandChina(boolean inMainlandChina)
|
Package: | com.dji.mapkit.core |
Description:
Sets whether the drone's location is in mainland China. This information is used for GPS offset, and does not affect which map is used.
boolean inMainlandChina | true if the user is in mainland China. |
method inHongKong
static void inHongKong(boolean inHongKong)
|
Package: | com.dji.mapkit.core |
Description:
Sets whether the drone's location is in Hong Kong. This information is used for GPS offset, and does not affect which map is used.
boolean inHongKong | true if the user is in Hong Kong. |
method inMacau
static void inMacau(boolean inMacau)
|
Package: | com.dji.mapkit.core |
Description:
Sets whether the drone's location is in Macau. This information is used for GPS offset, and does not affect which map is used.
boolean inMacau | true if the user is in Macau. |