Method

MaplibreNativeFfiCameraTransitionHandlerset_callback

Declaration [src]

void
maplibre_native_ffi_camera_transition_handler_set_callback (
  MaplibreNativeFfiCameraTransitionHandler* self,
  MaplibreNativeFfiCameraTransitionEndCallback callback,
  gpointer user_data,
  GDestroyNotify notify
)

Description [src]

Receives the end of a camera change.

See mln_camera_transition_end_callback in the C API reference.

Parameters

callback

Type: MaplibreNativeFfiCameraTransitionEndCallback

The callback.

The argument can be NULL.
user_data

Type: gpointer

The data to pass to callback.

The argument can be NULL.
The data is owned by the caller of the method.
notify

Type: GDestroyNotify

The function that frees user_data after the last call.