Added support for animated maps layers.