Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import bug: ddimport.js:252 Uncaught TypeError: Cannot read property 'arrayBuffer' of null at ddimport.js:252 #74

Open
Merudo opened this issue Apr 25, 2021 · 3 comments

Comments

@Merudo
Copy link

Merudo commented Apr 25, 2021

When I try to import a large map, the import stops after a while. If I look into the console, I see the following error:

ddimport.js:252 Uncaught TypeError: Cannot read property 'arrayBuffer' of null at ddimport.js:252

@m42e
Copy link
Collaborator

m42e commented May 26, 2021

Well that is somehow a known issue. The reliability of the browser canvas to handle large images is not always granted. Sometimes maps are partly missing, sometimes it does not work at all. I currently have no idea to work around that.

@stillday
Copy link

stillday commented Dec 20, 2021

image

image
i have the same problem with a map.

i get this information at console
image

@ThePhosphorus
Copy link

I had the same issue and found this thread.

After looking into it, the problem seems to come from the image being too bing and surpassing the limit size for the canvas.

(see https://stackoverflow.com/questions/6081483/maximum-size-of-a-canvas-element for limit per browser)

the quick fix is to reduce grid ppi (aka scale down the image so it fits inside a 16,384 x 16,384 image for modern browsers.

I think there should be an error specifying that the image is too big though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants