连接线对象类。
| SuperMap. |
连接线对象类。 |
| Properties | |
| lineRelationType | {SuperMap.Plot.LineRelation} 对象间连接线类型 |
| startAssociatedUuid | {String} 连接线的结束对象的唯一ID |
| subSectionCount | {Integer} 段数,默认是10 |
| Functions | |
| getLineRelationType | 获取连接线类型 |
| setLineRelationType | 设置连接线类型。 |
| Constructor | |
| SuperMap. |
创建一个连接线对象。 |
| Functions | |
| destroy | 销毁几何图形。 |
| setEndFeature | 设置结束位置对象,如果传入对象为空,则将对应标号也设置为空 |
| setFeatures | 设置起始对象,传入标号不能为空 |
| setStartFeature | 设置起始位置对象,如果传入对象为空,则将对应标号也设置为空 |
{SuperMap.Plot.LineRelation} 对象间连接线类型
setLineRelationType: function ( lineRelationType )
设置连接线类型。
| lineRelationType | {SuperMap.Plot.LineRelation} 连接线类型。 |
创建一个连接线对象。
| options | {Object} 此类与父类提供的开放属性。 |
{SuperMap.Geometry.LineRelation} 新的连接线对象。
设置连接线类型。
setLineRelationType: function ( lineRelationType )
获取连接线类型
getLineRelationType: function ()
设置起始位置对象,如果传入对象为空,则将对应标号也设置为空
setStartFeature: function ( associatedUuid )
设置结束位置对象,如果传入对象为空,则将对应标号也设置为空
setEndFeature: function ( associatedUuid )
设置起始对象,传入标号不能为空
setFeatures: function ( startAssociatedUuid, endAssociatedUuid )
销毁几何图形。
destroy: function ()