class DJICameraPosition
Package: | com.dji.mapkit.core.models |
Description:
The position of the camera.
Class Members:
method DJICameraPosition
DJICameraPosition(DJILatLng target, float zoom, float tilt, float bearing)
|
Package: | com.dji.mapkit.core.models |
Description:
Creates a new camera position with the given coordinates, zoom level, tilt, and bearing.
DJILatLng target | The position of the center point. |
float zoom | The zoom level between 0 and 20. 0 is the lowest zoom level which will show the entire map, and 20 is the highest zoom level. |
float tilt | The tilt of the camera. |
float bearing | The orientation of the camera. |
method DJICameraPosition
DJICameraPosition(DJILatLng position, float zoom)
|
Package: | com.dji.mapkit.core.models |
Description:
Creates a new camera position with the given coordinates and zoom level.
DJILatLng position | The position of the center point. |
float zoom | The zoom level between 0 and 20. 0 is the lowest zoom level which will show the entire map, and 20 is the highest zoom level. |
method getPosition
Package: | com.dji.mapkit.core.models |
Description:
Gets the position of the center point of the camera.
Return:
DJILatLng | The position of the center point of the camera. |
method getZoom
Package: | com.dji.mapkit.core.models |
Description:
Gets the zoom level of the camera.
Return:
float | The zoom level of the camera. |
method getTilt
Package: | com.dji.mapkit.core.models |
Description:
Gets the tilt of the camera.
Return:
float | The tilt of the camera. |
method getBearing
Package: | com.dji.mapkit.core.models |
Description:
Gets the orientation of the camera.
Return:
float | The orientation of the camera. |