Merge branch 'master' of github.com:KaiRo-at/lantea
[lantea.git] / js / map.js
index ff5112a6ed0d02e63397db6a259c1db55e846e87..b3ddc11cc6343346db25cf5df3edc83b7d17d081 100644 (file)
--- a/js/map.js
+++ b/js/map.js
@@ -1103,8 +1103,8 @@ var gTileService = {
                   .replace("{x}", norm.x)
                   .replace("{y}", norm.y)
                   .replace("{z}", norm.z)
-                  .replace("[a-c]", String.fromCharCode(97 + Math.floor(Math.random() * 2)))
-                  .replace("[1-4]", 1 + Math.floor(Math.random() * 3)),
+                  .replace("[a-c]", String.fromCharCode(97 + Math.floor(Math.random() * 3)))
+                  .replace("[1-4]", 1 + Math.floor(Math.random() * 4)),
                 true);
       XHR.responseType = "blob";
       XHR.addEventListener("load", function () {