pmtiles-kotlin
KotlinJVMMapsSystemsOpen Source
A compact, spec-verified reader for Protomaps' PMTiles v3 format, written in pure Kotlin with zero third-party dependencies. Reads individual vector or raster tiles from a local archive by z/x/y with a single seek, no tile server, ideal for offline maps on any JVM or Android. Fills a gap in an ecosystem otherwise served only by JS, Go, Rust, Swift, and C++ readers.
Features
- •Pure Kotlin, no Android dependency, no third-party libraries
- •Random-access tile reads by z/x/y from a single .pmtiles file
- •Handles the PMTiles v3 spec: Hilbert-curve ordering, directory tree, compression
- •Returns decompressed MVT/PBF or raster tile bytes
- •Thread-safe concurrent tile reads