Class

MaplibreNativeFfiCameraFitOptions

Description [src]

final class MaplibreNativeFfi.CameraFitOptions : GObject.Object
{
  /* No available fields */
}

Options for finding the camera that fits an area.

A member that a has_ method reports on is unset until its property or setter sets it.

See mln_camera_fit_options in the C API reference.

Ancestors

Constructors

maplibre_native_ffi_camera_fit_options_new

Creates a MaplibreNativeFfiCameraFitOptions whose members are zero, empty, or unset.

Instance methods

maplibre_native_ffi_camera_fit_options_get_bearing

Gets MaplibreNativeFfiCameraFitOptions:bearing.

maplibre_native_ffi_camera_fit_options_get_padding

Gets MaplibreNativeFfiCameraFitOptions:padding.

maplibre_native_ffi_camera_fit_options_get_pitch

Gets MaplibreNativeFfiCameraFitOptions:pitch.

maplibre_native_ffi_camera_fit_options_has_bearing

Whether MaplibreNativeFfiCameraFitOptions:bearing is set.

maplibre_native_ffi_camera_fit_options_has_padding

Whether MaplibreNativeFfiCameraFitOptions:padding is set.

maplibre_native_ffi_camera_fit_options_has_pitch

Whether MaplibreNativeFfiCameraFitOptions:pitch is set.

maplibre_native_ffi_camera_fit_options_set_bearing

Sets MaplibreNativeFfiCameraFitOptions:bearing.

maplibre_native_ffi_camera_fit_options_set_padding

Sets MaplibreNativeFfiCameraFitOptions:padding.

maplibre_native_ffi_camera_fit_options_set_pitch

Sets MaplibreNativeFfiCameraFitOptions:pitch.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

MaplibreNativeFfi.CameraFitOptions:bearing

The rotation from north, in degrees.

MaplibreNativeFfi.CameraFitOptions:padding

Space to leave between the area and each edge of the map. The left and right insets must add up to less than the map’s width, and the top and bottom to less than its height.

MaplibreNativeFfi.CameraFitOptions:pitch

The tilt toward the horizon, in degrees.

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.

Class structure

struct MaplibreNativeFfiCameraFitOptionsClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.