Skip to content

Commit 97ffc07

Browse files
Update README.md
1 parent 09b7e56 commit 97ffc07

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ 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 0-18.
52+
- `longitude` and `latitude` are normalized to valid coordinates.
53+
5154
#### Save a map to SD card
5255
5356
```c++
@@ -57,8 +60,8 @@ bool saveMap(const char *filename, LGFX_Sprite &map, String &result,
5760

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

6366
## License differences between this library and the map data
6467

0 commit comments

Comments
 (0)