动态标绘路径动画类。
| SuperMap. |
动态标绘路径动画类。 |
| Properties | |
| currentPt | {SuperMap.Geometry.Point} 路径动画当前位置点。 |
| pathColor | {String} 路径线色。 |
| pathWidth | {Float} 路径线宽。 |
| showPath | {Boolean} 是否显示路径。 |
| tangentDirection | {Boolean} 是否沿切线方向。 |
| Constructor | |
| SuperMap. |
构建一个路径动画类。 |
| Functions | |
| destroy | 销毁对象,释放资源。 |
| getCurrentPt | 获取路径动画当前位置 |
| getGOAnimationType | 获取动画类型 |
| getPathColor | 获取路径线颜色 |
| getPathType | 获取路径线类型 |
| getPathWidth | 获取路径线宽度 |
| getWayPoints | 获取路径动画点数组 |
| setPathColor | 设置路径线颜色 |
| setPathType | 设置路径线类型 |
| setPathWidth | 设置路径线宽度 |
| setShowPath | 设置是否显示动画路径 |
| setWayPoints | 设置路径动画点数组 |
{SuperMap.Geometry.Point} 路径动画当前位置点。
销毁对象,释放资源。
destroy: function()
获取动画类型
getGOAnimationType : function()
设置是否显示动画路径
setShowPath:function( value )
设置路径动画点数组
setWayPoints: function( pts )
获取路径动画点数组
getWayPoints: function()
获取路径动画当前位置
getCurrentPt: function()
设置路径线颜色
setPathColor: function( color )
获取路径线颜色
getPathColor: function()
设置路径线宽度
setPathWidth: function( width )
获取路径线宽度
getPathWidth: function()
设置路径线类型
setPathType: function( pathType )
获取路径线类型
getPathType: function()