assign array by index for skipped chunks

loading breaks for layers that skip chunks with no data
This commit is contained in:
jonnytest1 2021-06-18 02:34:05 +02:00 committed by GitHub
parent 320aedcaba
commit 46009935b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ var ParseTileLayers = function (json, insertNull)
for (var c = 0; c < curl.height; c++)
{
output.push([ null ]);
output[c] = [ null ];
for (var j = 0; j < curl.width; j++)
{