Tuesday, December 10, 2024

How Good is Your Map Memory?

London map with some borough names successfully added

Discover the World, One Click at a Time!

Tripgeo has released another exciting, map-based game that challenges you to explore your geographic knowledge like never before! Map Memory allows you to center an interactive map anywhere in the world to create a unique map game, entirely based on the local geography.

Whether you're a geography whiz or a curious traveler, Map Memory is perfect for anyone looking to test their global knowledge, challenge their memory, and have fun along the way.

How Does Map Memory Work?

At its core, Map Memory is a geography game with a twist. It combines geographic exploration with quick thinking and observation. Here’s how you play:

Click on the Map:

Start the game by clicking anywhere on the interactive map. This will reveal the twelve nearest towns to your selected location. The town locations are shown on the map with twelve red markers.

Drag Place-Name Labels:

As you explore the region, drag the names of the towns onto their correct location on the map. If you guess correctly, the town name will appear on the map and you’ll score a point. Guess incorrectly and the place-name label will turn red.

Complete the Challenge:

Aim to guess all twelve towns. The less incorrect guesses you make, the better! At the end of the game you will be scored on the number of moves it took you to place all 12 place-name labels correctly on the map.

How it Works

At the heart of Map Memory is the Overpass API, a powerful tool that taps into the OpenStreetMap (OSM) database to retrieve geographic data. When you click on a location on the map, the game sends a query to the Overpass API, requesting information about nearby geographic features - in this case, the twelve nearest towns to your clicked location. 

The Overpass API responds with data on the twelve nearest towns, including their names and precise geographic coordinates, enabling the game to identify and display the towns closest to your chosen point. This seamless integration allows Map Memory to dynamically adapt to any location you select on the map. Once the API returns the data, the game processes it to extract only the necessary information for the game. Markers are then placed on the map at the exact locations of the towns and their draggable name labels are added to the map sidebar.

No comments: