Skip to content

Allow using custom tile server via HTTP#3976

Merged
jamesarich merged 1 commit into
meshtastic:mainfrom
texaskst:main
Dec 15, 2025
Merged

Allow using custom tile server via HTTP#3976
jamesarich merged 1 commit into
meshtastic:mainfrom
texaskst:main

Conversation

@texaskst

Copy link
Copy Markdown
Contributor

Online maps prevent Meshtastic app to be used with no internet connection. The recent app version allows adding custom tile servers. So in order to make it autonomous you can spin up a local tile server on your Android device and point the Meshtastic app to fetch tiles from localhost.
Problem with this approach is that the map component only allows HTTPS schema to be used. And making your local tile server working with HTTP is not a trivial task, mainly due to the self signed certificates.
This PR adds network configuration that will allow the app to use HTTP for localhost only.
With this you can spin up a tiny tile server and use it as a map tile source without any internet connection

@CLAassistant

CLAassistant commented Dec 15, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@jamesarich jamesarich left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting method to accomplish offline maps - nice.

@jamesarich jamesarich enabled auto-merge December 15, 2025 20:37
@jamesarich jamesarich added this pull request to the merge queue Dec 15, 2025
@codecov

codecov Bot commented Dec 15, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.57%. Comparing base (298d469) to head (6243722).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #3976   +/-   ##
=====================================
  Coverage   0.57%   0.57%           
=====================================
  Files        401     401           
  Lines      23852   23852           
  Branches    3060    3060           
=====================================
  Hits         136     136           
  Misses     23695   23695           
  Partials      21      21           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Merged via the queue into meshtastic:main with commit 42e78f8 Dec 15, 2025
6 checks passed
@jamesarich jamesarich added this to the 2.7.10 milestone Dec 16, 2025
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.

3 participants