Skip to content

Conversation

@savely-krasovsky
Copy link
Contributor

@savely-krasovsky savely-krasovsky commented Mar 6, 2025

Newer versions of maplibre-native contain a lot of improvements and bug fixes, including long-awaited PMTiles support. I prepared a patch which updates:

  • Android to 11.8.1
  • iOS to 6.12.1
  • Gradle to 8.13 (it's already Gradle 9 coming soon, we need to migrate ASAP)

Also it adds PMTiles example into example app.

I tested it with Immich app and tried PMTiles source. It works!

…iOS 6.12.1), update Gradle and it's dependencies
@savely-krasovsky
Copy link
Contributor Author

@josxha could you please approve workflow to test builds? I don't have Apple device to check if I updated iOS deps correctly.

@savely-krasovsky
Copy link
Contributor Author

Nice, iOS and Android builds! This is ready for the review then, @josxha. I can commit CHANGELOG.md update if needed.

@savely-krasovsky
Copy link
Contributor Author

Can someone review?

@JulianBissekkou
Copy link
Collaborator

@m0nac0
Can you please review this? I am not available right now

@savely-krasovsky
Copy link
Contributor Author

savely-krasovsky commented Mar 12, 2025

Just for the context: Immich uses Flutter for their mobile app and flutter-maplibre-gl to render map with photos. Patch for the web already merged, but mobile still cannot render PMTiles map. For now Immich instances use cloud tile server to fetch tiles. At first I want to introduce basic PMTiles support to simplify self-hosting process (all you need is a static http server with HTTP Range support). At the second stage AFAIK devs want to automate the process of PMTiles file downloading and hosting within Immich app itself.

Of course there are for sure other projects that will like to have PMTiles support in Flutter as well.

@savely-krasovsky
Copy link
Contributor Author

I don't like pinging, but anyone?

@JulianBissekkou
Copy link
Collaborator

@m0nac0 @kuhnroyal @josxha
Are you available for a review? :)

@savely-krasovsky
Copy link
Contributor Author

savely-krasovsky commented Mar 23, 2025

I understand everyone is busy, but I really don't want to fork this. Flutter library for now uses almost a year old MapLibre iOS library and half year Android. I wouldn't push if they just contain some bug fixes and dependencies updates, but PMTiles support is really cool.

@josxha
Copy link
Collaborator

josxha commented Mar 24, 2025

@savely-krasovsky Code reviews are a longer standing problem of the project. There are a couple other open pull requests looking for a review too.
@JulianBissekkou I worked towards the 0.21.0 release as it contains support for Flutter 3.29 but would leave these pull requests for someone else as I see my time currently better invested in https://github.com/josxha/flutter-maplibre. (:

@savely-krasovsky
Copy link
Contributor Author

@kuhnroyal could you review please? I rebased it.

@kuhnroyal
Copy link
Contributor

Yea, working on it. Looking into enabling PMTiles for web as well.

@savely-krasovsky
Copy link
Contributor Author

Thank you! Will wait.

@kuhnroyal kuhnroyal merged commit d7d2e14 into maplibre:main Mar 31, 2025
11 checks passed
MichaelNeufeld pushed a commit to ocell/flutter-maplibre-gl that referenced this pull request Apr 23, 2025
Newer versions of maplibre-native contain a lot of improvements and bug
fixes, including long-awaited PMTiles support. I prepared a patch which
updates:

- Android to 11.8.1
- iOS to 6.12.1
- Gradle to 8.13 (it's already Gradle 9 coming soon, we need to migrate
ASAP)

Also it adds PMTiles example into example app.

I tested it with Immich app and tried PMTiles source. It works!

---------

Co-authored-by: Peter Leibiger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants