|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <callback_adapter.h>
One route a queued provider claims.
The kind field matches mln_resource_kind values, or MLN_ADAPTER_RESOURCE_KIND_ANY for every kind. The flags field is a bitwise OR of mln_adapter_resource_route_flags values choosing which URL the route compares and how; with no flags the route matches mln_resource_request.resolved_url exactly.
The url field is a comparison value, read literally or as a glob pattern according to flags. A null url or an unknown flag bit makes the route match nothing. The url pointer is borrowed and must outlive the provider.