标签:
主要通过setInterval的时间和判断i变量的余来实现。
代码:
vari=0;
setInterval(function(){
i++;
if(i%2===0){
that.map.graphics.remove(feature);
}
else{
that.map.graphics.add(feature);
}
},500);
效果
无法上传视频就…………
标签:
原文地址:http://www.cnblogs.com/shangguanjinwen/p/4321056.html