Class
MaplibreNativeFfiFreeCameraOptions
Description [src]
final class MaplibreNativeFfi.FreeCameraOptions : GObject.Object
{
/* No available fields */
}
The camera’s position and orientation in three dimensions.
A member that a has_ method reports on is unset until its property or
setter sets it.
See mln_free_camera_options in the
C API reference.
Constructors
maplibre_native_ffi_free_camera_options_new
Creates a MaplibreNativeFfiFreeCameraOptions whose members are zero, empty, or unset.
Instance methods
maplibre_native_ffi_free_camera_options_get_orientation
Gets MaplibreNativeFfiFreeCameraOptions:orientation.
maplibre_native_ffi_free_camera_options_get_position
Gets MaplibreNativeFfiFreeCameraOptions:position.
maplibre_native_ffi_free_camera_options_has_orientation
Whether MaplibreNativeFfiFreeCameraOptions:orientation is set.
maplibre_native_ffi_free_camera_options_has_position
Whether MaplibreNativeFfiFreeCameraOptions:position is set.
maplibre_native_ffi_free_camera_options_set_orientation
Sets MaplibreNativeFfiFreeCameraOptions:orientation.
maplibre_native_ffi_free_camera_options_set_position
Sets MaplibreNativeFfiFreeCameraOptions:position.
Properties
MaplibreNativeFfi.FreeCameraOptions:orientation
The camera’s rotation from looking straight down with north at the top of the screen.
MaplibreNativeFfi.FreeCameraOptions:position
The camera’s position in Web Mercator units, where the world is 1 wide, (0,
0) is its northwest corner, and (1, 1) is its southeast corner. z is the
altitude in the same units.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.