All Classes and Interfaces

Class
Description
Ambient cache maintenance operation for a runtime.
Mutable descriptor for animated camera transitions.
Mutable descriptor for map camera constraint options.
Mutable descriptor for camera fitting queries.
Mutable camera descriptor used for camera snapshots and commands.
Canonical tile identity used by custom geometry source callbacks.
Constraint mode used by map viewport options.
Internal materializers and readers for shared value structs.
Callback invoked by native custom geometry sources for tile fetches and cancels.
Mutable descriptor for custom geometry sources.
Map debug overlay options.
Screen-space insets in logical map pixels.
Mutable EGL context descriptor for OpenGL render targets on Linux.
Immutable GeoJSON feature descriptor.
Copied result from a feature extension query.
 
 
 
GeoJSON feature identifier value.
 
 
Singleton null identifier.
 
 
Mutable selector for render-session feature-state operations.
Mutable descriptor for free-camera position and orientation.
Immutable GeoJSON descriptor tree.
 
 
 
Immutable geometry tree used by Maplibre descriptors and copied results.
 
Singleton empty geometry.
 
 
 
 
 
 
Shared released-state bookkeeping for native handles.
 
Token for cross-package calls inside this module.
Thrown when a native call reports an invalid argument.
Thrown when a native object is in the wrong lifecycle state for a call.
Immutable JSON-like value tree used by Maplibre descriptors and copied results.
 
 
 
 
Ordered JSON object member.
Singleton JSON null value.
 
 
 
Geographic coordinate in degrees.
Geographic bounds in degrees.
Image-name property slots for location indicator layers.
Receives process-global Maplibre Native log records.
Owns process-global logging callback state.
Category for a Maplibre Native log record.
Copied Maplibre Native log record delivered to a Java log callback.
Severity for a Maplibre Native log record.
Owned native map handle.
Process-global entry points for the Java FFM binding.
Base unchecked exception for errors reported by the native Maplibre C ABI.
 
 
Status categories reported by the native Maplibre C ABI.
Map rendering mode selected at map creation.
Mutable descriptor used when creating a MapHandle.
Owned standalone projection snapshot created from a map.
Internal materializers and readers for map descriptors.
Internal FFM memory helpers.
Mutable descriptor for Metal caller-owned texture render targets.
Mutable Metal backend context descriptor.
Mutable descriptor for Metal session-owned texture render targets.
Borrowed Metal texture frame valid only while its frame handle is open.
Explicit handle for a Metal session-owned texture frame.
Mutable descriptor for Metal native surface render targets.
struct mln_animation_options {
    uint32_t size;
    uint32_t fields;
    double duration_ms;
    double velocity;
    double min_zoom;
    mln_unit_bezier easing;
}
struct mln_bound_options {
    uint32_t size;
    uint32_t fields;
    mln_lat_lng_bounds bounds;
    double min_zoom;
    double max_zoom;
    double min_pitch;
    double max_pitch;
}
struct mln_camera_fit_options {
    uint32_t size;
    uint32_t fields;
    mln_edge_insets padding;
    double bearing;
    double pitch;
}
struct mln_camera_options {
    uint32_t size;
    uint32_t fields;
    double latitude;
    double longitude;
    double center_altitude;
    mln_edge_insets padding;
    mln_screen_point anchor;
    double zoom;
    double bearing;
    double pitch;
    double roll;
    double field_of_view;
}
struct mln_canonical_tile_id {
    uint32_t z;
    uint32_t x;
    uint32_t y;
}
struct mln_coordinate_span {
    const mln_lat_lng *coordinates;
    size_t coordinate_count;
}
struct mln_custom_geometry_source_options {
    uint32_t size;
    uint32_t fields;
    mln_custom_geometry_source_tile_callback fetch_tile;
    mln_custom_geometry_source_tile_callback cancel_tile;
    void *user_data;
    double min_zoom;
    double max_zoom;
    double tolerance;
    uint32_t tile_size;
    uint32_t buffer;
    bool clip;
    bool wrap;
}
typedef void (*mln_custom_geometry_source_tile_callback)(void *, mln_canonical_tile_id)
The function pointer signature, expressed as a functional interface
struct mln_edge_insets {
    double top;
    double left;
    double bottom;
    double right;
}
struct mln_egl_context_descriptor {
    uint32_t size;
    void *display;
    void *config;
    void *share_context;
    void *get_proc_address;
}
struct mln_feature {
    uint32_t size;
    const mln_geometry *geometry;
    const mln_json_member *properties;
    size_t property_count;
    uint32_t identifier_type;
    union {
        uint64_t uint_value;
        int64_t int_value;
        double double_value;
        mln_string_view string_value;
    } identifier;
}
struct mln_feature_collection {
    const mln_feature *features;
    size_t feature_count;
}
struct mln_feature_extension_result_info {
    uint32_t size;
    uint32_t type;
    union {
        const mln_json_value *value;
        mln_feature_collection feature_collection;
    } data;
}
union {
    const mln_json_value *value;
    mln_feature_collection feature_collection;
}
struct mln_feature_state_selector {
    uint32_t size;
    uint32_t fields;
    mln_string_view source_id;
    mln_string_view source_layer_id;
    mln_string_view feature_id;
    mln_string_view state_key;
}
union {
    uint64_t uint_value;
    int64_t int_value;
    double double_value;
    mln_string_view string_value;
}
struct mln_free_camera_options {
    uint32_t size;
    uint32_t fields;
    mln_vec3 position;
    mln_quaternion orientation;
}
struct mln_geojson {
    uint32_t size;
    uint32_t type;
    union {
        const mln_geometry *geometry;
        const mln_feature *feature;
        mln_feature_collection feature_collection;
    } data;
}
union {
    const mln_geometry *geometry;
    const mln_feature *feature;
    mln_feature_collection feature_collection;
}
struct mln_geometry {
    uint32_t size;
    uint32_t type;
    union {
        mln_lat_lng point;
        mln_coordinate_span line_string;
        mln_polygon_geometry polygon;
        mln_coordinate_span multi_point;
        mln_multi_line_geometry multi_line_string;
        mln_multi_polygon_geometry multi_polygon;
        mln_geometry_collection geometry_collection;
    } data;
}
struct mln_geometry_collection {
    const mln_geometry *geometries;
    size_t geometry_count;
}
union {
    mln_lat_lng point;
    mln_coordinate_span line_string;
    mln_polygon_geometry polygon;
    mln_coordinate_span multi_point;
    mln_multi_line_geometry multi_line_string;
    mln_multi_polygon_geometry multi_polygon;
    mln_geometry_collection geometry_collection;
}
struct mln_json_array {
    const mln_json_value *values;
    size_t value_count;
}
struct mln_json_member {
    mln_string_view key;
    const mln_json_value *value;
}
struct mln_json_object {
    const mln_json_member *members;
    size_t member_count;
}
struct mln_json_value {
    uint32_t size;
    uint32_t type;
    union {
        bool bool_value;
        uint64_t uint_value;
        int64_t int_value;
        double double_value;
        mln_string_view string_value;
        mln_json_array array_value;
        mln_json_object object_value;
    } data;
}
union {
    bool bool_value;
    uint64_t uint_value;
    int64_t int_value;
    double double_value;
    mln_string_view string_value;
    mln_json_array array_value;
    mln_json_object object_value;
}
struct mln_lat_lng {
    double latitude;
    double longitude;
}
struct mln_lat_lng_bounds {
    mln_lat_lng southwest;
    mln_lat_lng northeast;
}
typedef uint32_t (*mln_log_callback)(void *, uint32_t, uint32_t, int64_t, const char *)
The function pointer signature, expressed as a functional interface
struct mln_map_options {
    uint32_t size;
    uint32_t width;
    uint32_t height;
    double scale_factor;
    uint32_t map_mode;
}
struct mln_map_tile_options {
    uint32_t size;
    uint32_t fields;
    uint32_t prefetch_zoom_delta;
    double lod_min_radius;
    double lod_scale;
    double lod_pitch_threshold;
    double lod_zoom_shift;
    uint32_t lod_mode;
}
struct mln_map_viewport_options {
    uint32_t size;
    uint32_t fields;
    uint32_t north_orientation;
    uint32_t constrain_mode;
    uint32_t viewport_mode;
    mln_edge_insets frustum_offset;
}
struct mln_metal_borrowed_texture_descriptor {
    uint32_t size;
    mln_render_target_extent extent;
    void *texture;
}
struct mln_metal_context_descriptor {
    uint32_t size;
    void *device;
}
struct mln_metal_owned_texture_descriptor {
    uint32_t size;
    mln_render_target_extent extent;
    mln_metal_context_descriptor context;
}
struct mln_metal_owned_texture_frame {
    uint32_t size;
    uint64_t generation;
    uint32_t width;
    uint32_t height;
    double scale_factor;
    uint64_t frame_id;
    void *texture;
    void *device;
    uint64_t pixel_format;
}
struct mln_metal_surface_descriptor {
    uint32_t size;
    mln_render_target_extent extent;
    mln_metal_context_descriptor context;
    void *layer;
}
struct mln_multi_line_geometry {
    const mln_coordinate_span *lines;
    size_t line_count;
}
struct mln_multi_polygon_geometry {
    const mln_polygon_geometry *polygons;
    size_t polygon_count;
}
struct mln_offline_geometry_region_definition {
    uint32_t size;
    const char *style_url;
    const mln_geometry *geometry;
    double min_zoom;
    double max_zoom;
    float pixel_ratio;
    bool include_ideographs;
}
struct mln_offline_region_definition {
    uint32_t size;
    uint32_t type;
    union {
        mln_offline_tile_pyramid_region_definition tile_pyramid;
        mln_offline_geometry_region_definition geometry;
    } data;
}
union {
    mln_offline_tile_pyramid_region_definition tile_pyramid;
    mln_offline_geometry_region_definition geometry;
}
struct mln_offline_region_info {
    uint32_t size;
    mln_offline_region_id id;
    mln_offline_region_definition definition;
    const uint8_t *metadata;
    size_t metadata_size;
}
struct mln_offline_region_status {
    uint32_t size;
    uint32_t 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;
}
struct mln_offline_tile_pyramid_region_definition {
    uint32_t size;
    const char *style_url;
    mln_lat_lng_bounds bounds;
    double min_zoom;
    double max_zoom;
    float pixel_ratio;
    bool include_ideographs;
}
struct mln_opengl_borrowed_texture_descriptor {
    uint32_t size;
    mln_render_target_extent extent;
    mln_opengl_context_descriptor context;
    uint32_t texture;
    uint32_t target;
}
struct mln_opengl_context_descriptor {
    uint32_t size;
    mln_opengl_context_platform platform;
    union {
        mln_wgl_context_descriptor wgl;
        mln_egl_context_descriptor egl;
    } data;
}
union {
    mln_wgl_context_descriptor wgl;
    mln_egl_context_descriptor egl;
}
struct mln_opengl_owned_texture_descriptor {
    uint32_t size;
    mln_render_target_extent extent;
    mln_opengl_context_descriptor context;
}
struct mln_opengl_owned_texture_frame {
    uint32_t size;
    uint64_t generation;
    uint32_t width;
    uint32_t height;
    double scale_factor;
    uint64_t frame_id;
    uint32_t texture;
    uint32_t target;
    uint32_t internal_format;
    uint32_t format;
    uint32_t type;
}
struct mln_opengl_surface_descriptor {
    uint32_t size;
    mln_render_target_extent extent;
    mln_opengl_context_descriptor context;
    void *surface;
}
struct mln_polygon_geometry {
    const mln_coordinate_span *rings;
    size_t ring_count;
}
struct mln_premultiplied_rgba8_image {
    uint32_t size;
    uint32_t width;
    uint32_t height;
    uint32_t stride;
    const uint8_t *pixels;
    size_t byte_length;
}
struct mln_projected_meters {
    double northing;
    double easting;
}
struct mln_projection_mode {
    uint32_t size;
    uint32_t fields;
    bool axonometric;
    double x_skew;
    double y_skew;
}
struct mln_quaternion {
    double x;
    double y;
    double z;
    double w;
}
struct mln_queried_feature {
    uint32_t size;
    uint32_t fields;
    mln_feature feature;
    mln_string_view source_id;
    mln_string_view source_layer_id;
    const mln_json_value *state;
}
struct mln_render_target_extent {
    uint32_t size;
    uint32_t width;
    uint32_t height;
    double scale_factor;
}
struct mln_rendered_feature_query_options {
    uint32_t size;
    uint32_t fields;
    const mln_string_view *layer_ids;
    size_t layer_id_count;
    const mln_json_value *filter;
}
struct mln_rendered_query_geometry {
    uint32_t size;
    uint32_t type;
    union {
        mln_screen_point point;
        mln_screen_box box;
        mln_screen_line_string line_string;
    } data;
}
union {
    mln_screen_point point;
    mln_screen_box box;
    mln_screen_line_string line_string;
}
struct mln_rendering_stats {
    uint32_t size;
    double encoding_time;
    double rendering_time;
    int64_t frame_count;
    int64_t draw_call_count;
    int64_t total_draw_call_count;
}
struct mln_resource_provider {
    uint32_t size;
    mln_resource_provider_callback callback;
    void *user_data;
}
typedef uint32_t (*mln_resource_provider_callback)(void *, const mln_resource_request *, mln_resource_request_handle *)
The function pointer signature, expressed as a functional interface
struct mln_resource_request {
    uint32_t size;
    const char *url;
    uint32_t kind;
    uint32_t loading_method;
    uint32_t priority;
    uint32_t usage;
    uint32_t storage_policy;
    bool has_range;
    uint64_t range_start;
    uint64_t range_end;
    bool has_prior_modified;
    int64_t prior_modified_unix_ms;
    bool has_prior_expires;
    int64_t prior_expires_unix_ms;
    const char *prior_etag;
    const uint8_t *prior_data;
    size_t prior_data_size;
}
struct mln_resource_response {
    uint32_t size;
    uint32_t status;
    uint32_t error_reason;
    const uint8_t *bytes;
    size_t byte_count;
    const char *error_message;
    bool must_revalidate;
    bool has_modified;
    int64_t modified_unix_ms;
    bool has_expires;
    int64_t expires_unix_ms;
    const char *etag;
    bool has_retry_after;
    int64_t retry_after_unix_ms;
}
struct mln_resource_transform {
    uint32_t size;
    mln_resource_transform_callback callback;
    void *user_data;
}
typedef mln_status (*mln_resource_transform_callback)(void *, uint32_t, const char *, mln_resource_transform_response *)
The function pointer signature, expressed as a functional interface
struct mln_resource_transform_response {
    uint32_t size;
    const char *url;
    void *context;
}
struct mln_runtime_event {
    uint32_t size;
    uint32_t type;
    uint32_t source_type;
    void *source;
    int32_t code;
    uint32_t payload_type;
    const void *payload;
    size_t payload_size;
    const char *message;
    size_t message_size;
}
struct mln_runtime_event_offline_operation_completed {
    uint32_t size;
    mln_offline_operation_id operation_id;
    uint32_t operation_kind;
    uint32_t result_kind;
    int32_t result_status;
    bool found;
}
struct mln_runtime_event_offline_region_response_error {
    uint32_t size;
    mln_offline_region_id region_id;
    uint32_t reason;
}
struct mln_runtime_event_offline_region_status {
    uint32_t size;
    mln_offline_region_id region_id;
    mln_offline_region_status status;
}
struct mln_runtime_event_offline_region_tile_count_limit {
    uint32_t size;
    mln_offline_region_id region_id;
    uint64_t limit;
}
struct mln_runtime_event_render_frame {
    uint32_t size;
    uint32_t mode;
    bool needs_repaint;
    bool placement_changed;
    mln_rendering_stats stats;
}
struct mln_runtime_event_render_map {
    uint32_t size;
    uint32_t mode;
}
struct mln_runtime_event_style_image_missing {
    uint32_t size;
    const char *image_id;
    size_t image_id_size;
}
struct mln_runtime_event_tile_action {
    uint32_t size;
    uint32_t operation;
    mln_tile_id tile_id;
    const char *source_id;
    size_t source_id_size;
}
struct mln_runtime_options {
    uint32_t size;
    uint32_t flags;
    const char *asset_path;
    const char *cache_path;
    uint64_t maximum_cache_size;
}
struct mln_screen_box {
    mln_screen_point min;
    mln_screen_point max;
}
struct mln_screen_line_string {
    const mln_screen_point *points;
    size_t point_count;
}
struct mln_screen_point {
    double x;
    double y;
}
struct mln_source_feature_query_options {
    uint32_t size;
    uint32_t fields;
    const mln_string_view *source_layer_ids;
    size_t source_layer_id_count;
    const mln_json_value *filter;
}
struct mln_string_view {
    const char *data;
    size_t size;
}
struct mln_style_image_info {
    uint32_t size;
    uint32_t width;
    uint32_t height;
    uint32_t stride;
    size_t byte_length;
    float pixel_ratio;
    bool sdf;
}
struct mln_style_image_options {
    uint32_t size;
    uint32_t fields;
    float pixel_ratio;
    bool sdf;
}
struct mln_style_source_info {
    uint32_t size;
    uint32_t type;
    size_t id_size;
    bool is_volatile;
    bool has_attribution;
    size_t attribution_size;
}
struct mln_style_tile_source_options {
    uint32_t size;
    uint32_t fields;
    double min_zoom;
    double max_zoom;
    mln_string_view attribution;
    uint32_t scheme;
    mln_lat_lng_bounds bounds;
    uint32_t tile_size;
    uint32_t vector_encoding;
    uint32_t raster_encoding;
}
struct mln_texture_image_info {
    uint32_t size;
    uint32_t width;
    uint32_t height;
    uint32_t stride;
    size_t byte_length;
}
struct mln_tile_id {
    uint32_t overscaled_z;
    int32_t wrap;
    uint32_t canonical_z;
    uint32_t canonical_x;
    uint32_t canonical_y;
}
struct mln_unit_bezier {
    double x1;
    double y1;
    double x2;
    double y2;
}
struct mln_vec3 {
    double x;
    double y;
    double z;
}
struct mln_vulkan_borrowed_texture_descriptor {
    uint32_t size;
    mln_render_target_extent extent;
    mln_vulkan_context_descriptor context;
    void *image;
    void *image_view;
    uint32_t format;
    uint32_t initial_layout;
    uint32_t final_layout;
}
struct mln_vulkan_context_descriptor {
    uint32_t size;
    void *instance;
    void *physical_device;
    void *device;
    void *graphics_queue;
    uint32_t graphics_queue_family_index;
    void *get_instance_proc_addr;
    void *get_device_proc_addr;
}
struct mln_vulkan_owned_texture_descriptor {
    uint32_t size;
    mln_render_target_extent extent;
    mln_vulkan_context_descriptor context;
}
struct mln_vulkan_owned_texture_frame {
    uint32_t size;
    uint64_t generation;
    uint32_t width;
    uint32_t height;
    double scale_factor;
    uint64_t frame_id;
    void *image;
    void *image_view;
    void *device;
    uint32_t format;
    uint32_t layout;
}
struct mln_vulkan_surface_descriptor {
    uint32_t size;
    mln_render_target_extent extent;
    mln_vulkan_context_descriptor context;
    void *surface;
}
struct mln_wgl_context_descriptor {
    uint32_t size;
    void *device_context;
    void *share_context;
    void *get_proc_address;
}
Ensures the native library is loaded before any generated downcall runs.
Explicit off-heap byte buffer for reusable native readback and upload storage.
Thrown when a native Maplibre error or C++ exception crosses the C ABI as a status.
Loads the native Maplibre C ABI library for the Java FFM binding.
Opaque borrowed native address value used for backend interop handles.
Internal conversion between public opaque pointer values and FFM segments.
Process-global network reachability state used by Maplibre Native.
North orientation used by map viewport options.
Owner-thread offline database operation that must be taken or discarded.
Offline database operation kind reported by completion events.
Offline database operation result kind reported by completion events.
Offline region definition copied into native storage at creation time.
 
 
Download state for an offline region status snapshot.
Offline region snapshot copied from native snapshot or list handles.
Offline region status snapshot copied from native event payloads.
Mutable descriptor for OpenGL caller-owned texture render targets.
OpenGL platform context provider data for OpenGL render targets.
OpenGL context provider support flag reported by the native library build.
Mutable descriptor for OpenGL session-owned texture render targets.
Borrowed OpenGL texture frame valid only while its frame handle is open.
Explicit handle for an OpenGL session-owned texture frame.
Mutable descriptor for OpenGL native surface render targets.
Caller-owned premultiplied RGBA8 pixels.
Spherical Mercator coordinate in projected meters.
Mutable descriptor for axonometric map projection mode options.
Quaternion stored as x, y, z, w components.
One feature copied from a rendered or source feature query result.
Internal materializers and readers for feature state and query structs.
DEM raster encoding for raster DEM style sources.
Render backend support flag reported by the native library build.
Mutable options for rendered feature queries.
Screen-space geometry used for rendered feature queries.
 
 
 
Rendering statistics copied from a native render-frame event.
Render mode reported by render observer events.
Owned native render session handle.
Internal materializers and readers for render target descriptors and frames.
Mutable logical render target extent.
Native resource error reason copied from events or resource responses.
Resource kind reported to runtime resource callbacks.
Resource loading method copied from a native resource request.
Resource request priority copied from a native resource request.
Intercepts network resource requests for a runtime.
Decision returned by a resource provider callback.
Copied network resource request passed to a runtime resource provider.
 
Owned handle for a resource provider request that Java chose to handle.
Mutable descriptor used to complete a resource provider request.
Status for a resource provider response.
Resource storage policy copied from a native resource request.
Internal materializers and readers for resource callback structs.
Rewrites network resource URLs for a runtime.
Copied request passed to a runtime resource transform callback.
Owns runtime-scoped resource transform callback state.
Resource usage copied from a native resource request.
Event copied from a runtime's native event queue.
Copied payload for a runtime event.
 
 
 
 
 
 
 
 
 
 
Source kind for a copied runtime event.
Runtime event type copied from the native event queue.
Owned native runtime handle.
Mutable descriptor used when creating a RuntimeHandle.
Internal materializers and readers for runtime structs and runtime event payloads.
Screen-space box in logical map pixels.
Screen-space point in logical map pixels.
Mutable options for source feature queries.
Copied fixed metadata for one style source.
Style source type values returned by native style source metadata.
Converts native status codes into public Java exceptions.
Copied runtime style image pixels with style image metadata.
Copied metadata for one runtime style image.
Mutable descriptor for runtime style image options.
Internal materializers and readers for style structs and short-lived handles.
CPU texture readback metadata in physical pixels.
Overscaled tile identity copied from native event payloads.
Tile level-of-detail algorithm used by map tile options.
Tile operation reported by tile observer events.
Mutable descriptor for tile prefetch and level-of-detail controls.
Tile URL coordinate scheme for vector, raster, and raster DEM sources.
Mutable descriptor for vector, raster, and raster DEM style tile sources.
Cubic unit-bezier easing curve.
Thrown when the native library does not support the requested feature.
Internal materializers and readers for JSON, geometry, feature, and GeoJSON values.
Three-component vector used by free-camera options.
Vector tile encoding for vector style sources.
Viewport orientation mode used by map viewport options.
Mutable descriptor for live map viewport and render-transform controls.
Mutable descriptor for Vulkan caller-owned texture render targets.
Mutable Vulkan backend context descriptor.
Mutable descriptor for Vulkan session-owned texture render targets.
Borrowed Vulkan texture frame valid only while its frame handle is open.
Explicit handle for a Vulkan session-owned texture frame.
Mutable descriptor for Vulkan native surface render targets.
Mutable WGL context descriptor for OpenGL render targets on Windows.
Thrown when an owner-thread-affine native handle is used from the wrong thread.