Method

MaplibreNativeFfiCustomGeometrySourceOptionsset_cancel_tile

Declaration [src]

void
maplibre_native_ffi_custom_geometry_source_options_set_cancel_tile (
  MaplibreNativeFfiCustomGeometrySourceOptions* self,
  MaplibreNativeFfiCustomSourceCancelTileCallback callback,
  gpointer user_data,
  GDestroyNotify notify
)

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

callback

Type: MaplibreNativeFfiCustomSourceCancelTileCallback

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.