Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bramus/mercator-puzzle-redux
Dynamic take on the original Mercator Puzzle by Google
https://github.com/bramus/mercator-puzzle-redux
Last synced: 5 days ago
JSON representation
Dynamic take on the original Mercator Puzzle by Google
- Host: GitHub
- URL: https://github.com/bramus/mercator-puzzle-redux
- Owner: bramus
- Created: 2013-02-16T11:45:08.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-23T08:11:25.000Z (over 7 years ago)
- Last Synced: 2024-05-01T23:16:08.442Z (7 months ago)
- Language: HTML
- Homepage: http://bramus.github.io/mercator-puzzle-redux/
- Size: 309 KB
- Stars: 37
- Watchers: 5
- Forks: 17
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mercator Puzzle Redux
Dynamic take on the original Mercator Puzzle by Google.
Built by Bramus! - [http://www.bram.us/](http://www.bram.us/)## About
The [the orignal Mercator Puzzle by Google](http://gmaps-samples.googlecode.com/svn/trunk/poly/puzzledrag.html) is a nice one, yet it's static: you always get presented the same 15 countries at the same 15 starting positions.
This is a dynamic take on that, in which you get to place 15 countries chosen from a set of 178 in total. If you don't know the anwser, just double click a country to let the computer place it. Above that you'll get to know the name of the country when it's placed.
## Acknowledgements
* Thanks to @thijsvandevelde for sparking this idea after [complaining](https://twitter.com/thijsvandevelde/status/302332324492763136) about the fact that the original version was static
* The country data is loaded from [a GeoJSON file containing all countries](https://raw.github.com/johan/world.geo.json/master/countries.geo.json). Antarctica has been omitted from the list (sorry ATA!) due to it coloring the whole world instead of the continent itself.
* The Polygons are moved using [`google.maps.Polygon.moveTo()`](https://github.com/bramus/google-maps-polygon-moveto), a Google Maps Extension which I wrote especially for this project. The source is available on GitHub