您好
我的动画图层通过循环定义了多个
vectorLineLayer[iVectorLineVector] = new SuperMap.Layer.Vector(svectorName);
vectorLineLayer.style = {
strokeColor: "yellow",
strokeOpacity: 0.7,
strokeWidth: 8,
strokeLinecap: "round",
strokeDashstyle: "solid"
}
animatorLineVector[iVectorLineVector] = new SuperMap.Layer.AnimatorVector(sName, {
needRecordDrawedFeature: true
}, {
speed: 0.1,
startTime: 0,
endTime: 100
});
map.addLayers([vectorLineLayer[iVectorLineVector], animatorLineVector[iVectorLineVector]]);
请问怎么样去定义多个featurerendered事件,也就是说,我每一个animatorLineVector图层定义一个featurerendered事件,现在我用的是animatorLineVector[ianimatorLineVector].events.on({"featurerendered":drawFrame});,但是只能定义一个,我该怎么样去定义多个?