Skip to content

Commit f069632

Browse files
Update README.md
1 parent 0a37b19 commit f069632

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
This library provides a [OpenStreetMap](https://www.openstreetmap.org/) (OSM) map fetching and tile caching system for ESP32-based devices.
88
Under the hood it uses [LovyanGFX](https://github.com/lovyan03/LovyanGFX) and [PNGdec](https://github.com/bitbank2/PNGdec) to do the heavy lifting.
99

10-
![map](https://github.com/user-attachments/assets/bc0534c1-b2e6-4f6e-804f-95b7db00c850)
10+
![map](https://github.com/user-attachments/assets/39a7f287-c59d-4365-888a-d4c3f77a1dd1)
1111

1212
A map is composed from downloaded OSM tiles and returned as a LGFX sprite.
1313
The sprite can be pushed to the screen or used for further composing.
@@ -48,8 +48,8 @@ void freeTilesCache();
4848
bool fetchMap(LGFX_Sprite &map, double longitude, double latitude, uint8_t zoom);
4949
```
5050
51-
- Valid range for the `zoom` level is 1-18.
5251
- `longitude` and `latitude` are normalized to valid coordinates.
52+
- Valid range for the `zoom` level is 1-18.
5353
5454
#### Save a map to SD card
5555
@@ -58,7 +58,7 @@ bool saveMap(const char *filename, LGFX_Sprite &map, String &result,
5858
uint8_t sdPin = SS, uint32_t frequency = 4000000)
5959
```
6060

61-
- `filename` should start with `/` for example `/map.bmp` or `/images/map.bmp`
61+
- `filename` must start with `/` for example `/map.bmp` or `/images/map.bmp`
6262
- `result` returns something like `SD Card mount failed` or `Screenshot saved`.
6363
- `sdPin` is **optional** and used to set a `SS/CS` pin for the SD slot.
6464
- `frequency` is **optional** and used to set the SD speed.

0 commit comments

Comments
 (0)