Struct

MaplibreNativeFfiResourceProvider

Description [src]

struct MaplibreNativeFfiResourceProvider {
  /* No available fields */
}

A resource provider, for maplibre_native_ffi_runtime_set_resource_provider_async().

See mln_resource_provider in the C API reference.

Constructors

maplibre_native_ffi_resource_provider_new

Creates a MaplibreNativeFfiResourceProvider whose members are zero or empty.

Instance methods

maplibre_native_ffi_resource_provider_get_routes

Gets the value that maplibre_native_ffi_resource_provider_set_routes sets.

maplibre_native_ffi_resource_provider_set_callback

Serves a network request in place of the library.

maplibre_native_ffi_resource_provider_set_routes

The requests that the provider serves. Without routes, it serves every network request.