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

215 Views Asked by At

According to this QA, by using "gifler" library, we can use animated gif to render on canvas-based openlayers. can openlayers 3 render the animated marker using gif

But it cannot accept apng/webp, and also, "gifler" library is bit old, it is tough to use with the latest EcmaScript or TypeScript.

Are there any other way to enable this?

1

There are 1 best solutions below

0
On BEST ANSWER

Eventually, I couldn't find a way to make it work, so I started developing it myself. Animated GIF, APNG, and Animated webp can be frame-split and even animated on a canvas context in the following.

https://github.com/code4history/Gyeonghwon