We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using the plugin with a map containing an unused layer (eg. only used on server side), the plugins throws an error.
Uncaught TypeError: Cannot read property 'type' of null.
Uncaught TypeError: Cannot read property 'type' of null
The text was updated successfully, but these errors were encountered:
I use this code (before animatedTiles.init(map)) to avoid this issue
animatedTiles.init(map)
map.layers.forEach((layer) => { if (layer.tilemapLayer === null) { layer.tilemapLayer = {type: 'StaticTilemapLayer'} } })
Sorry, something went wrong.
No branches or pull requests
When using the plugin with a map containing an unused layer (eg. only used on server side), the plugins throws an error.
Uncaught TypeError: Cannot read property 'type' of null
.The text was updated successfully, but these errors were encountered: