feat(map): one map, Japan's prefectures within Japan
A map question is picked on one map: the world's countries in layers (Europe, East Asia, ...), and within Japan its prefectures, in layers too (Kantō, Kansai, ...); Back goes up one. The composer's choice between two maps is gone. A card still names the map its answer is a region of (`japan`, `world`), as versions up to v0.11.0 did, so they still show it. In the composer a tap on Japan picks the country, and the "Prefectures" chip opens its prefectures. Studying, the card decides: a prefecture's question opens Japan at a tap, a country's picks it. The map opens on the deepest layer the map questions share (studying, the round's; writing, the studyset's): Japan for prefectures all over it, Kantō for Tokyo and Chiba, Europe for European countries. A tap no longer zooms in when it could mean several regions: it picks the ring it is on (the nearest of several), else the region under it, else the nearest ring or outline within reach. Zooming is pinching, or Ctrl (⌘ on a Mac) and the wheel, as maps on web pages do; the wheel alone scrolls the page, and a note over the map says how to zoom. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MMm7usAo6q9ZZRoPkWjoxi Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
8b9f3174a6
commit
1df60c8830
1 changed files with 975 additions and 391 deletions
|
|
@ -3388,26 +3388,26 @@ class AppLocalizationsEn extends AppLocalizations {
|
|||
|
||||
@override
|
||||
String get mapPickRegion =>
|
||||
'Choose a part of the map, then tap the region that answers the question. Tiny places have a ring; pinch or scroll to zoom.';
|
||||
'Choose a part of the map, then tap the region that answers the question. Tiny places have a ring; where rings crowd, zoom in.';
|
||||
|
||||
@override
|
||||
String get mapNonePicked => 'No region picked yet';
|
||||
|
||||
@override
|
||||
String get composerLabelMap => 'Map';
|
||||
|
||||
@override
|
||||
String get mapChoiceJapan => 'Japan\'s prefectures';
|
||||
|
||||
@override
|
||||
String get mapChoiceWorld => 'Countries of the world';
|
||||
|
||||
@override
|
||||
String get mapNameJapan => 'Japan';
|
||||
|
||||
@override
|
||||
String get mapNameWorld => 'World';
|
||||
|
||||
@override
|
||||
String get mapPrefectures => 'Prefectures';
|
||||
|
||||
@override
|
||||
String get mapZoomNote => 'Ctrl + scroll to zoom';
|
||||
|
||||
@override
|
||||
String get mapZoomNoteMac => '⌘ + scroll to zoom';
|
||||
|
||||
@override
|
||||
String get mapGroupHokkaido => 'Hokkaidō';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue