adam-lynch / back-of-your-hand

How well do you know your area? Test your knowledge by locating streets with this game.
https://backofyourhand.com
Mozilla Public License 2.0
79 stars 9 forks source link

Use WMF maps for no-streets map #10

Closed adam-lynch closed 2 years ago

adam-lynch commented 2 years ago

A better solution to #7 would be to undo #8 and use this WMF maps URL instead: https://maps.wikimedia.org/osm/{z}/{x}/{y}{r}.png. Example:

I've actually written the code this (see #9) and it can be previewed here: https://6207f17a4d43f30007f0d48b--backofyourhand.netlify.app/51.89863,-8.47039.

The only issue is those tile requests return 403. By default "tiles may only be used by Wikimedia wikis, and sites hosted by Wikimedia Affiliates" plus an allow list you can apply to be added to. More info: Maps/External usage

To do

adam-lynch commented 2 years ago

Looking into this a bit more... it looks like even though TheDJ said this was a replacement for "nolabels style", the tiles still have too many for our needs;