|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
Go to the source code of this file.
Functions | |
| mln_plugin_register_function_v1 | mln_plugin_get_register_function_v1 (void) |
Add style layer types from a native plugin.
| mln_plugin_register_function_v1 mln_plugin_get_register_function_v1 | ( | void | ) |
Returns the function that registers a plugin's style layer types.
Pass the function to the plugin's registration entry point before loading a style that uses the plugin's layer types. Plugin callbacks run on library threads and can keep running while the process exits, so they must not use state that the process destroys at exit.
Lifetimes: The function stays valid until the process exits.