Skip to content

Commit e973be0

Browse files
committed
README reorg
1 parent a39a258 commit e973be0

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

README.md

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,26 @@ You can either download a pre-built binary for your operating system or build th
4040
4. Run the `offline-map-tile-downloader` executable.
4141
5. Open your web browser and go to `http://localhost:8080`.
4242

43+
### Building from Source
44+
45+
If you're a developer or want to modify the code, you can build the application from source.
46+
47+
1. **Clone the repository:**
48+
```bash
49+
git clone https://github.com/Cyclenerd/offline-map-tile-downloader.git
50+
cd offline-map-tile-downloader
51+
```
52+
2. **Build the application:**
53+
```bash
54+
go build .
55+
```
56+
3. **Run the application:**
57+
```bash
58+
./offline-map-tile-downloader
59+
```
60+
4. **Open your web browser** and go to `http://localhost:8080`.
61+
62+
4363
## File Storage
4464

4565
The downloaded map tiles are stored in the local filesystem. The default directory is `maps`, but you can change this using the `-maps-directory` command-line option. The tiles are organized by map style, zoom level, and tile coordinates.
@@ -73,25 +93,6 @@ This tool is perfect for creating offline maps for the Meshtastic UI. Here's how
7393
2. **Use with Meshtastic:**
7494
* The downloaded tiles are stored in the `maps` directory. You can now use these tiles with the Meshtastic UI. For more information on how to do this, please refer to the [Meshtastic documentation](https://meshtastic.org/docs/software/meshtastic-ui/#map).
7595
76-
## Building from Source
77-
78-
If you're a developer or want to modify the code, you can build the application from source.
79-
80-
1. **Clone the repository:**
81-
```bash
82-
git clone https://github.com/Cyclenerd/offline-map-tile-downloader.git
83-
cd offline-map-tile-downloader
84-
```
85-
2. **Build the application:**
86-
```bash
87-
go build .
88-
```
89-
3. **Run the application:**
90-
```bash
91-
./offline-map-tile-downloader
92-
```
93-
4. **Open your web browser** and go to `http://localhost:8080`.
94-
9596
## Configuration
9697
9798
You can add your own map sources by editing the `config/map_sources.json` file. The format is simple:

0 commit comments

Comments
 (0)