@@ -14784,7 +14784,6 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
14784
14784
/**
14785
14785
* @class mapboxgl.supermap.GeoFeatureThemeLayer
14786
14786
* @classdesc 地理几何专题要素型专题图层。
14787
- * @private
14788
14787
* @param name - {string} 图层名
14789
14788
* @param opt_options - {Object} 参数,如:<br>
14790
14789
* id - {string} 专题图层ID。</br>
@@ -15408,7 +15407,7 @@ var SmicPolygon = exports.SmicPolygon = function (_Shape) {
15408
15407
if (style.brushType == 'fill' || style.brushType == 'both' || typeof style.brushType == 'undefined') {
15409
15408
// 默认为fill
15410
15409
ctx.beginPath();
15411
- if (style.lineType == 'dashed' || style.lineType == 'dotted' || style.lineType == 'dot' || style.lineType == 'dash' || style.lineType == 'dashot ' || style.lineType == 'longdash' || style.lineType == 'longdashdot') {
15410
+ if (style.lineType == 'dashed' || style.lineType == 'dotted' || style.lineType == 'dot' || style.lineType == 'dash' || style.lineType == 'dashdot ' || style.lineType == 'longdash' || style.lineType == 'longdashdot') {
15412
15411
// 特殊处理,虚线围不成path,实线再build一次
15413
15412
this.buildPath(ctx, {
15414
15413
lineType: 'solid',
@@ -15455,7 +15454,7 @@ var SmicPolygon = exports.SmicPolygon = function (_Shape) {
15455
15454
if (hpStyle.brushType == 'fill' || hpStyle.brushType == 'both' || typeof hpStyle.brushType == 'undefined') {
15456
15455
// 默认为fill
15457
15456
ctx.beginPath();
15458
- if (hpStyle.lineType == 'dashed' || hpStyle.lineType == 'dotted' || hpStyle.lineType == 'dot' || hpStyle.lineType == 'dash' || hpStyle.lineType == 'dashot ' || hpStyle.lineType == 'longdash' || hpStyle.lineType == 'longdashdot') {
15457
+ if (hpStyle.lineType == 'dashed' || hpStyle.lineType == 'dotted' || hpStyle.lineType == 'dot' || hpStyle.lineType == 'dash' || hpStyle.lineType == 'dashdot ' || hpStyle.lineType == 'longdash' || hpStyle.lineType == 'longdashdot') {
15459
15458
// 特殊处理,虚线围不成path,实线再build一次
15460
15459
this.buildPath(ctx, {
15461
15460
lineType: 'solid',
@@ -15611,7 +15610,7 @@ var SmicPolygon = exports.SmicPolygon = function (_Shape) {
15611
15610
_SUtil.SUtil.SUtil_dashedLineTo(ctx, pointList[_i2 - 1][0] + __OP[0], pointList[_i2 - 1][1] + __OP[1], pointList[_i2][0] + __OP[0], pointList[_i2][1] + __OP[1], dashLength, [pattern1, pattern2]);
15612
15611
}
15613
15612
_SUtil.SUtil.SUtil_dashedLineTo(ctx, pointList[pointList.length - 1][0] + __OP[0], pointList[pointList.length - 1][1] + __OP[1], pointList[0][0] + __OP[0], pointList[0][1] + __OP[1], dashLength, [pattern1, pattern2]);
15614
- } else if (style.lineType === 'dashot ' || style.lineType === 'longdashdot') {
15613
+ } else if (style.lineType === 'dashdot ' || style.lineType === 'longdashdot') {
15615
15614
var _dashLengthForStyle = style._dashLength || (style.lineWidth || 1) * (style.lineType == 'dashed' ? 5 : 1);
15616
15615
style._dashLength = _dashLengthForStyle;
15617
15616
@@ -15621,8 +15620,8 @@ var SmicPolygon = exports.SmicPolygon = function (_Shape) {
15621
15620
var pattern3 = _dashLength;
15622
15621
var pattern4 = _dashLength;
15623
15622
15624
- //dashot
15625
- if (style.lineType === 'dashot ') {
15623
+ //dashdot
15624
+ if (style.lineType === 'dashdot ') {
15626
15625
_pattern *= 4;
15627
15626
_pattern2 *= 4;
15628
15627
pattern4 *= 4;
@@ -19073,7 +19072,7 @@ var Vector = exports.Vector = function (_Feature) {
19073
19072
* * strokeOpacity - {number} 描边的不透明度(0-1),默认为0.4。
19074
19073
* * strokeWidth - {number} 像素描边宽度,默认为1。
19075
19074
* * strokeLinecap - {string} strokeLinecap有三种类型butt,round,square,默认为"round"。
19076
- * * strokeDashstyle - {string} 有dot,dash,dashot ,longdash,longdashdot,solid几种样式,默认为"solid"。
19075
+ * * strokeDashstyle - {string} 有dot,dash,dashdot ,longdash,longdashdot,solid几种样式,默认为"solid"。
19077
19076
* * graphic - {Boolean} 不需要则设置为false。
19078
19077
* * pointRadius - {number} 像素点半径,默认为6
19079
19078
* * pointerEvents - {string} 默认为"visiblePainted"。
@@ -20589,7 +20588,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
20589
20588
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
20590
20589
20591
20590
/**
20592
- * @private
20593
20591
* @class mapboxgl.supermap.ThemeLayer
20594
20592
* @classdesc 专题图基类。
20595
20593
* @param name - {string} 专题图图层名。
@@ -22009,15 +22007,15 @@ var SmicBrokenLine = exports.SmicBrokenLine = function (_Shape) {
22009
22007
for (var i = 1; i < len; i++) {
22010
22008
_SUtil.SUtil.SUtil_dashedLineTo(ctx, pointList[i - 1][0] + __OP[0], pointList[i - 1][1] + __OP[1], pointList[i][0] + __OP[0], pointList[i][1] + __OP[1], dashLength, [pattern1, pattern2]);
22011
22009
}
22012
- } else if (style.lineType === 'dashot ' || style.lineType === 'longdashdot') {
22010
+ } else if (style.lineType === 'dashdot ' || style.lineType === 'longdashdot') {
22013
22011
var _dashLength = style.lineWidth || 1;
22014
22012
var _pattern = _dashLength;
22015
22013
var _pattern2 = _dashLength;
22016
22014
var pattern3 = _dashLength;
22017
22015
var pattern4 = _dashLength;
22018
22016
22019
- //dashot
22020
- if (style.lineType === 'dashot ') {
22017
+ //dashdot
22018
+ if (style.lineType === 'dashdot ') {
22021
22019
_pattern *= 4;
22022
22020
_pattern2 *= 4;
22023
22021
pattern4 *= 4;
@@ -58761,7 +58759,6 @@ var RankSymbol = exports.RankSymbol = function (_Graph) {
58761
58759
}
58762
58760
58763
58761
/**
58764
- * @private
58765
58762
* @function mapboxgl.supermap.RankSymbolThemeLayer.prototype.createThematicFeature
58766
58763
* @description 创建专题图形要素
58767
58764
* @param feature -{Object} 要创建的专题图形要素
@@ -58856,7 +58853,6 @@ var Range = exports.Range = function (_GeoFeature) {
58856
58853
}
58857
58854
58858
58855
/**
58859
- * @private
58860
58856
* @function mapboxgl.supermap.RangeThemeLayer.prototype.createThematicFeature
58861
58857
* @description 创建专题图要素
58862
58858
* @param feature -{Object} 要创建的专题图形要素
@@ -59474,7 +59470,6 @@ var Label = exports.Label = function (_GeoFeature) {
59474
59470
}
59475
59471
59476
59472
/**
59477
- * @private
59478
59473
* @function mapboxgl.supermap.LabelThemeLayer.prototype.redrawThematicFeatures
59479
59474
* @description 重绘所有专题要素。
59480
59475
* 此方法包含绘制专题要素的所有步骤,包含用户数据到专题要素的转换,抽稀,缓存等步骤。
@@ -59498,7 +59493,6 @@ var Label = exports.Label = function (_GeoFeature) {
59498
59493
}
59499
59494
59500
59495
/**
59501
- * @private
59502
59496
* @function mapboxgl.supermap.LabelThemeLayer.prototype.createThematicFeature
59503
59497
* @description 创建专题图要素
59504
59498
* @param feature - {Object} 要创建的专题图形要素
@@ -64873,7 +64867,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
64873
64867
* strokeWidth - {number} 线宽度/描边宽度,默认值 1。<br>
64874
64868
* strokeLinecap - {string} 线帽样式。strokeLinecap 有三种类型 “butt", "round", "square"; 默认为"butt"。<br>
64875
64869
* strokeLineJoin - {string} 线段连接样式。strokeLineJoin 有三种类型 “miter", "round", "bevel"; 默认为"miter"。<br>
64876
- * strokeDashstyle - {string} 虚线类型。strokeDashstyle 有八种类型 “dot",“dash",“dashot ",“longdash",“longdashdot",“solid", "dashed", "dotted"。默认值 "solid"。solid 表示实线。<br>
64870
+ * strokeDashstyle - {string} 虚线类型。strokeDashstyle 有八种类型 “dot",“dash",“dashdot ",“longdash",“longdashdot",“solid", "dashed", "dotted"。默认值 "solid"。solid 表示实线。<br>
64877
64871
* pointRadius - {number} 点半径,默认为 6 (像素)。<br>
64878
64872
* shadowBlur - {number} 阴影模糊度,(大于 0 有效; 默认值 0)。注:请将 shadowColor 属性与 shadowBlur 属性一起使用,来创建阴影。<br>
64879
64873
* shadowColor - {string} 阴影颜色; 默认值 '#000000'。注:请将 shadowColor 属性与 shadowBlur 属性一起使用,来创建阴影。<br>
@@ -64945,7 +64939,7 @@ var ThemeStyle = exports.ThemeStyle = function ThemeStyle(options) {
64945
64939
this.strokeLineJoin = "miter";
64946
64940
/**
64947
64941
* @member SuperMap.ThemeStyle.prototype.strokeDashstyle -{string}
64948
- * @description 虚线类型; strokeDashstyle 有八种类型 “dot",“dash",“dashot ",“longdash",“longdashdot",“solid", "dashed", "dotted";
64942
+ * @description 虚线类型; strokeDashstyle 有八种类型 “dot",“dash",“dashdot ",“longdash",“longdashdot",“solid", "dashed", "dotted";
64949
64943
* 默认值 "solid"。solid 表示实线。
64950
64944
*/
64951
64945
this.strokeDashstyle = "solid";
@@ -74465,7 +74459,6 @@ var _Util = __webpack_require__(1);
74465
74459
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
74466
74460
74467
74461
/**
74468
- * @private
74469
74462
* @class SuperMap.ServerFeature
74470
74463
* @category iServer
74471
74464
* @classdesc 服务端矢量要素类。该类描述了服务端返回的矢量要素的相关信息,包括字段和几何信息。
0 commit comments