Function

MaplibreNativeFfiCustomSourceCancelTileCallback

Declaration

void
(* MaplibreNativeFfiCustomSourceCancelTileCallback) (
  MaplibreNativeFfiMap* map,
  const char* source_id,
  MaplibreNativeFfiCanonicalTileId* tile_id,
  gpointer user_data
)

Description [src]

Reports that a custom source no longer needs a tile.

map and source_id name the source.

See mln_custom_source_cancel_tile_callback in the C API reference.

Parameters

map

Type: MaplibreNativeFfiMap

The handle.

The data is owned by the caller of the function.
source_id

Type: const char*

The text.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
tile_id

Type: MaplibreNativeFfiCanonicalTileId

The value.

The data is owned by the caller of the function.
user_data

Type: gpointer

The data that the callback’s setter received.

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