maplibre/maplibre-native-ffi

An experimental C API for MapLibre Native, built for low-level language bindings and host integrations that need a C boundary instead of direct C++ interop.

Kotlin

28

632 commits

updated Oct 4, 2026

See the code

See what people are saying

README

MapLibre Logo

MapLibre Native FFI

MapLibre Slack License

This project provides an experimental C API for MapLibre Native. It is built for low-level language bindings and host integrations that need a C boundary instead of direct C++ interop.

The API exposes MapLibre Native concepts directly. Framework concerns such as gestures, widgets, declarative UI, and application lifecycle integration belong in downstream adapters.

MapLibre Native FFI is pre-1.0. The C ABI is unstable while mln_c_version() returns 0.

Documentation

Read the documentation site for concepts, usage guides, the generated C API reference, and contributor notes.

Status

The C API covers most of the MapLibre Native API surface. Advanced extension APIs, including custom layers and shader registry access, are not yet included.

Platform support is still filling in -- see the Overview page for full platform status.

License

BSD 3-Clause. See LICENSE.

Copyright (c) 2026 MapLibre contributors.

Significant stargazers

Birk Skyum

212 followers · starred Aug 2026

TOMIKAWA Sotaro

129 followers · starred Sep 2026

maplibre/maplibre-native-ffi

An experimental C API for MapLibre Native, built for low-level language bindings and host integrations that need a C boundary instead of direct C++ interop.

Kotlin

28

632 commits

updated Oct 4, 2026

See the code

See what people are saying

README

MapLibre Logo

MapLibre Native FFI

MapLibre Slack License

This project provides an experimental C API for MapLibre Native. It is built for low-level language bindings and host integrations that need a C boundary instead of direct C++ interop.

The API exposes MapLibre Native concepts directly. Framework concerns such as gestures, widgets, declarative UI, and application lifecycle integration belong in downstream adapters.

MapLibre Native FFI is pre-1.0. The C ABI is unstable while mln_c_version() returns 0.

Documentation

Read the documentation site for concepts, usage guides, the generated C API reference, and contributor notes.

Status

The C API covers most of the MapLibre Native API surface. Advanced extension APIs, including custom layers and shader registry access, are not yet included.

Platform support is still filling in -- see the Overview page for full platform status.

License

BSD 3-Clause. See LICENSE.

Copyright (c) 2026 MapLibre contributors.

Significant stargazers

Birk Skyum

212 followers · starred Aug 2026

TOMIKAWA Sotaro

129 followers · starred Sep 2026

Languages

Kotlin

17.8%

Rust

15.1%

C++

11.3%

C

8.6%

Python

8.5%

Zig

8.4%

C#

7.8%

Go

7.3%

Dart

5.7%

Swift

5.7%

CMake

1.5%

Shell

1.1%