This example shows how to use postcompose and vectorContext to animate features. Here we choose to do a flash animation each time a feature is added to the layer.
这个例子用来展示如何使用postcompose和vectorContext来为要素添加动画。这里我们选择为每一个添加到图层中的要素制作一个闪动动画。
代码:
<!DOCTYPE html>
<html>
<head>
<title>Custom Animation</title>
<link