Method

MaplibreNativeFfiRenderSessionquery_rendered_features_async

Declaration [src]

void
maplibre_native_ffi_render_session_query_rendered_features_async (
  MaplibreNativeFfiRenderSession* self,
  const MaplibreNativeFfiRenderedQueryGeometry* geometry,
  MaplibreNativeFfiRenderedFeatureQueryOptions* options,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Finds the features that the session drew in an area of the screen.

The query reads the last frame that the session rendered. A feature that several layers draw appears once for each layer.

See mln_render_session_query_rendered_features in the C API reference.

This method completes asynchronously. Use maplibre_native_ffi_render_session_query_rendered_features_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

geometry

Type: MaplibreNativeFfiRenderedQueryGeometry

No description available.

The data is owned by the caller of the method.
options

Type: MaplibreNativeFfiRenderedFeatureQueryOptions

The value, or NULL.

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

Type: GAsyncReadyCallback

The callback to call when the call finishes.

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.