Created
February 15, 2019 12:06
-
-
Save softberries/87d9c214fdd99ea2b8c5c1c388ff18e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
osm: (x, y, z) => { | |
const s = String.fromCharCode(97 + (x + y + z) % 3) | |
return `http://localhost/tile/${z}/${x}/${y}.png` | |
}, | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment