@@ -14784,7 +14784,6 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
1478414784/**
1478514785 * @class mapboxgl.supermap.GeoFeatureThemeLayer
1478614786 * @classdesc 地理几何专题要素型专题图层。
14787- * @private
1478814787 * @param name - {string} 图层名
1478914788 * @param opt_options - {Object} 参数,如:<br>
1479014789 * id - {string} 专题图层ID。</br>
@@ -15408,7 +15407,7 @@ var SmicPolygon = exports.SmicPolygon = function (_Shape) {
1540815407 if (style.brushType == 'fill' || style.brushType == 'both' || typeof style.brushType == 'undefined') {
1540915408 // 默认为fill
1541015409 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') {
1541215411 // 特殊处理,虚线围不成path,实线再build一次
1541315412 this.buildPath(ctx, {
1541415413 lineType: 'solid',
@@ -15455,7 +15454,7 @@ var SmicPolygon = exports.SmicPolygon = function (_Shape) {
1545515454 if (hpStyle.brushType == 'fill' || hpStyle.brushType == 'both' || typeof hpStyle.brushType == 'undefined') {
1545615455 // 默认为fill
1545715456 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') {
1545915458 // 特殊处理,虚线围不成path,实线再build一次
1546015459 this.buildPath(ctx, {
1546115460 lineType: 'solid',
@@ -15611,7 +15610,7 @@ var SmicPolygon = exports.SmicPolygon = function (_Shape) {
1561115610 _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]);
1561215611 }
1561315612 _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') {
1561515614 var _dashLengthForStyle = style._dashLength || (style.lineWidth || 1) * (style.lineType == 'dashed' ? 5 : 1);
1561615615 style._dashLength = _dashLengthForStyle;
1561715616
@@ -15621,8 +15620,8 @@ var SmicPolygon = exports.SmicPolygon = function (_Shape) {
1562115620 var pattern3 = _dashLength;
1562215621 var pattern4 = _dashLength;
1562315622
15624- //dashot
15625- if (style.lineType === 'dashot ') {
15623+ //dashdot
15624+ if (style.lineType === 'dashdot ') {
1562615625 _pattern *= 4;
1562715626 _pattern2 *= 4;
1562815627 pattern4 *= 4;
@@ -19073,7 +19072,7 @@ var Vector = exports.Vector = function (_Feature) {
1907319072 * * strokeOpacity - {number} 描边的不透明度(0-1),默认为0.4。
1907419073 * * strokeWidth - {number} 像素描边宽度,默认为1。
1907519074 * * 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"。
1907719076 * * graphic - {Boolean} 不需要则设置为false。
1907819077 * * pointRadius - {number} 像素点半径,默认为6
1907919078 * * pointerEvents - {string} 默认为"visiblePainted"。
@@ -20589,7 +20588,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
2058920588function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2059020589
2059120590/**
20592- * @private
2059320591 * @class mapboxgl.supermap.ThemeLayer
2059420592 * @classdesc 专题图基类。
2059520593 * @param name - {string} 专题图图层名。
@@ -22009,15 +22007,15 @@ var SmicBrokenLine = exports.SmicBrokenLine = function (_Shape) {
2200922007 for (var i = 1; i < len; i++) {
2201022008 _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]);
2201122009 }
22012- } else if (style.lineType === 'dashot ' || style.lineType === 'longdashdot') {
22010+ } else if (style.lineType === 'dashdot ' || style.lineType === 'longdashdot') {
2201322011 var _dashLength = style.lineWidth || 1;
2201422012 var _pattern = _dashLength;
2201522013 var _pattern2 = _dashLength;
2201622014 var pattern3 = _dashLength;
2201722015 var pattern4 = _dashLength;
2201822016
22019- //dashot
22020- if (style.lineType === 'dashot ') {
22017+ //dashdot
22018+ if (style.lineType === 'dashdot ') {
2202122019 _pattern *= 4;
2202222020 _pattern2 *= 4;
2202322021 pattern4 *= 4;
@@ -58761,7 +58759,6 @@ var RankSymbol = exports.RankSymbol = function (_Graph) {
5876158759 }
5876258760
5876358761 /**
58764- * @private
5876558762 * @function mapboxgl.supermap.RankSymbolThemeLayer.prototype.createThematicFeature
5876658763 * @description 创建专题图形要素
5876758764 * @param feature -{Object} 要创建的专题图形要素
@@ -58856,7 +58853,6 @@ var Range = exports.Range = function (_GeoFeature) {
5885658853 }
5885758854
5885858855 /**
58859- * @private
5886058856 * @function mapboxgl.supermap.RangeThemeLayer.prototype.createThematicFeature
5886158857 * @description 创建专题图要素
5886258858 * @param feature -{Object} 要创建的专题图形要素
@@ -59474,7 +59470,6 @@ var Label = exports.Label = function (_GeoFeature) {
5947459470 }
5947559471
5947659472 /**
59477- * @private
5947859473 * @function mapboxgl.supermap.LabelThemeLayer.prototype.redrawThematicFeatures
5947959474 * @description 重绘所有专题要素。
5948059475 * 此方法包含绘制专题要素的所有步骤,包含用户数据到专题要素的转换,抽稀,缓存等步骤。
@@ -59498,7 +59493,6 @@ var Label = exports.Label = function (_GeoFeature) {
5949859493 }
5949959494
5950059495 /**
59501- * @private
5950259496 * @function mapboxgl.supermap.LabelThemeLayer.prototype.createThematicFeature
5950359497 * @description 创建专题图要素
5950459498 * @param feature - {Object} 要创建的专题图形要素
@@ -64873,7 +64867,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
6487364867 * strokeWidth - {number} 线宽度/描边宽度,默认值 1。<br>
6487464868 * strokeLinecap - {string} 线帽样式。strokeLinecap 有三种类型 “butt", "round", "square"; 默认为"butt"。<br>
6487564869 * 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>
6487764871 * pointRadius - {number} 点半径,默认为 6 (像素)。<br>
6487864872 * shadowBlur - {number} 阴影模糊度,(大于 0 有效; 默认值 0)。注:请将 shadowColor 属性与 shadowBlur 属性一起使用,来创建阴影。<br>
6487964873 * shadowColor - {string} 阴影颜色; 默认值 '#000000'。注:请将 shadowColor 属性与 shadowBlur 属性一起使用,来创建阴影。<br>
@@ -64945,7 +64939,7 @@ var ThemeStyle = exports.ThemeStyle = function ThemeStyle(options) {
6494564939 this.strokeLineJoin = "miter";
6494664940 /**
6494764941 * @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";
6494964943 * 默认值 "solid"。solid 表示实线。
6495064944 */
6495164945 this.strokeDashstyle = "solid";
@@ -74465,7 +74459,6 @@ var _Util = __webpack_require__(1);
7446574459function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7446674460
7446774461/**
74468- * @private
7446974462 * @class SuperMap.ServerFeature
7447074463 * @category iServer
7447174464 * @classdesc 服务端矢量要素类。该类描述了服务端返回的矢量要素的相关信息,包括字段和几何信息。
0 commit comments