X-Git-Url: https://git-public.kairo.at//?a=blobdiff_plain;f=js%2Fmap.js;h=14b692187b95388931c5674d24fa28a4a84d061f;hb=6d7cdcf66223e18b2838c56da0a88841e151075c;hp=9ffc81c3f3c99bd90c701384d179a7042b9d0587;hpb=3431f496715ba63682a820ee8cf8a63dc0f86905;p=lantea.git diff --git a/js/map.js b/js/map.js index 9ffc81c..14b6921 100644 --- a/js/map.js +++ b/js/map.js @@ -678,8 +678,8 @@ var gTileService = { XHR.addEventListener("load", function () { if (XHR.status === 200) { var blob = XHR.response; - gTileService.setDBCache(dbkey, {image: blob, timestamp: Date.now()}); aCallback(blob, aStyle, aCoords); + gTileService.setDBCache(dbkey, {image: blob, timestamp: Date.now()}); } }, false); XHR.send();