Method
MaplibreNativeFfiRenderSessionquery_source_features_async
Declaration [src]
void
maplibre_native_ffi_render_session_query_source_features_async (
MaplibreNativeFfiRenderSession* self,
const char* source_id,
MaplibreNativeFfiSourceFeatureQueryOptions* options,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Finds the features of the source named source_id.
The query covers only the tiles that the source has loaded for the current view. A source loads tiles only while a visible layer uses it.
See mln_render_session_query_source_features in the
C API reference.
This method completes asynchronously. Use maplibre_native_ffi_render_session_query_source_features_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
source_id-
Type:
const char*The UTF-8 text.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. options-
Type:
MaplibreNativeFfiSourceFeatureQueryOptionsThe value, or
NULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackThe callback to call when the call finishes.
The argument can be NULL. user_data-
Type:
gpointerThe data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.