Pre-load all images #19
Labels
enhancement
New feature or request
hacktoberfest
label to signify tasks fit for hacktoberfest (https://hacktoberfest.digitalocean.com/)
Instead of returning promises, which seems a bit more complicated, it might be easier and better to pre-load the images at the beginning. This will mean going over the map object we receive and creating an array of promises. Once all of them have been resolved, we can then draw images without worrying about anything.
The text was updated successfully, but these errors were encountered: