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. https://maplibre.org/maplibre-native-ffi/
  • Python 45.6%
  • Kotlin 9.3%
  • C 8.2%
  • TypeScript 5.2%
  • Zig 4.4%
  • Other 27%
Find a file
2026-12-02 23:23:53 +00:00
.agents/skills/release feat!: update bindings for the latest mln-rs release (#1824) 2026-11-28 10:38:51 -05:00
.config feat(macos): carry the Vulkan and OpenGL backends (#1846) 2026-12-01 09:08:09 -08:00
.github chore(deps): bump the github-actions group across 2 directories with 1 update (#1855) 2026-12-02 09:21:56 -08:00
.idea Build the C library from mln-rs, and reshape the C API around it (#1801) 2026-11-14 21:12:01 -08:00
.mise feat(kotlin): publish the browser runtimes for Kotlin/JS (#1842) 2026-11-30 14:49:58 -08:00
.vscode fix formatters on windows (#188) 2026-05-23 19:57:38 -07:00
.zed docs: rewrite the development overview around what maintainers run (#1482) 2026-10-31 14:26:33 -07:00
bindings perf(kotlin): use TextEncoder/TextDecoder and cache browser heap views (#1863) 2026-12-02 23:23:53 +00:00
buildSrc fix(kotlin): link the system libraries that the static archives need (#1837) 2026-11-30 17:50:53 +00:00
ci feat(macos): carry the Vulkan and OpenGL backends (#1846) 2026-12-01 09:08:09 -08:00
cmake feat(macos): carry the Vulkan and OpenGL backends (#1846) 2026-12-01 09:08:09 -08:00
docs ci: test macOS x64 on Metal alone, as ANGLE under Rosetta can crash (#1857) 2026-12-02 03:40:27 +00:00
examples feat!: update mln-rs, whose gesture options split into axes, behavior, and metrics (#1845) 2026-12-01 07:21:45 -08:00
gradle chore(deps): bump gradle-wrapper from 9.9.2 to 9.9.3 in the gradle group (#1852) 2026-12-02 09:22:09 -08:00
include feat!: update mln-rs, whose gesture options split into axes, behavior, and metrics (#1845) 2026-12-01 07:21:45 -08:00
kotlin-js-store feat(kotlin): add the Kotlin/JS browser target (#1841) 2026-11-30 14:49:57 -08:00
patches/swiftshader feat!: update bindings for the latest mln-rs release (#1824) 2026-11-28 10:38:51 -05:00
scripts chore: drop the C ABI suite and benchmarks, which mln-rs now owns (#1816) 2026-11-22 11:52:36 -08:00
tests ci: give ohpm six minutes to upload a package (#1858) 2026-12-02 04:45:09 +00:00
third_party fix: update mln-rs, which loads with the system SQLite of iOS 15 and macOS 14 (#1859) 2026-12-02 08:00:50 +00:00
tools ci: give ohpm six minutes to upload a package (#1858) 2026-12-02 04:45:09 +00:00
.clang-tidy Route unconsumed log records to the platform logger on Android, Apple, and Windows (#682) 2026-09-03 07:51:04 +00:00
.clangd Support build variants (and MoltenVK) (#112) 2026-05-07 03:44:26 +00:00
.gitattributes chore: take the C headers from mln-rs (#1806) 2026-11-22 13:34:50 -08:00
.gitignore build(examples): build the Compose example in the repository's Gradle build (#1667) 2026-11-04 13:00:17 -08:00
.gitmodules feat!: update bindings for the latest mln-rs release (#1824) 2026-11-28 10:38:51 -05:00
AGENTS.md feat!: update bindings for the latest mln-rs release (#1824) 2026-11-28 10:38:51 -05:00
AI_POLICY.md Cut some slop in maintainer / development docs (#920) 2026-10-22 11:39:32 +00:00
build.gradle.kts build(examples): build the Compose example in the repository's Gradle build (#1667) 2026-11-04 13:00:17 -08:00
build.zig feat!: update mln-rs, with gesture recognizers, self-paced sessions, and D3D12 on Windows (#1818) 2026-11-23 03:53:56 +00:00
build.zig.zon build!: pin native releases by artifact descriptor (#1209) 2026-10-26 15:08:41 -07:00
Cargo.lock Build the C library from mln-rs, and reshape the C API around it (#1801) 2026-11-14 21:12:01 -08:00
Cargo.toml Build the C library from mln-rs, and reshape the C API around it (#1801) 2026-11-14 21:12:01 -08:00
CMakeLists.txt chore: drop the C++ runtime leftovers from before mln-rs (#1833) 2026-11-28 18:01:40 +00:00
CMakePresets.json feat(macos): carry the Vulkan and OpenGL backends (#1846) 2026-12-01 09:08:09 -08:00
CODE_OF_CONDUCT.md Add contributor and community files (#63) 2026-04-30 02:42:00 -07:00
CONTRIBUTING.md docs: tighten AGENTS.md and rewrite CONTRIBUTING.md (#1489) 2026-11-01 00:29:35 -07:00
Directory.Packages.props Bump the nuget group with 1 update (#1810) 2026-11-18 09:25:08 -08:00
global.json Bump the nuget group with 3 updates (#643) 2026-08-19 20:20:11 +00:00
go.mod feat(go)!: get the C library from a preset's Go module (#1548) 2026-11-03 22:10:02 -08:00
gradle.properties KMP snapshot release infra (#297) 2026-07-23 09:42:48 -07:00
gradlew Bump the gradle group with 3 updates (#425) 2026-07-29 19:53:54 -07:00
gradlew.bat Bump the gradle group with 2 updates (#766) 2026-10-03 15:03:21 -07:00
LICENSE Add BSD 2-Clause License file 2026-05-05 17:34:29 -07:00
Maplibre.NativeFfi.slnx docs: replace example apps with downstream projects (#1375) 2026-10-29 02:55:22 -07:00
package.json chore(deps-dev): bump vite-plus from 1.4.0 to 1.5.1 (#1844) 2026-12-01 12:21:38 -05:00
Package.resolved feat: support visionOS in C, Swift, and Rust (#1167) 2026-10-26 04:50:45 +00:00
Package.swift feat!: update mln-rs, with gesture recognizers, self-paced sessions, and D3D12 on Windows (#1818) 2026-11-23 03:53:56 +00:00
pnpm-lock.yaml chore(deps): bump terser from 5.51.2 to 5.51.4 (#1851) 2026-12-02 09:22:15 -08:00
pnpm-workspace.yaml refactor(examples): move the browser demo from docs to examples (#1645) 2026-11-04 01:16:25 -08:00
pyproject.toml chore(deps-dev): bump the uv group with 2 updates (#1853) 2026-12-02 09:22:02 -08:00
README.md Build the C library from mln-rs, and reshape the C API around it (#1801) 2026-11-14 21:12:01 -08:00
SECURITY.md Add contributor and community files (#63) 2026-04-30 02:42:00 -07:00
settings.gradle.kts Build the C library from mln-rs, and reshape the C API around it (#1801) 2026-11-14 21:12:01 -08:00
uv.lock chore(deps-dev): bump the uv group with 2 updates (#1853) 2026-12-02 09:22:02 -08:00
vite.config.ts Generate a TypeScript binding for Node, Bun, Deno, and ArkTS (#826) 2026-10-21 14:42:47 -07:00

MapLibre Logo

MapLibre Native FFI

Release License Documentation Slack

C Dart .NET Go Kotlin Python Swift TypeScript ArkTS Zig

MapLibre Native FFI is the MapLibre Native map engine as a C API, with bindings for Dart, Go, Kotlin, .NET, Python, Swift, TypeScript, and Zig. Use it to build map components for a UI framework, or to render maps on a server.

To start, install the package for your language, then create a map.

Used by

Status

Until the first part of the version reaches 1, any release can break the API, the ABI, or documented behavior. The support matrix shows which platforms, architectures, and backends each language supports.

Contributing

See CONTRIBUTING.md.

Sponsors

CI is provided by Blacksmith under its open source program.

CI powered by Blacksmith

License

BSD 2-Clause. See LICENSE.