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:
Tizian 「ティツィアーン」 2026-10-12 12:19:03 +02:00
commit 1df60c8830
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -3414,26 +3414,26 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get mapPickRegion =>
'Wähle einen Teil der Karte, dann tippe auf die Region, die die Frage beantwortet. Winzige Orte haben einen Ring; zoome mit zwei Fingern oder durch Scrollen.';
'Wähle einen Teil der Karte, dann tippe auf die Region, die die Frage beantwortet. Winzige Orte haben einen Ring; wo Ringe dicht liegen, zoome hinein.';
@override
String get mapNonePicked => 'Noch keine Region gewählt';
@override
String get composerLabelMap => 'Karte';
@override
String get mapChoiceJapan => 'Japans Präfekturen';
@override
String get mapChoiceWorld => 'Länder der Welt';
@override
String get mapNameJapan => 'Japan';
@override
String get mapNameWorld => 'Welt';
@override
String get mapPrefectures => 'Präfekturen';
@override
String get mapZoomNote => 'Strg + Scrollen zum Zoomen';
@override
String get mapZoomNoteMac => '⌘ + Scrollen zum Zoomen';
@override
String get mapGroupHokkaido => 'Hokkaidō';