projects
/
lantea.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
16e4f66
)
Merge pull request #1 from alpha-ninja/patch-1
author
Robert Kaiser
<kairo@kairo.at>
Mon, 18 Aug 2014 00:21:40 +0000
(
02:21
+0200)
committer
Robert Kaiser
<kairo@kairo.at>
Mon, 18 Aug 2014 00:21:40 +0000
(
02:21
+0200)
Distribute load evenly
js/map.js
patch
|
blob
|
blame
|
history
diff --git
a/js/map.js
b/js/map.js
index ec9a05c0c0d324fdaf8384552d2bb8fd197e082b..cd9eddd399dd889eac5b9b62e5954ec5df6bc539 100644
(file)
--- a/
js/map.js
+++ b/
js/map.js
@@
-1094,8
+1094,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 () {