Re-introducing tileLoadingDelay.

Only use it if no native requestAnimationFrame function is available. This should improve performance on mobile devices.
This commit is contained in:
ahocevar
2012-01-29 15:15:57 +01:00
parent 8efce71271
commit 720c49c040
5 changed files with 89 additions and 6 deletions

View File

@@ -15,7 +15,8 @@
<script>
function test_all(t) {
t.plan(7);
t.plan(8);
t.ok(OpenLayers.Animation.isNative !== undefined, "isNative is set.");
t.open_window("Animation.html", function(win) {
win.requestFrame(t);
win.start(t);