class DJICameraUpdateFactory
final class DJICameraUpdateFactory
|
Package: | com.dji.mapkit.core.camera |
Description:
Factory for creating DJICameraUpdate objects.
Class Members:
method newCameraPosition
static DJICameraUpdate newCameraPosition(@NonNull DJICameraPosition cameraPosition)
|
Package: | com.dji.mapkit.core.camera |
Description:
Creates a camera update that moves the center of the screen to the DJICameraPosition
.
Return:
static DJICameraUpdate | A DJICameraUpdate object. |
method newLatLngBounds
static DJICameraUpdate newLatLngBounds(@NonNull DJILatLngBounds bounds, int zoom, int padding)
|
Package: | com.dji.mapkit.core.camera |
Description:
Creates a camera update that moves the center of the screen to the DJILatLngBounds
at the given zoom level or with the given padding.
@NonNull DJILatLngBounds bounds | The bounding box. |
int zoom | The zoom level. |
int padding | Additional space in pixels to leave between the bounds and the edge. |
Return:
static DJICameraUpdate | A DJICameraUpdate object. |
method newLatLngBounds
static DJICameraUpdate newLatLngBounds(@NonNull DJILatLngBounds bounds, int zoom)
|
Package: | com.dji.mapkit.core.camera |
Description:
Creates a camera update that moves the center of the screen to the DJILatLngBounds
at the given zoom level.
Return:
static DJICameraUpdate | A DJICameraUpdate object. |