DJI Mobile SDK Documentation

class DJIUiSettings

interface DJIUiSettings
Package:com.dji.mapkit.core.maps
Description:

Settings for the user interface of a DJIMap.

Class Members:
method setZoomControlsEnabled
void setZoomControlsEnabled(boolean enabled)
Package:com.dji.mapkit.core.maps
Description:

Enables or disables the zoom controls. Not supported by HERE Maps.

Input Parameters:
boolean enabledtrue to enable the zoom controls; false to disable the zoom controls.
method setCompassEnabled
void setCompassEnabled(boolean enabled)
Package:com.dji.mapkit.core.maps
Description:

Enables or disables the compass. Not supported by HERE Maps.

Input Parameters:
boolean enabledtrue to enable the compass; false to disable the compass.
method setRotateGesturesEnabled
void setRotateGesturesEnabled(boolean enabled)
Package:com.dji.mapkit.core.maps
Description:

Enables or disables rotate gestures.

Input Parameters:
boolean enabledtrue to enable rotate gestures; false to disable rotate gestures.
method setTiltGesturesEnabled
void setTiltGesturesEnabled(boolean enabled)
Package:com.dji.mapkit.core.maps
Description:

Enables or disables tilt gestures.

Input Parameters:
boolean enabledtrue to enable tilt gestures; false to disable tilt gestures.
method setZoomGesturesEnabled
void setZoomGesturesEnabled(boolean enabled)
Package:com.dji.mapkit.core.maps
Description:

Enables or disables zoom gestures.

Input Parameters:
boolean enabledtrue to enable zoom gestures; false to disable zoom gestures.
method setScrollGesturesEnabled
void setScrollGesturesEnabled(boolean enabled)
Package:com.dji.mapkit.core.maps
Description:

Enables or disables scroll gestures.

Input Parameters:
boolean enabledtrue to enable scroll gestures; false to disable scroll gestures.