@@ -24,7 +24,6 @@ import {LabelOverLengthMode} from '../REST';
2424 * @param {Array.<SuperMap.LabelMatrixCell> } options.matrixCells - 矩阵标签元素数组。
2525 * @param {SuperMap.ThemeLabelAlongLine } [options.alongLine] - 标签沿线标注方向样式类。
2626 * @param {SuperMap.ThemeLabelBackground } [options.background] - 标签专题图中标签的背景风格类。
27- * @param {SuperMap.ThemeFlow } [options.flow] - 标签专题图标签流动显示与牵引线设置类。
2827 * @param {SuperMap.LabelOverLengthMode } [options.labelOverLengthMode=SuperMap.LabelOverLengthMode.NONE] - 标签专题图中超长标签的处理模式枚举类。
2928 * @param {number } [options.maxLabelLength=256] - 标签在每一行显示的最大长度。
3029 * @param {number } [options.numericPrecision=0] - 通过该字段设置其显示的精度。
@@ -54,12 +53,6 @@ export class ThemeLabel extends Theme {
5453 */
5554 this . background = new ThemeLabelBackground ( ) ;
5655
57- /**
58- * @member {SuperMap.ThemeFlow} [SuperMap.ThemeLabel.prototype.flow]
59- * @description 标签专题图标签流动显示与牵引线设置类。通过该字段可以设置标签是否流动显示和牵引线风格。
60- */
61- this . flow = new ThemeFlow ( ) ;
62-
6356 /**
6457 * @member {Array.<SuperMap.ThemeUniqueItem>} [SuperMap.ThemeLabel.prototype.items]
6558 * @description 分段标签专题图的子项数组。分段标签专题图使用 rangeExpression
@@ -174,7 +167,6 @@ export class ThemeLabel extends Theme {
174167 me . background . destroy ( ) ;
175168 me . background = null ;
176169 }
177- me . flow = null ;
178170 if ( me . items ) {
179171 for ( var i = 0 , items = me . items , len = items . length ; i < len ; i ++ ) {
180172 items [ i ] . destroy ( ) ;
@@ -240,12 +232,6 @@ export class ThemeLabel extends Theme {
240232 obj . offsetX = this . offset . offsetX ;
241233 obj . offsetY = this . offset . offsetY ;
242234 }
243-
244- if ( this . flow ) {
245- obj . flowEnabled = this . flow . flowEnabled ;
246- obj . leaderLineDisplayed = this . flow . leaderLineDisplayed ;
247- obj . leaderLineStyle = this . flow . leaderLineStyle ;
248- }
249235 if ( this . text ) {
250236 obj . maxTextHeight = this . text . maxTextHeight ;
251237 obj . maxTextWidth = this . text . maxTextWidth ;
@@ -289,11 +275,6 @@ export class ThemeLabel extends Theme {
289275 Util . copy ( lab , obj ) ;
290276 lab . alongLine = ThemeLabelAlongLine . fromObj ( obj ) ;
291277 lab . background = ThemeLabelBackground . fromObj ( obj ) ;
292- lab . flow = new ThemeFlow ( {
293- flowEnabled : obj . flowEnabled ,
294- leaderLineDisplayed : obj . leaderLineDisplayed ,
295- leaderLineStyle : obj . leaderLineStyle
296- } ) ;
297278 if ( itemsL ) {
298279 lab . items = [ ] ;
299280 for ( var i = 0 , len = itemsL . length ; i < len ; i ++ ) {
0 commit comments