I'm currently trying to make a canvas from the api copy the background layer to it and then save it off as a single image. A couple maps i've done are very very large and take a fair bit of time to load. The code it's self is simple enough, but i noticed that document.createElement(); give's an error were document is not defined. So how else can I do this?