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.

Ancestors

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_anchor

Gets MaplibreNativeFfiCameraOptions:anchor.

maplibre_native_ffi_camera_options_get_bearing

Gets MaplibreNativeFfiCameraOptions:bearing.

maplibre_native_ffi_camera_options_get_center

Gets MaplibreNativeFfiCameraOptions:center.

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_get_padding

Gets MaplibreNativeFfiCameraOptions:padding.

maplibre_native_ffi_camera_options_get_pitch

Gets MaplibreNativeFfiCameraOptions:pitch.

maplibre_native_ffi_camera_options_get_roll

Gets MaplibreNativeFfiCameraOptions:roll.

maplibre_native_ffi_camera_options_get_zoom

Gets MaplibreNativeFfiCameraOptions:zoom.

maplibre_native_ffi_camera_options_has_anchor

Whether MaplibreNativeFfiCameraOptions:anchor is set.

maplibre_native_ffi_camera_options_has_bearing

Whether MaplibreNativeFfiCameraOptions:bearing is set.

maplibre_native_ffi_camera_options_has_center

Whether MaplibreNativeFfiCameraOptions:center 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_has_pitch

Whether MaplibreNativeFfiCameraOptions:pitch is set.

maplibre_native_ffi_camera_options_has_roll

Whether MaplibreNativeFfiCameraOptions:roll is set.

maplibre_native_ffi_camera_options_has_zoom

Whether MaplibreNativeFfiCameraOptions:zoom is set.

maplibre_native_ffi_camera_options_set_anchor

Sets MaplibreNativeFfiCameraOptions:anchor.

maplibre_native_ffi_camera_options_set_bearing

Sets MaplibreNativeFfiCameraOptions:bearing.

maplibre_native_ffi_camera_options_set_center

Sets MaplibreNativeFfiCameraOptions:center.

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.

maplibre_native_ffi_camera_options_set_padding

Sets MaplibreNativeFfiCameraOptions:padding.

maplibre_native_ffi_camera_options_set_pitch

Sets MaplibreNativeFfiCameraOptions:pitch.

maplibre_native_ffi_camera_options_set_roll

Sets MaplibreNativeFfiCameraOptions:roll.

maplibre_native_ffi_camera_options_set_zoom

Sets MaplibreNativeFfiCameraOptions:zoom.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

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:bearing

The rotation from north, in degrees.

MaplibreNativeFfi.CameraOptions:center-altitude

The altitude of the center, in meters above sea level.

MaplibreNativeFfi.CameraOptions:field-of-view

The vertical field of view, in degrees.

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.

MaplibreNativeFfi.CameraOptions:roll

The roll, 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 MaplibreNativeFfiCameraOptionsClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.