Class

MaplibreNativeFfiAnimationOptions

Description [src]

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

How a camera change animates.

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

See mln_animation_options in the C API reference.

Ancestors

Constructors

maplibre_native_ffi_animation_options_new

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

Instance methods

maplibre_native_ffi_animation_options_get_duration_ms

Gets MaplibreNativeFfiAnimationOptions:duration-ms.

maplibre_native_ffi_animation_options_get_easing

Gets MaplibreNativeFfiAnimationOptions:easing.

maplibre_native_ffi_animation_options_get_end_handler

Gets MaplibreNativeFfiAnimationOptions:end-handler.

maplibre_native_ffi_animation_options_get_min_zoom

Gets MaplibreNativeFfiAnimationOptions:min-zoom.

maplibre_native_ffi_animation_options_get_transition_id

Gets MaplibreNativeFfiAnimationOptions:transition-id.

maplibre_native_ffi_animation_options_get_velocity

Gets MaplibreNativeFfiAnimationOptions:velocity.

maplibre_native_ffi_animation_options_has_duration_ms

Whether MaplibreNativeFfiAnimationOptions:duration-ms is set.

maplibre_native_ffi_animation_options_has_easing

Whether MaplibreNativeFfiAnimationOptions:easing is set.

maplibre_native_ffi_animation_options_has_min_zoom

Whether MaplibreNativeFfiAnimationOptions:min-zoom is set.

maplibre_native_ffi_animation_options_has_transition_id

Whether MaplibreNativeFfiAnimationOptions:transition-id is set.

maplibre_native_ffi_animation_options_has_velocity

Whether MaplibreNativeFfiAnimationOptions:velocity is set.

maplibre_native_ffi_animation_options_set_duration_ms

Sets MaplibreNativeFfiAnimationOptions:duration-ms.

maplibre_native_ffi_animation_options_set_easing

Sets MaplibreNativeFfiAnimationOptions:easing.

maplibre_native_ffi_animation_options_set_end_handler

Sets MaplibreNativeFfiAnimationOptions:end-handler.

maplibre_native_ffi_animation_options_set_min_zoom

Sets MaplibreNativeFfiAnimationOptions:min-zoom.

maplibre_native_ffi_animation_options_set_transition_id

Sets MaplibreNativeFfiAnimationOptions:transition-id.

maplibre_native_ffi_animation_options_set_velocity

Sets MaplibreNativeFfiAnimationOptions:velocity.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

MaplibreNativeFfi.AnimationOptions:min-zoom

The zoom level at the peak of a fly animation.

MaplibreNativeFfi.AnimationOptions:transition-id

An ID that maplibre_native_ffi_map_cancel_camera_transitions_with_id_async() cancels the change by. Several changes can share one.

MaplibreNativeFfi.AnimationOptions:velocity

The average speed of a fly animation, in screens per second. duration_ms overrides it.

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 MaplibreNativeFfiAnimationOptionsClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.