You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+53-6Lines changed: 53 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@
8
8
9
9
**Create your own offline maps for any location on Earth!** This tool allows you to download map tiles from various sources and use them in your offline applications, with a special focus on the needs of the **Off-Grid** and **Meshtastic** communities.
Whether you're a hiker, prepper, sailor, or just someone who wants to be prepared, having access to maps when you're disconnected from the internet is crucial. This tool makes it easy to create your own custom map sets for your specific needs.
12
16
13
17
## Why?
@@ -34,11 +38,52 @@ You can either download a pre-built binary for your operating system or build th
34
38
35
39
### Pre-built Binaries (Recommended for most users)
36
40
37
-
1. Go to the [Releases page](https://github.com/Cyclenerd/offline-map-tile-downloader/releases) of this repository.
38
-
2. Download the latest release for your operating system (Windows, macOS, or Linux).
39
-
3. Unzip the downloaded file.
40
-
4. Run the `offline-map-tile-downloader` executable.
41
-
5. Open your web browser and go to `http://localhost:8080`.
41
+
This project require you to use a command-line interface.
42
+
Don't worry, it's easier than it looks!
43
+
44
+
#### <imgsrc="https://www.microsoft.com/favicon.ico"width=16height=16/> Windows (PowerShell)
45
+
46
+
1.[Download](https://github.com/Cyclenerd/offline-map-tile-downloader/releases/latest) the `offline-map-tile-downloader.exe` application for Windows and your CPU architecture. If you are unsure, usually `x86_64` will work.
47
+
*[x86_64](https://github.com/Cyclenerd/offline-map-tile-downloader/releases/latest/download/offline-map-tile-downloader-windows-x86_64.exe) Intel or AMD 64-Bit CPU
48
+
*[arm64](https://github.com/Cyclenerd/offline-map-tile-downloader/releases/latest/download/offline-map-tile-downloader-windows-arm64.exe) Arm-based 64-Bit CPU
49
+
1. Rename it to: `offline-map-tile-downloader.exe`
50
+
1. Press the <kbd>Windows key</kbd> + <kbd>X</kbd>.
51
+
1. Choose "Windows PowerShell".
52
+
1. Type `cd` followed by the path to your your folder where you saved the application (e.g., `cd C:\Users\YourName\Documents\OfflineMaps`) and press Enter.
53
+
1. Type `offline-map-tile-downloader.exe` and press Enter.
54
+
1. Open your web browser and go to [`http://localhost:8080`](http://localhost:8080).
1.[Download](https://github.com/Cyclenerd/offline-map-tile-downloader/releases/latest) the `offline-map-tile-downloader` application for macOS and your CPU architecture.
59
+
*[x86_64](https://github.com/Cyclenerd/offline-map-tile-downloader/releases/latest/download/offline-map-tile-downloader-macos-x86_64) Intel 64-bit CPU
60
+
*[arm64](https://github.com/Cyclenerd/offline-map-tile-downloader/releases/latest/download/offline-map-tile-downloader-macos-arm64) Apple silicon 64-bit CPU (M1, M2...)
61
+
1. Rename it to: `offline-map-tile-downloader`
62
+
1. Press <kbd>Command</kbd> + <kbd>Space</kbd>.
63
+
1. Type "Terminal" and press Enter.
64
+
1. Type `cd` followed by the path to your folder where you saved the application (e.g., `cd /Users/YourName/Documents/OfflineMaps`) and press Enter.
65
+
1. Type `chmod +x offline-map-tile-downloader` and press Enter. (This makes the tool work).
66
+
1. Type `./offline-map-tile-downloader` and press Enter.
67
+
1. (Optional) Allow unsigned app on macOS
68
+
1. Go to System Settings
69
+
1. Click on Privacy & Security
70
+
1. Scroll down to Security section
71
+
1. Look for a message about the blocked `offline-map-tile-downloader` app and click "Open Anyway"
72
+
1. Open your web browser and go to [`http://localhost:8080`](http://localhost:8080).
73
+
74
+
75
+
### <imgsrc="https://www.kernel.org/theme/images/logos/favicon.png"width=16height=16/> Linux (Terminal)
76
+
77
+
1.[Download](https://github.com/Cyclenerd/offline-map-tile-downloader/releases/latest) the `offline-map-tile-downloader` application for Linux and your CPU architecture.
78
+
*[x86_64](https://github.com/Cyclenerd/offline-map-tile-downloader/releases/latest/download/offline-map-tile-downloader-linux-x86_64) Intel or AMD 64-Bit CPU
79
+
*[arm64](https://github.com/Cyclenerd/offline-map-tile-downloader/releases/latest/download/offline-map-tile-downloader-linux-arm64) Arm-based 64-Bit CPU (i.e. Raspberry Pi)
80
+
1. Rename it to: `offline-map-tile-downloader`
81
+
1. Open a Terminal.
82
+
1. Type `cd` followed by the path to your your folder where you saved the application (e.g., `cd /home/YourName/OfflineMaps`) and press Enter.
83
+
1. Type `chmod +x offline-map-tile-downloader` and press Enter. (This makes the tool work).
84
+
1. Type `./offline-map-tile-downloader` and press Enter.
85
+
1. Open your web browser and go to [`http://localhost:8080`](http://localhost:8080).
86
+
42
87
43
88
### Building from Source
44
89
@@ -95,7 +140,7 @@ This tool is perfect for creating offline maps for the Meshtastic UI. Here's how
95
140
96
141
## Configuration
97
142
98
-
You can add your own map sources by editing the `config/map_sources.json` file. The format is simple:
143
+
You can add your own map sources by editing the [`config/map_sources.json`](./config/map_sources.json) file. The format is simple:
99
144
100
145
```json
101
146
{
@@ -104,6 +149,8 @@ You can add your own map sources by editing the `config/map_sources.json` file.
104
149
}
105
150
```
106
151
152
+
To activate the change, you must recompile the application.
153
+
107
154
## Contributing
108
155
109
156
If you have an idea for a new feature or have found a bug, please open an issue or submit a pull request.
0 commit comments