Class
MaplibreNativeFfiCameraOptions
Description [src]
final class MaplibreNativeFfi.CameraOptions : GObject.Object
{
/* No available fields */
}
A camera, with only the members that fields selects.
A member that a has_ method reports on is unset until its property or
setter sets it.
See mln_camera_options in the
C API reference.
Constructors
maplibre_native_ffi_camera_options_new
Creates a MaplibreNativeFfiCameraOptions whose members are zero, empty, or unset.
Instance methods
maplibre_native_ffi_camera_options_get_center_altitude
Gets MaplibreNativeFfiCameraOptions:center-altitude.
maplibre_native_ffi_camera_options_get_field_of_view
Gets MaplibreNativeFfiCameraOptions:field-of-view.
maplibre_native_ffi_camera_options_has_bearing
Whether MaplibreNativeFfiCameraOptions:bearing is set.
maplibre_native_ffi_camera_options_has_center_altitude
Whether MaplibreNativeFfiCameraOptions:center-altitude is set.
maplibre_native_ffi_camera_options_has_field_of_view
Whether MaplibreNativeFfiCameraOptions:field-of-view is set.
maplibre_native_ffi_camera_options_has_padding
Whether MaplibreNativeFfiCameraOptions:padding is set.
maplibre_native_ffi_camera_options_set_center_altitude
Sets MaplibreNativeFfiCameraOptions:center-altitude.
maplibre_native_ffi_camera_options_set_field_of_view
Sets MaplibreNativeFfiCameraOptions:field-of-view.
Properties
MaplibreNativeFfi.CameraOptions:anchor
The screen point that a change to the zoom, bearing, or pitch keeps in place. A center overrides it.
MaplibreNativeFfi.CameraOptions:center-altitude
The altitude of the center, in meters above sea level.
MaplibreNativeFfi.CameraOptions:padding
Insets from the map’s edges. The camera centers within the rest.
MaplibreNativeFfi.CameraOptions:pitch
The tilt toward the horizon, in degrees. 0 looks straight down.
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.