最新的 openlayers 可以使用 gif/apng/webp 渲染动画标记吗?

Can the latest openlayers render the animated marker using gif/apng/webp?

根据此 QA,通过使用“gifler”库,我们可以使用动画 gif 在基于 canvas 的 openlayers 上进行渲染。 can openlayers 3 render the animated marker using gif

但它不能接受apng/webp,而且,“gifler”库有点旧,很难与最新的 EcmaScript 或 TypeScript 一起使用。

还有其他方法可以实现吗?

最终,我找不到让它工作的方法,所以我开始自己开发它。 动画 GIF、APNG 和动画 webp 可以在以下 canvas 上下文中分割帧甚至动画。

https://github.com/code4history/Gyeonghwon