Update iOS offline map instructions (#1352)
Some checks are pending
CI / quality (push) Waiting to run
CI / build (push) Waiting to run

* Update iOS offline map instructions

There seems to be a lot of confusion in various forums ([1](https://meshtastic.discourse.group/t/offline-maps-on-meshtastic/137/37), [2](https://meshtastic.discourse.group/t/offline-map-data/10504/4), [3](https://www.reddit.com/r/meshtastic/comments/17h2e58/ios_app_how_to_force_the_app_to_download_and_only/)) based on the previous instructions for offline maps.

I've gone ahead and updated the instructions with working instructions of the current implementation, and moved the previous instructions under "Legacy Mesh Map".

I'm not 100% sure it was app version 2.2.10 that added the toggle  but going through the commit history this is the earliest known mention of the term.

* remove legacy map mbtiles as they are no longer supported

---------

Co-authored-by: rcarteraz <robert.l.carter2@gmail.com>
This commit is contained in:
Elliott Liu 2024-09-04 18:31:40 +01:00 committed by GitHub
parent 0edb5c73ea
commit 66ac85dd63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,16 +7,8 @@ sidebar_position: 2
## Offline Maps ## Offline Maps
The Meshtastic app for iOS, iPadOS and macOS supports the sharing of a .mbtiles file with the app for offline map support. ### Apple Maps
There is an open source cross platform mapping program call [QGIS](https://www.qgis.org/en/site/) By default, the Meshtastic app for iOS supports the use of native offline Apple Maps.
to get a mbtiles out of qgis, start with a small area that you are familiar with. Open qgis, and add a openstreetmap source from the left bar (might be under one of the tile headings). Now you should see something in the main map view. zoom to the area you want. To download offline maps, follow the official instructions from Apple for [iPhone](https://support.apple.com/en-gb/105084) or [iPad](https://support.apple.com/en-gb/guide/ipad/ipadc6e7e4d7/ipados). Video instructions are also [available](https://youtube.com/watch?v=L260qixQrYs).
In the Processing Toolbox (right bar, you may have to show it from the View menu), open Raster Tools > Generate XYZ Tiles (MBTiles)
In Extent, choose Use Map Canvas Extent. This defines the area of the map that will be rendered into the export file
Use a zoom level of 12-17. You can play with this later, but thats a good starting point. Note that every increment of maximum zoom will increase the map size 4x.
Select JPG if there's aerial/satellite imagery, otherwise just use PNG. That will give the best compression.
Finally choose a location for the output file. Click Run and you should eventually get a file that should play nice in the Meshtastic app.