Add a continent map in the country -> map cards #737
Replies: 1 comment 1 reply
|
Thanks very much for this! On the technical side, yes, if we were to include something like this, we'd have the images downloaded as part of the deck. (I guess that you didn't use the existing continent maps ( On a more general note, yes, we have an issue with what exactly the "country -> map" cards are about. There are many (partially overlapping) things that one might want to remember, including:
(Some of these (2, 3) are not possible with our current, main design. (2 is possible with the experimental interactive deck or with your suggestion. 3 could be possible with an alternative interactive deck where one clicks on a coastline map and are "marked" correct if one clicked within the country's actual borders (which would probably be displayed).) Our cards don't prescribe a choice and rely on the learner both choosing a target for themselves and determining whether they meet that target each time. Unfortunately, it's possible for the person to be a) inconsistent in setting their goals each time they see the relevant card and b) moving the goalposts once one answers (I know that I've been guilty of this myself — I'd aim for, say, something in between 4, 6 and 7, but miss a neighbour and mark the card correct, anyway (since I'd met a less stringent target).) (b is probably a general issue with Anki cards (did I pronounce the word exactly correctly? etc.), but here it's IMO particularly bad since the range of possible goalposts is so wide.) This inconsistency (if the learner isn't very disciplined) is not great, since prompts should be precise/focused/atomic: https://andymatuschak.org/prompts/#properties Consequently, it might be useful to split up the country -> map cards into several more focused ones. I have many ideas, but I'm honestly not sure what's the best approach. I should open an discussion asking people how they use the current country->map cards and how they'd like to use them, at some point, (once I've cleared out my current aug todo list)... Sorry for the long digression, but this has long been on my mind (I hadn't intended to write this much when I started...) and any thoughts on this would be welcome. |
Uh oh!
There was an error while loading. Please reload this page.
The Country -> Map cards don't display anything other than an empty shell when asking for the position on the map.
To me, when learning geography, I need to have a reference map that I can use to point to a country or place because I find it very difficult to visualize it from scratch in my mind.
Therefore, I suggest adding a way to display the continent map when asking for the country's position.
I guess that showing the continent map can help pinpoint the correct state. There are only 7 continents, and knowing which one the country is in is not a "spoiler"; knowing exactly where it is located is what really matters. Also, in general, if you know the exact location within the continent, you already know which continent the country belongs to.
I used Gemini to build a working version just to have something functional and fast, as I am not a Javascript/HTML developer. This is the code if you need inspiration on how to implement it in the official build. It's just to show how it should work so you can better understand what I mean.
The code can be pasted directly on top of the old code for the Country -> Map front card template.
Also its probably better to donwload the maps instead of using an url because they load slowly on my computer.
{{#Map}} <div class="value value--top">{{Country}}</div> <hr> <div class="type">Location</div> <div class="value value--image"> <img id="continent-map" src="https://commons.wikimedia.org/wiki/Special:FilePath/BlankMap-World.svg?width=500" style="width: 100%; max-width: 500px; background-color: #ffffff; opacity: 0.8; margin: 0 auto; display: block; border-radius: 5px; padding: 10px;"> <script> (function() { var tags = "{{Tags}}".toLowerCase(); var mapElement = document.getElementById("continent-map"); // Wikipedia links var maps = { "africa": "https://commons.wikimedia.org/wiki/Special:FilePath/Africa_location_map.svg?width=500", "asia": "https://commons.wikimedia.org/wiki/Special:FilePath/Asia_laea_location_map.svg?width=500", "europe": "https://commons.wikimedia.org/wiki/Special:FilePath/Europe_laea_location_map.svg?width=500", "north_america": "https://commons.wikimedia.org/wiki/Special:FilePath/North_America_laea_location_map.svg?width=500", "south_america": "https://commons.wikimedia.org/wiki/Special:FilePath/South_America_laea_location_map.svg?width=500", "oceania": "https://commons.wikimedia.org/wiki/Special:FilePath/Oceania_laea_location_map.svg?width=500", // Special cases "caribbean": "https://commons.wikimedia.org/wiki/Special:FilePath/North_America_laea_location_map.svg?width=500", "middle_east": "https://commons.wikimedia.org/wiki/Special:FilePath/Asia_laea_location_map.svg?width=500" }; for (var continent in maps) { if (tags.includes(continent)) { mapElement.src = maps[continent]; break; } } })(); </script> </div> {{/Map}}All reactions