Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions Apps/Maps/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

## 0.11.0 (in work)
## 0.11.1 (in work)

- Maps: fixes that weren't pushed after a round of feedback in the previous pull request

## 0.11.0

**Downloaded maps**
- Maps with the same name (for example several areas named "Slovakia") are one row of the list, with their size
Expand Down Expand Up @@ -87,7 +91,8 @@
- Dense city tiles kept no roads, street names or water: in tiles with their layers in alphabetical order, the house
numbers and POIs (14,000 values in Amsterdam's centre) came first and filled the decoder's table, so the layers
after them were dropped. The POI and house number layers now leave room for the others, and house numbers take at
most half of what is theirs. Prepared tiles of originals from 256 KB that were made before are made again.
most half of what is theirs. Prepared tiles of originals from 256 KB that were made before are made again, and
their drawings in the SD cache (also the magnified ones) are deleted.
- Outdoor map style (Settings, Map style): paths in red, tracks in brown and cycleways in blue from zoom 12, unpaved
ways lighter, stronger woods and meadows. The tiles of zoom 12 and 13 are prepared again once for it.
- Peaks show with their height ("Vysoká 754 m") from zoom 10, by importance.
Expand Down
6 changes: 6 additions & 0 deletions Apps/Maps/main/Source/app/Debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ DebugScript::Step DebugScript::next(uint32_t now) {
}
return step;
}
if (strcmp(command, "menu") == 0) {
// values[0]: the row or tile, -1 for back
step.action = Action::Menu;
step.values[0] = strcmp(argument, "back") == 0 ? -1.0f : static_cast<float>(atoi(argument));
return step;
}
if (strcmp(command, "shot") == 0) {
step.action = Action::Shot;
snprintf(step.name, sizeof(step.name), "%s", argument);
Expand Down
7 changes: 6 additions & 1 deletion Apps/Maps/main/Source/app/Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ class DebugScript {
/** "waittrails": waits until a trails query runs (at most 3 minutes). */
WaitTrails,
/** "followgpx <file>": follows the track of a GPX file in the app's folder. */
FollowGpx
FollowGpx,
/**
* "menu <n>" chooses tile or row n of the LVGL menu or page that is shown (a main menu tile: its MenuAction
* number), "menu back" goes back. LVGL reads keys and the pointer itself, so "key" and "pointer" don't reach it.
*/
Menu
};

enum class TouchKind : uint8_t { Tap, Hold, Drag, Pinch, Twist };
Expand Down
Loading
Loading