线条呈动画效果画出
我用了new SuperMap.Layer.AnimatorVector("animatorVector",{rendererType:"StretchLine"},speed:1,startTime:10,endTime:100});
animatorVector.addFeatures([
new SuperMap.Feature.Vector(
new SuperMap.Geometry.LineString([
new SuperMap.Geometry.Point(0,0),
new SuperMap.Geometry.Point(2500000,0)
]),
{ //attribute
FEATUREID: 0,
TIME:10
},
{//style
strokeColor: "blue"
}),
new SuperMap.Feature.Vector(
new SuperMap.Geometry.LineString([
new SuperMap.Geometry.Point(0,0),
new SuperMap.Geometry.Point(2500000,0),
new SuperMap.Geometry.Point(5000000,0)
]),
{ //attribute
FEATUREID: 0,
TIME:100
},
{//style
strokeColor: "red"
})
]);
map.addLayer(animatorVector);
只出来了第一条线,而且无动画效果。求助。。。。 求代码。。。