Help using offline map sources #745
What are you trying to achieve?I have made an offline map in QGis with the intention of adding it to my compose app using maplibre compose. Thanks Affected Platform(s)
Library Version0.12.1 What have you tried?I have looked this up and I get results for other versions of maplibre (see additional context) and I'm not sure how comparable they are especially with compose being cross platform. Additional contextThese are for native: |
Unfortunately no real movement — it's still open, no active implementation. The upstream issue that's blocking it (loading mbtiles directly from APK assets) was filed on maplibre-native in June 2025 and is also still open.
That said, you're unblocked with the current workaround. Fair warning: the Medium article I wrote was based on Ramani Maps, which is a different Compose wrapper than maplibre-compose. The core idea is the same but some of the API calls differ — so here's the approach adjusted for maplibre-compose:
The key limitation: you can't point mbtiles:// directly at your APK assets folder on Android. You need to copy the file to internal storage first, then use
mbtiles:///absolute…