|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <runtime.h>
Data Fields | |
| mln_offline_region_download_state | download_state |
| uint64_t | completed_resource_count |
| uint64_t | completed_resource_size |
| uint64_t | completed_tile_count |
| uint64_t | required_tile_count |
| uint64_t | completed_tile_size |
| uint64_t | required_resource_count |
| bool | required_resource_count_is_precise |
| bool | complete |
The download progress of an offline region.
| bool mln_offline_region_status::complete |
Whether the region has downloaded every resource it needs.
| uint64_t mln_offline_region_status::completed_resource_count |
The resources downloaded so far, tiles included.
| uint64_t mln_offline_region_status::completed_resource_size |
The size of the downloaded resources in bytes, tiles included.
| uint64_t mln_offline_region_status::completed_tile_count |
| uint64_t mln_offline_region_status::completed_tile_size |
The size of the downloaded tiles in bytes.
| mln_offline_region_download_state mln_offline_region_status::download_state |
| uint64_t mln_offline_region_status::required_resource_count |
The resources that the region needs, tiles included. Until required_resource_count_is_precise is true, this is only a lower bound.
| bool mln_offline_region_status::required_resource_count_is_precise |
| uint64_t mln_offline_region_status::required_tile_count |