/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // identity function for calling harmony imports with the correct context /******/ __webpack_require__.i = function(value) { return value; }; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 5); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports) { /* COPYRIGHT 2012 SUPERMAP * 本程序只能在有效的授权许可下使用。 * 未经许可,不得以任何手段擅自使用或传播。*/ /** * @requires SuperMap/BaseTypes.js */ /** * Namespace: SuperMap.Lang * 国际化的命名空间,包含多种语言和方法库来设置和获取当前的语言。 */ //var SuperMap = window.SuperMap = window.SuperMap || {}; /*** * @private * @type {{translate: SuperMap.PlotLang.translate}} */ SuperMap.PlotLang = { /** * APIMethod: translate * 从当前语言字符串的字典查找key。 * getCode获取的值用来判断合适的字典。字典存储在 方法中。 * * Parameters: * key - {String} 字典中i18n字符串值的关键字. * context - {Object} 使用此参数。 * * Returns: * {String} 国际化的字符串。 */ translate: function(key, context) { var dictionary = SuperMap.PlotLang["zh-CN"]; var message = dictionary && dictionary[key]; if(!message) { // Message not found, fall back to message key message = key; } if(context) { message = SuperMap.String.format(message, context); } return message; } }; /** * @private * APIMethod: SuperMap.plotI18n * 的别名. 当前语言字符串的字典查找key。 * getCode获取的值用来判断合适的字典。字典存储在 方法中。 * * Parameters: * key - {String} 字典中i18n字符串值的关键字. * context - {Object} 使用此参数。 * * Returns: * {String} 国际化的字符串。 */ SuperMap.plotI18n = SuperMap.PlotLang.translate; /** * @private * */ SuperMap.PlotLang["zh-CN"] = { //字体 'SongTi':"宋体", //text 'text':"文本", 'textSizeLabel':"字体大小", 'textSizeTitle':"字体大小", 'textFaceNameLabel':"字体", 'textFaceNameTitle':"字体", 'textAlignLabel':"水平对齐方式", 'textAlignTitle':"文本的水平对齐方式", 'textVerticalAlignmentLabel':"垂直对齐方式", 'textVerticalAlignmentTitle':"文本的垂直对齐方式", 'textHaloRadiusLabel':"文本边框宽度", 'textHaloRadiusTitle':"文本的外围边框的宽度", 'textHaloColorLabel':"文本边框颜色", 'textHaloColorTitle':"文本的外围边框的颜色", 'textFillLabel':"文本颜色", 'textFillTitle':"文本的颜色值", 'textOpacityLabel':"透明度", 'textOpacityTitle':"文本的透明度", 'textDxLabel':"横向偏移", 'textDxTitle':"文本的横向偏移值", 'textDyLabel':"纵向偏移值", 'textDyTitle':"文本的纵向偏移值", 'textCompOpLabel':"叠加方式", 'textCompOpTitle':"文本之间相互叠加里使用的覆盖或者是异或等运算方式", 'expandingPointContent':"展", 'volleyPointContent':"齐", 'rendezvousPointContent':"会", 'supplyPointContent':"补", //symbolAlgo //JB 'symbolAlgo_17703':"加", 'symbolAlgo_17704':"急", 'symbolAlgo_21600':"冲", 'symbolAlgo_28000_1':"危", 'symbolAlgo_28000_2':"中", 'symbolAlgo_28000_3':"轻", 'symbolAlgo_315':"突击", 'symbolAlgo_31304':"慑阻", 'symbolAlgo_3010301':"调", 'symbolAlgo_3010303':"出", 'symbolAlgo_3010304':"协", //WJ 'symbolAlgo_2121505':"火", 'symbolAlgo_2121506':"墩", 'symbolAlgo_2121507':"复", 'symbolAlgo_2121601':"遥", 'symbolAlgo_2121602':"障", 'symbolAlgo_30010':"?", 'symbolAlgo_3001101':"集", 'symbolAlgo_3001102':"暴", 'symbolAlgo_3001103':"骚", 'symbolAlgo_3001104':"私", 'symbolAlgo_3001105':"盗", 'symbolAlgo_30020':"水", 'symbolAlgo_3002001':"震", 'symbolAlgo_3002004':"火", 'symbolAlgo_30025':"滞", 'symbolAlgo_5010301':"调", 'symbolAlgo_5010303':"出", 'symbolAlgo_5010304':"协", 'symbolAlgo_5010401':"JZ", 'symbolAlgo_5022001':"ZD0", 'symbolAlgo_5034801':"催", "symbolAlgo_60203":"避", 'symbolAlgo_60301':"爆", 'symbolAlgo_6030101':"挖", 'symbolAlgo_6030102':"浇", 'symbolAlgo_6030103':"砌", 'symbolAlgo_6030104':"装", 'symbolAlgo_6030105':"石", 'symbolAlgo_6030106':"沙", 'symbolAlgo_6030107':"练", 'symbolAlgo_60304':"隧", 'symbolAlgo_3002501':"踏", 'symbolAlgo_30026':"灾", 'symbolAlgo_40104':"缉", 'symbolAlgo_4030301':"标", 'symbolAlgo_4030302':"劝", 'symbolAlgo_4030303':"疏", 'symbolAlgo_40304':"警", 'symbolAlgo_4030401':"警", //basic symbol 'polyLine':"折线", 'parallelogram':"平行四边形", 'circle':"圆", 'ellipse':"椭圆", 'annotation':"注记", 'regularPolygon':"正多边形", 'polygon':"多边形", 'bezier':"贝塞尔曲线", 'closedBesselCurve':"闭合贝塞尔曲线", 'kidney':"集结地", 'brace':"大括号", 'trapezoid':"梯形", 'rectangle':"矩形", 'chord':"弓形", 'sector':"扇形", 'arc':"弧线", 'parallel':"平行线", 'annoframe':"注记指示框", 'tooltipBoxM':"多角标注框", 'runway':"跑道线", 'curveEight':"八字形", 'arrowLine':"箭头线", 'pathText':"沿线注记", 'concentricCircle':"同心圆", 'combinedCircle':"组合圆", 'freeCurve':"自由线", 'nodeChain':"节点链", 'lineMarking':"线型标注", 'symbolTextBox':"标注框", 'parallelFlatArrow':"平行平耳箭头", 'multipleArrow':"多箭头", 'trapezoidalFlatArrow':"梯形平耳箭头", 'besselPointArrow':"贝塞尔尖耳箭头", 'besselArrow':"普通贝塞尔箭头", 'doubleArrow':"钳击箭头", 'brokenSpaceTriangleArrow':"折线空三角箭头", 'besselDovetailArrow':"贝塞尔燕尾箭头", 'ordinaryLineArrow':"普通折线箭头", 'besselPointedEarsTailArrow':"贝塞尔尖耳燕尾箭头", 'besselTipArrow':"贝塞尔尖耳单点箭头", 'besselArrowNoGraph':"普通贝塞尔箭头(不随图)", 'brokenSpaceTriangleArrowNoGraph':"折线空三角箭头(不随图)", 'besselPointedEarsTailArrowNoGraph':"贝塞尔尖耳燕尾箭头(不随图)", 'ordinaryLineArrowNoGraph':"普通折线箭头(不随图)", 'combianationArrow':"组合箭头", 'symbolAlgo_311':'进攻方向', 'symbolAlgo_317':'钳击', //new obj 'airDeployment':"空军兵力部署", 'airRoute':"空军航线", 'arcRegion':"扇形区域", 'flagGroup':"多旗", 'lineRelation':"对象间连线", 'polygonRegion':"多边形区域管理", 'navyRoute':"海军航线", 'missileRoute':"导弹航线", 'navyDeployment':"海军兵力部署", 'satelliteTimeWindows':"卫星时间窗", 'satellite':"卫星", 'symbolText':"对象标注", 'symbolText1':"对象标注(带指示线)", 'interferenceBeam':"干扰波束", 'groupObject':"组合对象", //routeNodeTypeName 'RENDEZVOUS': "会合点", 'EXPANDING': "展开点", 'VOLLEY': "齐射点", 'STANDBY': "待机点", 'SUPPLY': "补给点", 'TAKEOFF': "起飞点", 'INITIAL': "初始点", 'VISUALINITAL': "可视初始点", 'LANCH': "发射点", 'TURNING': "转弯点", 'AIMING': "瞄准点", 'COMMONROUTE': "普通航路点", 'WEAPONLAUNCH': "武器发射点", 'TARGET': "目标点", 'ATTACK':"攻击点", 'SUPPRESS':"压制点", 'EIGHTSPIRAL':"八字盘旋点", 'HAPPYVALLEY':"跑马圈点", 'LITERATESIGN':"标牌文字", 'undoStackOverflow': '撤销的栈溢出', //Mapviewer 'noContent':'无内容', 'lableTitle': '_标签图层' }; /***/ }), /* 1 */ /***/ (function(module, exports) { /*! * * iclient-plot-algorithms-jb.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: undefined * version: v9.1.0 * */!function(t){var e={};function l(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,l),i.l=!0,i.exports}l.m=t,l.c=e,l.d=function(t,e,o){l.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},l.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.t=function(t,e){if(1&e&&(t=l(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(l.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)l.d(o,i,function(e){return t[e]}.bind(null,i));return o},l.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return l.d(e,"a",e),e},l.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},l.p="",l(l.s=225)}([function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol4021102=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol30800),e}();SuperMap.Plot.AlgoSymbol4021102=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol4021101=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol30800),e}();SuperMap.Plot.AlgoSymbol4021101=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.05&&(e=.05),this.scaleValues[0]=e}for(var l=SuperMap.Plot.PlottingUtil.polylineDistance(t),o=Math.abs(l*this.scaleValues[0]),i=this.getDashLinePts(t,o),n={surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0},a=1,r=0;r0?u.pntLeft:u.pntRight,this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,[c,s[0],s[1]],n)}else a--;i[r].length>1&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s),a++}var P=180*SuperMap.Plot.PlottingUtil.radian(t[0],t[1])/Math.PI;this.scaleValues[0]>0?P+=90:P-=90;var S=SuperMap.Plot.PlottingUtil.circlePoint(t[0],2*o,2*o,P);this.addScalePoint(S),this.finish()}}},{key:"getDashLinePts",value:function(t,e){var l=[],o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(e>o)return l;for(var i=SuperMap.Plot.PlottingUtil.clonePoints(t),n=2*parseInt(o/(1.5*e)),a=0;a0&&l.push(i),l}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=.05&&(i=.05),SuperMap.Plot.PlottingUtil.isRight(e,l[0],l[1])&&(i=-i),this.scaleValues[0]=i}}}]),e}();SuperMap.Plot.AlgoSymbol6020404=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ls&&(s+=360);var p=(s-r)/50,u=this.getArcPts(t[0],n,r,s,p),c=this.getArcPts(t[0],a,r,s,p);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,u),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,c,{surroundLineFlag:!1,lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1,surroundLineLimit:!0}),3===this.controlPoints.length&&(this.controlPoints[2]=SuperMap.Plot.PlottingUtil.circlePoint(t[0],e,e,s)),this.addScalePoint(new SuperMap.Geometry.Point(c[c.length-1].x,c[c.length-1].y),0),this.finish()}}},{key:"getArcPts",value:function(t,e,l,o,i){void 0!==i&&null!==i||(i=1);for(var n=[],a=l;a=1.01&&(this.scaleValues[0]=i)}}}]),e}();SuperMap.Plot.AlgoSymbol6020403=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);this.isEdit||(this.scaleValues[0]=this.getSubSymbolScaleValue());var i=this.scaleValues[0],n=this.scaleValues[2],a=this.scaleValues[3],r=o*i,s=new SuperMap.Geometry.Point(l.x+o*n,l.y+o*a);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],s,r,0);var p=new SuperMap.Geometry.Point(s.x+r,s.y+r/2),u=new SuperMap.Geometry.Point(s.x+r,s.y-r/2),c=.3*r,P=SuperMap.Plot.PlottingUtil.radian(u,p)*SuperMap.Plot.PlottingUtil.RTOD,S=SuperMap.Plot.PlottingUtil.circlePoint(p,c,c,P+157.5),h=SuperMap.Plot.PlottingUtil.circlePoint(p,c,c,P+202.5),y=new SuperMap.Geometry.Point((S.x+h.x)/2,(S.y+h.y)/2),f=[];f.push(u),f.push(y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,f);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,[S,y,h,p],{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0},!0),this.addScalePoint(s);var g=r,M=SuperMap.Plot.PlottingUtil.circlePoint(s,g,g,90);this.addScalePoint(M),this.finish(),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol4022102=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);this.isEdit||(this.scaleValues[0]=this.getSubSymbolScaleValue());var i=this.scaleValues[0],n=this.scaleValues[2],a=this.scaleValues[3],r=o*i,s=new SuperMap.Geometry.Point(l.x+o*n,l.y+o*a);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],s,r,0);var p=new SuperMap.Geometry.Point(s.x+r,s.y+r/2),u=new SuperMap.Geometry.Point(s.x+r,s.y-r/2),c=.3*r,P=SuperMap.Plot.PlottingUtil.radian(p,u)*SuperMap.Plot.PlottingUtil.RTOD,S=SuperMap.Plot.PlottingUtil.circlePoint(u,c,c,P+157.5),h=SuperMap.Plot.PlottingUtil.circlePoint(u,c,c,P+202.5),y=new SuperMap.Geometry.Point((S.x+h.x)/2,(S.y+h.y)/2),f=[];f.push(p),f.push(y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,f);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,[S,y,h,u],{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0},!0),this.addScalePoint(s);var g=r,M=SuperMap.Plot.PlottingUtil.circlePoint(s,g,g,90);this.addScalePoint(M),this.finish(),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol4022101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol4022100=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues.push(.05),l.scaleValues.push(0),l.scaleValues.push(0),l.scaleValues.push(0)),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol23500),e}();SuperMap.Plot.AlgoSymbol4022100=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[2]=1.5*o,this.scaleValues[4]=.5*o,this.scaleValues[5]=.5*o}var i=l*this.scaleValues[4],n=this.scaleValues[0]-this.scaleValues[3];n<0&&(n=0);var a=this.scaleValues[0]+this.scaleValues[3];a>1&&(a=1);var r=this.getLinePts(e,this.scaleValues[4],n),s=this.getLinePts(e,this.scaleValues[4],a),p=new SuperMap.Geometry.Point((r.startPt.x+r.endPt.x)/2,(r.startPt.y+r.endPt.y)/2),u=SuperMap.Plot.PlottingUtil.radian(r.startPt,r.endPt)*SuperMap.Plot.PlottingUtil.RTOD;this.createSubSymbol1(p,i,u);var c=new SuperMap.Geometry.Point((s.startPt.x+s.endPt.x)/2,(s.startPt.y+s.endPt.y)/2),P=SuperMap.Plot.PlottingUtil.radian(s.startPt,s.endPt)*SuperMap.Plot.PlottingUtil.RTOD;this.createSubSymbol2(c,i,P);for(var S=[],h=[],y=[],f=0;f<=r.startIndex;f++)S.push(e[f]);if(S.push(r.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S),r.endIndex<=s.startIndex){h.push(r.endPt);for(var g=r.endIndex+1;g<=s.startIndex;g++)h.push(e[g]);h.push(s.startPt),2===e.length&&SuperMap.Plot.PlottingUtil.distance(e[0],r.endPt)<=SuperMap.Plot.PlottingUtil.distance(e[0],s.startPt)&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h),e.length>2&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h)}y.push(s.endPt);for(var M=s.endIndex+1;Mu&&(i=y,a=s,n=u));if(-1==i||i>o.length-1)return;c=0;for(var f=0;fh)return;var g=SuperMap.Plot.PlottingUtil.pointIsOnPolyLines(this.scalePoints[0],o),M=SuperMap.Plot.PlottingUtil.pointIsOnPolyLines(this.scalePoints[3],o),b=0;g.index===M.index&&(b=SuperMap.Plot.PlottingUtil.distance(this.scalePoints[0],this.scalePoints[3]));for(var m=M.index;mh-b-.5&&(c=h-b-.5),this.scaleValues[0]=c/h}else if(1===t){var d=h*this.scaleValues[0],v=SuperMap.Plot.PlottingUtil.findPointInPolyLine(o,d);if(-1===v.index)return;var O=o[v.index],U=o[v.index+1],w=SuperMap.Plot.PlottingUtil.radian(O,U),L=SuperMap.Plot.PlottingUtil.radian(v.pt,e);this.scaleValues[1]=L-w-Math.PI;var V=SuperMap.Plot.PlottingUtil.distance(v.pt,e);this.scaleValues[2]=V/h}else if(2===t){i=-1,n=0,a=new SuperMap.Geometry.Point(0,0);for(var _=0;_u&&(i=_,a=s,n=u));if(-1!==i&&i<=o.length-1){c=0;for(var T=0;T0&&c1-E&&(x=1-E),this.scaleValues[3]=Math.abs(x-this.scaleValues[0])}}}else if(3===t)if(this.scaleValues[0]>.5){var Y=this.scaleValues[0]+this.scaleValues[3],j=h*(P=this.scaleValues[0]-this.scaleValues[3]),C=SuperMap.Plot.PlottingUtil.findPointInPolyLine(o,j);-1!==C.index&&((S=SuperMap.Plot.PlottingUtil.distance(C.pt,e)/h)>1-Y&&(S=1-Y),this.scaleValues[4]=S)}else{var I=h*(P=this.scaleValues[0]-this.scaleValues[3]);-1!==(p=SuperMap.Plot.PlottingUtil.findPointInPolyLine(o,I)).index&&((S=SuperMap.Plot.PlottingUtil.distance(p.pt,e)/h)>P&&(S=P),this.scaleValues[4]=S)}}}}]),e}();SuperMap.Plot.AlgoSymbol4020303=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(-.1),this.scaleValues.push(0),this.scaleValues.push(.1),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getSubSymbolScaleValue()*SuperMap.Plot.PlottingUtil.polylineDistance(this.controlPoints);this.scaleValues[0]=i/o,this.scaleValues[3]=i/o}var n=this.scaleValues[0],a=this.scaleValues[1],r=this.scaleValues[3],s=this.scaleValues[4],p=this.scaleValues[6],u=this.scaleValues[7],c=this.scaleValues[8],P=this.scaleValues[9],S=new SuperMap.Geometry.Point(l.x+o*p,l.y+o*u),h=new SuperMap.Geometry.Point(l.x+o*c,l.y+o*P),y=[],f=.15*SuperMap.Plot.PlottingUtil.distance(S,h),g=SuperMap.Plot.PlottingUtil.linePnt(S,h,f),M=SuperMap.Plot.PlottingUtil.linePnt(h,S,f);y.push(g),y.push(M),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,y);var b=o*n,m=a;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],S,b,m+90);var d=o*r,v=s;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],h,d,v+90),this.addScalePoint(S);var O=SuperMap.Plot.PlottingUtil.circlePoint(S,.5*b,.5*b,m);this.addScalePoint(O),this.addScalePoint(h);var U=SuperMap.Plot.PlottingUtil.circlePoint(h,.5*d,.5*d,v);this.addScalePoint(U),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).lengththis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(-.1),this.scaleValues.push(0),this.scaleValues.push(.1),this.scaleValues.push(0));var o=[];o=3>=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n,a,r,s=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),p=SuperMap.Plot.PlottingUtil.polylineDistance(l),u=e;if(0==t)i=(u.x-s.x)/p,this.scaleValues[6]=i,n=(u.y-s.y)/p,this.scaleValues[7]=n;else if(1==t){i=this.scaleValues[6],n=this.scaleValues[7];var c=new SuperMap.Geometry.Point(s.x+p*i,s.y+p*n),P=2*SuperMap.Plot.PlottingUtil.distance(c,u)/p;this.scaleValues[0]=P;var S=180*SuperMap.Plot.PlottingUtil.radian(c,u)/Math.PI;this.scaleValues[1]=S,this.scaleValues[2]=0<=S&&S<90?1:90<=S&&S<180?2:180<=S&&S<270?3:4}else if(2==t)a=(u.x-s.x)/p,this.scaleValues[8]=a,r=(u.y-s.y)/p,this.scaleValues[9]=r;else if(3==t){a=this.scaleValues[8],r=this.scaleValues[9];var h=new SuperMap.Geometry.Point(s.x+p*a,s.y+p*r),y=2*SuperMap.Plot.PlottingUtil.distance(h,u)/p;this.scaleValues[3]=y;var f=180*SuperMap.Plot.PlottingUtil.radian(h,u)/Math.PI;this.scaleValues[4]=f,this.scaleValues[5]=0<=f&&f<90?1:90<=f&&f<180?2:180<=f&&f<270?3:4}}}}]),e}();SuperMap.Plot.AlgoSymbol4011101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(-.1),this.scaleValues.push(0),this.scaleValues.push(.1),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getSubSymbolScaleValue()*SuperMap.Plot.PlottingUtil.polylineDistance(this.controlPoints);this.scaleValues[0]=i/o,this.scaleValues[3]=i/o}var n=this.scaleValues[0],a=this.scaleValues[1],r=this.scaleValues[3],s=this.scaleValues[4],p=this.scaleValues[6],u=this.scaleValues[7],c=this.scaleValues[8],P=this.scaleValues[9],S=new SuperMap.Geometry.Point(l.x+o*p,l.y+o*u),h=new SuperMap.Geometry.Point(l.x+o*c,l.y+o*P),y=[],f=.15*SuperMap.Plot.PlottingUtil.distance(S,h),g=SuperMap.Plot.PlottingUtil.linePnt(S,h,f),M=SuperMap.Plot.PlottingUtil.linePnt(h,S,f);y.push(g),y.push(M),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,y);var b=o*n,m=a;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],S,b,m-90);var d=o*r,v=s;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],h,d,v-90),this.addScalePoint(S);var O=SuperMap.Plot.PlottingUtil.circlePoint(S,.5*b,.5*b,m);this.addScalePoint(O),this.addScalePoint(h);var U=SuperMap.Plot.PlottingUtil.circlePoint(h,.5*d,.5*d,v);this.addScalePoint(U),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).lengththis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(-.1),this.scaleValues.push(0),this.scaleValues.push(.1),this.scaleValues.push(0));var o=[];o=3>=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n,a,r,s=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),p=SuperMap.Plot.PlottingUtil.polylineDistance(l),u=e;if(0==t)i=(u.x-s.x)/p,this.scaleValues[6]=i,n=(u.y-s.y)/p,this.scaleValues[7]=n;else if(1==t){i=this.scaleValues[6],n=this.scaleValues[7];var c=new SuperMap.Geometry.Point(s.x+p*i,s.y+p*n),P=2*SuperMap.Plot.PlottingUtil.distance(c,u)/p;this.scaleValues[0]=P;var S=180*SuperMap.Plot.PlottingUtil.radian(c,u)/Math.PI;this.scaleValues[1]=S,this.scaleValues[2]=0<=S&&S<90?1:90<=S&&S<180?2:180<=S&&S<270?3:4}else if(2==t)a=(u.x-s.x)/p,this.scaleValues[8]=a,r=(u.y-s.y)/p,this.scaleValues[9]=r;else if(3==t){a=this.scaleValues[8],r=this.scaleValues[9];var h=new SuperMap.Geometry.Point(s.x+p*a,s.y+p*r),y=2*SuperMap.Plot.PlottingUtil.distance(h,u)/p;this.scaleValues[3]=y;var f=180*SuperMap.Plot.PlottingUtil.radian(h,u)/Math.PI;this.scaleValues[4]=f,this.scaleValues[5]=0<=f&&f<90?1:90<=f&&f<180?2:180<=f&&f<270?3:4}}}}]),e}();SuperMap.Plot.AlgoSymbol4011100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol4010905=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues.push(.333333),l.scaleValues.push(.333333),l.scaleValues.push(.125),l.scaleValues.push(90)),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol23901),e}();SuperMap.Plot.AlgoSymbol4010905=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol4010801=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol4010800),e}();SuperMap.Plot.AlgoSymbol4010801=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e);var l,o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),i=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var n=(l=1.5*this.getDefaultSubSymbolSize())/i;n>.2&&(n=.2),this.scaleValues[0]=n}var a=this.scaleValues[0],r=this.scaleValues[2],s=this.scaleValues[3];l=i*a;var p=new SuperMap.Geometry.Point(o.x+i*r,o.y+i*s);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,l,0);for(var u=0;ur&&(r+=360),!this.isEdit){var s=.5*this.getDefaultSubSymbolSize()/n;s>.1&&(s=.1),this.scaleValues[0]=s}var p=n*this.scaleValues[0],u=180*Math.atan(.5*p/n)/Math.PI,c=(r-a)/3,P=(r-a)/50,S=this.getArcPts(t[0],n,a,a+c-1.8*u,P);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S);var h=this.getArcPts(t[0],n,a+c+1.8*u,a+2*c-1.8*u,P);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h);var y=this.getArcPts(t[0],n,a+2*c+1.8*u,r,P);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,y);var f=a+c+90,g=SuperMap.Plot.PlottingUtil.circlePoint(t[0],e,e,a+c);this.createSubSymbol(g,p,f);var M=SuperMap.Plot.PlottingUtil.circlePoint(t[0],e,e,a+2*c),b=a+2*c+90;this.createSubSymbol(M,p,b);var m=SuperMap.Plot.PlottingUtil.circlePoint(t[0],e+p,e+p,a+c);this.addScalePoint(m),3===this.controlPoints.length&&(this.controlPoints[2]=SuperMap.Plot.PlottingUtil.circlePoint(t[0],e,e,r)),this.finish()}}},{key:"getArcPts",value:function(t,e,l,o,i){void 0!==i&&null!==i||(i=1);for(var n=[],a=l;ap&&(p+=360);var u=(p-s)/3,c=SuperMap.Plot.PlottingUtil.circlePoint(l[0],o,o,s+u),P=SuperMap.Plot.PlottingUtil.distance(c,e)/r;P<=.6&&(this.scaleValues[0]=P)}}}]),e}();SuperMap.Plot.AlgoSymbol6020400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol3010302=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="冲",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol21600),e}();SuperMap.Plot.AlgoSymbol3010302=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol3010301=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="调",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol21600),e}();SuperMap.Plot.AlgoSymbol3010301=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol3010108=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues[0]=.05,l.scaleValues[1]=.05),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol3010107),e}();SuperMap.Plot.AlgoSymbol3010108=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(o),n=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.6*i,o);if(!n.bfind)return;var a=2*SuperMap.Plot.PlottingUtil.distance(e,n.pts);this.scaleValues[0]=a/i}}}]),e}();SuperMap.Plot.AlgoSymbol3010106=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P)}S.push(n.endPt);for(var f=n.endIndex+1;f(h*=.5)){u=SuperMap.Plot.PlottingUtil.linePnt(r.pts,e[r.index],h),s.push(u),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s),c=SuperMap.Plot.PlottingUtil.linePnt(r.pts,e[r.index+1],h),y.push(c);for(var f=e.length,g=r.index+1;g=0;b--)if(P=new SuperMap.Geometry.Point(s[b].x,s[b].y),S=new SuperMap.Geometry.Point(r.pts.x,r.pts.y),SuperMap.Plot.PlottingUtil.distance(P,S)>h){M=b;break}if(-1===M)return;s.splice(M+1,s.length-1-M),u=SuperMap.Plot.PlottingUtil.linePnt(r.pts,e[M],h),s.push(u),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s);for(var m=-1,d=r.index;dh){m=d;break}if(-1===m)return;c=SuperMap.Plot.PlottingUtil.linePnt(r.pts,e[m],h),y.push(c);for(var v=m+1;v0&&this.computeSubSymbol(this.subSymbols[0],w,1.5*L,n+90);for(var q=.02*l,W=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(q,e[1],e[0]),J=.5*SuperMap.Plot.PlottingUtil.distance(e[0],W.pntLeft),Z=new SuperMap.Geometry.Point((e[0].x+W.pntLeft.x)/2,(e[0].y+W.pntLeft.y)/2),H=SuperMap.Plot.PlottingUtil.radian(e[1],e[0])*SuperMap.Plot.PlottingUtil.RTOD,Q=[],X=270+H;X<=360+H;X+=5)Q.push(SuperMap.Plot.PlottingUtil.circlePoint(Z,J,J,X));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,Q),V=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(q,e[e.length-2],e[e.length-1]);for(var $=new SuperMap.Geometry.Point((e[e.length-1].x+V.pntRight.x)/2,(e[e.length-1].y+V.pntRight.y)/2),tt=SuperMap.Plot.PlottingUtil.radian(e[e.length-1],V.pntRight)*SuperMap.Plot.PlottingUtil.RTOD,et=[],lt=90+tt;lt<=180+tt;lt+=5)et.push(SuperMap.Plot.PlottingUtil.circlePoint($,J,J,lt));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,et),this.scalePoints=[],this.addScalePoint(w,0);var ot=new SuperMap.Geometry.Point(0,-2*h),it=SuperMap.Plot.PlottingUtil.coordinateTrans(w,ot,this.scaleValues[2]);this.addScalePoint(it,1),this.finish()}}}},{key:"GetSymbolPt",value:function(){var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length(S*=.5)){p=SuperMap.Plot.PlottingUtil.linePnt(a.pts,e[a.index],S),r.push(p),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,r),u=SuperMap.Plot.PlottingUtil.linePnt(a.pts,e[a.index+1],S),h.push(u);for(var y=e.length,f=a.index+1;f=0;M--)if(c=new SuperMap.Geometry.Point(r[M].x,r[M].y),P=new SuperMap.Geometry.Point(a.pts.x,a.pts.y),SuperMap.Plot.PlottingUtil.distance(c,P)>S){g=M;break}if(-1===g)return;r.splice(g+1,r.length-1-g),p=SuperMap.Plot.PlottingUtil.linePnt(a.pts,e[g],S),r.push(p);for(var b=-1,m=a.index;mS){b=m;break}if(-1===b)return;u=SuperMap.Plot.PlottingUtil.linePnt(a.pts,e[b],S),h.push(u);for(var d=b+1;df&&(u=S,P=y,c=f)}}if(-1===u||u>s.length-1)return;n=0;for(var g=0;g=d&&(a=d),a<=v&&(a=v),this.scaleValues[0]=a}else if(1===t){i=new SuperMap.Geometry.Point(e.x,e.y);var O=this.GetSymbolPt();a=(n=SuperMap.Plot.PlottingUtil.distance(i,O))/r;var U=this.scaleValues[0]<.4?this.scaleValues[0]:1-this.scaleValues[0];a>=U&&(a=U),this.scaleValues[1]=a;var w=SuperMap.Plot.PlottingUtil.radian(O,i)*SuperMap.Plot.PlottingUtil.RTOD;this.scaleValues[2]=w-270}}}}]),e}();SuperMap.Plot.AlgoSymbol2890001=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(0),this.scaleValues.push(.05),this.scaleValues.push(0),this.scaleValues.push(-.05));var e=[];e=3>=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(e);if(!this.isEdit){var i=this.getSubSymbolScaleValue()*SuperMap.Plot.PlottingUtil.polylineDistance(this.controlPoints);this.scaleValues[0]=i/o*.8,this.scaleValues[3]=i/o*.8}var n=this.scaleValues[0],a=this.scaleValues[1],r=this.scaleValues[3],s=this.scaleValues[4],p=this.scaleValues[6],u=this.scaleValues[7],c=this.scaleValues[8],P=this.scaleValues[9],S=new SuperMap.Geometry.Point(l.x+o*p,l.y+o*u),h=new SuperMap.Geometry.Point(l.x+o*c,l.y+o*P),y=o*n,f=a;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],S,y,f);var g=o*r,M=s;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],h,g,M),this.addScalePoint(S);var b=SuperMap.Plot.PlottingUtil.circlePoint(S,y,y,f);this.addScalePoint(b),this.addScalePoint(h);var m=SuperMap.Plot.PlottingUtil.circlePoint(h,g,g,M);this.addScalePoint(m),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).lengththis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(0),this.scaleValues.push(.05),this.scaleValues.push(0),this.scaleValues.push(-.05));var o=[];o=3>=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n,a,r,s=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),p=SuperMap.Plot.PlottingUtil.polylineDistance(o),u=e;if(0==t)i=(u.x-s.x)/p,this.scaleValues[6]=i,n=(u.y-s.y)/p,this.scaleValues[7]=n;else if(1==t){i=this.scaleValues[6],n=this.scaleValues[7];var c=new SuperMap.Geometry.Point(s.x+p*i,s.y+p*n),P=SuperMap.Plot.PlottingUtil.distance(c,u)/p;this.scaleValues[0]=P;var S=180*SuperMap.Plot.PlottingUtil.radian(c,u)/Math.PI;this.scaleValues[1]=S,this.scaleValues[2]=0<=S&&S<90?1:90<=S&&S<180?2:180<=S&&S<270?3:4}else if(2==t)a=(u.x-s.x)/p,this.scaleValues[8]=a,r=(u.y-s.y)/p,this.scaleValues[9]=r;else if(3==t){a=this.scaleValues[8],r=this.scaleValues[9];var h=new SuperMap.Geometry.Point(s.x+p*a,s.y+p*r),y=SuperMap.Plot.PlottingUtil.distance(h,u)/p;this.scaleValues[3]=y;var f=180*SuperMap.Plot.PlottingUtil.radian(h,u)/Math.PI;this.scaleValues[4]=f,this.scaleValues[5]=0<=f&&f<90?1:90<=f&&f<180?2:180<=f&&f<270?3:4}}}}]),e}();SuperMap.Plot.AlgoSymbol2350001=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=s.length)){var c=s[0].clone(),P=s[0].clone();for(p=0;ps[p].x&&(c=s[p].clone()),P.x=c.x&&((S=[]).push(c),S.push(h),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S));var y=new SuperMap.Geometry.Point(a.x+n/2,P.y);y.x<=P.x&&y.x>=c.x&&((S=[]).push(P),S.push(y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S)),this.scalePoints=[];var f=SuperMap.Plot.PlottingUtil.circlePoint(a,n/2,n/2,90);if(!SuperMap.Plot.PlottingUtil.ptIsInPolygon(t,a))return this.addScalePoint(a,0),this.addScalePoint(f,1),a.xl.length)return;if(0===SuperMap.Plot.PlottingUtil.getOutRectangleDis(l))return;var o,i,n=SuperMap.Plot.PlottingUtil.polylineDistance(l),a=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),r=e;if(0==t&&(o=(r.x-a.x)/n,this.scaleValues[0]=o,i=(r.y-a.y)/n,this.scaleValues[1]=i),1==t){o=this.scaleValues[0],i=this.scaleValues[1];var s=new SuperMap.Geometry.Point(a.x+o*n,a.y+i*n),p=2*SuperMap.Plot.PlottingUtil.distance(r,s)/n;this.scaleValues[2]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol44400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);this.isEdit||(this.scaleValues[0]=.5*this.getSubSymbolScaleValue());var i=this.scaleValues[0],n=this.scaleValues[2],a=this.scaleValues[3];l.x=l.x+n*o,l.y=l.y+a*o;var r=o*i,s=SuperMap.Plot.PlottingUtil.circlePoint(l,r,r,90),p=SuperMap.Plot.PlottingUtil.circlePoint(l,r,r,210),u=SuperMap.Plot.PlottingUtil.circlePoint(l,r,r,330),c=[];c.push(s),c.push(p),c.push(u),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,c,{lineTypeLimit:!0,lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1,surroundLineLimit:!0,fillLimit:!0,fill:!0}),this.scalePoints=[],this.addScalePoint(s),this.addScalePoint(l),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o=[];if(o=3>=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMap.Plot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o);if(0===t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMap.Geometry.Point(n.x+a,n.y+r),p=SuperMap.Plot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1===t){var u=(e.x-n.x)/i,c=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=c}}}}]),e}();SuperMap.Plot.AlgoSymbol44300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[1]=o}var i=this.scaleValues[0],n=this.scaleValues[1],a=this.scaleValues[2],r=l*i,s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(r,e);if(s.bfind){var p=s.index,u=s.pts,c=u,P=n*l,S=new SuperMap.Geometry.Point(P,-.5*P),h=new SuperMap.Geometry.Point(P,.5*P),y=new SuperMap.Geometry.Point(-P,.5*P),f=new SuperMap.Geometry.Point(-P,-.5*P),g=SuperMap.Plot.PlottingUtil.coordinateTrans(c,S,a),M=SuperMap.Plot.PlottingUtil.coordinateTrans(c,h,a),b=SuperMap.Plot.PlottingUtil.coordinateTrans(c,y,a),m=SuperMap.Plot.PlottingUtil.coordinateTrans(c,f,a),d=[];d.push(g),d.push(M),d.push(b),d.push(m),d.push(g),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,d);var v=new SuperMap.Geometry.Point(.5*P,-.2*P),O=new SuperMap.Geometry.Point(.7*P,.2*P),U=new SuperMap.Geometry.Point(.3*P,.2*P),w=SuperMap.Plot.PlottingUtil.coordinateTrans(c,v,a),L=SuperMap.Plot.PlottingUtil.coordinateTrans(c,U,a),V=SuperMap.Plot.PlottingUtil.coordinateTrans(c,O,a),_=[];_.push(w),_.push(L),_.push(V),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,_,{lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1,fillLimit:!0,fill:!0});var T=new SuperMap.Geometry.Point(P,0),A=new SuperMap.Geometry.Point(2*P,0),E=SuperMap.Plot.PlottingUtil.coordinateTrans(c,T,a),x=SuperMap.Plot.PlottingUtil.coordinateTrans(c,A,a);(_=[]).push(E),_.push(x),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,_);var Y=new SuperMap.Geometry.Point(2*P,.15*P),j=new SuperMap.Geometry.Point(2*P,-.15*P),C=new SuperMap.Geometry.Point(2.6*P,0),I=SuperMap.Plot.PlottingUtil.coordinateTrans(c,Y,a),G=SuperMap.Plot.PlottingUtil.coordinateTrans(c,j,a),B=SuperMap.Plot.PlottingUtil.coordinateTrans(c,C,a);(_=[]).push(I),_.push(G),_.push(B),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,_,{fillLimit:!0,fill:!0});var R=[];R.push(I),R.push(B);var N,D=[],k=[];for(N=0;N<=p;N++)D.push(e[N]);for(D.push(c),k.push(c),N=p+1;NK){var q=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(r-K,D);if(q.bfind){var W=q.pts,J=q.index;for(_=[],N=0;N<=J;N++)_.push(D[N]);_.push(W),z=SuperMap.Plot.PlottingUtil.radian(_[0],_[1])*SuperMap.Plot.PlottingUtil.RTOD,F=SuperMap.Plot.PlottingUtil.circlePoint(_[0],.1*P,.1*P,90+z),_.splice(0,0,F),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,_)}}if(l-r>K){var Z=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(K,k);if(Z.bfind){var H=Z.pts,Q=Z.index;for((_=[]).push(H),N=Q+1;N1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).lengthS&&(s=u,p=S)}}if(-1==s)return SuperMap.Plot.PlottingUtil.distance(r,o[0])>SuperMap.Plot.PlottingUtil.distance(r,o[o.length-1])?void(s=o.length-1):void(s=0);if(i=0,0===s)i=SuperMap.Plot.PlottingUtil.distance(o[0],P);else for(var h=0;ha)return;n=i/a,this.scaleValues[0]=n}else if(1==t){i=this.scaleValues[0]*a;var y=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i,o);if(!y.bfind)return;var f=y.pts;(n=.5*SuperMap.Plot.PlottingUtil.distance(f,e)/a)>.3&&(n=.3),this.scaleValues[1]=n;var g=SuperMap.Plot.PlottingUtil.radian(f,e)*SuperMap.Plot.PlottingUtil.RTOD;this.scaleValues[2]=g}}}},{key:"GetGoPts",value:function(){var t=[];return this.controlPoints.length=0||t<3)){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o,i=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),a=l[1].clone(),r=e.clone();if(0==t){var s=SuperMap.Plot.PlottingUtil.distance(r,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMap.Plot.PlottingUtil.projectPoint(r,n,a);var p=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[1]=p;var u=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMap.Plot.PlottingUtil.projectPoint(r,n,a);var c=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[2]=c;var P=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[4]=P}}}}]),e}();SuperMap.Plot.AlgoSymbol44100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.x&&(U=!1);var w,L=(O=.1*o)+(v=.12*o/2);d=1==U?(w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(L,l,e)).pntRight:(w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(L,l,e)).pntLeft;var V,_,T,A,E,x,Y,j,C=[];C.push(d),C.push(new SuperMap.Geometry.Point(d.x+v,d.y)),this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,C),1==U?(V=(w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(.85*O,l,e)).pntRight,A=w.pntLeft,_=(w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(O,V,A)).pntRight,T=w.pntLeft):(V=(w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(.85*O,l,e)).pntLeft,A=w.pntRight,_=(w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(O,V,A)).pntLeft,T=w.pntRight),(C=[]).push(V),C.push(_),C.push(T),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,C,{fillLimit:!0,fill:!0}),w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(2*v,_,T),j=1==U?w.pntRight:w.pntLeft,w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(2*v,T,_),x=1==U?w.pntLeft:w.pntRight;var I=SuperMap.Plot.PlottingUtil.intersectLines(V,x,T,_);I.isIntersectLines&&(E=I.intersectPoint,(I=SuperMap.Plot.PlottingUtil.intersectLines(V,j,T,_)).isIntersectLines&&(Y=I.intersectPoint,(C=[]).push(E),C.push(x),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,C),(C=[]).push(Y),C.push(j),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,C),this.scalePoints=[],this.addScalePoint(M[0]),this.addScalePoint(M[1]),this.addScalePoint(M[2]),this.finish()))}}},{key:"computeScaleValues",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o,i=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),a=l[1].clone(),r=e.clone();if(0==t){var s=SuperMap.Plot.PlottingUtil.distance(r,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMap.Plot.PlottingUtil.projectPoint(r,n,a);var p=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[1]=p;var u=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMap.Plot.PlottingUtil.projectPoint(r,n,a);var c=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[2]=c;var P=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[4]=P}}}}]),e}();SuperMap.Plot.AlgoSymbol42500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.polylineDistance(t),o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=.5*i}var n=l*this.scaleValues[0],a=l*this.scaleValues[2],r=l*this.scaleValues[3],s=[];s.push(new SuperMap.Geometry.Point(o.x+a,o.y+r)),s.push(new SuperMap.Geometry.Point(o.x+a+n,o.y+r)),this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,s,{fill:!1}),this.scalePoints=[],this.addScalePoint(new SuperMap.Geometry.Point(o.x+a+n,o.y+r)),this.addScalePoint(new SuperMap.Geometry.Point(o.x+a,o.y+r)),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o=[];if(o=3>=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMap.Plot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMap.Geometry.Point(n.x+a,n.y+r),p=SuperMap.Plot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,c=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=c}}}}]),e}();SuperMap.Plot.AlgoSymbol42400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,{fillLimit:!0,fill:!1,surroundLineFlag:!1});var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.2||i<=0)&&(i=.2),this.scaleValues[0]=i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=new SuperMap.Geometry.Point(l.x+o*a,l.y+o*r);if(this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0){if(this.subSymbols[0].symbolData)for(var u in this.subSymbols[0].symbolData.innerCells)this.subSymbols[0].symbolData.innerCells[u].type===SuperMap.Plot.SymbolType.POLYBEZIERSYMBOL&&(this.subSymbols[0].symbolData.innerCells[u].type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL);this.computeSubSymbol(this.subSymbols[0],p,s,0)}this.addScalePoint(p);var c=s,P=SuperMap.Plot.PlottingUtil.circlePoint(p,c,c,90);this.addScalePoint(P),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n,a=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),r=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-a.x)/r,this.scaleValues[2]=i,n=(e.y-a.y)/r,this.scaleValues[3]=n;else if(1===t){i=this.scaleValues[2],n=this.scaleValues[3];var s=new SuperMap.Geometry.Point(a.x+r*i,a.y+r*n),p=SuperMap.Plot.PlottingUtil.distance(s,e)/r;this.scaleValues[0]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol42200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]);if(0==o)return;var i,n,a=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),r=e;if(0==t)i=(r.x-a.x)/o,this.scaleValues[0]=i,n=(r.y-a.y)/o,this.scaleValues[1]=n;else if(1==t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMap.Geometry.Point(a.x+i*o,a.y+n*o),p=SuperMap.Plot.PlottingUtil.distance(r,s)/o;this.scaleValues[2]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol41202=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]);if(0==o)return;var i,n,a=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),r=e;if(0==t)i=(r.x-a.x)/o,this.scaleValues[0]=i,n=(r.y-a.y)/o,this.scaleValues[1]=n;else if(1==t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMap.Geometry.Point(a.x+i*o,a.y+n*o),p=SuperMap.Plot.PlottingUtil.distance(r,s)/o;this.scaleValues[2]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol41201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]);if(0==o)return;var i,n,a=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),r=e;if(0==t)i=(r.x-a.x)/o,this.scaleValues[0]=i,n=(r.y-a.y)/o,this.scaleValues[1]=n;else if(1==t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMap.Geometry.Point(a.x+i*o,a.y+n*o),p=SuperMap.Plot.PlottingUtil.distance(r,s)/o;this.scaleValues[2]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol41200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2*this.controlPoints.length-1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.polylineDistance(o);if(SuperMap.Plot.PlottingUtil.equalFuzzy(i,0)||SuperMap.Plot.PlottingUtil.equalFuzzy(n,0))return;if(2*(l.length-1)==t||2==l.length&&0==t){var a,r=e,s=[];for(a=0;ah&&(u=a,p=S,c=h)}}if(-1==u||u>s.length-1)return;var y=0;for(a=0;an)return;var b=y/n;if(b>.8||b<.2)return;2==l.length?this.scaleValues[0]=b:this.scaleValues[2*t]=b}else if(2*l.length-1==t||2==l.length&&1==t){var m=1.667*SuperMap.Plot.PlottingUtil.distance(e,l[0])/i;2==l.length?this.scaleValues[1]=m:this.scaleValues[2*t-1]=m}else{var d=-1;d=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var v=(e.x-l[d].x)/i,O=(e.y-l[d].y)/i;this.scaleValues[2*t]=v,this.scaleValues[2*t+1]=O}}}}]),e}();SuperMap.Plot.AlgoSymbol40900=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.polylineDistance(t),o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=.2*i}var n=l*this.scaleValues[0],a=l*this.scaleValues[2],r=l*this.scaleValues[3],s=new SuperMap.Geometry.Point(o.x+a,o.y+r),p=[];p.push(s),p.push(new SuperMap.Geometry.Point(s.x+n,s.y)),this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,p,{fillLimit:!0,fill:!0,lineTypeLimit:!0,surroundLineLimit:!0});for(var u=18*n,c=new SuperMap.Geometry.Point(s.x+u,s.y),P=[],S=135;S<180;S+=3)P.push(SuperMap.Plot.PlottingUtil.circlePoint(c,u,u,S));P.push(SuperMap.Plot.PlottingUtil.circlePoint(c,u,u,180)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P,{lineTypeLimit:!0,surroundLineLimit:!0}),this.scalePoints=[];var h=SuperMap.Plot.PlottingUtil.circlePoint(s,n,n,0);this.addScalePoint(h),this.addScalePoint(s),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMap.Plot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMap.Plot.PlottingUtil.polylineDistance(o),n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMap.Geometry.Point(n.x+a,n.y+r),p=SuperMap.Plot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,c=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=c}}}}]),e}();SuperMap.Plot.AlgoSymbol40101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.polylineDistance(t),o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=.4*i}var n=l*this.scaleValues[0],a=l*this.scaleValues[2],r=l*this.scaleValues[3],s=new SuperMap.Geometry.Point(o.x+a,o.y+r),p=.6*n,u=new SuperMap.Geometry.Point(s.x+n,s.y),c=SuperMap.Plot.PlottingUtil.circlePoint(u,p,p,0),P=SuperMap.Plot.PlottingUtil.circlePoint(u,p,p,180),S=[];S.push(c),S.push(P),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S,{lineTypeLimit:!0});var h=SuperMap.Plot.PlottingUtil.circlePoint(u,p,p,90),y=SuperMap.Plot.PlottingUtil.circlePoint(u,p,p,270);(S=[]).push(h),S.push(y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S,{lineTypeLimit:!0});var f=new SuperMap.Geometry.Point(s.x-n,s.y),g=SuperMap.Plot.PlottingUtil.circlePoint(f,.5*n,.5*n,270),M=SuperMap.Plot.PlottingUtil.circlePoint(f,n,n,240),b=SuperMap.Plot.PlottingUtil.circlePoint(f,n,n,90),m=SuperMap.Plot.PlottingUtil.circlePoint(f,n,n,300);(S=[]).push(g),S.push(M),S.push(b),S.push(m),S.push(g),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S,{lineTypeLimit:!0}),this.scalePoints=[];var d=SuperMap.Plot.PlottingUtil.circlePoint(s,n,n,0);this.addScalePoint(d),this.addScalePoint(s),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMap.Plot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMap.Geometry.Point(n.x+a,n.y+r),p=SuperMap.Plot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,c=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=c}}}}]),e}();SuperMap.Plot.AlgoSymbol40100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2&&(i=t.length-1);var n=SuperMap.Plot.PlottingUtil.polylineDistance(t),a=SuperMap.Plot.PlottingUtil.polylineDistance(e)*this.scaleValues[4*i],r=n*this.scaleValues[4*i+1]/1.667,s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(a,e);if(s.bfind){var p=s.index,u=s.pts,c=3.6*r,P=a-c,S=a+c;if((s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(P,e)).bfind){var h,y=s.pts,f=[];if(0==(p=s.index))f.push(e[0]);else for(h=0;h0){var j=this.computeSubSymbol(this.subSymbols[0],Y,x,E);if(null!=j)for(var C=0;C2*this.controlPoints.length-1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.polylineDistance(o);if(SuperMap.Plot.PlottingUtil.equalFuzzy(i,0)||SuperMap.Plot.PlottingUtil.equalFuzzy(n,0))return;if(2*(l.length-1)==t||2==l.length&&0==t){var a,r=e,s=[];for(a=0;ah&&(u=a,p=S,c=h)}}if(-1==u||u>s.length-1)return;var y=0;for(a=0;an)return;var b=y/n;if(b>.8||b<.2)return;2==l.length?this.scaleValues[0]=b:this.scaleValues[2*t]=b}else if(2*l.length-1==t||2==l.length&&1==t){var m=1.667*SuperMap.Plot.PlottingUtil.distance(e,l[0])/i;2==l.length?this.scaleValues[1]=m:this.scaleValues[2*t-1]=m}else{var d=-1;d=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var v=(e.x-l[d].x)/i,O=(e.y-l[d].y)/i;this.scaleValues[2*t]=v,this.scaleValues[2*t+1]=O}}}}]),e}();SuperMap.Plot.AlgoSymbol40000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2&&(i=t.length-1);var n=SuperMap.Plot.PlottingUtil.polylineDistance(t),a=SuperMap.Plot.PlottingUtil.polylineDistance(e)*this.scaleValues[4*i],r=n*this.scaleValues[4*i+1]/1.667,s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(a,e);if(s.bfind){var p=s.index,u=s.pts,c=3*r,P=a-c,S=a+c;if((s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(P,e)).bfind){var h,y=s.pts,f=[];if(0==(p=s.index))f.push(e[0]);else for(h=0;h0&&this.computeSubSymbol(this.subSymbols[0],d,m,b),!(f.length<2)){var v=f[0],O=f[1],U=SuperMap.Plot.PlottingUtil.radian(v,O)*SuperMap.Plot.PlottingUtil.RTOD,w=SuperMap.Plot.PlottingUtil.circlePoint(v,r,r,U+90),L=SuperMap.Plot.PlottingUtil.circlePoint(v,r,r,U+270),V=[];if(V.push(w),V.push(L),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,V),!(M.length<2)){var _=M[M.length-1],T=M[M.length-2],A=SuperMap.Plot.PlottingUtil.radian(_,T)*SuperMap.Plot.PlottingUtil.RTOD,E=SuperMap.Plot.PlottingUtil.circlePoint(_,r,r,A+90),x=SuperMap.Plot.PlottingUtil.circlePoint(_,r,r,A+270);(V=[]).push(E),V.push(x),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,V);var Y=SuperMap.Plot.PlottingUtil.paraLine(e,r,!1),j=SuperMap.Plot.PlottingUtil.polylineDistance(Y)/11,C=j;for(h=0;h<11;h++)if((s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(C-j,Y)).bfind){var I=s.index,G=s.pts;if((s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(C,Y)).bfind){var B=s.pts,R=s.index;if(h%2==0){var N=[];N.push(G);for(var D=I+1;D<=R;D++)N.push(Y[D]);N.push(B),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,N,{surroundLineLimit:!0,lineColorLimit:!0,strokeColor:"#000000",strokeOpacity:1,color:"#000000",opacity:1})}C+=j}}var k;k=SuperMap.Plot.PlottingUtil.paraLine(e,3.5*r,!1),SuperMap.Plot.PlottingUtil.clearSamePts(k),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,k);var z;z=SuperMap.Plot.PlottingUtil.paraLine(e,3.5*r,!0),SuperMap.Plot.PlottingUtil.clearSamePts(z),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,z),this.addScalePoint(u),this.addScalePoint(w),this.finish()}}}}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>2*this.controlPoints.length-1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.polylineDistance(o);if(SuperMap.Plot.PlottingUtil.equalFuzzy(i,0)||SuperMap.Plot.PlottingUtil.equalFuzzy(n,0))return;if(2*(l.length-1)==t||2==l.length&&0==t){var a,r=e,s=[];for(a=0;ah&&(u=a,p=S,c=h)}}if(-1==u||u>s.length-1)return;var y=0;for(a=0;an)return;var b=y/n;if(b>.8||b<.2)return;2==l.length?this.scaleValues[0]=b:this.scaleValues[2*t]=b}else if(2*l.length-1==t||2==l.length&&1==t){var m=1.667*SuperMap.Plot.PlottingUtil.distance(e,l[0])/i;2==l.length?this.scaleValues[1]=m:this.scaleValues[2*t-1]=m}else{var d=-1;d=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var v=(e.x-l[d].x)/i,O=(e.y-l[d].y)/i;this.scaleValues[2*t]=v,this.scaleValues[2*t+1]=O}}}}]),e}();SuperMap.Plot.AlgoSymbol39802=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2&&(i=t.length-1);var n=SuperMap.Plot.PlottingUtil.polylineDistance(t),a=SuperMap.Plot.PlottingUtil.polylineDistance(e)*this.scaleValues[4*i],r=n*this.scaleValues[4*i+1]/1.667,s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(a,e);if(s.bfind){var p=s.index,u=s.pts,c=3*r,P=a-c,S=a+c;if((s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(P,e)).bfind){var h,y=s.pts,f=[];if(0==(p=s.index))f.push(e[0]);else for(h=0;h0&&this.computeSubSymbol(this.subSymbols[0],d,m,b),!(f.length<2)){var v=f[0],O=f[1],U=SuperMap.Plot.PlottingUtil.radian(v,O)*SuperMap.Plot.PlottingUtil.RTOD,w=SuperMap.Plot.PlottingUtil.circlePoint(v,r,r,U+90),L=SuperMap.Plot.PlottingUtil.circlePoint(v,r,r,U+270),V=[];if(V.push(w),V.push(L),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,V),!(M.length<2)){var _=M[M.length-1],T=M[M.length-2],A=SuperMap.Plot.PlottingUtil.radian(_,T)*SuperMap.Plot.PlottingUtil.RTOD,E=SuperMap.Plot.PlottingUtil.circlePoint(_,r,r,A+90),x=SuperMap.Plot.PlottingUtil.circlePoint(_,r,r,A+270);(V=[]).push(E),V.push(x),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,V),this.addScalePoint(u),this.addScalePoint(w),this.finish()}}}}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>2*this.controlPoints.length-1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.polylineDistance(o);if(SuperMap.Plot.PlottingUtil.equalFuzzy(i,0)||SuperMap.Plot.PlottingUtil.equalFuzzy(n,0))return;if(2*(l.length-1)==t||2==l.length&&0==t){var a,r=e,s=[];for(a=0;ah&&(u=a,p=S,c=h)}}if(-1==u||u>s.length-1)return;var y=0;for(a=0;an)return;var b=y/n;if(b>.8||b<.2)return;2==l.length?this.scaleValues[0]=b:this.scaleValues[2*t]=b}else if(2*l.length-1==t||2==l.length&&1==t){var m=1.667*SuperMap.Plot.PlottingUtil.distance(e,l[0])/i;2==l.length?this.scaleValues[1]=m:this.scaleValues[2*t-1]=m}else{var d=-1;d=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var v=(e.x-l[d].x)/i,O=(e.y-l[d].y)/i;this.scaleValues[2*t]=v,this.scaleValues[2*t+1]=O}}}}]),e}();SuperMap.Plot.AlgoSymbol39801=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2&&(i=t.length-1);var n=SuperMap.Plot.PlottingUtil.polylineDistance(t),a=SuperMap.Plot.PlottingUtil.polylineDistance(e)*this.scaleValues[4*i],r=n*this.scaleValues[4*i+1]/1.667,s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(a,e);if(s.bfind){var p=s.index,u=s.pts,c=3.6*r,P=a-c,S=a+c;if((s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(P,e)).bfind){var h,y=s.pts,f=[];if(0==(p=s.index))f.push(e[0]);else for(h=0;h0&&this.computeSubSymbol(this.subSymbols[0],d,.8*m,b),!(f.length<2)){var v=f[0],O=f[1],U=SuperMap.Plot.PlottingUtil.radian(v,O)*SuperMap.Plot.PlottingUtil.RTOD,w=SuperMap.Plot.PlottingUtil.circlePoint(v,r,r,U+90),L=SuperMap.Plot.PlottingUtil.circlePoint(v,r,r,U+270),V=[];if(V.push(w),V.push(L),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,V),!(M.length<2)){var _=M[M.length-1],T=M[M.length-2],A=SuperMap.Plot.PlottingUtil.radian(_,T)*SuperMap.Plot.PlottingUtil.RTOD,E=SuperMap.Plot.PlottingUtil.circlePoint(_,r,r,A+90),x=SuperMap.Plot.PlottingUtil.circlePoint(_,r,r,A+270);(V=[]).push(E),V.push(x),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,V);var Y=SuperMap.Plot.PlottingUtil.paraLine(e,r,!1),j=SuperMap.Plot.PlottingUtil.polylineDistance(Y)/11,C=j;for(h=0;h<11;h++)if((s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(C-j,Y)).bfind){var I=s.index,G=s.pts;if((s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(C,Y)).bfind){var B=s.pts,R=s.index;if(h%2==0){var N=[];N.push(G);for(var D=I+1;D<=R;D++)N.push(Y[D]);N.push(B),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,N,{surroundLineLimit:!0,lineColorLimit:!0,strokeColor:"#000000",strokeOpacity:1,color:"#000000",opacity:1})}C+=j}}this.addScalePoint(u),this.addScalePoint(w),this.finish()}}}}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>2*this.controlPoints.length-1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.polylineDistance(o);if(SuperMap.Plot.PlottingUtil.equalFuzzy(i,0)||SuperMap.Plot.PlottingUtil.equalFuzzy(n,0))return;if(2*(l.length-1)==t||2==l.length&&0==t){var a,r=e,s=[];for(a=0;ah&&(u=a,p=S,c=h)}}if(-1==u||u>s.length-1)return;var y=0;for(a=0;an)return;var b=y/n;if(b>.8||b<.2)return;2==l.length?this.scaleValues[0]=b:this.scaleValues[2*t]=b}else if(2*l.length-1==t||2==l.length&&1==t){var m=1.667*SuperMap.Plot.PlottingUtil.distance(e,l[0])/i;2==l.length?this.scaleValues[1]=m:this.scaleValues[2*t-1]=m}else{var d=-1;d=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var v=(e.x-l[d].x)/i,O=(e.y-l[d].y)/i;this.scaleValues[2*t]=v,this.scaleValues[2*t+1]=O}}}}]),e}();SuperMap.Plot.AlgoSymbol39800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol39600=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues[0]=.03,l.scaleValues[1]=.05),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol38600),e}();SuperMap.Plot.AlgoSymbol39600=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0;--v)d.push(M[v]);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,d);var O=t[0],U=t[0],w=t[1],L=SuperMap.Plot.PlottingUtil.radian(U,w)*SuperMap.Plot.PlottingUtil.RTOD+270,V=.2*o;this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],O,V,L),this.scalePoints=[],this.addScalePoint(M[0]),this.addScalePoint(M[1]),this.addScalePoint(M[2]),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o,i=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),a=l[1].clone(),r=e.clone();if(0==t){var s=SuperMap.Plot.PlottingUtil.distance(r,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMap.Plot.PlottingUtil.projectPoint(r,n,a);var p=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[1]=p;var u=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMap.Plot.PlottingUtil.projectPoint(r,n,a);var c=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[2]=c;var P=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[4]=P}}}}]),e}();SuperMap.Plot.AlgoSymbol39500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e);var l=SuperMap.Plot.PlottingUtil.polylineDistance(t),o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.1||i<=0)&&(i=.1),this.scaleValues[0]=i}var n=l*this.scaleValues[2],a=l*this.scaleValues[3],r=new SuperMap.Geometry.Point(o.x+n,o.y+a),s=l*this.scaleValues[0];this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],r,s,0),this.scalePoints=[];var p=SuperMap.Plot.PlottingUtil.circlePoint(r,s,s,180);this.addScalePoint(p),this.addScalePoint(r),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o=[];if(o=3>=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMap.Plot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMap.Geometry.Point(n.x+a,n.y+r),p=SuperMap.Plot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,c=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=c}}}}]),e}();SuperMap.Plot.AlgoSymbol39101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),r=SuperMap.Plot.PlottingUtil.clearSamePts(r),!(this.minEditPts>r.length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,r);var s=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(t),p=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var u=this.getSubSymbolScaleValue()*p;this.scaleValues[0]=u/p,this.scaleValues[3]=u/p,this.scaleValues[6]=u/p}var c=new SuperMap.Geometry.Point(s.x+p*e,s.y+p*l),P=new SuperMap.Geometry.Point(s.x+p*o,s.y+p*i),S=new SuperMap.Geometry.Point(s.x+p*n,s.y+p*a),h=p*this.scaleValues[0],y=p*this.scaleValues[3],f=p*this.scaleValues[6];this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],c,1.5*h,0),this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],P,1.5*y,0),this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[2],S,1.5*f,0),this.addScalePoint(c);var g=SuperMap.Plot.PlottingUtil.circlePoint(c,h,h,180);this.addScalePoint(g),this.addScalePoint(P);var M=SuperMap.Plot.PlottingUtil.circlePoint(P,y,y,180);this.addScalePoint(M),this.addScalePoint(S);var b=SuperMap.Plot.PlottingUtil.circlePoint(S,f,f,180);this.addScalePoint(b),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),P=SuperMap.Plot.PlottingUtil.clearSamePts(P),this.minEditPts>P.length)return;this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,P);var S=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),h=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-S.x)/h,this.scaleValues[1]=i,n=(e.y-S.y)/h,this.scaleValues[2]=n;else if(1===t){i=this.scaleValues[1],n=this.scaleValues[2];var y=new SuperMap.Geometry.Point(S.x+h*i,S.y+h*n);o=SuperMap.Plot.PlottingUtil.distance(y,e)/h,this.scaleValues[0]=o}if(2===t)r=(e.x-S.x)/h,this.scaleValues[4]=r,s=(e.y-S.y)/h,this.scaleValues[5]=s;else if(3===t){r=this.scaleValues[4],s=this.scaleValues[5];var f=new SuperMap.Geometry.Point(S.x+h*r,S.y+h*s);a=SuperMap.Plot.PlottingUtil.distance(f,e)/h,this.scaleValues[3]=a}if(4===t)u=(e.x-S.x)/h,this.scaleValues[7]=u,c=(e.y-S.y)/h,this.scaleValues[8]=c;else if(5===t){u=this.scaleValues[7],c=this.scaleValues[8];var g=new SuperMap.Geometry.Point(S.x+h*u,S.y+h*c);p=SuperMap.Plot.PlottingUtil.distance(g,e)/h,this.scaleValues[6]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol39000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||n<=0)&&(n=.3),this.scaleValues[2]=n}var a=this.scaleValues[0],r=this.scaleValues[1],s=this.scaleValues[2],p=this.scaleValues[3],u=a*SuperMap.Plot.PlottingUtil.RTOD,c=i-u,P=i+u,S=this.GetArcPts(c,P,e,o);if(!(2>S.length)){this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S);var h=o*s,y=i-90,f=o*p,g=SuperMap.Plot.PlottingUtil.linePnt(e,l,f),M=SuperMap.Plot.PlottingUtil.radian(g,l)*SuperMap.Plot.PlottingUtil.RTOD-30,b=SuperMap.Plot.PlottingUtil.distance(g,l),m=0,d=t[0].clone(),v=SuperMap.Plot.PlottingUtil.circlePoint(g,b,b,M),O=null;if(this.subSymbols.length>0&&null!=(O=this.computeSubSymbol(this.subSymbols[0],g,h,y,0,-.5)))for(var U=0;UO[U].positionPoints))for(var w=0;wSuperMap.Plot.PlottingUtil.distance(g,d)&&(d=_),m++)}this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[d,v]);var T=SuperMap.Plot.PlottingUtil.radian(v,d)*SuperMap.Plot.PlottingUtil.RTOD,A=SuperMap.Plot.PlottingUtil.distance(d,v),E=SuperMap.Plot.PlottingUtil.circlePoint(v,.1*A,.1*A,T-15),x=SuperMap.Plot.PlottingUtil.circlePoint(v,.1*A,.1*A,T+15),Y=[];Y.push(v),Y.push(E),Y.push(x),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,Y,{fillLimit:!0,fill:!0}),this.scalePoints=[];var j=SuperMap.Plot.PlottingUtil.circlePoint(e,o,o,P);this.addScalePoint(j);var C=SuperMap.Plot.PlottingUtil.linePnt(g,l,o*s);if(this.addScalePoint(C),this.addScalePoint(g),3==t.length){var I=t[2],G=SuperMap.Plot.PlottingUtil.distance(e,I),B=r*SuperMap.Plot.PlottingUtil.RTOD,R=i-B,N=i+B,D=this.GetArcPts(R,N,e,G);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,D);var k=SuperMap.Plot.PlottingUtil.circlePoint(e,G,G,N);this.addScalePoint(k);var z=v,F=SuperMap.Plot.PlottingUtil.distance(e,I)-o,K=SuperMap.Plot.PlottingUtil.circlePoint(z,F,F,M);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[z,K]);var q=SuperMap.Plot.PlottingUtil.circlePoint(K,.1*F,.1*F,T-15),W=SuperMap.Plot.PlottingUtil.circlePoint(K,.1*F,.1*F,T+15),J=[];J.push(K),J.push(q),J.push(W),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,J,{fillLimit:!0,fill:!0})}this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>3)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=e,i=l[0],n=l[1],a=SuperMap.Plot.PlottingUtil.distance(i,n),r=SuperMap.Plot.PlottingUtil.radian(i,n);if(0==t){var s=SuperMap.Plot.PlottingUtil.radian(i,o),p=Math.abs(s-r);this.scaleValues[0]=p}else if(1==t){var u=a*this.scaleValues[3],c=SuperMap.Plot.PlottingUtil.linePnt(i,n,u),P=SuperMap.Plot.PlottingUtil.distance(o,c)/a;this.scaleValues[2]=P}else if(2==t){var S=SuperMap.Plot.PlottingUtil.distance(o,i)/a;if(S>=1)return;this.scaleValues[3]=S}else if(3==t){var h=SuperMap.Plot.PlottingUtil.radian(i,o),y=Math.abs(h-r);this.scaleValues[1]=y}}}},{key:"GetArcPts",value:function(t,e,l,o){var i,n=[],a=0;for(a=t;a.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=o,this.scaleValues[2]=.5*o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=180*SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)/Math.PI,r=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);0=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.2||i<=0)&&(i=.2),this.scaleValues[0]=i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=new SuperMap.Geometry.Point(l.x+o*a,l.y+o*r);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,s,0),this.addScalePoint(p);var u=s,c=SuperMap.Plot.PlottingUtil.circlePoint(p,u,u,90);this.addScalePoint(c),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol37700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.polylineDistance(t),o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),i=l*this.scaleValues[2],n=l*this.scaleValues[3],a=new SuperMap.Geometry.Point(o.x+i,o.y+n);if(!this.isEdit){var r=this.getDefaultSubSymbolSize()/l;(r>.3||r<=0)&&(r=.3),this.scaleValues[0]=r}var s=l*this.scaleValues[0];this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],a,s,90),this.scalePoints=[];var p=SuperMap.Plot.PlottingUtil.circlePoint(a,s,s,180);this.addScalePoint(p),this.addScalePoint(a),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMap.Plot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMap.Geometry.Point(n.x+a,n.y+r),p=SuperMap.Plot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,c=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=c}}}}]),e}();SuperMap.Plot.AlgoSymbol37601=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.15||i<=0)&&(i=.15),this.scaleValues[0]=i}var n=o*this.scaleValues[2],a=o*this.scaleValues[3],r=new SuperMap.Geometry.Point(l.x+n,l.y+a),s=o*this.scaleValues[0];this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],r,s,0),this.scalePoints=[];var p=SuperMap.Plot.PlottingUtil.circlePoint(r,s,s,180);this.addScalePoint(p),this.addScalePoint(r),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMap.Plot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMap.Geometry.Point(n.x+a,n.y+r),p=SuperMap.Plot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,c=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=c}}}}]),e}();SuperMap.Plot.AlgoSymbol37600=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.distance(l[1],l[0]);if(0==t){var i=SuperMap.Plot.PlottingUtil.projectPoint(e,l[1],l[0]),n=SuperMap.Plot.PlottingUtil.distance(i,l[1]);90>SuperMap.Plot.PlottingUtil.radian(l[1],i)*SuperMap.Plot.PlottingUtil.RTOD&&(n=-n);var a=n/o;this.scaleValues[0]=a;var r=SuperMap.Plot.PlottingUtil.distance(e,i)/o;this.scaleValues[1]=r}else if(1==t){var s=SuperMap.Plot.PlottingUtil.distance(l[0],e)/o;if(.1>s||s>.95)return;this.scaleValues[2]=s}else if(2==t){var p=SuperMap.Plot.PlottingUtil.distance(l[0],e)/o;if(.1>p||p>.95)return;this.scaleValues[3]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol37301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMap.Plot.PlottingUtil.distance(l[1],l[0]);if(0==t){var i=SuperMap.Plot.PlottingUtil.projectPoint(e,l[1],l[0]),n=SuperMap.Plot.PlottingUtil.distance(i,l[1]);90>SuperMap.Plot.PlottingUtil.radian(l[1],i)*SuperMap.Plot.PlottingUtil.RTOD&&(n=-n);var a=n/o;this.scaleValues[0]=a;var r=SuperMap.Plot.PlottingUtil.distance(e,i)/o;this.scaleValues[1]=r}}}}]),e}();SuperMap.Plot.AlgoSymbol37300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol37200=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues[0]=.1,l.scaleValues[1]=.2),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol27100),e}();SuperMap.Plot.AlgoSymbol37200=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],c,.9*u,y-90),this.scalePoints=[],this.addScalePoint(s[s.length-1]);var f=SuperMap.Plot.PlottingUtil.circlePoint(c,u,u,y+90);this.addScalePoint(f),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]);if(0==t){var i=SuperMap.Plot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}else if(1==t){var n=this.scaleValues[0]*o,a=SuperMap.Plot.PlottingUtil.circlePoint(l[0],n,n,90),r=SuperMap.Plot.PlottingUtil.circlePoint(l[1],n,n,90),s=new SuperMap.Geometry.Point((a.x+r.x)/2,(a.y+r.y)/2),p=SuperMap.Plot.PlottingUtil.distance(s,e)/o;p>=.8&&(p=.8),this.scaleValues[1]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol37100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=o,this.scaleValues[2]=.5*o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=180*SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)/Math.PI,r=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);0=2){for(var i=-1,n=0;n0&&this.computeSubSymbol(this.subSymbols[0],s,u,p+90),this.scalePoints=[],this.addScalePoint(r[r.length-1]);var c=SuperMap.Plot.PlottingUtil.circlePoint(s,u,u,p+90);this.addScalePoint(c),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]);if(0==t){var i=SuperMap.Plot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}else if(1==t){var n=new SuperMap.Geometry.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),a=SuperMap.Plot.PlottingUtil.distance(n,e)/o;a>=.8&&(a=.8),this.scaleValues[1]=a}}}}]),e}();SuperMap.Plot.AlgoSymbol36600=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],a,.8*o,V-90),this.scalePoints=[];var _=SuperMap.Plot.PlottingUtil.circlePoint(a,o,o,V-90);this.addScalePoint(_),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;if(0==t){var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=e,n=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*o,l).pts,a=SuperMap.Plot.PlottingUtil.distance(i,n)/o;this.scaleValues[0]=a<.5?a:.5}}}}]),e}();SuperMap.Plot.AlgoSymbol36401=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.scaleValues.length&&this.scaleValues.push(0);var h=this.scaleValues[2*(o+1)];2*(o+1)+1>=this.scaleValues.length&&this.scaleValues.push(1);var y=h;this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[o],S,i,y);var f=SuperMap.Plot.PlottingUtil.circlePoint(S,1.5*i,1.5*i,y+90);this.addScalePoint(f)}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>this.scalePoints.length)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;if(0==t){for(var o=[],i=0;i(s-=90)&&(s+=360),this.scaleValues[2*t]=s}}}},{key:"GetCodeByScaleValue",value:function(t){switch(Math.floor(t)){case 0:return 35300;case 1:return 35301;case 2:return 35302;case 3:return 35303;case 4:return 35400;case 5:return 35401;case 6:return 35402;case 7:return 35403;default:return-1}}}]),e}();SuperMap.Plot.AlgoSymbol35304=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],l,o,0),this.scalePoints=[];var i=SuperMap.Plot.PlottingUtil.circlePoint(l,o,o,90);this.addScalePoint(i),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l);if(0==t){var n=SuperMap.Plot.PlottingUtil.distance(e,i)/o;this.scaleValues[0]=n}}}}]),e}();SuperMap.Plot.AlgoSymbol35200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=e[0],n=e[1],a=e[e.length-1],r=e[e.length-2],s=SuperMap.Plot.PlottingUtil.radian(i,n)*SuperMap.Plot.PlottingUtil.RTOD,p=SuperMap.Plot.PlottingUtil.radian(r,a)*SuperMap.Plot.PlottingUtil.RTOD,u=this.scaleValues[0],c=l*u,P=SuperMap.Plot.PlottingUtil.circlePoint(i,c,c,s+90),S=SuperMap.Plot.PlottingUtil.circlePoint(i,c,c,s+270),h=[];h.push(P),h.push(S),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h,{lineTypeLimit:!0}),this.scalePoints=[],this.addScalePoint(S);var y=SuperMap.Plot.PlottingUtil.circlePoint(a,c,c,p+90),f=SuperMap.Plot.PlottingUtil.circlePoint(a,c,c,p+270);(h=[]).push(y),h.push(f),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h,{lineTypeLimit:!0});var g,M,b=t.length;if(this.scaleValues.length<=b){for(this.scaleValues=[],this.scaleValues.push(u),M=1/b,g=0;g=this.scalePoints.length)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0==t){var a=(i=SuperMap.Plot.PlottingUtil.distance(e,l[0]))/n;this.scaleValues[0]=a}else{var r,s=e,p=[];for(r=0;ry&&(u=r,P=h,c=y)}}if(-1==u||u>p.length-1)return;for(i=0,r=0;rn)return;var f=i/n;this.scaleValues[t]=f}}}}]),e}();SuperMap.Plot.AlgoSymbol35000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||a<=0)&&(a=.3),this.scaleValues[0]=a,this.scaleValues[1]=.5*a}var r,s=l*this.scaleValues[0],p=[];for(p.push(n),r=i;r>=0;r--)p.push(e[r]);if((o=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(s,p)).bfind){var u=o.index,c=o.pts,P=[];for(r=p.length-1;r>u;r--)P.push(p[r]);P.push(c),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P);var S=[];for(S.push(n),r=i+1;r.3||a<=0)&&(a=.3),this.scaleValues[0]=a,this.scaleValues[1]=.5*a}var r,s=l*this.scaleValues[0],p=[];for(p.push(n),r=i;r>=0;r--)p.push(e[r]);if((o=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(s,p)).bfind){var u=o.index,c=o.pts,P=[];for(r=p.length-1;r>u;r--)P.push(p[r]);P.push(c),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P);var S=[];for(S.push(n),r=i+1;r.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=.5*o}this.addArrow(e,this.scaleValues[1]);var i=l*this.scaleValues[0],n=new SuperMap.Geometry.Point(e[0].x,e[0].y),a=new SuperMap.Geometry.Point(e[1].x,e[1].y),r=SuperMap.Plot.PlottingUtil.radian(a,n)*SuperMap.Plot.PlottingUtil.RTOD,s=new SuperMap.Geometry.Point(0,.5*i),p=new SuperMap.Geometry.Point(i,.5*i),u=new SuperMap.Geometry.Point(1.5*i,0),c=SuperMap.Plot.PlottingUtil.coordinateTrans(n,s,r),P=SuperMap.Plot.PlottingUtil.coordinateTrans(n,p,r),S=SuperMap.Plot.PlottingUtil.coordinateTrans(n,u,r);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,[e[0],c,P,S]),this.finish()}}}}]),e}();SuperMap.Plot.AlgoSymbol34900=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0;n--)a.push(e[n]);for(this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,a),e=[],n=195;n<=345;n+=4)e.push(SuperMap.Plot.PlottingUtil.circlePoint(l,i,i,n));for(SuperMap.Plot.PlottingUtil.equalFuzzy(n,345)&&(n=345,e.push(SuperMap.Plot.PlottingUtil.circlePoint(l,i,i,n))),a=[],n=e.length-1;n>=0;n--)a.push(e[n]);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,a);var r=2*this.scaleValues[0]*i;(e=[]).push(new SuperMap.Geometry.Point(l.x-r,l.y)),e.push(new SuperMap.Geometry.Point(l.x-.4*r,l.y)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e,{lineTypeLimit:!0}),(e=[]).push(new SuperMap.Geometry.Point(l.x-.2*r,l.y)),e.push(new SuperMap.Geometry.Point(l.x+.4*r,l.y)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e,{lineTypeLimit:!0}),(e=[]).push(new SuperMap.Geometry.Point(l.x+.6*r,l.y)),e.push(new SuperMap.Geometry.Point(l.x+r,l.y)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e,{lineTypeLimit:!0}),(e=[]).push(new SuperMap.Geometry.Point(l.x-this.scaleValues[0]*i,l.y)),e.push(new SuperMap.Geometry.Point(l.x-this.scaleValues[0]*i,l.y+this.scaleValues[0]*i)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e,{lineTypeLimit:!0}),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol34801=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0;n--)a.push(e[n]);for(this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,a),e=[],n=195;n<=345;n+=4)e.push(SuperMap.Plot.PlottingUtil.circlePoint(l,i,i,n));for(SuperMap.Plot.PlottingUtil.equalFuzzy(n,345)&&(n=345,e.push(SuperMap.Plot.PlottingUtil.circlePoint(l,i,i,n))),a=[],n=e.length-1;n>=0;n--)a.push(e[n]);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,a);var r=.8*i;(e=[]).push(new SuperMap.Geometry.Point(l.x-r,l.y)),e.push(new SuperMap.Geometry.Point(l.x+r,l.y)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e,{lineTypeLimit:!0}),(e=[]).push(new SuperMap.Geometry.Point(l.x-.4*i,l.y)),e.push(new SuperMap.Geometry.Point(l.x-.4*i,l.y+.4*i)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e,{lineTypeLimit:!0}),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol34800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0==t){var i=.5*o,n=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i,l).pts,a=SuperMap.Plot.PlottingUtil.distance(e,n)/o;a>.5&&(a=.5),this.scaleValues[0]=a}}}}]),e}();SuperMap.Plot.AlgoSymbol34700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0){var M=.2*e,b=new SuperMap.Geometry.Point(t[1].x,t[1].y+M/2);this.computeSubSymbol(this.subSymbols[0],b,M,0)}this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol34501=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l1&&(s=1);var p,u,c=e*s,P=SuperMap.Plot.PlottingUtil.circlePoint(l,c,c,i),S=[];S.push(t[0].clone()),S.push(P),p=SuperMap.Plot.PlottingUtil.paraLine(S,r,!0),u=SuperMap.Plot.PlottingUtil.paraLine(S,r,!1);var h,y=[];for(h=0;h0&&this.computeSubSymbol(this.subSymbols[0],M,g/2,i+180);for(var b=[],m=.1*c,d=[],v=0;v=U)){for(var w=m;wl.length)return;var o,i=SuperMap.Plot.PlottingUtil.polylineDistance(l);0==t?(o=SuperMap.Plot.PlottingUtil.distance(l[0],e)/i,this.scaleValues[0]=o):1==t&&(o=2*SuperMap.Plot.PlottingUtil.distance(l[1],e)/i,this.scaleValues[1]=o)}}}]),e}();SuperMap.Plot.AlgoSymbol34400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||i<=0)&&(i=.3),this.scaleValues[5]=i);var a=1.5*this.scaleValues[5];2==t.length?(this.isEdit||(this.scaleValues[3]=this.scaleValues[2]+a),l=this.scaleValues[2],o=this.scaleValues[3]):(SuperMap.Plot.PlottingUtil.equalFuzzy(this.scaleValues[4],0)&&(this.scaleValues=[],this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(.125)),this.isEdit||(this.scaleValues[4]=this.scaleValues[3]+a,((i=this.getDefaultSubSymbolSize()/n)>.3||i<=0)&&(i=.3),this.scaleValues[5]=i),l=this.scaleValues[3],o=this.scaleValues[4]);var r=n*l,s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(r,e);if(s.bfind){var p=s.index,u=s.pts,c=n*o;if((s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(c,e)).bfind){for(var P=s.index,S=s.pts,h=new SuperMap.Geometry.Point(u.x,u.y),y=new SuperMap.Geometry.Point(S.x,S.y),f=SuperMap.Plot.PlottingUtil.radian(h,y)*SuperMap.Plot.PlottingUtil.RTOD,g=[],M=0;M<=p;M++)g.push(e[M]);for(g.push(u),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,g),(g=[]).push(S),M=P+1;Ml.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n,a=SuperMap.Plot.PlottingUtil.polylineDistance(o),r=0,s=0;if(2==l.length?(r=this.scaleValues[2],s=this.scaleValues[3]):(r=this.scaleValues[3],s=this.scaleValues[4]),0==t){for(var p=s-r,u=e.clone(),c=[],P=0;Pb&&(h=f,S=M,y=b)}}if(-1==h||h>c.length-1)return;i=0;for(var m=0;ma)return;if((n=i/a)>.7||n-p<0)return;2==l.length?(this.scaleValues[2]=n-p,this.scaleValues[3]=n):(this.scaleValues[3]=n-p,this.scaleValues[4]=n)}else if(1==t){i=a*r;var d=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i,o);if(!d.bfind)return;var v=d.pts;if(.7<(n=(2*SuperMap.Plot.PlottingUtil.distance(v,e)+i)/a))return;2==l.length?this.scaleValues[3]=n:this.scaleValues[4]=n}}}}]),e}();SuperMap.Plot.AlgoSymbol33400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;le.x),c=[];u?(c.push(l),c.push(s)):(c.push(l),c.push(p)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,c,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER});var P=[];u?(P.push(o),P.push(p)):(P.push(o),P.push(s)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER});var S,h,y,f,g=.37*n,M=SuperMap.Plot.PlottingUtil.linePnt(i,e,g),b=.09*n,m=[];m.push(M),m.push(new SuperMap.Geometry.Point(M.x,M.y+b)),this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,m),u?(S=(r=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(b,i,M)).pntLeft,h=(r=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(2*b,i,M)).pntLeft,y=(r=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(b,S,h)).pntRight,f=r.pntLeft):(S=(r=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(b,i,M)).pntRight,h=(r=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(2*b,i,M)).pntRight,y=(r=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(b,S,h)).pntRight,f=r.pntLeft);var d=[];d.push(S),d.push(h),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,d,{lineTypeLimit:!0});var v=[];v.push(y),v.push(f),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,v,{lineTypeLimit:!0}),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol32300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],M,a,c-90),this.finish()}}}}]),e}();SuperMap.Plot.AlgoSymbol31803=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||l<=0)&&(l=.3),this.scaleValues[2]=l}var o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(t),i=Math.abs(t[1].x-t[0].x)*this.getSubSymbolScaleValue()*.5,n=Math.abs(t[1].y-t[0].y)*this.getSubSymbolScaleValue()*.5;if(t[0].y>t[1].y){var a=new SuperMap.Geometry.Point(o.x,t[0].y),r=new SuperMap.Geometry.Point(o.x,t[0].y-n);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[a,r]);var s=new SuperMap.Geometry.Point(o.x,t[1].y),p=new SuperMap.Geometry.Point(o.x,t[1].y+n);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[s,p])}else{var u=new SuperMap.Geometry.Point(o.x,t[1].y),c=new SuperMap.Geometry.Point(o.x,t[1].y-n);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[u,c]);var P=new SuperMap.Geometry.Point(o.x,t[0].y),S=new SuperMap.Geometry.Point(o.x,t[0].y+n);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[P,S])}if(t[0].x>t[1].x){var h=new SuperMap.Geometry.Point(t[0].x,o.y),y=new SuperMap.Geometry.Point(t[0].x-i,o.y);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[h,y]);var f=new SuperMap.Geometry.Point(t[1].x,o.y),g=new SuperMap.Geometry.Point(t[1].x+i,o.y);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[f,g])}else{var M=new SuperMap.Geometry.Point(t[1].x,o.y),b=new SuperMap.Geometry.Point(t[1].x-i,o.y);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[M,b]);var m=new SuperMap.Geometry.Point(t[0].x,o.y),d=new SuperMap.Geometry.Point(t[0].x+i,o.y);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[m,d])}this.addCell(SuperMap.Plot.SymbolType.RECTANGLESYMBOL,t);var v=new SuperMap.Geometry.Point(o.x+e*this.scaleValues[0],o.y+e*this.scaleValues[1]),O=e*this.scaleValues[2]*1.2;this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],v,O,0),this.addScalePoint(v);var U=SuperMap.Plot.PlottingUtil.circlePoint(v,O/2,O/2,90);this.addScalePoint(U),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length.3||s<=0)&&(s=.3),this.scaleValues[0]=s}var p=new SuperMap.Geometry.Point(e.x+o,e.y),u=new SuperMap.Geometry.Point(e.x+4*o,e.y),c=SuperMap.Plot.PlottingUtil.radian(p,u)*SuperMap.Plot.PlottingUtil.RTOD,P=l*this.scaleValues[0]*2,S=new SuperMap.Geometry.Point(e.x+l*this.scaleValues[1],e.y+l*this.scaleValues[2]);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],S,.8*P,c),this.addScalePoint(S);var h=SuperMap.Plot.PlottingUtil.circlePoint(S,P/2,P/2,90);this.addScalePoint(h),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length0&&this.computeSubSymbol(this.subSymbols[0],i,2*o,O),this.addScalePoint(r.pntRight,0),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol31303=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],a,2*n,c),this.addScalePoint(s.pntRight),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol31302=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ld&&(y=M,g=m,f=d)}}if(-1==y||y>h.length-1)return;n=0;for(var v=0;vo)return;var O=n/o;this.scaleValues[0]=O}else if(1===t){a=o*this.scaleValues[0];var U=SuperMap.Plot.PlottingUtil.findPointInPolyLine(h,a);if(-1===U.index)return;s=r=U.pt,p=h[U.index],u=h[U.index+1],c=SuperMap.Plot.PlottingUtil.radian(p,u);var w=SuperMap.Plot.PlottingUtil.radian(s,e)-c;this.scaleValues[1]=w;var L=(n=SuperMap.Plot.PlottingUtil.distance(r,e))/o;this.scaleValues[2]=L}else if(2===t){if(a=o*this.scaleValues[0],P=180*this.scaleValues[1]/Math.PI,n=o*this.scaleValues[2],-1===(r=SuperMap.Plot.PlottingUtil.findPointInPolyLine(h,a)).index)return;s=r.pt,p=h[r.index],u=h[r.index+1],c=180*SuperMap.Plot.PlottingUtil.radian(p,u)/Math.PI,S=SuperMap.Plot.PlottingUtil.circlePoint(s,n,n,c+P-180);var V=SuperMap.Plot.PlottingUtil.distance(e,S)/(.4*n);this.scaleValues[5]=V}else if(3===t){if(a=o*this.scaleValues[0],P=180*this.scaleValues[1]/Math.PI,n=o*this.scaleValues[2],-1===(r=SuperMap.Plot.PlottingUtil.findPointInPolyLine(h,a)).index)return;s=r.pt,p=h[r.index],u=h[r.index+1],c=180*SuperMap.Plot.PlottingUtil.radian(p,u)/Math.PI,S=SuperMap.Plot.PlottingUtil.circlePoint(s,n,n,c+P-180);var _=.4*n*this.scaleValues[5],T=SuperMap.Plot.PlottingUtil.circlePoint(S,_,_,c+P+90),A=2*SuperMap.Plot.PlottingUtil.distance(T,e)/(.4*n);if(this.scaleValues[5]-.25*A<=0)return;this.scaleValues[6]=A}}}}]),e}();SuperMap.Plot.AlgoSymbol30102=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||i<=0)&&(i=.3),this.scaleValues[1]=i,this.scaleValues[3]=i}var n=this.scaleValues[1],a=180*this.scaleValues[2]/Math.PI,r=l*this.scaleValues[0],s=l*this.scaleValues[3],p=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,r);if(-1!==p.index){var u=p.pt,c=e[p.index],P=e[p.index+1],S=SuperMap.Plot.PlottingUtil.radian(c,P)*SuperMap.Plot.PlottingUtil.RTOD,h=SuperMap.Plot.PlottingUtil.circlePoint(u,s,s,S+a);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[p.pt,h]);var y,f=SuperMap.Plot.PlottingUtil.radian(u,h)*SuperMap.Plot.PlottingUtil.RTOD,g=l*n;0M&&(P=y,h=g,S=M)}}if(-1==P||P>u.length-1)return;for(var b=0,m=0;mo)return;var d=b/o;this.scaleValues[0]=d}else if(1===t){var v=SuperMap.Plot.PlottingUtil.findPointInPolyLine(p,o*this.scaleValues[0]);if(-1===v.index)return;n=v.pt,a=p[v.index],r=p[v.index+1],s=SuperMap.Plot.PlottingUtil.radian(a,r)*SuperMap.Plot.PlottingUtil.RTOD;var O=o*this.scaleValues[3],U=SuperMap.Plot.PlottingUtil.circlePoint(n,O,O,s+this.scaleValues[2]*SuperMap.Plot.PlottingUtil.RTOD+180),w=SuperMap.Plot.PlottingUtil.distance(U,e)/o*2;this.scaleValues[1]=w}else if(2===t){var L=o*this.scaleValues[0],V=SuperMap.Plot.PlottingUtil.findPointInPolyLine(p,L);if(-1===V.index)return;n=V.pt,a=p[V.index],r=p[V.index+1],s=SuperMap.Plot.PlottingUtil.radian(a,r);var _=SuperMap.Plot.PlottingUtil.radian(n,e)-s;this.scaleValues[2]=_}}}}]),e}();SuperMap.Plot.AlgoSymbol30800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ls||.3O&&(g=m,b=v,M=O)}}if(-1==g||g>y.length-1)return;n=0;for(var U=0;Uo)return;var w=n/o;this.scaleValues[0]=w}else if(1===t){a=o*this.scaleValues[0];var L=SuperMap.Plot.PlottingUtil.findPointInPolyLine(h,a);if(-1===L.index)return;r=L.pt,s=h[L.index],p=h[L.index+1],u=SuperMap.Plot.PlottingUtil.radian(s,p);var V=(S=SuperMap.Plot.PlottingUtil.radian(r,e))-u;this.scaleValues[1]=V;var _=(n=SuperMap.Plot.PlottingUtil.distance(r,e))/o/1.5;this.scaleValues[2]=_}else if(2===t){if(a=o*this.scaleValues[0],c=180*this.scaleValues[1]/Math.PI,n=o*this.scaleValues[2],-1===(r=SuperMap.Plot.PlottingUtil.findPointInPolyLine(h,a)).index)return;P=r.pt,s=h[r.index],p=h[r.index+1],u=180*SuperMap.Plot.PlottingUtil.radian(s,p)/Math.PI;var T=SuperMap.Plot.PlottingUtil.circlePoint(P,.4*n,.4*n,u+c),A=SuperMap.Plot.PlottingUtil.distance(e,T)/(.4*n);this.scaleValues[5]=A}else if(3===t){if(a=o*this.scaleValues[0],c=180*this.scaleValues[1]/Math.PI,n=o*this.scaleValues[2],-1===(r=SuperMap.Plot.PlottingUtil.findPointInPolyLine(h,a)).index)return;P=r.pt,s=h[r.index],p=h[r.index+1],S=(u=180*SuperMap.Plot.PlottingUtil.radian(s,p)/Math.PI)+c;var E=new SuperMap.Geometry.Point(.6*n,0),x=SuperMap.Plot.PlottingUtil.coordinateTrans(P,E,S),Y=.4*n*this.scaleValues[5],j=new SuperMap.Geometry.Point(0,Y),C=SuperMap.Plot.PlottingUtil.coordinateTrans(x,j,S),I=2*SuperMap.Plot.PlottingUtil.distance(C,e)/(.4*n);this.scaleValues[6]=I}}}}]),e}();SuperMap.Plot.AlgoSymbol30100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.5*f){b=d-1,m=SuperMap.Plot.PlottingUtil.linePnt(M,e[d],.5*f);break}-1===b&&(b=e.length-1,m=e[e.length-1]);var v=null;if(null!==m){for(var O=180*SuperMap.Plot.PlottingUtil.radian(M,m)/Math.PI,U=[],w=0;w=0;A--)if(SuperMap.Plot.PlottingUtil.distance(V,e[A])>.5*f){_=A,T=SuperMap.Plot.PlottingUtil.linePnt(V,e[A],.5*f);break}if(-1===_&&(_=0,T=e[0]),null!==T){for(var E=180*SuperMap.Plot.PlottingUtil.radian(V,T)/Math.PI,x=[],Y=0;Y.2||o<=0)&&(o=.2),this.scaleValues[2]=o,this.scaleValues[4]=o}var i=l*this.scaleValues[0],n=180*this.scaleValues[1]/Math.PI,a=l*this.scaleValues[2],r=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,i);if(-1!==r.index){var s=r.pt,p=new SuperMap.Geometry.Point(e[r.index].x,e[r.index].y),u=new SuperMap.Geometry.Point(e[r.index+1].x,e[r.index+1].y),c=180*SuperMap.Plot.PlottingUtil.radian(p,u)/Math.PI,P=SuperMap.Plot.PlottingUtil.circlePoint(s,a,a,c+n);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[s,P]);var S=180*SuperMap.Plot.PlottingUtil.radian(s,P)/Math.PI,h=SuperMap.Plot.PlottingUtil.circlePoint(P,.2*a,.2*a,S-157.5),y=SuperMap.Plot.PlottingUtil.circlePoint(P,.2*a,.2*a,S+157.5);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,[P,h,y],{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0});for(var f=4.5*(l*this.scaleValues[4])*Math.sin(Math.PI/8),g=this.getLeftSubSymbolPts(f),M=e[0].clone(),b=-1,m=null,d=1;d.5*f){b=d-1,m=SuperMap.Plot.PlottingUtil.linePnt(M,e[d],.5*f);break}-1===b&&(b=e.length-1,m=e[e.length-1]);var v=null;if(null!==m){for(var O=180*SuperMap.Plot.PlottingUtil.radian(M,m)/Math.PI,U=[],w=0;w=0;A--)if(SuperMap.Plot.PlottingUtil.distance(V,e[A])>.5*f){_=A,T=SuperMap.Plot.PlottingUtil.linePnt(V,e[A],.5*f);break}if(-1===_&&(_=0,T=e[0]),null!==T){for(var E=180*SuperMap.Plot.PlottingUtil.radian(V,T)/Math.PI,x=[],Y=0;YP&&(a=p,s=c,r=P))}}if(-1===a||a>o.length-1)return;i=0;for(var S=0;Sn)return;var h=i/n;this.scaleValues[0]=h}else if(1===t){var y=n*this.scaleValues[0],f=SuperMap.Plot.PlottingUtil.findPointInPolyLine(o,y);if(-1===f.index)return;var g=f.pt,M=o[f.index],b=o[f.index+1],m=SuperMap.Plot.PlottingUtil.radian(M,b),d=SuperMap.Plot.PlottingUtil.radian(g,e)-m;this.scaleValues[1]=d;var v=(i=SuperMap.Plot.PlottingUtil.distance(g,e))/n;this.scaleValues[2]=v}else if(2===t){var O=SuperMap.Plot.PlottingUtil.distance(e,l[0])/n;O>.35&&(O=.35),this.scaleValues[4]=O}}}},{key:"getLeftSubSymbolPts",value:function(t){var e=.25*t,l=[],o=new SuperMap.Geometry.Point(0,0),i=new SuperMap.Geometry.Point(e,-2*e),n=new SuperMap.Geometry.Point(2*e,0),a=new SuperMap.Geometry.Point(e,2*e);return l.push(o),l.push(i),l.push(n),l.push(a),l.push(o),l}},{key:"getRightSubSymbolPts",value:function(t){return this.getLeftSubSymbolPts(t)}}]),e}();SuperMap.Plot.AlgoSymbol30001=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lP&&(a=p,s=c,r=P)}}if(-1==a||a>o.length-1)return;i=0;for(var S=0;Sn)return;var h=i/n;this.scaleValues[0]=h}else if(1===t){var y=n*this.scaleValues[0],f=SuperMap.Plot.PlottingUtil.findPointInPolyLine(o,y);if(-1===f.index)return;var g=f.pt,M=o[f.index],b=o[f.index+1],m=SuperMap.Plot.PlottingUtil.radian(M,b),d=SuperMap.Plot.PlottingUtil.radian(g,e)-m;this.scaleValues[1]=d;var v=(i=SuperMap.Plot.PlottingUtil.distance(g,e))/n;this.scaleValues[2]=v}}}}]),e}();SuperMap.Plot.AlgoSymbol30000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=this.getSubSymbolScaleValue(),this.scaleValues[2]=.5*this.getSubSymbolScaleValue()}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,r=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);0=2){var P=l*this.scaleValues[1],S=.3*P,h=.8*P,y=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(l-h,e),f=1.1*P,g=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(l-f,e),M=180*SuperMap.Plot.PlottingUtil.radian(y.pts,g.pts)/Math.PI,b=SuperMap.Plot.PlottingUtil.circlePoint(y.pts,S,S,M+90),m=SuperMap.Plot.PlottingUtil.circlePoint(y.pts,S,S,M+270),d=SuperMap.Plot.PlottingUtil.circlePoint(g.pts,S,S,M+90),v=SuperMap.Plot.PlottingUtil.circlePoint(g.pts,S,S,M+270),O=[];O.push(b),O.push(m),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,O),(O=[]).push(d),O.push(v),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,O)}}var U=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*l,e),w=SuperMap.Plot.PlottingUtil.circlePoint(U.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,a+90);this.addScalePoint(w,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=2&&this.controlPoints.length=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,o);for(var i=0;i<4;i++){var n=i*(o.length-1)/4,a=new SuperMap.Geometry.Point(o[n].x,o[n].y),r=new SuperMap.Geometry.Point(o[n+1].x,o[n+1].y),s=new SuperMap.Geometry.Point((a.x+r.x)/2,(a.y+r.y)/2),p=180*SuperMap.Plot.PlottingUtil.radian(s,r)/Math.PI,u=e*this.scaleValues[0]/2,c=SuperMap.Plot.PlottingUtil.circlePoint(s,u,u,p),P=SuperMap.Plot.PlottingUtil.circlePoint(s,4*u,4*u,p+270),S=SuperMap.Plot.PlottingUtil.circlePoint(s,u,u,p+180);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,[c,P,S],{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0})}this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol29103=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,l);for(var o=0;o<4;o++){var i=o*(l.length-1)/4,n=new SuperMap.Geometry.Point(l[i].x,l[i].y),a=new SuperMap.Geometry.Point(l[i+1].x,l[i+1].y),r=new SuperMap.Geometry.Point((n.x+a.x)/2,(n.y+a.y)/2),s=SuperMap.Plot.PlottingUtil.radian(r,a)*SuperMap.Plot.PlottingUtil.RTOD,p=this.scaleValues[0]*e/2,u=SuperMap.Plot.PlottingUtil.circlePoint(r,p,p,s),c=SuperMap.Plot.PlottingUtil.circlePoint(r,4*p,4*p,s+270),P=SuperMap.Plot.PlottingUtil.circlePoint(r,p,p,s+180);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[u,c,P])}this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol29101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,l);for(var o=0;o<4;o++){var i=Math.floor(o*l.length/4),n=new SuperMap.Geometry.Point(l[i].x,l[i].y),a=new SuperMap.Geometry.Point(l[i+1].x,l[i+1].y),r=new SuperMap.Geometry.Point((n.x+a.x)/2,(n.y+a.y)/2),s=SuperMap.Plot.PlottingUtil.radian(a,r)*SuperMap.Plot.PlottingUtil.RTOD,p=this.scaleValues[0]*e/2,u=SuperMap.Plot.PlottingUtil.circlePoint(r,p,p,s),c=SuperMap.Plot.PlottingUtil.circlePoint(r,4*p,4*p,s+270),P=SuperMap.Plot.PlottingUtil.circlePoint(r,p,p,s+180);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[u,c,P],{lineTypeLimit:!0,surroundLineLimit:!0})}this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol29100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;if(0==t){var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l),i=this.scaleValues[0],n=SuperMap.Plot.PlottingUtil.polylineDistance(l),a=i*n,r=.01*n,s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(r,o);if(!s.bfind)return;var p=s.pts,u=s.index,c=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(a,o[u],p).pntLeft,P=SuperMap.Plot.PlottingUtil.projectPoint(e,c,p),S=SuperMap.Plot.PlottingUtil.distance(P,p),h=SuperMap.Plot.PlottingUtil.pointIsRightToLine(P,p,e);this.scaleValues[1]=h?1:0,this.scaleValues[0]=S/n}}}}]),e}();SuperMap.Plot.AlgoSymbol29003=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l1&&(this.computeSubSymbol(this.subSymbols[0],n,i,o),this.computeSubSymbol(this.subSymbols[1],a,i,o));var r,s=[];2==e?(r=SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.CIRCLESYMBOL,t),s.push.apply(s,r)):3==e&&(r=SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.ELLIPSESYMBOL,t),s=s.concat(r));var p,u=new SuperMap.Geometry.Point(.8*l,.1*l),c=new SuperMap.Geometry.Point(1.2*l,.1*l),P=new SuperMap.Geometry.Point(1.2*l,.1*-l),S=new SuperMap.Geometry.Point(.9*l,.1*-l),h=[];h.push(u),h.push(c),h.push(P),h.push(S);var y=[],f=0;for(f=0;f<4;f++)p=SuperMap.Plot.PlottingUtil.coordinateTrans(t[0],h[f],o),y.push(p);var g=new SuperMap.Geometry.Point(-.8*l,.1*l),M=new SuperMap.Geometry.Point(-1.2*l,.1*l),b=new SuperMap.Geometry.Point(-1.1*l,.1*-l),m=new SuperMap.Geometry.Point(-.8*l,.1*-l);(h=[]).push(g),h.push(M),h.push(b),h.push(m);var d=[];for(f=0;f<4;f++)p=SuperMap.Plot.PlottingUtil.coordinateTrans(t[0],h[f],o),d.push(p);for(var v,O=SuperMap.Plot.PlottingUtil.linePnt(t[1],t[0],3*l),U=SuperMap.Plot.PlottingUtil.linePnt(t[0],t[1],2*l),w=[],L=0;L=w.length)&&(v=SuperMap.Plot.PlottingUtil.pointIsOnPolyLines(w[0],s)).isOnPolyLine){var _=[];for(f=v.index+1;f=v.length)&&(b=SuperMap.Plot.PlottingUtil.pointIsOnPolyLines(v[0],n)).isOnPolyLine){var U=[];for(S=b.index+1;S.3||o<=0)&&(o=.3),this.scaleValues[0]=o}this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e);var i=e[0],n=e[1],a=e[e.length-2],r=e[e.length-1],s=l*this.scaleValues[0]*.6,p=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(s,n,i),u=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(s,a,r),c=p.pntLeft,P=u.pntRight,S=[];S.push(i),S.push(c);for(var h=new SuperMap.Geometry.Point((i.x+c.x)/2,(i.y+c.y)/2),y=SuperMap.Plot.PlottingUtil.polylineDistance(S)/2,f=[],g=180*SuperMap.Plot.PlottingUtil.radian(n,i)/Math.PI,M=270+g;M<=360+g;M+=3)f.push(SuperMap.Plot.PlottingUtil.circlePoint(h,y,y,M));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,f);var b=[];b.push(r),b.push(P);var m=[];m.push(r),m.push(P);for(var d=new SuperMap.Geometry.Point((r.x+P.x)/2,(r.y+P.y)/2),v=SuperMap.Plot.PlottingUtil.polylineDistance(m)/2,O=[],U=180*SuperMap.Plot.PlottingUtil.radian(r,P)/Math.PI,w=90+U;w<=180+U;w+=3)O.push(SuperMap.Plot.PlottingUtil.circlePoint(d,v,v,w));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,O),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol28900=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=.5*SuperMap.Plot.PlottingUtil.distance(t[0],l),u=new SuperMap.Geometry.Point(l.x+o*a-p,l.y+o*r);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],u,s,180),this.addScalePoint(u);var c=s,P=SuperMap.Plot.PlottingUtil.circlePoint(u,c,c,0);this.addScalePoint(P),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n,a=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),r=SuperMap.Plot.PlottingUtil.polylineDistance(l),s=.5*SuperMap.Plot.PlottingUtil.distance(l[0],a);if(0===t)i=(e.x+s-a.x)/r,this.scaleValues[2]=i,n=(e.y-a.y)/r,this.scaleValues[3]=n;else if(1===t){i=this.scaleValues[2],n=this.scaleValues[3];var p=new SuperMap.Geometry.Point(a.x-s+r*i,a.y+r*n),u=SuperMap.Plot.PlottingUtil.distance(p,e)/r;this.scaleValues[0]=u}}}}]),e}();SuperMap.Plot.AlgoSymbol28400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],p,n*a,e*SuperMap.Plot.PlottingUtil.RTOD);var u=SuperMap.Plot.PlottingUtil.circlePoint(i,s,s,e*SuperMap.Plot.PlottingUtil.RTOD);this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],u,n*a,e*SuperMap.Plot.PlottingUtil.RTOD),this.scalePoints=[];var c=e*SuperMap.Plot.PlottingUtil.RTOD,P=n*a,S=t[0].clone(),h=SuperMap.Plot.PlottingUtil.circlePoint(S,P,P,c);this.addScalePoint(h),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),o=(l=SuperMap.Plot.PlottingUtil.clearSamePts(l))[0].clone(),i=l[1].clone(),n=e.clone(),a=SuperMap.Plot.PlottingUtil.distance(o,i),r=SuperMap.Plot.PlottingUtil.plumbLineLen(n,o,i)/a;if(r<0||SuperMap.Plot.PlottingUtil.equalFuzzy(r,0))return;this.scaleValues[0]=r,SuperMap.Plot.PlottingUtil.pointIsRightToLine(o,i,n)?this.scaleValues[1]=1:this.scaleValues[1]=0}}}]),e}();SuperMap.Plot.AlgoSymbol28301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.polylineDistance(t),o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e);this.isEdit||(this.scaleValues[0]=this.getSubSymbolScaleValue());var i=l*this.scaleValues[0];this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],o,i,0),this.scalePoints=[];var n=SuperMap.Plot.PlottingUtil.circlePoint(o,i,i,0);this.addScalePoint(n),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o=[];o=3>=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=SuperMap.Plot.PlottingUtil.distance(e,n)/i;this.scaleValues[0]=a}}}}]),e}();SuperMap.Plot.AlgoSymbol28300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER}),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol28200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l270&&p<360&&(p=360-p),p>90)return;this.scaleValues[1]=p*Math.PI/180}}}}]),e}();SuperMap.Plot.AlgoSymbol28100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&(y=[]));(n=[]).push(t[0]);for(var f=0;f=0;d--)n.push(new SuperMap.Geometry.Point(b[d].x,b[d].y));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,n,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER}),(n=[]).push(new SuperMap.Geometry.Point(b[0].x,b[0].y)),n.push(new SuperMap.Geometry.Point(e[e.length-1].x,e[e.length-1].y)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,n,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER}),(n=[]).push(new SuperMap.Geometry.Point(e[0].x,e[0].y)),n.push(new SuperMap.Geometry.Point(b[b.length-1].x,b[b.length-1].y)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,n,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER}),a=SuperMap.Plot.PlottingUtil.circlePoint(p,o,o,c),h=new SuperMap.Geometry.Point(a.x,a.y),(r=[]).push(P),r.push(h),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,r,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER})}var v=new SuperMap.Geometry.Point(0,0);if(4<=t.length){for(e=[],l=new SuperMap.Geometry.Point(t[3].x,t[3].y),o=SuperMap.Plot.PlottingUtil.distance(p,l),i=0,i=c-s;i<=c+s;i+=3)e.push(SuperMap.Plot.PlottingUtil.circlePoint(p,o,o,i));SuperMap.Plot.PlottingUtil.equalFuzzy(i,c+s)&&(i=c+s,e.push(SuperMap.Plot.PlottingUtil.circlePoint(p,o,o,i))),(n=[]).push(t[0]);for(var O=0;Ot.length)this.addScalePoint(t[0]);else{var U=SuperMap.Plot.PlottingUtil.distance(t[0],t[1])*this.scaleValues[0],w=SuperMap.Plot.PlottingUtil.circlePoint(p,U,U,c+180);this.addScalePoint(w,0)}var L=SuperMap.Plot.PlottingUtil.distance(t[0],t[t.length-1]),V=SuperMap.Plot.PlottingUtil.circlePoint(p,L,L,c+s);this.addScalePoint(V,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l,o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(o=SuperMap.Plot.PlottingUtil.clearSamePts(o),0==t){if(3>o.length)return;var i=new SuperMap.Geometry.Point(o[0].x,o[0].y),n=new SuperMap.Geometry.Point(e.x,e.y),a=SuperMap.Plot.PlottingUtil.distance(i,n),r=new SuperMap.Geometry.Point(o[1].x,o[1].y);if((l=a/SuperMap.Plot.PlottingUtil.distance(i,r))>=2.5)return;this.scaleValues[0]=l}else if(1==t){var s=new SuperMap.Geometry.Point(o[0].x,o[0].y),p=new SuperMap.Geometry.Point(o[o.length-1].x,o[o.length-1].y),u=SuperMap.Plot.PlottingUtil.radian(s,p),c=new SuperMap.Geometry.Point(e.x,e.y);if(l=SuperMap.Plot.PlottingUtil.radian(s,c)-u,(l=Math.abs(l))>Math.PI/2&&l<3*Math.PI/2)return;l>3*Math.PI/2&&l<=2*Math.PI&&(l=2*Math.PI-l),this.scaleValues[1]=Math.abs(l)}}}}]),e}();SuperMap.Plot.AlgoSymbol28000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,o);var i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o);this.isEdit||(this.scaleValues[0]=.3*this.getSubSymbolScaleValue());var n=this.scaleValues[0]*e*2,a=this.scaleValues[0]*e,r=new SuperMap.Geometry.Point(i.x-n-a,i.y),s=new SuperMap.Geometry.Point(i.x-n,i.y),p=new SuperMap.Geometry.Point(i.x-n+a,i.y),u=new SuperMap.Geometry.Point(i.x+n,i.y),c=new SuperMap.Geometry.Point(i.x+n+a,i.y),P=new SuperMap.Geometry.Point(i.x+n+2*a,i.y),S=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(a,r,s),h=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(a,s,p),y=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(a,u,c),f=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(a,c,P),g=[];g.push(new SuperMap.Geometry.Point(S.pntLeft.x,S.pntLeft.y)),g.push(new SuperMap.Geometry.Point(r.x,r.y)),g.push(new SuperMap.Geometry.Point(S.pntRight.x,S.pntRight.y)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,g),(g=[]).push(new SuperMap.Geometry.Point(h.pntLeft.x,h.pntLeft.y)),g.push(new SuperMap.Geometry.Point(s.x,s.y)),g.push(new SuperMap.Geometry.Point(h.pntRight.x,h.pntRight.y)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,g),(g=[]).push(new SuperMap.Geometry.Point(y.pntLeft.x,y.pntLeft.y)),g.push(new SuperMap.Geometry.Point(u.x,u.y)),g.push(new SuperMap.Geometry.Point(y.pntRight.x,y.pntRight.y)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,g),(g=[]).push(new SuperMap.Geometry.Point(f.pntLeft.x,f.pntLeft.y)),g.push(new SuperMap.Geometry.Point(c.x,c.y)),g.push(new SuperMap.Geometry.Point(f.pntRight.x,f.pntRight.y)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,g),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol27701=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),i=new SuperMap.Geometry.Point(o.x,0);if(!1===this.polylineConnectLocationPoint){for(var n=0,a=-1,r=0;r0;g--)u.push(y[g]);var M=SuperMap.Plot.PlottingUtil.findPointInPolyLine(u,S);if(-1===M.index)return;(y=[]).push(M.pt);for(var b=M.index+1;b0&&this.computeSubSymbol(this.subSymbols[0],i,p,0)}else{var m=t[0],d=t[1],v=SuperMap.Plot.PlottingUtil.distance(m,d),O=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.2*v,[m,d]);if(-1===O.index)return;var U=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.4*v,[m,d]);if(-1===U.index)return;var w=[];w.push(t[0]),w.push(O.pts),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,w),(w=[]).push(U.pts);for(var L=1;L0&&this.computeSubSymbol(this.subSymbols[0],V,.1*v,0)}this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol27300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],c,.9*u,h-90),this.scalePoints=[],this.addScalePoint(s[s.length-1]);var f=SuperMap.Plot.PlottingUtil.circlePoint(c,u,u,h+90);this.addScalePoint(f),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]);if(0==t){var i=SuperMap.Plot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}else if(1==t){var n=this.scaleValues[0]*o,a=SuperMap.Plot.PlottingUtil.radian(l[0],l[1])*SuperMap.Plot.PlottingUtil.RTOD,r=SuperMap.Plot.PlottingUtil.circlePoint(l[0],n,n,90+a),s=SuperMap.Plot.PlottingUtil.circlePoint(l[1],n,n,90+a),p=new SuperMap.Geometry.Point((r.x+s.x)/2,(r.y+s.y)/2),u=SuperMap.Plot.PlottingUtil.distance(p,e)/o;u>=.8&&(u=.8),this.scaleValues[1]=u}}}}]),e}();SuperMap.Plot.AlgoSymbol27100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=i)return;this.scaleValues=[];var n=SuperMap.Plot.PlottingUtil.distance(e,l)/i;this.scaleValues.push(n);var a=SuperMap.Plot.PlottingUtil.radian(e,l)*SuperMap.Plot.PlottingUtil.RTOD;a>90?a-=90:a=270+a,this.scaleValues.push(a*SuperMap.Plot.PlottingUtil.DTOR);var r=SuperMap.Plot.PlottingUtil.radian(e,o)*SuperMap.Plot.PlottingUtil.RTOD;r>90?r-=90:r=270+r,this.scaleValues.push(r*SuperMap.Plot.PlottingUtil.DTOR);var s=this.scaleValues[0]*i,p=this.scaleValues[1]*SuperMap.Plot.PlottingUtil.RTOD+90,u=this.scaleValues[2]*SuperMap.Plot.PlottingUtil.RTOD+90;p=u;S-=4)c=SuperMap.Plot.PlottingUtil.circlePoint(this.controlPoints[0],s,s,S),P.push(c);S!=u&&(c=SuperMap.Plot.PlottingUtil.circlePoint(this.controlPoints[0],s,s,u),P.push(c)),P.push(t[0]),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,P)}this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol26800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],a,r,s),0===this.scaleValues[1]?this.addScalePoint(i[0]):this.addScalePoint(n[0]),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===o)return;if(0===t){var i=SuperMap.Plot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}}}}]),e}();SuperMap.Plot.AlgoSymbol26700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}for(var i=l*this.scaleValues[0],n=this.getLinePts(e,this.scaleValues[0]),a=[],r=[],s=0;s<=n.startIndex;s++)a.push(e[s]);if(a.push(n.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,a),n.endIndex<=e.length){r.push(n.endPt);for(var p=n.endIndex+1;p<=e.length-1;p++)r.push(e[p]);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,r)}var u=.5*i,c=new SuperMap.Geometry.Point(n.endPt.x,n.endPt.y),P=new SuperMap.Geometry.Point(n.startPt.x,n.startPt.y),S=SuperMap.Plot.PlottingUtil.distance(c,P),h=.2*S,y=SuperMap.Plot.PlottingUtil.linePnt(c,P,h),f=SuperMap.Plot.PlottingUtil.linePnt(P,c,h),g=.5*S,M=SuperMap.Plot.PlottingUtil.linePnt(c,P,g),b=new SuperMap.Geometry.Point((f.x+M.x)/2,(f.y+M.y)/2),m=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(u,f,b),d=m.pntLeft,v=m.pntRight,O=[];O.push(v),O.push(f),O.push(d),this.addCell(SuperMap.Plot.SymbolType.ARCSYMBOL,O,null,!0);var U=.1*S,w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(U,f,M),L=w.pntLeft,V=w.pntRight,_=[];_.push(f),_.push(L),_.push(V);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,_,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0},!0);var T=[];T.push(M),T.push(y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,T,null,!0);var A=new SuperMap.Geometry.Point((n.startPt.x+n.endPt.x)/2,(n.startPt.y+n.endPt.y)/2),E=180*SuperMap.Plot.PlottingUtil.radian(n.startPt,n.endPt)/Math.PI,x=.5*l*this.scaleValues[0],Y=SuperMap.Plot.PlottingUtil.circlePoint(A,x,x,E+90),j=e[0],C=e[1],I=e[e.length-2],G=e[e.length-1],B=.5*i,R=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(B,C,j),N=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(B,I,G),D=R.pntLeft,k=N.pntLeft,z=[];z.push(j),z.push(D),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,z);var F=[];F.push(G),F.push(k),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,F),this.addScalePoint(Y),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol26503=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol26502=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues.push(.05),l.scaleValues.push(.05),l.scaleValues.push(.01)),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol22000),e}();SuperMap.Plot.AlgoSymbol26502=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=180*SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)/Math.PI,r=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);0.3||n<=0)&&(n=.3),this.scaleValues[0]=n;var a=1.5*this.scaleValues[0]*l,r=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(a,e[o.index],i),s=[];s.push(r.pntLeft),s.push(i),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s,null,!0),this.finish()}}}}]),e}();SuperMap.Plot.AlgoSymbol26500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.minEditPts){for(var _,T,A,E,x,Y=1;Y=0?(M=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(K,t[q],W)).pntRight:(M=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(K,t[q],W)).pntLeft;var J=SuperMap.Plot.PlottingUtil.linePnt(W,L,K),Z=.3*K,H=SuperMap.Plot.PlottingUtil.linePnt(J,W,Z),Q=(M=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(.3*Z,J,H)).pntLeft,X=M.pntRight;(O=[]).push(W),O.push(J),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,O,null,!0),(O=[]).push(Q),O.push(J),O.push(X);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,O,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0},!0),this.addScalePoint(J),this.addScalePoint(p);var $=SuperMap.Plot.PlottingUtil.radian(r.pt,s.pt)*SuperMap.Plot.PlottingUtil.RTOD+90,tt=SuperMap.Plot.PlottingUtil.circlePoint(p,.5*n,.5*n,$);this.addScalePoint(tt),this.finish()}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o,i,n,a,r,s,p,u,c,P,S=SuperMap.Plot.PlottingUtil.polylineDistance(l),h=l.length,y=e;if(t>=0&&tP&&(i=d,a=p,n=P));if(-1==i||i>l.length-1)return;u=0;for(var v=0;vS)return;var w=u/S;this.scaleValues[h+1]=w;var L,V=this.scaleValues.length;o=S*this.scaleValues[V-5],L=SuperMap.Plot.PlottingUtil.pointIsRightToLine(l[i],l[i+1],y)?n/o:-Math.abs(n/o),this.scaleValues[h+2]=L}else if(t===h+2){i=-1,n=0,a=new SuperMap.Geometry.Point(0,0);for(var _=0;_P&&(i=_,a=p,n=P));if(-1===i||i>l.length-1)return;u=0;for(var T=0;TS)return;.1*Su&&(this.scaleValues[this.scaleValues.length-2]=u/S)}else if(t===h+3){var A=this.scaleValues[this.scaleValues.length-2]*S;if(-1===(s=SuperMap.Plot.PlottingUtil.findPointInPolyLine(l,A)).index)return;var E=2*SuperMap.Plot.PlottingUtil.distance(s.pt,e)/S;E>.15&&(E=.15),this.scaleValues[this.scaleValues.length-1]=E}}}}]),e}();SuperMap.Plot.AlgoSymbol26400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lt[o].x&&(e=t[o].x),l2&&a.length>0){for(var r=[],s=0;st[o].x&&(e=t[o].x),l2&&a.length>0){for(var r=[],s=new SuperMap.Geometry.Point(0,0),p=0;pl.length)return;var o,i,n=SuperMap.Plot.PlottingUtil.polylineDistance(l),a=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l);if(0==n)return;if(0==t)o=(e.x-a.x)/n,this.scaleValues[0]=o,i=(e.y-a.y)/n,this.scaleValues[1]=i;else if(1==t){o=this.scaleValues[0],i=this.scaleValues[1];var r=new SuperMap.Geometry.Point(a.x+n*o,a.y+n*i),s=2*SuperMap.Plot.PlottingUtil.distance(r,e)/n;this.scaleValues[2]=s}}}}]),e}();SuperMap.Plot.AlgoSymbol25800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lt[o].x&&(e=t[o].x),l0&&(s=!0),f=[];for(var v=new SuperMap.Geometry.Point(u,a.y),O=SuperMap.Plot.PlottingUtil.circlePoint(v,5,5,45),U=0;U0&&(s=!0),p-=r,u+=r}this.finish()}}},{key:"sortPts2D",value:function(t){for(var e=new SuperMap.Geometry.Point(0,0),l=0;lt[o+1].y&&(e=t[o],t[o]=t[o+1],t[o+1]=e):t[o].x>t[o+1].x&&(e=t[o],t[o]=t[o+1],t[o+1]=e);return t}}]),e}();SuperMap.Plot.AlgoSymbol25701=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lt[o].x&&(e=t[o].x),l2&&s.length>0){for(var p=[],u=0;u0&&(h=!0),m=[];for(var L=new SuperMap.Geometry.Point(f,P.y),V=SuperMap.Plot.PlottingUtil.circlePoint(L,5,5,45),_=0;_0&&(h=!0),y-=S,f+=S}this.finish()}}},{key:"sortPts2D",value:function(t){for(var e=new SuperMap.Geometry.Point(0,0),l=0;lt[o+1].y&&(e=t[o],t[o]=t[o+1],t[o+1]=e):t[o].x>t[o+1].x&&(e=t[o],t[o]=t[o+1],t[o+1]=e);return t}}]),e}();SuperMap.Plot.AlgoSymbol25700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length=2&&this.controlPoints.lengtht[o].x&&(e=t[o].x),l2?SuperMap.Plot.PlottingUtil.pointIsRightToLine(t[0],t[1],t[2])?(n=SuperMap.Plot.PlottingUtil.paraPolygon(t,i,!1),a=SuperMap.Plot.PlottingUtil.paraPolygon(t,i,!0)):(r=!1,n=SuperMap.Plot.PlottingUtil.paraPolygon(t,i,!0),a=SuperMap.Plot.PlottingUtil.paraPolygon(t,i,!1)):(n=SuperMap.Plot.PlottingUtil.paraPolygon(t,i,!1),a=SuperMap.Plot.PlottingUtil.paraPolygon(t,i,!0));var s,p,u,c,P,S,h,y,f;if(this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,a),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,n,{surroundLineFlag:!1,lineWidthLimit:!0}),t.length>2){var g=SuperMap.Plot.PlottingUtil.polylineDistance(t);this.isEdit||(this.scaleValues[0]=this.getSubSymbolScaleValue());var M=this.scaleValues[0]*g*.5;a.push(a[0].clone());for(var b=0;b=2&&this.controlPoints.length0&&this.computeSubSymbol(this.subSymbols[0],a,2*r,0);var u=[];u.push(new SuperMap.Geometry.Point(a.x+4*r,a.y)),u.push(new SuperMap.Geometry.Point(a.x+r,a.y));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,u,{surroundLineFlag:!1,surroundLineLimit:!0,lineTypeLimit:!0});var c=[];c.push(new SuperMap.Geometry.Point(a.x+4*r,a.y+r/2)),c.push(new SuperMap.Geometry.Point(a.x+4*r,a.y-r/2));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,c,{surroundLineFlag:!1,surroundLineLimit:!0,lineTypeLimit:!0}),this.scalePoints=[],this.addScalePoint(a.clone());var P=SuperMap.Plot.PlottingUtil.circlePoint(a,2*r,2*r,90);this.addScalePoint(P),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;if(0!=t&&1!=t)return;var l,o,i=this.controlPoints,n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(i),a=SuperMap.Plot.PlottingUtil.polylineDistance(i);if(SuperMap.Plot.PlottingUtil.equalFuzzy(a,0))return;if(0==t)l=(e.x-n.x)/a,this.scaleValues[0]=l,o=(e.y-n.y)/a,this.scaleValues[1]=o;else if(1==t){l=this.scaleValues[0],o=this.scaleValues[1];var r=new SuperMap.Geometry.Point(n.x+a*l,n.y+a*o),s=SuperMap.Plot.PlottingUtil.distance(r,e)/2/a;this.scaleValues[2]=s}}}}]),e}();SuperMap.Plot.AlgoSymbol25503=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length=2&&this.controlPoints.length=2&&this.controlPoints.lengtht[o].x&&(e=t[o].x),lSuperMap.Plot.PlottingUtil.polylineDistance(r)?(this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,n),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,r,s)):(this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,n,s),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,r));var p=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(t),u=SuperMap.Plot.PlottingUtil.polylineDistance(t);this.isEdit||(this.scaleValues[2]=.5*this.getSubSymbolScaleValue());var c=this.scaleValues[0],P=this.scaleValues[1],S=this.scaleValues[2],h=new SuperMap.Geometry.Point(p.x+u*c,p.y+u*P),y=S*u,f=new SuperMap.Geometry.Point(h.x-4*y,h.y+y/2),g=new SuperMap.Geometry.Point(h.x-4*y,h.y-y/2),M=[];M.push(f),M.push(g),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,M);var b=new SuperMap.Geometry.Point(h.x-4*y,h.y),m=new SuperMap.Geometry.Point(h.x-1.5*y,h.y);(M=[]).push(b),M.push(m),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,M);for(var d=new SuperMap.Geometry.Point(h.x,h.y-y),v=SuperMap.Plot.PlottingUtil.circlePoint(d,2*y,2*y,60),O=SuperMap.Plot.PlottingUtil.circlePoint(d,2*y,2*y,120),U=new SuperMap.Geometry.Point((v.x+O.x)/2,v.y),w=[],L=0;L<=180;L+=3)w.push(SuperMap.Plot.PlottingUtil.circlePoint(U,y,y,L));M=[];for(var V=0;V.3||o<=0)&&(o=.3),this.scaleValues[0]=o}this.scaleValues.length<1&&(this.scaleValues=[],this.scaleValues.push(.5));for(var i=this.getLinePts(e,this.scaleValues[0]),n=this.getLinePts(e,1.2*this.scaleValues[0]),a=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt),r=[],s=[],p=0;p<=n.startIndex;p++)r.push(e[p]);if(r.push(n.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,r),n.endIndex<=e.length){s.push(n.endPt);for(var u=n.endIndex+1;u<=e.length-1;u++)s.push(e[u]);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s)}var c=e[0],P=e[1],S=e[e.length-2],h=e[e.length-1],y=.3*a,f=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(y,P,c),g=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(y,S,h),M=f.pntLeft,b=g.pntLeft,m=[];m.push(c),m.push(M),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,m);var d=[];d.push(h),d.push(b),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,d);var v=SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,O=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),U=new SuperMap.Geometry.Point(.1*a,0),w=new SuperMap.Geometry.Point(.5*a,0),L=SuperMap.Plot.PlottingUtil.coordinateTrans(O,U,v),V=SuperMap.Plot.PlottingUtil.coordinateTrans(O,w,v),_=[];_.push(L),_.push(V);var T={surroundLineFlag:!1,lineTypeLimit:!0,fillLimit:!0};this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,_,T);var A=new SuperMap.Geometry.Point(.35*a,0),E=SuperMap.Plot.PlottingUtil.circlePoint(A,.2*a,.2*a,135),x=SuperMap.Plot.PlottingUtil.circlePoint(A,.2*a,.2*a,225),Y=SuperMap.Plot.PlottingUtil.coordinateTrans(O,A,v),j=SuperMap.Plot.PlottingUtil.coordinateTrans(O,E,v),C=SuperMap.Plot.PlottingUtil.coordinateTrans(O,x,v);(_=[]).push(j),_.push(Y),_.push(C),T={surroundLineFlag:!1,lineTypeLimit:!0,fillLimit:!0},this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,_,T);var I=new SuperMap.Geometry.Point(-.1*a,0),G=new SuperMap.Geometry.Point(-.5*a,-.15*a),B=new SuperMap.Geometry.Point(-.5*a,.15*a),R=SuperMap.Plot.PlottingUtil.coordinateTrans(O,I,v),N=SuperMap.Plot.PlottingUtil.coordinateTrans(O,G,v),D=SuperMap.Plot.PlottingUtil.coordinateTrans(O,B,v);(_=[]).push(R),_.push(N),_.push(D),_.push(R),T={surroundLineFlag:!1,lineTypeLimit:!0,fillLimit:!0},this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,_,T);var k=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*l,e),z=SuperMap.Plot.PlottingUtil.circlePoint(k.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,v);this.addScalePoint(z,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=0;c--)u.push(n[c]);if((a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(p,u)).bfind){var P=a.index,S=a.pts.clone(),h=[];h.push(S);for(var y=P+1;y0&&this.computeSubSymbol(this.subSymbols[0],O,p,v+90),e=SuperMap.Plot.PlottingUtil.polylineDistance(i),(a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(e/2,i)).bfind){var U=a.index,w=a.pts.clone(),L=[];L.push(w);for(var V=U;V>=0;V--)L.push(i[V]);if((a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(p,L)).bfind){var _=a.index,T=a.pts.clone(),A=[];A.push(T);for(var E=_+1;E1&&this.computeSubSymbol(this.subSymbols[1],B,p,G);var R=SuperMap.Plot.PlottingUtil.linePnt(u[u.length-1],L[L.length-1],3*o),N=SuperMap.Plot.PlottingUtil.linePnt(L[L.length-1],u[u.length-1],3*o);(A=[]).push(R),A.push(N),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,A,f);var D=SuperMap.Plot.PlottingUtil.linePnt(g[g.length-1],x[x.length-1],3*o),k=SuperMap.Plot.PlottingUtil.linePnt(x[x.length-1],g[g.length-1],3*o);(A=[]).push(D),A.push(k),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,A,f),this.scalePoints=[],this.addScalePoint(R.clone()),this.finish()}}}}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;if(0!=t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.distance(e,l[0])/o/2;i>=.4&&(i=.4),this.scaleValues[0]=i}}}]),e}();SuperMap.Plot.AlgoSymbol25301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0;c--)u.push(n[c]);if((a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(p,u)).bfind){var P=a.index,S=a.pts.clone(),h=[];h.push(S);for(var y=P+1;y0&&this.computeSubSymbol(this.subSymbols[0],O,p,v);var U=u[u.length-1].clone(),w=SuperMap.Plot.PlottingUtil.circlePoint(U,.3*o,.3*o,v+30),L=SuperMap.Plot.PlottingUtil.circlePoint(U,.3*o,.3*o,v+180),V=SuperMap.Plot.PlottingUtil.circlePoint(U,.3*o,.3*o,v+330);(h=[]).push(w),h.push(L),h.push(V);var _={surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0};if(this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,h,_,!0),e=SuperMap.Plot.PlottingUtil.polylineDistance(i),(a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(e/2,i)).bfind){var T=a.index,A=a.pts.clone(),E=[];E.push(A);for(var x=T;x>=0;x--)E.push(i[x]);if((a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(p,E)).bfind){var Y=a.index,j=a.pts.clone(),C=[];C.push(j);for(var I=Y+1;I0&&this.computeSubSymbol(this.subSymbols[1],z,p,k+90);var F=E[E.length-1].clone(),K=SuperMap.Plot.PlottingUtil.circlePoint(F,.3*o,.3*o,v+30),q=SuperMap.Plot.PlottingUtil.circlePoint(F,.3*o,.3*o,v+180),W=SuperMap.Plot.PlottingUtil.circlePoint(F,.3*o,.3*o,v+330);(h=[]).push(K),h.push(q),h.push(W),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,h,_,!0);var J=SuperMap.Plot.PlottingUtil.linePnt(q,L,3*o),Z=SuperMap.Plot.PlottingUtil.linePnt(L,q,3*o);(C=[]).push(J),C.push(Z),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,C,f);var H=SuperMap.Plot.PlottingUtil.linePnt(g[g.length-1],G[G.length-1],3*o),Q=SuperMap.Plot.PlottingUtil.linePnt(G[G.length-1],g[g.length-1],3*o);(C=[]).push(H),C.push(Q),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,C,f),this.scalePoints=[],this.addScalePoint(J.clone()),this.finish()}}}}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;if(0!=t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.distance(e,l[0])/o/2;i>=.45&&(i=.45),this.scaleValues[0]=i}}}]),e}();SuperMap.Plot.AlgoSymbol25300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0;--g)f.push(i[g]);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,f),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;if(0!=t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.distance(e,l[0])/o;if(i>.5)return;this.scaleValues[0]=i}}}]),e}();SuperMap.Plot.AlgoSymbol25202=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2){for(var n=-1,a=e.length-2;a>=0;a--)if(ol.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.distance(e,l[l.length-1])/o;if(i>.2)return;this.scaleValues[0]=i}}}]),e}();SuperMap.Plot.AlgoSymbol25201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0){var l;if(null==this.subSymbols[0].symbolData)return;l=Math.max(this.subSymbols[0].symbolData.symbolSize.x,this.subSymbols[0].symbolData.symbolSize.y);var o=SuperMap.Plot.PlottingUtil.polylineDistance(t),i=o*this.scaleValues[4],n=o*this.scaleValues[5],a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i,t),r=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(n,t),s=SuperMap.Plot.PlottingUtil.radian(r.pts,a.pts)*SuperMap.Plot.PlottingUtil.RTOD+270,p=100*SuperMap.Plot.PlottingUtil.distance(a.pts,r.pts)/l,u=new SuperMap.Geometry.Point((r.pts.x+a.pts.x)/2,(a.pts.y+r.pts.y)/2);if(null==this.subSymbols.length)return;null!=this.subSymbols[0].code&&this.computeSubSymbol(this.subSymbols[0],u,p,s),a.pts.isScalePoint=!0,a.pts.tag=this.scalePoints.length,this.scalePoints.push(a.pts.clone()),r.pts.isScalePoint=!0,r.pts.tag=this.scalePoints.length,this.scalePoints.push(r.pts.clone())}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length<2)return;if(this.scaleValues.length<6&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(.148),this.scaleValues.push(.4),this.scaleValues.push(.312),this.scaleValues.push(.2),this.scaleValues.push(.01)),t<=2)SuperMap.Plot.AlgoSymbol1004.prototype.computeScaleValues.apply(this,arguments);else if(3==t||4==t){var o=new SuperMap.Geometry.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),i=SuperMap.Plot.PlottingUtil.clonePoints(l);i.splice(0,2),i.unshift(o);var n=SuperMap.Plot.PlottingUtil.projectPtOnPolyLine(e,i),a=SuperMap.Plot.PlottingUtil.polylineDistance(i);if(3===t&&null==n.pt&&(n.pt=o.clone()),-1==n.index&&4==t)this.scaleValues[t+1]=.01;else{var r=SuperMap.Plot.PlottingUtil.clonePoints(i);r.splice(0,n.index+1),r.unshift(n.pt);var s=SuperMap.Plot.PlottingUtil.polylineDistance(r);a.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMap.Plot.AlgoSymbol25200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0;--v)d.push(b[v]);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,b),this.scalePoints=[];var O=b[0].clone();O.isScalePoint=!0,O.tag=0,this.scalePoints.push(O);var U=b[1].clone();U.isScalePoint=!0,U.tag=1,this.scalePoints.push(U);var w=b[2].clone();w.isScalePoint=!0,w.tag=2,this.scalePoints.push(w);var L=.08125*o,V=new SuperMap.Geometry.Point(y.x-L,0),_=new SuperMap.Geometry.Point(V.x-L/2,0),T=new SuperMap.Geometry.Point(V.x+L/2,0),A=[];M=SuperMap.Plot.PlottingUtil.coordinateTrans(e,_,f*SuperMap.Plot.PlottingUtil.RTOD),A.push(M.clone()),M=SuperMap.Plot.PlottingUtil.coordinateTrans(e,T,f*SuperMap.Plot.PlottingUtil.RTOD),A.push(M.clone()),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,A);var E=new SuperMap.Geometry.Point(V.x,V.y-L/2),x=new SuperMap.Geometry.Point(V.x,V.y+L/2),Y=[];M=SuperMap.Plot.PlottingUtil.coordinateTrans(e,x,f*SuperMap.Plot.PlottingUtil.RTOD),Y.push(M.clone()),M=SuperMap.Plot.PlottingUtil.coordinateTrans(e,E,f*SuperMap.Plot.PlottingUtil.RTOD),Y.push(M.clone()),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,Y),this.finish()}}},{key:"GetGoPts",value:function(){var t=[];return this.controlPoints.length=0;--v)d.push(b[v]);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,b),this.scalePoints=[];var O=b[0].clone();O.isScalePoint=!0,O.tag=0,this.scalePoints.push(O);var U=b[1].clone();U.isScalePoint=!0,U.tag=1,this.scalePoints.push(U);var w=b[2].clone();w.isScalePoint=!0,w.tag=2,this.scalePoints.push(w);var L=.04*o,V=.0475*o,_=new SuperMap.Geometry.Point(y.x-L,0),T=new SuperMap.Geometry.Point(S.x,S.y+V),A=SuperMap.Plot.PlottingUtil.intersectLines(p,S,_,T),E=A.intersectPoint;if(0!=A.isIntersectLines){var x=new SuperMap.Geometry.Point(h.x,h.y-V),Y=(A=SuperMap.Plot.PlottingUtil.intersectLines(h,u,_,x)).intersectPoint;if(0!=A.isIntersectLines){var j=[];j.push(E),j.push(_),j.push(Y);for(var C=[],I=0;I=0;--v)d.push(M[v]);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,d),this.scalePoints=[];var O=M[0].clone();O.isScalePoint=!0,O.tag=0,this.scalePoints.push(O);var U=M[1].clone();U.isScalePoint=!0,U.tag=1,this.scalePoints.push(U);var w=M[2].clone();w.isScalePoint=!0,w.tag=2,this.scalePoints.push(w),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o,i=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),a=l[1].clone(),r=e.clone();if(0==t){var s=SuperMap.Plot.PlottingUtil.distance(r,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMap.Plot.PlottingUtil.projectPoint(r,n,a);var p=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[1]=p;var u=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMap.Plot.PlottingUtil.projectPoint(r,n,a);var c=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[2]=c;var P=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[4]=P}}}}]),e}();SuperMap.Plot.AlgoSymbol25000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||a<=0)&&(a=.3),this.scaleValues[1]=a}var r=this.scaleValues[1]*SuperMap.Plot.PlottingUtil.polylineDistance(t),s=0,p=.3*n;this.ComputeDashLine(3*i/19,i/19,e);var u=e[1].clone(),c=e[0].clone(),P=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(r,u,c),S=P.pntRight,h=P.pntLeft,y=[];y.push(h.clone()),y.push(S.clone()),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,y);for(var f=3*p,g=e[0].clone(),M=0;M<=i;M+=f){s=M+2*p;var b=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(s,e);if(b.bfind){if(l=b.pts,b.index>=e.length)break;var m,d,v,O,U,w,L,V=[];if(V.push(g.clone()),V.push(l.clone()),0==M){var _=l.clone();_.isScalePoint=!0,_.tag=0,this.scalePoints.push(_);var T=S.clone();T.isScalePoint=!0,T.tag=1,this.scalePoints.push(T)}if(0==this.scaleValues[2]){m=new SuperMap.Geometry.Point((g.x+l.x)/2,(g.y+l.y)/2),d=g.clone(),v=m.clone(),c=l.clone();var A=(P=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(r,d,v)).pntLeft;O=SuperMap.Plot.PlottingUtil.linePnt(m,d,.3*r),U=SuperMap.Plot.PlottingUtil.linePnt(m,c,.3*r),0==M&&((w=A.clone()).isScalePoint=!0,w.tag=2,this.scalePoints.push(w)),(L=[]).push(A.clone()),L.push(O.clone()),L.push(U.clone()),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,L)}else{m=new SuperMap.Geometry.Point((g.x+l.x)/2,(g.y+l.y)/2),d=g.clone(),v=m.clone(),c=l.clone();var E=(P=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(r,d,v)).pntRight;O=SuperMap.Plot.PlottingUtil.linePnt(m,d,.3*p),U=SuperMap.Plot.PlottingUtil.linePnt(m,c,.3*p),0==M&&((w=E.clone()).isScalePoint=!0,w.tag=2,this.scalePoints.push(w)),(L=[]).push(E.clone()),L.push(O.clone()),L.push(U.clone()),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,L)}if(s=M+3*p,(b=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(s,e)).bfind){if(l=b.pts,!(b.index=0?this.scaleValues[2]=0:this.scaleValues[2]=1}}}},{key:"ComputeDashLine",value:function(t,e,l){for(var o,i,n=SuperMap.Plot.PlottingUtil.polylineDistance(l),a=l[0].clone(),r=1,s=0,p=!0,u=!0;sl.length)return;var o,i,n,a,r,s,p,u=[];2==l.length?(o=l[0],i=l[1],r=SuperMap.Plot.PlottingUtil.distance(o,i),a=180*SuperMap.Plot.PlottingUtil.radian(o,i)/Math.PI,n=SuperMap.Plot.PlottingUtil.circlePoint(o,r,r,a+60),u.push(o),u.push(i),u.push(n)):u=u.concat(l),o=u[0],i=u[1],n=u[2],u.push(u[0]);var c=SuperMap.Plot.PlottingUtil.polylineDistance(u),P=e;if(0===t)r=SuperMap.Plot.PlottingUtil.distance(P,u[0]),this.scaleValues[0]=r/c;else if(1===t){s=SuperMap.Plot.PlottingUtil.distance(P,u[0])/c,this.scaleValues[1]=s,a=180*SuperMap.Plot.PlottingUtil.InnerAngle(o,i,n)/Math.PI,0<=(p=180*SuperMap.Plot.PlottingUtil.InnerAngle(o,i,P)/Math.PI/a)&&1>=p&&(this.scaleValues[2]=p)}else if(2===t){s=this.scaleValues[1],p=this.scaleValues[2];var S,h=c*s,y=180*SuperMap.Plot.PlottingUtil.InnerAngle(o,i,n)/Math.PI*p,f=180*SuperMap.Plot.PlottingUtil.radian(o,i)/Math.PI,g=f-y,M=f+y,b=SuperMap.Plot.PlottingUtil.circlePoint(o,h,h,g),m=SuperMap.Plot.PlottingUtil.circlePoint(o,h,h,M);S=SuperMap.Plot.PlottingUtil.ptIsInPolygon(u,b)?b:m;var d=2*SuperMap.Plot.PlottingUtil.distance(P,S)/c;this.scaleValues[3]=d;var v=180*SuperMap.Plot.PlottingUtil.radian(S,P)/Math.PI;this.scaleValues[4]=v}}}},{key:"ComputeSubSymbolPt",value:function(t,e,l,o){var i,n,a=l[0],r=l[1],s=l[2],p=SuperMap.Plot.PlottingUtil.plumbLineLen(s,a,r)*t,u=SuperMap.Plot.PlottingUtil.plumbLineLen(r,a,s)*e,c=[];if(SuperMap.Plot.PlottingUtil.pointIsRightToLine(a,r,o)?((i=[]).push(a),i.push(r),c=SuperMap.Plot.PlottingUtil.paraLine(i,p,!1)):((i=[]).push(a),i.push(r),c=SuperMap.Plot.PlottingUtil.paraLine(i,p,!0)),SuperMap.Plot.PlottingUtil.pointIsRightToLine(a,s,o)?((i=[]).push(a),i.push(s),n=SuperMap.Plot.PlottingUtil.paraLine(i,u,!1)):((i=[]).push(a),i.push(s),n=SuperMap.Plot.PlottingUtil.paraLine(i,u,!0)),2>c.length||2>n.length)return o;var P=SuperMap.Plot.PlottingUtil.intersectLines(c[0],c[1],n[0],n[1]);return P.isIntersectLines?P.intersectPoint:o}},{key:"createArcPts",value:function(t,e){for(var l=[],o=[],i=0;iMath.abs(o[n]-o[a]))for(var s=0;s<2;s++){var p,u,c;0==s?(c=n,p=SuperMap.Plot.PlottingUtil.radian(t[n],t[a])*SuperMap.Plot.PlottingUtil.RTOD,u=Math.acos((r*r+o[n]*o[n]-o[a]*o[a])/(2*r*o[n]))*SuperMap.Plot.PlottingUtil.RTOD):(c=a,p=SuperMap.Plot.PlottingUtil.radian(t[a],t[n])*SuperMap.Plot.PlottingUtil.RTOD,u=Math.acos((r*r+o[a]*o[a]-o[n]*o[n])/(2*r*o[a]))*SuperMap.Plot.PlottingUtil.RTOD);var P=p-u,S=p+u,h=P<0&&S>0||P>360||S>360;P=this.adjustAngle(P),S=this.adjustAngle(S);for(var y=l[c].length-1;y>=0;y--)if(h){if(S>l[c][y].End||SuperMap.Plot.PlottingUtil.equalFuzzy(S,l[c][y].End)){l[c].splice(y,1);continue}if(S>l[c][y].Start&&(l[c][y].Start=S),Pl[c][y].End)l[c].splice(y,1);else if(P>l[c][y].Start&&Sl[c][y].End)continue;if(P>l[c][y].Start&&(l[c][y].End=P),S=0;g--){for(var M=this.adjustAngle(l[f][g].Start),b=this.adjustAngle(l[f][g].End);b360;)t-=360;for(;t<0;)t+=360;return t}},{key:"GetCirclePts",value:function(t,e,l,o){var i=180*SuperMap.Plot.PlottingUtil.radian(t,e)/Math.PI,n=180*SuperMap.Plot.PlottingUtil.radian(t,l)/Math.PI,a=i;n>i&&(a=n);for(var r=[],s=a;s<360+a;s+=4)90==s&&(s=91),r.push(SuperMap.Plot.PlottingUtil.circlePoint(t,o,o,s));return r.push[0],r}},{key:"CreatArc",value:function(t,e,l){for(var o=[],i=[],n=0;n1&&o.push(i),i=[]):i.push(a)}i.length>1&&o.push(i);for(var r=0;r1&&o.push(i),i=[]):i.push(a)}i.length>1&&o.push(i);for(var r=[],s=0;sr){var s=new SuperMap.Geometry.Point(o.x,o.y);o=new SuperMap.Geometry.Point(a.x,a.y),a=new SuperMap.Geometry.Point(s.x,s.y),i=r,e[l]=o,e[n]=a}}return e}}]),e}();SuperMap.Plot.AlgoSymbol23902=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o,i,n,a=[];if(2==l.length){o=l[0],i=l[1];var r=SuperMap.Plot.PlottingUtil.distance(o,i),s=180*SuperMap.Plot.PlottingUtil.radian(o,i)/Math.PI;n=SuperMap.Plot.PlottingUtil.circlePoint(o,r,r,s+60),a.push(o),a.push(i),a.push(n)}else a=a.concat(l);o=a[0],i=a[1],n=a[2];var p=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(a);a.push(a[0]);var u=SuperMap.Plot.PlottingUtil.polylineDistance(a),c=e;if(0==t){var P=SuperMap.Plot.PlottingUtil.plumbLineLen(n,o,i),S=SuperMap.Plot.PlottingUtil.plumbLineLen(i,o,n),h=SuperMap.Plot.PlottingUtil.plumbLineLen(c,o,i)/P,y=SuperMap.Plot.PlottingUtil.plumbLineLen(c,o,n)/S;h>1&&(h=1),y>1&&(y=1),this.scaleValues[0]=h,this.scaleValues[1]=y}else if(1==t){var f=this.scaleValues[0],g=this.scaleValues[1],M=this.ComputeSubSymbolPt(f,g,a,p),b=SuperMap.Plot.PlottingUtil.distance(M,c)/u;this.scaleValues[2]=b;var m=180*SuperMap.Plot.PlottingUtil.radian(M,c)/Math.PI;this.scaleValues[3]=m}}}},{key:"ComputeSubSymbolPt",value:function(t,e,l,o){var i,n,a=l[0],r=l[1],s=l[2],p=SuperMap.Plot.PlottingUtil.plumbLineLen(s,a,r)*t,u=SuperMap.Plot.PlottingUtil.plumbLineLen(r,a,s)*e,c=[];if(SuperMap.Plot.PlottingUtil.pointIsRightToLine(a,r,o)?((i=[]).push(a),i.push(r),c=SuperMap.Plot.PlottingUtil.paraLine(i,p,!1)):((i=[]).push(a),i.push(r),c=SuperMap.Plot.PlottingUtil.paraLine(i,p,!0)),SuperMap.Plot.PlottingUtil.pointIsRightToLine(a,s,o)?((i=[]).push(a),i.push(s),n=SuperMap.Plot.PlottingUtil.paraLine(i,u,!1)):((i=[]).push(a),i.push(s),n=SuperMap.Plot.PlottingUtil.paraLine(i,u,!0)),2>c.length||2>n.length)return o;var P=SuperMap.Plot.PlottingUtil.intersectLines(c[0],c[1],n[0],n[1]);return P.isIntersectLines?P.intersectPoint:o}}]),e}();SuperMap.Plot.AlgoSymbol23901=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?(e=SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t),e=SuperMap.Plot.PlottingUtil.clearSamePts(e)):e=t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=i}var n=o*this.scaleValues[0]*.15,a=[];a.push(new SuperMap.Geometry.Point(0,n)),a.push(new SuperMap.Geometry.Point(-n,0)),a.push(new SuperMap.Geometry.Point(0,-n));var r=[];r.push(new SuperMap.Geometry.Point(n,n)),r.push(new SuperMap.Geometry.Point(0,0)),r.push(new SuperMap.Geometry.Point(n,-n));for(var s=new SuperMap.Geometry.Point(-3*n,2*n),p=SuperMap.Plot.PlottingUtil.coordinateTrans(l,s,0),u=[],c=[],P=0;P<3;P++)u.push(new SuperMap.Geometry.Point(a[P].x+p.x,a[P].y+p.y)),c.push(new SuperMap.Geometry.Point(r[P].x+p.x,r[P].y+p.y));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,u),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,c);for(var S=new SuperMap.Geometry.Point(3*n,2*n),h=SuperMap.Plot.PlottingUtil.coordinateTrans(l,S,0),y=[],f=[],g=0;g<3;g++)y.push(new SuperMap.Geometry.Point(a[g].x+h.x,a[g].y+h.y)),f.push(new SuperMap.Geometry.Point(r[g].x+h.x,r[g].y+h.y));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,f);var M=new SuperMap.Geometry.Point(-4*n,-2*n),b=SuperMap.Plot.PlottingUtil.coordinateTrans(l,M,0);y=[],f=[];for(var m=0;m<3;m++)y.push(new SuperMap.Geometry.Point(a[m].x+b.x,a[m].y+b.y)),f.push(new SuperMap.Geometry.Point(r[m].x+b.x,r[m].y+b.y));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,f);var d=new SuperMap.Geometry.Point(0,-2*n),v=SuperMap.Plot.PlottingUtil.coordinateTrans(l,d,0);y=[],f=[];for(var O=0;O<3;O++)y.push(new SuperMap.Geometry.Point(a[O].x+v.x,a[O].y+v.y)),f.push(new SuperMap.Geometry.Point(r[O].x+v.x,r[O].y+v.y));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,f);var U=new SuperMap.Geometry.Point(4*n,-2*n),w=SuperMap.Plot.PlottingUtil.coordinateTrans(l,U,0);y=[],f=[];for(var L=0;L<3;L++)y.push(new SuperMap.Geometry.Point(a[L].x+w.x,a[L].y+w.y)),f.push(new SuperMap.Geometry.Point(r[L].x+w.x,r[L].y+w.y));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,f),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol23700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(-.1),this.scaleValues.push(0),this.scaleValues.push(.1),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(e);if(!this.isEdit){var i=this.getSubSymbolScaleValue()*SuperMap.Plot.PlottingUtil.polylineDistance(this.controlPoints);this.scaleValues[0]=i/o*.8,this.scaleValues[3]=i/o*.8}var n=this.scaleValues[0],a=this.scaleValues[1],r=this.scaleValues[3],s=this.scaleValues[4],p=this.scaleValues[6],u=this.scaleValues[7],c=this.scaleValues[8],P=this.scaleValues[9],S=new SuperMap.Geometry.Point(l.x+o*p,l.y+o*u),h=new SuperMap.Geometry.Point(l.x+o*c,l.y+o*P),y=[],f=.15*SuperMap.Plot.PlottingUtil.distance(S,h),g=SuperMap.Plot.PlottingUtil.linePnt(S,h,f),M=SuperMap.Plot.PlottingUtil.linePnt(h,S,f);y.push(g),y.push(M),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,y);var b=o*n,m=a;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],S,b,m);var d=o*r,v=s;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],h,d,v),this.addScalePoint(S);var O=SuperMap.Plot.PlottingUtil.circlePoint(S,b,b,m);this.addScalePoint(O),this.addScalePoint(h);var U=SuperMap.Plot.PlottingUtil.circlePoint(h,d,d,v);this.addScalePoint(U),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).lengththis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(-.1),this.scaleValues.push(0),this.scaleValues.push(.1),this.scaleValues.push(0));var o=[];o=3>=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n,a,r,s=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),p=SuperMap.Plot.PlottingUtil.polylineDistance(o),u=e;if(0==t)i=(u.x-s.x)/p,this.scaleValues[6]=i,n=(u.y-s.y)/p,this.scaleValues[7]=n;else if(1==t){i=this.scaleValues[6],n=this.scaleValues[7];var c=new SuperMap.Geometry.Point(s.x+p*i,s.y+p*n),P=SuperMap.Plot.PlottingUtil.distance(c,u)/p;this.scaleValues[0]=P;var S=180*SuperMap.Plot.PlottingUtil.radian(c,u)/Math.PI;this.scaleValues[1]=S,this.scaleValues[2]=0<=S&&S<90?1:90<=S&&S<180?2:180<=S&&S<270?3:4}else if(2==t)a=(u.x-s.x)/p,this.scaleValues[8]=a,r=(u.y-s.y)/p,this.scaleValues[9]=r;else if(3==t){a=this.scaleValues[8],r=this.scaleValues[9];var h=new SuperMap.Geometry.Point(s.x+p*a,s.y+p*r),y=SuperMap.Plot.PlottingUtil.distance(h,u)/p;this.scaleValues[3]=y;var f=180*SuperMap.Plot.PlottingUtil.radian(h,u)/Math.PI;this.scaleValues[4]=f,this.scaleValues[5]=0<=f&&f<90?1:90<=f&&f<180?2:180<=f&&f<270?3:4}}}}]),e}();SuperMap.Plot.AlgoSymbol23600=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,{fillLimit:!0,fill:!1,surroundLineFlag:!1});var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.2||i<=0)&&(i=.2),this.scaleValues[0]=i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=new SuperMap.Geometry.Point(l.x+o*a,l.y+o*r);if(this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0){if(this.subSymbols[0].symbolData)for(var u in this.subSymbols[0].symbolData.innerCells)this.subSymbols[0].symbolData.innerCells[u].type===SuperMap.Plot.SymbolType.POLYBEZIERSYMBOL&&(this.subSymbols[0].symbolData.innerCells[u].type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL);this.computeSubSymbol(this.subSymbols[0],p,s,0)}this.addScalePoint(p);var c=s,P=SuperMap.Plot.PlottingUtil.circlePoint(p,c,c,90);this.addScalePoint(P),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n,a=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),r=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-a.x)/r,this.scaleValues[2]=i,n=(e.y-a.y)/r,this.scaleValues[3]=n;else if(1===t){i=this.scaleValues[2],n=this.scaleValues[3];var s=new SuperMap.Geometry.Point(a.x+r*i,a.y+r*n),p=SuperMap.Plot.PlottingUtil.distance(s,e)/r;this.scaleValues[0]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol23500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e),this.scaleValues.length<2&&(this.scaleValues=[],this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(.1));var l=this.scaleValues[0],o=this.scaleValues[1],i=this.scaleValues[2],n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),a=SuperMap.Plot.PlottingUtil.polylineDistance(t),r=a*i,s=new SuperMap.Geometry.Point(n.x+a*l,n.y+a*o);if(this.subSymbols.length>0){if(null==this.subSymbols.length)return;null!=this.subSymbols[0].code&&this.computeSubSymbol(this.subSymbols[0],s,r,0),this.addScalePoint(s);var p=SuperMap.Plot.PlottingUtil.circlePoint(s,r,r,0);this.addScalePoint(p)}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n,a=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),r=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-a.x)/r,this.scaleValues[0]=i,n=(e.y-a.y)/r,this.scaleValues[1]=n;else if(1===t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMap.Geometry.Point(a.x+r*i,a.y+r*n),p=SuperMap.Plot.PlottingUtil.distance(s,e)/r;this.scaleValues[2]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol23400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e);0===this.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.05));var o=SuperMap.Plot.PlottingUtil.polylineDistance(t);this.isEdit||(this.scaleValues[0]=.35*this.getSubSymbolScaleValue());var i=o*this.scaleValues[0],n=[];n.push(new SuperMap.Geometry.Point(l.x,l.y)),n.push(new SuperMap.Geometry.Point(l.x+i,l.y)),this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,n);var a=[];a.push(new SuperMap.Geometry.Point(l.x,l.y+.8*i)),a.push(new SuperMap.Geometry.Point(l.x,l.y-.8*i)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,a);var r=[];r.push(new SuperMap.Geometry.Point(l.x+.8*i,l.y)),r.push(new SuperMap.Geometry.Point(l.x-.8*i,l.y)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,r),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol22200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol22103=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues.push(.05),l.scaleValues.push(.025)),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol22000),e}();SuperMap.Plot.AlgoSymbol22103=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=.6*this.getSubSymbolScaleValue()}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,r=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);0.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[3]=.5*o}for(var i=this.getLinePts(e,this.scaleValues[0]),n=[],a=[],r=0;r<=i.startIndex;r++)n.push(e[r]);if(n.push(i.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,n),i.endIndex<=e.length){a.push(i.endPt);for(var s=i.endIndex+1;s<=e.length-1;s++)a.push(e[s]);this.addArrow(a,this.scaleValues[this.scaleValues.length-1])}var p,u,c,P,S,h,y,f,g,M,b,m,d,v=i.startPt.clone(),O=i.endPt.clone(),U=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),w=SuperMap.Plot.PlottingUtil.distance(v,O),L=SuperMap.Plot.PlottingUtil.radian(v,O)*SuperMap.Plot.PlottingUtil.RTOD;p=new SuperMap.Geometry.Point(0,0),u=new SuperMap.Geometry.Point(0,0),c=new SuperMap.Geometry.Point(0,0),P=new SuperMap.Geometry.Point(0,0),S=new SuperMap.Geometry.Point(0,0),h=new SuperMap.Geometry.Point(0,0),y=new SuperMap.Geometry.Point(0,0),f=new SuperMap.Geometry.Point(0,0),g=new SuperMap.Geometry.Point(0,0),M=new SuperMap.Geometry.Point(0,0),b=new SuperMap.Geometry.Point(0,0),m=new SuperMap.Geometry.Point(0,0),d=new SuperMap.Geometry.Point(0,0),v.x>=O.x?(p.x=.25*w,p.y=.25*-w,u.x=.5*-w,u.y=.25*-w,c.x=.5*-w,c.y=.25*w,P.x=.5*w,P.y=.25*w,S.x=.5*w,S.y=0,h.x=.25*-w,h.y=.125*-w,y.x=0,y.y=.125*w,f.x=0,f.y=.125*-w,g.x=.25*w,g.y=.2*w,M.x=.25*-w,M.y=.25*-w,b.x=.375*-w,b.y=.5*-w,m.x=.02*-w,m.y=.25*-w,d.x=.1*w,d.y=.5*-w):(p.x=.25*w,p.y=.25*w,u.x=.5*-w,u.y=.25*w,c.x=.5*-w,c.y=.25*-w,P.x=.5*w,P.y=.25*-w,S.x=.5*w,S.y=0,h.x=.25*w,h.y=.125*-w,y.x=0,y.y=.125*w,f.x=0,f.y=.125*-w,g.x=.25*-w,g.y=.125*w,M.x=.25*-w,M.y=.25*w,b.x=.375*-w,b.y=.5*w,m.x=.02*w,m.y=.25*w,d.x=.15*w,d.y=.5*w);var V=[],_=[],T=[],A=[],E=[],x=SuperMap.Plot.PlottingUtil.coordinateTrans(U,p,L),Y=SuperMap.Plot.PlottingUtil.coordinateTrans(U,u,L),j=SuperMap.Plot.PlottingUtil.coordinateTrans(U,c,L),C=SuperMap.Plot.PlottingUtil.coordinateTrans(U,P,L),I=SuperMap.Plot.PlottingUtil.coordinateTrans(U,S,L),G=SuperMap.Plot.PlottingUtil.coordinateTrans(U,h,L),B=SuperMap.Plot.PlottingUtil.coordinateTrans(U,y,L),R=SuperMap.Plot.PlottingUtil.coordinateTrans(U,f,L),N=SuperMap.Plot.PlottingUtil.coordinateTrans(U,g,L),D=SuperMap.Plot.PlottingUtil.coordinateTrans(U,M,L),k=SuperMap.Plot.PlottingUtil.coordinateTrans(U,b,L),z=SuperMap.Plot.PlottingUtil.coordinateTrans(U,m,L),F=SuperMap.Plot.PlottingUtil.coordinateTrans(U,d,L);V.push(x),V.push(Y),V.push(j),V.push(C),V.push(I),_.push(G),_.push(B),_.push(R),_.push(N),T.push(D),T.push(k),A.push(z),A.push(F),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,V,null,!0),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,_,null,!0),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,T,null,!0),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,A,null,!0);var K=.3*SuperMap.Plot.PlottingUtil.distance(R,N),q=SuperMap.Plot.PlottingUtil.linePnt(N,R,K),W=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(.3*K,N,q);E.push(W.pntLeft),E.push(N),E.push(W.pntRight);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,E,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0},!0);var J=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*l,e),Z=SuperMap.Plot.PlottingUtil.circlePoint(J.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,L+90);this.addScalePoint(Z,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).lengthl.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}}}]),e}();SuperMap.Plot.AlgoSymbol21800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&(s+=SuperMap.Plot.PlottingUtil.distance(r[p],r[p-1]));var u,c,P=i-s,S=l*this.scaleValues[1],h=[];if(P>=S){u=SuperMap.Plot.PlottingUtil.linePnt(a,e[n.index],S),r.push(u),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,r),c=SuperMap.Plot.PlottingUtil.linePnt(a,e[n.index+1],S),h.push(c);for(var y=e.length,f=n.index+1;f=0;m--)if(g=new SuperMap.Geometry.Point(r[m].x,r[m].y),M=new SuperMap.Geometry.Point(a.x,a.y),SuperMap.Plot.PlottingUtil.distance(g,M)>S){b=m;break}if(-1==b)return;r.splice(b+1,r.length-1-b),u=SuperMap.Plot.PlottingUtil.linePnt(a,e[b],S),r.push(u),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,r);for(var d=-1,v=n.index;vS){d=v;break}if(-1==d)return;c=SuperMap.Plot.PlottingUtil.linePnt(a,e[d],S),h.push(c);for(var O=d+1;Ol.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}}}]),e}();SuperMap.Plot.AlgoSymbol21600=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],t,.8*e,l-90)}}]),e}();SuperMap.Plot.AlgoSymbol21504=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],t,.8*e,l-90)}}]),e}();SuperMap.Plot.AlgoSymbol21503=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol21502=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues.push(.05),l.scaleValues.push(.02)),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol21501),e}();SuperMap.Plot.AlgoSymbol21502=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=.5*this.getSubSymbolScaleValue()}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,r=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);this.addSubSymbols(n,r,a);for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var c=i.endIndex+1;c<=e.length-1;c++)p.push(e[c]);this.addArrow(p,this.scaleValues[1])}var P=l*this.scaleValues[0]*.5,S=SuperMap.Plot.PlottingUtil.circlePoint(n,P,P,a+90);this.addScalePoint(S,0),this.finish()}}},{key:"addSubSymbols",value:function(t,e,l){this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],t,.8*e,l-180)}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).lengthl.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=.01*i;if(0===t){var a=SuperMap.Plot.PlottingUtil.findPointInPolyLine(o,n);if(-1===a.index)return;var r=SuperMap.Plot.PlottingUtil.distance(e,a.pt);this.scaleValues[0]=r/i}else if(1===t){var s=SuperMap.Plot.PlottingUtil.findPointInPolyLine(o,n);if(-1===s.index)return;var p=SuperMap.Plot.PlottingUtil.projectPtOnPolyLine(e,o);if(-1===p.index)return;for(var u=0,c=s.index+1;c.93&&(this.scaleValues[1]=.93)}}}}]),e}();SuperMap.Plot.AlgoSymbol21500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(o),n=i*(.5+.5*this.scaleValues[1]),a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(n,o);if(!a.bfind)return;var r,s=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(1,o[a.index],a.pts),p=SuperMap.Plot.PlottingUtil.pointIsRightToLine(o[a.index],o[a.index+1],e);this.scaleValues[2]=p?0:1,r=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,new SuperMap.Geometry.Point(s.pntLeft.x,s.pntLeft.y),new SuperMap.Geometry.Point(s.pntRight.x,s.pntRight.y));var u=SuperMap.Plot.PlottingUtil.distance(r.projectPoint,new SuperMap.Geometry.Point(a.pts.x,a.pts.y));this.scaleValues[0]=u/i}}}]),e}();SuperMap.Plot.AlgoSymbol21401=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=new SuperMap.Geometry.Point(l[0].x,l[0].y),i=new SuperMap.Geometry.Point(l[1].x,l[1].y),n=SuperMap.Plot.PlottingUtil.distance(o,i);if(0===n)return;var a=new SuperMap.Geometry.Point((o.x+i.x)/2,(o.y+i.y)/2);if(0===t){var r=SuperMap.Plot.PlottingUtil.distance(e,a)/n;this.scaleValues[0]=r,SuperMap.Plot.PlottingUtil.pointIsRightToLine(o,i,e)?this.scaleValues[1]=1:this.scaleValues[1]=0}}}}]),e}();SuperMap.Plot.AlgoSymbol20301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;for(var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=-1,n=0,a=new SuperMap.Geometry.Point(0,0),r=0;rc&&(i=r,a=s,n=c)}}if(-1===i||i>l.length-1)return;for(var P=0,S=0;So)return;var g=P/o;g>.95?g=.95:g<.1&&(g=.1),this.scaleValues[0]=g}}}]),e}();SuperMap.Plot.AlgoSymbol20300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2*l.length-2)return;for(var o=0,i=0;i.45&&(p=.45),2==l.length?this.scaleValues[0]=p:this.scaleValues[2*t]=p}else{var u=-1;u=t%2==0?t/2:(t+1)/2;var c=(e.x-l[u].x)/o,P=(e.y-l[u].y)/o;this.scaleValues[2*t]=c,this.scaleValues[2*t+1]=P}}}}]),e}();SuperMap.Plot.AlgoSymbol17703=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lo)return l;for(var i=SuperMap.Plot.PlottingUtil.clonePoints(t),n=2*parseInt(o/(1.5*e)),a=0;a0&&l.push(i),l}}]),e}();SuperMap.Plot.AlgoSymbol17700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(3>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=e[0].x,o=e[0].x,i=e[0].y,n=e[0].y,a=0;ae[a].x&&(l=e[a].x),oe[a].y&&(i=e[a].y),n=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(3>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=e[0].x,o=e[0].x,i=e[0].y,n=e[0].y,a=0;ae[a].x&&(l=e[a].x),oe[a].y&&(i=e[a].y),n=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=e[0].x,o=e[0].x,i=e[0].y,n=e[0].y,a=[],r=0;re[r].x&&(l=e[r].x),oe[r].y&&(i=e[r].y),n=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(3>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=SuperMap.Plot.PlottingUtil.polylineDistance(e),o=e[0].x,i=e[0].x,n=e[0].y,a=e[0].y,r=[],s=0;se[s].x&&(o=e[s].x),ie[s].y&&(n=e[s].y),a0&&(g=.015*l,this.computeSubSymbol(this.subSymbols[0],M,g,0)),h++):(h=0,this.subSymbols.length>0&&(g=.022*l,this.computeSubSymbol(this.subSymbols[1],M,g,0)))}this.finish()}}}}]),e}();SuperMap.Plot.AlgoSymbol17400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.minEditPts){var t,e=[];if(2===this.controlPoints.length){for(var l=SuperMap.Plot.PlottingUtil.distance(this.controlPoints[0],this.controlPoints[1]),o=this.scaleValues[0]*l,i=SuperMap.Plot.PlottingUtil.parallel(this.controlPoints,o/2),n=SuperMap.Plot.PlottingUtil.parallel(this.controlPoints,-o/2),a=180*SuperMap.Plot.PlottingUtil.radian(this.controlPoints[0],this.controlPoints[1])/Math.PI,r=[],s=a+90;s<=a+270;s+=10)t=SuperMap.Plot.PlottingUtil.circlePoint(this.controlPoints[0],o/2,o/2,s),r.push(t);for(var p=[],u=a-90;u<=a+90;u+=10)t=SuperMap.Plot.PlottingUtil.circlePoint(this.controlPoints[1],o/2,o/2,u),p.push(t);e=(e=(e=(e=e.concat(r)).concat(n)).concat(p)).concat(i)}else this.controlPoints.length<=3?e=SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,this.controlPoints):this.controlPoints.length>3&&!0===this.polylineConnectLocationPoint?e=this.controlPoints:(this.controlPoints.push(this.controlPoints[0]),e=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(this.controlPoints));e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var c=e[0].x,P=e[0].x,S=e[0].y,h=e[0].y;for(s=0;se[s].x&&(c=e[s].x),Pe[s].y&&(S=e[s].y),h0||w.length>0)&&(M=!0),U=[],w=[];for(var Y=new SuperMap.Geometry.Point(m,y.y),j=SuperMap.Plot.PlottingUtil.circlePoint(Y,5,5,45),C=SuperMap.Plot.PlottingUtil.circlePoint(Y,5,5,135),I=0;I0||w.length>0)&&(M=!0),b-=f,m+=f}this.finish()}}},{key:"sortPts2D",value:function(t){for(var e,l=0;lt[o+1].y&&(e=t[o],t[o]=t[o+1],t[o+1]=e):t[o].x>t[o+1].x&&(e=t[o],t[o]=t[o+1],t[o+1]=e);return t}}]),e}();SuperMap.Plot.AlgoSymbol16500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lo-o*this.scaleValues[0]-n&&(this.scaleValues[1]=(o-o*this.scaleValues[0]-n)/o)}}}}]),e}();SuperMap.Plot.AlgoSymbol16203=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0||S.length>0)&&(l=!0),P=[],S=[];for(var m=new SuperMap.Geometry.Point(i,e.y),d=SuperMap.Plot.PlottingUtil.circlePoint(m,10,10,45),v=SuperMap.Plot.PlottingUtil.circlePoint(m,10,10,135),O=0;O0||S.length>0)&&(l=!0),o-=.8,i+=.8}this.finish()}}}},{key:"sortPts2D",value:function(t){for(var e,l=0;lt[o+1].y&&(e=t[o],t[o]=t[o+1],t[o+1]=tempPt11):t[o].x>t[o+1].x&&(e=t[o],t[o]=t[o+1],t[o+1]=e);return t}}]),e}();SuperMap.Plot.AlgoSymbol16100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0?new SuperMap.Geometry.Point(g.pntLeft.x,g.pntLeft.y):new SuperMap.Geometry.Point(g.pntRight.x,g.pntRight.y);var M=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(c,f,y.pt),b=[];if(b.push(M.pntRight),b.push(f),b.push(M.pntLeft),0===h){var m=new SuperMap.Geometry.Point(f.x,f.y);m.isScalePoint=!0,m.tag=0,this.scalePoints.push(m)}this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,b,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0})}}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),o=SuperMap.Plot.PlottingUtil.pointIsRightToLine(l[0],l[1],e);this.scaleValues[0]=o?-1:1}}}]),e}();SuperMap.Plot.AlgoSymbol16000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.minEditPts){this.scalePoints=[];var e=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t);e=SuperMap.Plot.PlottingUtil.clearSamePts(e);var l=this.scaleValues[0],o=SuperMap.Plot.PlottingUtil.polylineDistance(t),i=l*o,n=.6*i,a=this.scaleValues[2]*o,r=0===this.scaleValues[1],s=SuperMap.Plot.PlottingUtil.polylineDistance(e);if(0===s)return;for(var p=[],u=0;u<=s;u+=a){var c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u);if(!(c.index<0)){var P=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(i,e[c.index+1],c.pt);if(r?p.push(P.pntRight):p.push(P.pntLeft),!((c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u+.65*a)).index<0||(P=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(n,e[c.index+1],c.pt),r?p.push(P.pntRight):p.push(P.pntLeft),(c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u+.8*a)).index<0||(p.push(c.pt),(c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u+.5*a)).index<0||(P=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(i,e[c.index+1],c.pt),r?p.push(P.pntLeft):p.push(P.pntRight),c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u+.2*a),p.push(c.pt),(c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u+.35*a)).index<0||(P=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(n,e[c.index+1],c.pt),r?p.push(P.pntRight):p.push(P.pntLeft),(c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u+a)).index<0||(P=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(i,e[c.index+1],c.pt),r?p.push(P.pntRight):p.push(P.pntLeft),!(Math.abs(u)<=1e-6)))))))){this.scalePoints=[];var S=new SuperMap.Geometry.Point(p[0].x,p[0].y);S.isScalePoint=!0,S.tag=0,this.scalePoints.push(S),(S=new SuperMap.Geometry.Point(c.pt.x,c.pt.y)).isScalePoint=!0,S.tag=1,this.scalePoints.push(S)}}}var h=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(p);SuperMap.Plot.PlottingUtil.clearSamePts(h),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h)}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length.7&&(d=.7),this.scaleValues[2]=d}}}}]),e}();SuperMap.Plot.AlgoSymbol15200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=n)return;this.scaleValues=[];var a=SuperMap.Plot.PlottingUtil.distance(l,o)/n;this.scaleValues.push(a);var r=180*SuperMap.Plot.PlottingUtil.radian(l,o)/Math.PI;r>90?r-=90:r=270+r,this.scaleValues.push(r*(Math.PI/180));var s=180*SuperMap.Plot.PlottingUtil.radian(l,i)/Math.PI;s>90?s-=90:s=270+s,this.scaleValues.push(s*(Math.PI/180)),e=this.scaleValues[0]*n;var p=this.scaleValues[1]*(180/Math.PI)+90,u=this.scaleValues[2]*(180/Math.PI)+90;p=u;S-=4)c=SuperMap.Plot.PlottingUtil.circlePoint(this.controlPoints[0],e,e,S),P.push(c);S!=u&&(c=SuperMap.Plot.PlottingUtil.circlePoint(this.controlPoints[0],e,e,u),P.push(c)),this.controlPoints[2]=SuperMap.Plot.PlottingUtil.circlePoint(this.controlPoints[0],e,e,u),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P)}this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol13700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;li&&hi){var y;y=S>i?P:r,(c=this.getLineAddCircleIntersectPts(P,r,p)).length>0&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[c[0],y])}else{var f=SuperMap.Plot.PlottingUtil.projectPoint(s,P,r);if(SuperMap.Plot.PlottingUtil.distance(s,f)>=i)this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[P,r]);else if(SuperMap.Plot.PlottingUtil.pointIsOnPolyLine(f,P,r)){if((c=this.getLineAddCircleIntersectPts(P,r,p)).length>0){c.unshift(P),c.push(r);for(var g=0;gSuperMap.Plot.PlottingUtil.distance(i,l)}},{key:"getLineAddCircleIntersectPts",value:function(t,e,l){var o=l.slice();o[0].x===o[o.length-1].x&&o[0].y===o[o.length-1].y||o.push(o[0]);for(var i,n=[],a=0;ae.x)for(var c=0;cn[P+1].x&&(i=n[P],n[P]=n[P+1],n[P+1]=i);else if(t.y>e.y)for(var S=0;Sn[h+1].y&&(i=n[h],n[h]=n[h+1],n[h+1]=i);return n}}]),e}();SuperMap.Plot.AlgoSymbol12502=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l1&&(P.push(S),S=[]):S.push(a.pt[h]);S.length>1&&P.push(S);for(var y=0;ythis.scaleValues.length)return;var o,i,n,a,r,s=SuperMap.Plot.PlottingUtil.polylineDistance(l),p=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l),u=new SuperMap.Geometry.Point(e.x,e.y);if(0===t){var c=new SuperMap.Geometry.Point(l[0].x,l[0].y),P=SuperMap.Plot.PlottingUtil.distance(c,u);i=2*P/s,this.scaleValues[1]=i}else if(1===t)c=new SuperMap.Geometry.Point(l[0].x,l[0].y),o=(P=SuperMap.Plot.PlottingUtil.distance(c,u))/s,this.scaleValues[0]=o;else if(2==t){var S=-1,h=0;r=new SuperMap.Geometry.Point(0,0),o=this.scaleValues[0],i=this.scaleValues[1];for(var y=0;yb&&(S=y,r=M,h=b)}}if(-1==S||S>p.length-1)return;a=SuperMap.Plot.PlottingUtil.polylineDistance(p);for(var m=[],d=0;da)return;n=v/a,this.scaleValues[2]=n}else if(3===t){o=this.scaleValues[0],i=this.scaleValues[1],n=this.scaleValues[2];var O=(a=SuperMap.Plot.PlottingUtil.polylineDistance(p))*n;if(-1===(r=SuperMap.Plot.PlottingUtil.findPointInPolyLine(p,O)).index)return;var U=SuperMap.Plot.PlottingUtil.distance(r.pt,e)/s;U>.4&&(U=.4),this.scaleValues[3]=U}}}},{key:"GetCurvePts",value:function(t,e,l){for(var o,i=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t),n=SuperMap.Plot.PlottingUtil.polylineDistance(i),a=n*e,r=n*l/2,s=[],p=[],u=i[0],c=!1,P=i[0],S=1;S1&&0===M?this.ClearCurvePts2D(P,u,h,p,b,s):s.concat(b),p=(p=[]).concat(b),P=u,u=f}S===i.length-1&&(f=i[i.length-1],b=this.GetCosPts2D(u,f,a,r),s=p.length>1&&b.length>1?this.ClearCurvePts2D(P,u,h,p,b,s):s.concat(b))}}return{pt:s,scalePt:o}}},{key:"GetCosPts2D",value:function(t,e,l,o){for(var i=[],n=SuperMap.Plot.PlottingUtil.distance(t,e),a=l/30,r=0;ro&&So){var h;h=P>o?u:c,(p=this.getLineAddCircleIntersectPts(u,c,r)).length>0&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[p[0],h])}else{var y=SuperMap.Plot.PlottingUtil.projectPoint(a,u,c);if(SuperMap.Plot.PlottingUtil.distance(a,y)>=o)this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[u,c]);else if(SuperMap.Plot.PlottingUtil.pointIsOnPolyLine(y,u,c)){if((p=this.getLineAddCircleIntersectPts(u,c,r)).length>0){p.unshift(u),p.push(c);for(var f=0;fSuperMap.Plot.PlottingUtil.distance(i,l)}},{key:"getLineAddCircleIntersectPts",value:function(t,e,l){var o=l.slice();o[0].x===o[o.length-1].x&&o[0].y===o[o.length-1].y||o.push(o[0]);for(var i,n=[],a=0;ae.x)for(var c=0;cn[P+1].x&&(i=n[P],n[P]=n[P+1],n[P+1]=i);else if(t.y>e.y)for(var S=0;Sn[h+1].y&&(i=n[h],n[h]=n[h+1],n[h+1]=i);return n}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),o=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===t){for(var i=0,n=-1,a=null,r=0;r1&&(P=1),this.scaleValues[0]=P}if(1===t){var S=this.scaleValues[0]*o,h=SuperMap.Plot.PlottingUtil.findPointInPolyLine(l,S);if(-1===h.index)return;var y=SuperMap.Plot.PlottingUtil.distance(h.pt,e)/o;y>.4&&(y=.4),this.scaleValues[1]=y}}}}]),e}();SuperMap.Plot.AlgoSymbol12500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbol4021102=e.AlgoSymbol4021101=e.AlgoSymbol6020404=e.AlgoSymbol6020403=e.AlgoSymbol4022102=e.AlgoSymbol4022101=e.AlgoSymbol4022100=e.AlgoSymbol4020402=e.AlgoSymbol4020401=e.AlgoSymbol4020303=e.AlgoSymbol4011101=e.AlgoSymbol4011100=e.AlgoSymbol4010905=e.AlgoSymbol4010801=e.AlgoSymbol4010800=e.AlgoSymbol3032000=e.AlgoSymbol3020901=e.AlgoSymbol3010304=e.AlgoSymbol3010303=e.AlgoSymbol6020402=e.AlgoSymbol6020401=e.AlgoSymbol6020400=e.AlgoSymbol3010302=void 0,e.AlgoSymbol3010301=e.AlgoSymbol3010108=e.AlgoSymbol3010107=e.AlgoSymbol3010106=e.AlgoSymbol3010105=e.AlgoSymbol3010104=e.AlgoSymbol3010103=e.AlgoSymbol3010102=e.AlgoSymbol2890001=e.AlgoSymbol2350001=e.AlgoSymbol44400=e.AlgoSymbol44300=e.AlgoSymbol44200=e.AlgoSymbol44100=e.AlgoSymbol43500=e.AlgoSymbol42700=e.AlgoSymbol42500=e.AlgoSymbol42400=e.AlgoSymbol42200=e.AlgoSymbol41202=e.AlgoSymbol41201=e.AlgoSymbol41200=e.AlgoSymbol41100=e.AlgoSymbol40900=e.AlgoSymbol40101=e.AlgoSymbol40100=e.AlgoSymbol40000=e.AlgoSymbol39802=e.AlgoSymbol39801=e.AlgoSymbol39800=e.AlgoSymbol39600=e.AlgoSymbol39500=e.AlgoSymbol39101=e.AlgoSymbol39000=e.AlgoSymbol38700=e.AlgoSymbol38600=e.AlgoSymbol37700=e.AlgoSymbol37601=e.AlgoSymbol37600=e.AlgoSymbol37301=e.AlgoSymbol37300=e.AlgoSymbol37200=e.AlgoSymbol37100=e.AlgoSymbol36800=e.AlgoSymbol36700=e.AlgoSymbol36600=e.AlgoSymbol36401=e.AlgoSymbol36400=e.AlgoSymbol35500=e.AlgoSymbol35304=e.AlgoSymbol35200=e.AlgoSymbol35000=e.AlgoSymbol34902=e.AlgoSymbol34901=e.AlgoSymbol34900=e.AlgoSymbol34801=e.AlgoSymbol34800=e.AlgoSymbol34700=e.AlgoSymbol34501=e.AlgoSymbol34500=e.AlgoSymbol34400=e.AlgoSymbol34300=e.AlgoSymbol33400=e.AlgoSymbol32900=e.AlgoSymbol32300=e.AlgoSymbol31803=e.AlgoSymbol31601=e.AlgoSymbol31600=e.AlgoSymbol31401=e.AlgoSymbol31400=e.AlgoSymbol31304=e.AlgoSymbol31303=e.AlgoSymbol31302=e.AlgoSymbol31301=e.AlgoSymbol31300=e.AlgoSymbol30102=e.AlgoSymbol30800=e.AlgoSymbol30201=e.AlgoSymbol30200=e.AlgoSymbol30100=e.AlgoSymbol30002=e.AlgoSymbol30001=e.AlgoSymbol30000=e.AlgoSymbol29903=e.AlgoSymbol29800=e.AlgoSymbol29401=e.AlgoSymbol29103=e.AlgoSymbol29101=e.AlgoSymbol29100=e.AlgoSymbol29003=e.AlgoSymbol29002=e.AlgoSymbol29001=e.AlgoSymbol29000=e.AlgoSymbol28900=e.AlgoSymbol28400=e.AlgoSymbol28301=e.AlgoSymbol28300=e.AlgoSymbol28201=e.AlgoSymbol28200=e.AlgoSymbol28100=void 0,e.AlgoSymbol28000=e.AlgoSymbol27902=e.AlgoSymbol27901=e.AlgoSymbol27900=e.AlgoSymbol27701=e.AlgoSymbol27700=e.AlgoSymbol27300=e.AlgoSymbol27100=e.AlgoSymbol26800=e.AlgoSymbol26700=e.AlgoSymbol26601=e.AlgoSymbol26600=e.AlgoSymbol26503=e.AlgoSymbol26502=e.AlgoSymbol26501=e.AlgoSymbol26500=e.AlgoSymbol26400=e.AlgoSymbol25901=e.AlgoSymbol25900=e.AlgoSymbol25801=e.AlgoSymbol25800=e.AlgoSymbol25701=e.AlgoSymbol25700=e.AlgoSymbol25601=e.AlgoSymbol25600=e.AlgoSymbol25503=e.AlgoSymbol25502=e.AlgoSymbol25501=e.AlgoSymbol25500=e.AlgoSymbol25400=e.AlgoSymbol25301=e.AlgoSymbol25300=e.AlgoSymbol25202=e.AlgoSymbol25201=e.AlgoSymbol25200=e.AlgoSymbol25101=e.AlgoSymbol25100=e.AlgoSymbol25000=e.AlgoSymbol24700=e.AlgoSymbol23902=e.AlgoSymbol23901=e.AlgoSymbol23700=e.AlgoSymbol23600=e.AlgoSymbol23500=e.AlgoSymbol23400=e.AlgoSymbol22200=e.AlgoSymbol22103=e.AlgoSymbol22000=e.AlgoSymbol21900=e.AlgoSymbol21800=e.AlgoSymbol21600=e.AlgoSymbol21504=e.AlgoSymbol21503=e.AlgoSymbol21502=e.AlgoSymbol21501=e.AlgoSymbol21500=e.AlgoSymbol21401=e.AlgoSymbol21400=e.AlgoSymbol20301=e.AlgoSymbol20300=e.AlgoSymbol17806=e.AlgoSymbol17805=e.AlgoSymbol17804=e.AlgoSymbol17803=e.AlgoSymbol17802=e.AlgoSymbol17801=e.AlgoSymbol17800=e.AlgoSymbol17704=e.AlgoSymbol17703=e.AlgoSymbol17700=e.AlgoSymbol17600=e.AlgoSymbol17501=e.AlgoSymbol17500=e.AlgoSymbol17401=e.AlgoSymbol17400=e.AlgoSymbol16900=e.AlgoSymbol16700=e.AlgoSymbol16500=e.AlgoSymbol16203=e.AlgoSymbol16202=e.AlgoSymbol16201=e.AlgoSymbol16200=e.AlgoSymbol16100=e.AlgoSymbol16001=e.AlgoSymbol16000=e.AlgoSymbol15900=e.AlgoSymbol15806=e.AlgoSymbol15805=e.AlgoSymbol15804=e.AlgoSymbol15803=e.AlgoSymbol15802=e.AlgoSymbol15801=e.AlgoSymbol15800=e.AlgoSymbol15202=e.AlgoSymbol15201=e.AlgoSymbol15200=e.AlgoSymbol13700=e.AlgoSymbol12502=e.AlgoSymbol12501=e.AlgoSymbol12500=void 0;var o=l(222),i=l(221),n=l(220),a=l(219),r=l(218),s=l(217),p=l(216),u=l(215),c=l(214),P=l(213),S=l(212),h=l(211),y=l(210),f=l(209),g=l(208),M=l(207),b=l(206),m=l(205),d=l(204),v=l(203),O=l(202),U=l(201),w=l(200),L=l(199),V=l(198),_=l(197),T=l(196),A=l(195),E=l(194),x=l(193),Y=l(192),j=l(191),C=l(190),I=l(189),G=l(188),B=l(187),R=l(186),N=l(185),D=l(184),k=l(183),z=l(182),F=l(181),K=l(180),q=l(179),W=l(178),J=l(177),Z=l(176),H=l(175),Q=l(174),X=l(173),$=l(172),tt=l(171),et=l(170),lt=l(169),ot=l(168),it=l(167),nt=l(166),at=l(165),rt=l(164),st=l(163),pt=l(162),ut=l(161),ct=l(160),Pt=l(159),St=l(158),ht=l(157),yt=l(156),ft=l(155),gt=l(154),Mt=l(153),bt=l(152),mt=l(151),dt=l(150),vt=l(149),Ot=l(148),Ut=l(147),wt=l(146),Lt=l(145),Vt=l(144),_t=l(143),Tt=l(142),At=l(141),Et=l(140),xt=l(139),Yt=l(138),jt=l(137),Ct=l(136),It=l(135),Gt=l(134),Bt=l(133),Rt=l(132),Nt=l(131),Dt=l(130),kt=l(129),zt=l(128),Ft=l(127),Kt=l(126),qt=l(125),Wt=l(124),Jt=l(123),Zt=l(122),Ht=l(121),Qt=l(120),Xt=l(119),$t=l(118),te=l(117),ee=l(116),le=l(115),oe=l(114),ie=l(113),ne=l(112),ae=l(111),re=l(110),se=l(109),pe=l(108),ue=l(107),ce=l(106),Pe=l(105),Se=l(104),he=l(103),ye=l(102),fe=l(101),ge=l(100),Me=l(99),be=l(98),me=l(97),de=l(96),ve=l(95),Oe=l(94),Ue=l(93),we=l(92),Le=l(91),Ve=l(90),_e=l(89),Te=l(88),Ae=l(87),Ee=l(86),xe=l(85),Ye=l(84),je=l(83),Ce=l(82),Ie=l(81),Ge=l(80),Be=l(79),Re=l(78),Ne=l(77),De=l(76),ke=l(75),ze=l(74),Fe=l(73),Ke=l(72),qe=l(71),We=l(70),Je=l(69),Ze=l(68),He=l(67),Qe=l(66),Xe=l(65),$e=l(64),tl=l(63),el=l(62),ll=l(61),ol=l(60),il=l(59),nl=l(58),al=l(57),rl=l(56),sl=l(55),pl=l(54),ul=l(53),cl=l(52),Pl=l(51),Sl=l(50),hl=l(49),yl=l(48),fl=l(47),gl=l(46),Ml=l(45),bl=l(44),ml=l(43),dl=l(42),vl=l(41),Ol=l(40),Ul=l(39),wl=l(38),Ll=l(37),Vl=l(36),_l=l(35),Tl=l(34),Al=l(33),El=l(32),xl=l(31),Yl=l(30),jl=l(29),Cl=l(28),Il=l(27),Gl=l(26),Bl=l(25),Rl=l(24),Nl=l(23),Dl=l(22),kl=l(21),zl=l(20),Fl=l(19),Kl=l(18),ql=l(17),Wl=l(16),Jl=l(15),Zl=l(14),Hl=l(13),Ql=l(12),Xl=l(11),$l=l(10),to=l(9),eo=l(8),lo=l(7),oo=l(6),io=l(5),no=l(4),ao=l(3),ro=l(2),so=l(1),po=l(0);e.AlgoSymbol12500=o.AlgoSymbol12500,e.AlgoSymbol12501=i.AlgoSymbol12501,e.AlgoSymbol12502=n.AlgoSymbol12502,e.AlgoSymbol13700=a.AlgoSymbol13700,e.AlgoSymbol15200=r.AlgoSymbol15200,e.AlgoSymbol15201=s.AlgoSymbol15201,e.AlgoSymbol15202=p.AlgoSymbol15202,e.AlgoSymbol15800=u.AlgoSymbol15800,e.AlgoSymbol15801=c.AlgoSymbol15801,e.AlgoSymbol15802=P.AlgoSymbol15802,e.AlgoSymbol15803=S.AlgoSymbol15803,e.AlgoSymbol15804=h.AlgoSymbol15804,e.AlgoSymbol15805=y.AlgoSymbol15805,e.AlgoSymbol15806=f.AlgoSymbol15806,e.AlgoSymbol15900=g.AlgoSymbol15900,e.AlgoSymbol16000=M.AlgoSymbol16000,e.AlgoSymbol16001=b.AlgoSymbol16001,e.AlgoSymbol16100=m.AlgoSymbol16100,e.AlgoSymbol16200=d.AlgoSymbol16200,e.AlgoSymbol16201=v.AlgoSymbol16201,e.AlgoSymbol16202=O.AlgoSymbol16202,e.AlgoSymbol16203=U.AlgoSymbol16203,e.AlgoSymbol16500=w.AlgoSymbol16500,e.AlgoSymbol16700=L.AlgoSymbol16700,e.AlgoSymbol16900=V.AlgoSymbol16900,e.AlgoSymbol17400=_.AlgoSymbol17400,e.AlgoSymbol17401=T.AlgoSymbol17401,e.AlgoSymbol17500=A.AlgoSymbol17500,e.AlgoSymbol17501=E.AlgoSymbol17501,e.AlgoSymbol17600=x.AlgoSymbol17600,e.AlgoSymbol17700=Y.AlgoSymbol17700,e.AlgoSymbol17703=j.AlgoSymbol17703,e.AlgoSymbol17704=C.AlgoSymbol17704,e.AlgoSymbol17800=I.AlgoSymbol17800,e.AlgoSymbol17801=G.AlgoSymbol17801,e.AlgoSymbol17802=B.AlgoSymbol17802,e.AlgoSymbol17803=R.AlgoSymbol17803,e.AlgoSymbol17804=N.AlgoSymbol17804,e.AlgoSymbol17805=D.AlgoSymbol17805,e.AlgoSymbol17806=k.AlgoSymbol17806,e.AlgoSymbol20300=z.AlgoSymbol20300,e.AlgoSymbol20301=F.AlgoSymbol20301,e.AlgoSymbol21400=K.AlgoSymbol21400,e.AlgoSymbol21401=q.AlgoSymbol21401,e.AlgoSymbol21500=W.AlgoSymbol21500,e.AlgoSymbol21501=J.AlgoSymbol21501,e.AlgoSymbol21502=Z.AlgoSymbol21502,e.AlgoSymbol21503=H.AlgoSymbol21503,e.AlgoSymbol21504=Q.AlgoSymbol21504,e.AlgoSymbol21600=X.AlgoSymbol21600,e.AlgoSymbol21800=$.AlgoSymbol21800,e.AlgoSymbol21900=tt.AlgoSymbol21900,e.AlgoSymbol22000=et.AlgoSymbol22000,e.AlgoSymbol22103=lt.AlgoSymbol22103,e.AlgoSymbol22200=ot.AlgoSymbol22200,e.AlgoSymbol23400=it.AlgoSymbol23400,e.AlgoSymbol23500=nt.AlgoSymbol23500,e.AlgoSymbol23600=at.AlgoSymbol23600,e.AlgoSymbol23700=rt.AlgoSymbol23700,e.AlgoSymbol23901=st.AlgoSymbol23901,e.AlgoSymbol23902=pt.AlgoSymbol23902,e.AlgoSymbol24700=ut.AlgoSymbol24700,e.AlgoSymbol25000=ct.AlgoSymbol25000,e.AlgoSymbol25100=Pt.AlgoSymbol25100,e.AlgoSymbol25101=St.AlgoSymbol25101,e.AlgoSymbol25200=ht.AlgoSymbol25200,e.AlgoSymbol25201=yt.AlgoSymbol25201,e.AlgoSymbol25202=ft.AlgoSymbol25202,e.AlgoSymbol25300=gt.AlgoSymbol25300,e.AlgoSymbol25301=Mt.AlgoSymbol25301,e.AlgoSymbol25400=bt.AlgoSymbol25400,e.AlgoSymbol25500=mt.AlgoSymbol25500,e.AlgoSymbol25501=dt.AlgoSymbol25501,e.AlgoSymbol25502=vt.AlgoSymbol25502,e.AlgoSymbol25503=Ot.AlgoSymbol25503,e.AlgoSymbol25600=Ut.AlgoSymbol25600,e.AlgoSymbol25601=wt.AlgoSymbol25601,e.AlgoSymbol25700=Lt.AlgoSymbol25700,e.AlgoSymbol25701=Vt.AlgoSymbol25701,e.AlgoSymbol25800=_t.AlgoSymbol25800,e.AlgoSymbol25801=Tt.AlgoSymbol25801,e.AlgoSymbol25900=At.AlgoSymbol25900,e.AlgoSymbol25901=Et.AlgoSymbol25901,e.AlgoSymbol26400=xt.AlgoSymbol26400,e.AlgoSymbol26500=Yt.AlgoSymbol26500,e.AlgoSymbol26501=jt.AlgoSymbol26501,e.AlgoSymbol26502=Ct.AlgoSymbol26502,e.AlgoSymbol26503=It.AlgoSymbol26503,e.AlgoSymbol26600=Gt.AlgoSymbol26600,e.AlgoSymbol26601=Bt.AlgoSymbol26601,e.AlgoSymbol26700=Rt.AlgoSymbol26700,e.AlgoSymbol26800=Nt.AlgoSymbol26800,e.AlgoSymbol27100=Dt.AlgoSymbol27100,e.AlgoSymbol27300=kt.AlgoSymbol27300,e.AlgoSymbol27700=zt.AlgoSymbol27700,e.AlgoSymbol27701=Ft.AlgoSymbol27701,e.AlgoSymbol27900=Kt.AlgoSymbol27900,e.AlgoSymbol27901=qt.AlgoSymbol27901,e.AlgoSymbol27902=Wt.AlgoSymbol27902,e.AlgoSymbol28000=Jt.AlgoSymbol28000,e.AlgoSymbol28100=Zt.AlgoSymbol28100,e.AlgoSymbol28200=Ht.AlgoSymbol28200,e.AlgoSymbol28201=Qt.AlgoSymbol28201,e.AlgoSymbol28300=Xt.AlgoSymbol28300,e.AlgoSymbol28301=$t.AlgoSymbol28301,e.AlgoSymbol28400=te.AlgoSymbol28400,e.AlgoSymbol28900=ee.AlgoSymbol28900,e.AlgoSymbol29000=le.AlgoSymbol29000,e.AlgoSymbol29001=oe.AlgoSymbol29001,e.AlgoSymbol29002=ie.AlgoSymbol29002,e.AlgoSymbol29003=ne.AlgoSymbol29003,e.AlgoSymbol29100=ae.AlgoSymbol29100,e.AlgoSymbol29101=re.AlgoSymbol29101,e.AlgoSymbol29103=se.AlgoSymbol29103,e.AlgoSymbol29401=pe.AlgoSymbol29401,e.AlgoSymbol29800=ue.AlgoSymbol29800,e.AlgoSymbol29903=ce.AlgoSymbol29903,e.AlgoSymbol30000=Pe.AlgoSymbol30000,e.AlgoSymbol30001=Se.AlgoSymbol30001,e.AlgoSymbol30002=he.AlgoSymbol30002,e.AlgoSymbol30100=ye.AlgoSymbol30100,e.AlgoSymbol30200=fe.AlgoSymbol30200,e.AlgoSymbol30201=ge.AlgoSymbol30201,e.AlgoSymbol30800=Me.AlgoSymbol30800,e.AlgoSymbol30102=be.AlgoSymbol30102,e.AlgoSymbol31300=me.AlgoSymbol31300,e.AlgoSymbol31301=de.AlgoSymbol31301,e.AlgoSymbol31302=ve.AlgoSymbol31302,e.AlgoSymbol31303=Oe.AlgoSymbol31303,e.AlgoSymbol31304=Ue.AlgoSymbol31304,e.AlgoSymbol31400=we.AlgoSymbol31400,e.AlgoSymbol31401=Le.AlgoSymbol31401,e.AlgoSymbol31600=Ve.AlgoSymbol31600,e.AlgoSymbol31601=_e.AlgoSymbol31601,e.AlgoSymbol31803=Te.AlgoSymbol31803,e.AlgoSymbol32300=Ae.AlgoSymbol32300,e.AlgoSymbol32900=Ee.AlgoSymbol32900,e.AlgoSymbol33400=xe.AlgoSymbol33400,e.AlgoSymbol34300=Ye.AlgoSymbol34300,e.AlgoSymbol34400=je.AlgoSymbol34400,e.AlgoSymbol34500=Ce.AlgoSymbol34500,e.AlgoSymbol34501=Ie.AlgoSymbol34501,e.AlgoSymbol34700=Ge.AlgoSymbol34700,e.AlgoSymbol34800=Be.AlgoSymbol34800,e.AlgoSymbol34801=Re.AlgoSymbol34801,e.AlgoSymbol34900=Ne.AlgoSymbol34900,e.AlgoSymbol34901=De.AlgoSymbol34901,e.AlgoSymbol34902=ke.AlgoSymbol34902,e.AlgoSymbol35000=ze.AlgoSymbol35000,e.AlgoSymbol35200=Fe.AlgoSymbol35200,e.AlgoSymbol35304=Ke.AlgoSymbol35304,e.AlgoSymbol35500=qe.AlgoSymbol35500,e.AlgoSymbol36400=We.AlgoSymbol36400,e.AlgoSymbol36401=Je.AlgoSymbol36401,e.AlgoSymbol36600=Ze.AlgoSymbol36600,e.AlgoSymbol36700=He.AlgoSymbol36700,e.AlgoSymbol36800=Qe.AlgoSymbol36800,e.AlgoSymbol37100=Xe.AlgoSymbol37100,e.AlgoSymbol37200=$e.AlgoSymbol37200,e.AlgoSymbol37300=tl.AlgoSymbol37300,e.AlgoSymbol37301=el.AlgoSymbol37301,e.AlgoSymbol37600=ll.AlgoSymbol37600,e.AlgoSymbol37601=ol.AlgoSymbol37601,e.AlgoSymbol37700=il.AlgoSymbol37700,e.AlgoSymbol38600=nl.AlgoSymbol38600,e.AlgoSymbol38700=al.AlgoSymbol38700,e.AlgoSymbol39000=rl.AlgoSymbol39000,e.AlgoSymbol39101=sl.AlgoSymbol39101,e.AlgoSymbol39500=pl.AlgoSymbol39500,e.AlgoSymbol39600=ul.AlgoSymbol39600,e.AlgoSymbol39800=cl.AlgoSymbol39800,e.AlgoSymbol39801=Pl.AlgoSymbol39801,e.AlgoSymbol39802=Sl.AlgoSymbol39802,e.AlgoSymbol40000=hl.AlgoSymbol40000,e.AlgoSymbol40100=yl.AlgoSymbol40100,e.AlgoSymbol40101=fl.AlgoSymbol40101,e.AlgoSymbol40900=gl.AlgoSymbol40900,e.AlgoSymbol41100=Ml.AlgoSymbol41100,e.AlgoSymbol41200=bl.AlgoSymbol41200,e.AlgoSymbol41201=ml.AlgoSymbol41201,e.AlgoSymbol41202=dl.AlgoSymbol41202,e.AlgoSymbol42200=vl.AlgoSymbol42200,e.AlgoSymbol42400=Ol.AlgoSymbol42400,e.AlgoSymbol42500=Ul.AlgoSymbol42500,e.AlgoSymbol42700=wl.AlgoSymbol42700,e.AlgoSymbol43500=Ll.AlgoSymbol43500,e.AlgoSymbol44100=Vl.AlgoSymbol44100,e.AlgoSymbol44200=_l.AlgoSymbol44200,e.AlgoSymbol44300=Tl.AlgoSymbol44300,e.AlgoSymbol44400=Al.AlgoSymbol44400,e.AlgoSymbol2350001=El.AlgoSymbol2350001,e.AlgoSymbol2890001=xl.AlgoSymbol2890001,e.AlgoSymbol3010102=Yl.AlgoSymbol3010102,e.AlgoSymbol3010103=jl.AlgoSymbol3010103,e.AlgoSymbol3010104=Cl.AlgoSymbol3010104,e.AlgoSymbol3010105=Il.AlgoSymbol3010105,e.AlgoSymbol3010106=Gl.AlgoSymbol3010106,e.AlgoSymbol3010107=Bl.AlgoSymbol3010107,e.AlgoSymbol3010108=Rl.AlgoSymbol3010108,e.AlgoSymbol3010301=Nl.AlgoSymbol3010301,e.AlgoSymbol3010302=Dl.AlgoSymbol3010302,e.AlgoSymbol6020400=kl.AlgoSymbol6020400,e.AlgoSymbol6020401=zl.AlgoSymbol6020401,e.AlgoSymbol6020402=Fl.AlgoSymbol6020402,e.AlgoSymbol3010303=Kl.AlgoSymbol3010303,e.AlgoSymbol3010304=ql.AlgoSymbol3010304,e.AlgoSymbol3020901=Wl.AlgoSymbol3020901,e.AlgoSymbol3032000=Jl.AlgoSymbol3032000,e.AlgoSymbol4010800=Zl.AlgoSymbol4010800,e.AlgoSymbol4010801=Hl.AlgoSymbol4010801,e.AlgoSymbol4010905=Ql.AlgoSymbol4010905,e.AlgoSymbol4011100=Xl.AlgoSymbol4011100,e.AlgoSymbol4011101=$l.AlgoSymbol4011101,e.AlgoSymbol4020303=to.AlgoSymbol4020303,e.AlgoSymbol4020401=eo.AlgoSymbol4020401,e.AlgoSymbol4020402=lo.AlgoSymbol4020402,e.AlgoSymbol4022100=oo.AlgoSymbol4022100,e.AlgoSymbol4022101=io.AlgoSymbol4022101,e.AlgoSymbol4022102=no.AlgoSymbol4022102,e.AlgoSymbol6020403=ao.AlgoSymbol6020403,e.AlgoSymbol6020404=ro.AlgoSymbol6020404,e.AlgoSymbol4021101=so.AlgoSymbol4021101,e.AlgoSymbol4021102=po.AlgoSymbol4021102},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JBAlgoSymbolFactory=void 0,l(223);e.JBAlgoSymbolFactory=SuperMap.Plot.JBAlgoSymbolFactory=SuperMap.Plot.JBAlgoSymbolFactory||{};SuperMap.Plot.JBAlgoSymbolFactory.getAlgoSymbol=function(t,e,l){if(100!==t)return new SuperMap.Plot.AlgoSymbol(l);switch(e){case 12500:return new SuperMap.Plot.AlgoSymbol12500(l);case 12501:return new SuperMap.Plot.AlgoSymbol12501(l);case 12502:return new SuperMap.Plot.AlgoSymbol12502(l);case 13700:return new SuperMap.Plot.AlgoSymbol13700(l);case 15200:return new SuperMap.Plot.AlgoSymbol15200(l);case 15201:case 23800:return new SuperMap.Plot.AlgoSymbol15201(l);case 15202:return new SuperMap.Plot.AlgoSymbol15202(l);case 15800:return new SuperMap.Plot.AlgoSymbol15800(l);case 15801:return new SuperMap.Plot.AlgoSymbol15801(l);case 15802:return new SuperMap.Plot.AlgoSymbol15802(l);case 15803:return new SuperMap.Plot.AlgoSymbol15803(l);case 15804:return new SuperMap.Plot.AlgoSymbol15804(l);case 15805:return new SuperMap.Plot.AlgoSymbol15805(l);case 15806:return new SuperMap.Plot.AlgoSymbol15806(l);case 15900:return new SuperMap.Plot.AlgoSymbol15900(l);case 16e3:return new SuperMap.Plot.AlgoSymbol16000(l);case 16001:return new SuperMap.Plot.AlgoSymbol16001(l);case 16100:return new SuperMap.Plot.AlgoSymbol16100(l);case 16200:return new SuperMap.Plot.AlgoSymbol16200(l);case 16201:return new SuperMap.Plot.AlgoSymbol16201(l);case 16202:return new SuperMap.Plot.AlgoSymbol16202(l);case 16203:return new SuperMap.Plot.AlgoSymbol16203(l);case 16500:return new SuperMap.Plot.AlgoSymbol16500(l);case 16700:return new SuperMap.Plot.AlgoSymbol16700(l);case 16900:return new SuperMap.Plot.AlgoSymbol16900(l);case 17400:return new SuperMap.Plot.AlgoSymbol17400(l);case 17401:return new SuperMap.Plot.AlgoSymbol17401(l);case 17500:return new SuperMap.Plot.AlgoSymbol17500(l);case 17501:return new SuperMap.Plot.AlgoSymbol17501(l);case 17600:return new SuperMap.Plot.AlgoSymbol17600(l);case 17700:return new SuperMap.Plot.AlgoSymbol17700(l);case 17703:return new SuperMap.Plot.AlgoSymbol17703(l);case 17704:return new SuperMap.Plot.AlgoSymbol17704(l);case 17800:return new SuperMap.Plot.AlgoSymbol17800(l);case 17801:return new SuperMap.Plot.AlgoSymbol17801(l);case 17802:return new SuperMap.Plot.AlgoSymbol17802(l);case 17803:return new SuperMap.Plot.AlgoSymbol17803(l);case 17804:return new SuperMap.Plot.AlgoSymbol17804(l);case 17805:return new SuperMap.Plot.AlgoSymbol17805(l);case 17806:return new SuperMap.Plot.AlgoSymbol17806(l);case 20300:return new SuperMap.Plot.AlgoSymbol20300(l);case 20301:return new SuperMap.Plot.AlgoSymbol20301(l);case 21401:return new SuperMap.Plot.AlgoSymbol21401(l);case 21500:return new SuperMap.Plot.AlgoSymbol21500(l);case 21501:return new SuperMap.Plot.AlgoSymbol21501(l);case 21502:return new SuperMap.Plot.AlgoSymbol21502(l);case 21503:return new SuperMap.Plot.AlgoSymbol21503(l);case 21504:return new SuperMap.Plot.AlgoSymbol21504(l);case 21600:return new SuperMap.Plot.AlgoSymbol21600(l);case 21800:return new SuperMap.Plot.AlgoSymbol21800(l);case 21900:return new SuperMap.Plot.AlgoSymbol21900(l);case 22e3:return new SuperMap.Plot.AlgoSymbol22000(l);case 22103:return new SuperMap.Plot.AlgoSymbol22103(l);case 22200:return new SuperMap.Plot.AlgoSymbol22200(l);case 23400:return new SuperMap.Plot.AlgoSymbol23400(l);case 23500:return new SuperMap.Plot.AlgoSymbol23500(l);case 2350001:return new SuperMap.Plot.AlgoSymbol2350001(l);case 23600:return new SuperMap.Plot.AlgoSymbol23600(l);case 23700:return new SuperMap.Plot.AlgoSymbol23700(l);case 23901:return new SuperMap.Plot.AlgoSymbol23901(l);case 23902:return new SuperMap.Plot.AlgoSymbol23902(l);case 24700:return new SuperMap.Plot.AlgoSymbol24700(l);case 25e3:return new SuperMap.Plot.AlgoSymbol25000(l);case 25100:return new SuperMap.Plot.AlgoSymbol25100(l);case 25101:return new SuperMap.Plot.AlgoSymbol25101(l);case 25200:return new SuperMap.Plot.AlgoSymbol25200(l);case 21400:case 25201:return new SuperMap.Plot.AlgoSymbol25201(l);case 25202:return new SuperMap.Plot.AlgoSymbol25202(l);case 25300:return new SuperMap.Plot.AlgoSymbol25300(l);case 25301:return new SuperMap.Plot.AlgoSymbol25301(l);case 25400:return new SuperMap.Plot.AlgoSymbol25400(l);case 25500:return new SuperMap.Plot.AlgoSymbol25500(l);case 25501:return new SuperMap.Plot.AlgoSymbol25501(l);case 25502:return new SuperMap.Plot.AlgoSymbol25502(l);case 25503:return new SuperMap.Plot.AlgoSymbol25503(l);case 25600:return new SuperMap.Plot.AlgoSymbol25600(l);case 25601:return new SuperMap.Plot.AlgoSymbol25601(l);case 25700:return new SuperMap.Plot.AlgoSymbol25700(l);case 25701:return new SuperMap.Plot.AlgoSymbol25701(l);case 25800:return new SuperMap.Plot.AlgoSymbol25800(l);case 25801:return new SuperMap.Plot.AlgoSymbol25801(l);case 25900:return new SuperMap.Plot.AlgoSymbol25900(l);case 25901:return new SuperMap.Plot.AlgoSymbol25901(l);case 26400:return new SuperMap.Plot.AlgoSymbol26400(l);case 26500:return new SuperMap.Plot.AlgoSymbol26500(l);case 26501:return new SuperMap.Plot.AlgoSymbol26501(l);case 26502:return new SuperMap.Plot.AlgoSymbol26502(l);case 26503:return new SuperMap.Plot.AlgoSymbol26503(l);case 26600:return new SuperMap.Plot.AlgoSymbol26600(l);case 26601:return new SuperMap.Plot.AlgoSymbol26601(l);case 26700:return new SuperMap.Plot.AlgoSymbol26700(l);case 26800:return new SuperMap.Plot.AlgoSymbol26800(l);case 27100:return new SuperMap.Plot.AlgoSymbol27100(l);case 27300:return new SuperMap.Plot.AlgoSymbol27300(l);case 27700:return new SuperMap.Plot.AlgoSymbol27700(l);case 27701:return new SuperMap.Plot.AlgoSymbol27701(l);case 27900:return new SuperMap.Plot.AlgoSymbol27900(l);case 27901:return new SuperMap.Plot.AlgoSymbol27901(l);case 27902:return new SuperMap.Plot.AlgoSymbol27902(l);case 28e3:return new SuperMap.Plot.AlgoSymbol28000(l);case 28100:return new SuperMap.Plot.AlgoSymbol28100(l);case 28200:return new SuperMap.Plot.AlgoSymbol28200(l);case 28201:return new SuperMap.Plot.AlgoSymbol28201(l);case 28300:return new SuperMap.Plot.AlgoSymbol28300(l);case 28301:return new SuperMap.Plot.AlgoSymbol28301(l);case 28400:return new SuperMap.Plot.AlgoSymbol28400(l);case 28900:return new SuperMap.Plot.AlgoSymbol28900(l);case 29e3:return new SuperMap.Plot.AlgoSymbol29000(l);case 29001:return new SuperMap.Plot.AlgoSymbol29001(l);case 29002:return new SuperMap.Plot.AlgoSymbol29002(l);case 29003:return new SuperMap.Plot.AlgoSymbol29003(l);case 29100:return new SuperMap.Plot.AlgoSymbol29100(l);case 29101:return new SuperMap.Plot.AlgoSymbol29101(l);case 29103:return new SuperMap.Plot.AlgoSymbol29103(l);case 29401:return new SuperMap.Plot.AlgoSymbol29401(l);case 29800:return new SuperMap.Plot.AlgoSymbol29800(l);case 29903:return new SuperMap.Plot.AlgoSymbol29903(l);case 3e4:return new SuperMap.Plot.AlgoSymbol30000(l);case 30001:return new SuperMap.Plot.AlgoSymbol30001(l);case 30002:return new SuperMap.Plot.AlgoSymbol30002(l);case 30100:case 4020400:return new SuperMap.Plot.AlgoSymbol30100(l);case 30200:return new SuperMap.Plot.AlgoSymbol30200(l);case 30201:return new SuperMap.Plot.AlgoSymbol30201(l);case 30800:return new SuperMap.Plot.AlgoSymbol30800(l);case 30102:return new SuperMap.Plot.AlgoSymbol30102(l);case 31300:return new SuperMap.Plot.AlgoSymbol31300(l);case 31301:return new SuperMap.Plot.AlgoSymbol31301(l);case 31302:return new SuperMap.Plot.AlgoSymbol31302(l);case 31303:return new SuperMap.Plot.AlgoSymbol31303(l);case 31304:return new SuperMap.Plot.AlgoSymbol31304(l);case 31400:return new SuperMap.Plot.AlgoSymbol31400(l);case 31401:return new SuperMap.Plot.AlgoSymbol31401(l);case 31600:return new SuperMap.Plot.AlgoSymbol31600(l);case 31601:return new SuperMap.Plot.AlgoSymbol31601(l);case 31803:return new SuperMap.Plot.AlgoSymbol31803(l);case 32300:return new SuperMap.Plot.AlgoSymbol32300(l);case 32900:return new SuperMap.Plot.AlgoSymbol32900(l);case 33400:return new SuperMap.Plot.AlgoSymbol33400(l);case 34300:return new SuperMap.Plot.AlgoSymbol34300(l);case 34400:return new SuperMap.Plot.AlgoSymbol34400(l);case 34500:return new SuperMap.Plot.AlgoSymbol34500(l);case 34501:return new SuperMap.Plot.AlgoSymbol34501(l);case 34700:return new SuperMap.Plot.AlgoSymbol34700(l);case 34800:return new SuperMap.Plot.AlgoSymbol34800(l);case 34801:return new SuperMap.Plot.AlgoSymbol34801(l);case 34900:return new SuperMap.Plot.AlgoSymbol34900(l);case 34901:return new SuperMap.Plot.AlgoSymbol34901(l);case 34902:return new SuperMap.Plot.AlgoSymbol34902(l);case 35e3:return new SuperMap.Plot.AlgoSymbol35000(l);case 35200:return new SuperMap.Plot.AlgoSymbol35200(l);case 35304:return new SuperMap.Plot.AlgoSymbol35304(l);case 35500:return new SuperMap.Plot.AlgoSymbol35500(l);case 36400:return new SuperMap.Plot.AlgoSymbol36400(l);case 36401:return new SuperMap.Plot.AlgoSymbol36401(l);case 36600:return new SuperMap.Plot.AlgoSymbol36600(l);case 36700:return new SuperMap.Plot.AlgoSymbol36700(l);case 36800:return new SuperMap.Plot.AlgoSymbol36800(l);case 37100:return new SuperMap.Plot.AlgoSymbol37100(l);case 37200:return new SuperMap.Plot.AlgoSymbol37200(l);case 37300:return new SuperMap.Plot.AlgoSymbol37300(l);case 37301:return new SuperMap.Plot.AlgoSymbol37301(l);case 37600:return new SuperMap.Plot.AlgoSymbol37600(l);case 37601:return new SuperMap.Plot.AlgoSymbol37601(l);case 37700:return new SuperMap.Plot.AlgoSymbol37700(l);case 38600:return new SuperMap.Plot.AlgoSymbol38600(l);case 38700:return new SuperMap.Plot.AlgoSymbol38700(l);case 39e3:return new SuperMap.Plot.AlgoSymbol39000(l);case 39101:return new SuperMap.Plot.AlgoSymbol39101(l);case 39500:return new SuperMap.Plot.AlgoSymbol39500(l);case 39600:return new SuperMap.Plot.AlgoSymbol39600(l);case 39800:return new SuperMap.Plot.AlgoSymbol39800(l);case 39801:return new SuperMap.Plot.AlgoSymbol39801(l);case 39802:return new SuperMap.Plot.AlgoSymbol39802(l);case 4e4:return new SuperMap.Plot.AlgoSymbol40000(l);case 40100:return new SuperMap.Plot.AlgoSymbol40100(l);case 40101:return new SuperMap.Plot.AlgoSymbol40101(l);case 40900:return new SuperMap.Plot.AlgoSymbol40900(l);case 41100:return new SuperMap.Plot.AlgoSymbol41100(l);case 41200:return new SuperMap.Plot.AlgoSymbol41200(l);case 41201:return new SuperMap.Plot.AlgoSymbol41201(l);case 41202:return new SuperMap.Plot.AlgoSymbol41202(l);case 42200:return new SuperMap.Plot.AlgoSymbol42200(l);case 42400:return new SuperMap.Plot.AlgoSymbol42400(l);case 42500:return new SuperMap.Plot.AlgoSymbol42500(l);case 42700:return new SuperMap.Plot.AlgoSymbol42700(l);case 43500:return new SuperMap.Plot.AlgoSymbol43500(l);case 44100:return new SuperMap.Plot.AlgoSymbol44100(l);case 44200:return new SuperMap.Plot.AlgoSymbol44200(l);case 44300:return new SuperMap.Plot.AlgoSymbol44300(l);case 44400:return new SuperMap.Plot.AlgoSymbol44400(l);case 2890001:return new SuperMap.Plot.AlgoSymbol2890001(l);case 3010301:return new SuperMap.Plot.AlgoSymbol3010301(l);case 3010302:return new SuperMap.Plot.AlgoSymbol3010302(l);case 3010303:return new SuperMap.Plot.AlgoSymbol3010303(l);case 3010304:return new SuperMap.Plot.AlgoSymbol3010304(l);case 3010102:return new SuperMap.Plot.AlgoSymbol3010102(l);case 3010103:return new SuperMap.Plot.AlgoSymbol3010103(l);case 3010104:return new SuperMap.Plot.AlgoSymbol3010104(l);case 3010105:return new SuperMap.Plot.AlgoSymbol3010105(l);case 3010106:return new SuperMap.Plot.AlgoSymbol3010106(l);case 3010107:return new SuperMap.Plot.AlgoSymbol3010107(l);case 3010108:return new SuperMap.Plot.AlgoSymbol3010108(l);case 3020901:return new SuperMap.Plot.AlgoSymbol3020901(l);case 3032e3:return new SuperMap.Plot.AlgoSymbol3032000(l);case 4010800:return new SuperMap.Plot.AlgoSymbol4010800(l);case 4010801:return new SuperMap.Plot.AlgoSymbol4010801(l);case 4010905:return new SuperMap.Plot.AlgoSymbol4010905(l);case 4011100:return new SuperMap.Plot.AlgoSymbol4011100(l);case 4011101:return new SuperMap.Plot.AlgoSymbol4011101(l);case 4020303:return new SuperMap.Plot.AlgoSymbol4020303(l);case 4020401:return new SuperMap.Plot.AlgoSymbol4020401(l);case 4020402:return new SuperMap.Plot.AlgoSymbol4020402(l);case 4021101:return new SuperMap.Plot.AlgoSymbol4021101(l);case 4021102:return new SuperMap.Plot.AlgoSymbol4021102(l);case 4022100:return new SuperMap.Plot.AlgoSymbol4022100(l);case 4022101:return new SuperMap.Plot.AlgoSymbol4022101(l);case 4022102:return new SuperMap.Plot.AlgoSymbol4022102(l);case 6020400:return new SuperMap.Plot.AlgoSymbol6020400(l);case 6020401:return new SuperMap.Plot.AlgoSymbol6020401(l);case 6020402:return new SuperMap.Plot.AlgoSymbol6020402(l);case 6020403:return new SuperMap.Plot.AlgoSymbol6020403(l);case 6020404:return new SuperMap.Plot.AlgoSymbol6020404(l);default:return new SuperMap.Plot.AlgoSymbol(l)}},SuperMap.Plot.JBAlgoSymbolFactory.isAccessServer=function(t,e){if(100!==t)return!0;switch(e){case 12500:case 12501:case 12502:case 13700:case 15200:case 15201:case 15202:case 15800:case 15801:case 15802:case 15803:case 15804:case 15805:case 15806:case 15900:case 16e3:case 16001:case 16100:case 16200:case 16201:case 16202:case 16203:case 16500:case 16700:case 16900:case 17400:case 17401:case 17500:case 17501:case 17600:case 17700:case 17703:case 17704:case 17800:case 17801:case 17802:case 17803:case 17804:case 17805:case 17806:case 20300:case 20301:case 21400:case 21401:case 21500:case 21501:case 21502:case 21503:case 21504:case 21600:case 21800:case 21900:case 22e3:case 22103:case 22200:case 23400:case 23500:case 23600:case 23700:case 23800:case 23901:case 23902:case 24700:case 25e3:case 25100:case 25101:case 25200:case 25201:case 25202:case 25300:case 25301:case 25400:case 25500:case 25501:case 25502:case 25503:case 25600:case 25601:case 25700:case 25701:case 25800:case 25801:case 25900:case 25901:case 26400:case 26500:case 26501:case 26502:case 26503:case 26600:case 26601:case 26700:case 26800:case 27100:case 27300:case 27700:case 27701:case 27900:case 27901:case 27902:case 28e3:case 28100:case 28200:case 28201:case 28300:case 28301:case 28400:case 28900:case 29e3:case 29001:case 29002:case 29003:case 29100:case 29101:case 29103:case 29401:case 29800:case 29903:case 3e4:case 30001:case 30002:case 30100:case 30200:case 30201:case 30800:case 30102:case 31300:case 31301:case 31302:case 31303:case 31304:case 31400:case 31401:case 31600:case 31601:case 31803:case 32300:case 32900:case 33400:case 34300:case 34400:case 34500:case 34501:case 34700:case 34800:case 34801:case 34900:case 34901:case 34902:case 35e3:case 35200:case 35304:case 35500:case 36400:case 36401:case 36600:case 36700:case 36800:case 37100:case 37200:case 37300:case 37301:case 37600:case 37601:case 37700:case 38600:case 38700:case 39e3:case 39101:case 39500:case 39600:case 39800:case 39801:case 39802:case 3010102:case 3010103:case 3010104:case 3010105:case 3010106:case 3010107:case 3010108:case 4e4:case 40100:case 40101:case 40900:case 41100:case 41200:case 41201:case 41202:case 42200:case 42400:case 42500:case 42700:case 43500:case 44100:case 44200:case 44300:case 44400:case 2350001:case 2890001:case 3010301:case 3010302:case 3010303:case 3010304:case 3020901:case 3032e3:case 4010800:case 4010801:case 4010905:case 4011100:case 4011101:case 4020303:case 4020400:case 4020401:case 4020402:case 4022100:case 4022101:case 4022102:case 6020400:case 6020401:case 6020402:case 6020403:case 6020404:case 4021101:case 4021102:return!1;default:return!0}},SuperMap.Plot.JBAlgoSymbolFactory.getSymbolWayType=function(t,e){if(100!==t)return SuperMap.Plot.AddPoint_WayType.UNKNOWN;switch(e){case 15200:case 15201:case 16203:case 17703:case 17704:case 21400:case 21401:case 21500:case 21501:case 21502:case 21503:case 21504:case 21600:case 21900:case 22e3:case 22103:case 23800:case 24700:case 25201:case 25400:case 26500:case 26501:case 26502:case 26600:case 28900:case 29e3:case 29003:case 29903:case 3e4:case 30001:case 30002:case 30100:case 30102:case 30200:case 30201:case 30800:case 31803:case 33400:case 34900:case 34901:case 34902:case 35e3:case 36400:case 44200:case 3010102:case 3010103:case 3010104:case 3010105:case 3010106:case 3010107:case 3010108:case 3010301:case 3010302:case 3010303:case 3010304:return SuperMap.Plot.AddPoint_WayType.CURVE;case 12500:case 12502:case 16100:case 20300:case 25501:case 25502:case 26503:case 25503:case 25601:case 25801:case 25901:case 32900:case 34700:case 35200:case 36401:case 41200:case 41201:case 41202:case 42700:case 44400:return SuperMap.Plot.AddPoint_WayType.POLYLINE;default:return SuperMap.Plot.AddPoint_WayType.UNKNOWN}},SuperMap.Plot.JBAlgoSymbolFactory.getDefaultSubSymbols=function(t,e){var l=[];if(100!==t)return l;switch(e){case 17400:case 17401:return l.push(new SuperMap.Plot.SubSymbol(100,17300)),l.push(new SuperMap.Plot.SubSymbol(100,17301)),l;case 21501:case 26502:return l.push(new SuperMap.Plot.SubSymbol(100,19700)),l;case 21502:return l.push(new SuperMap.Plot.SubSymbol(100,6803)),l;case 22103:case 26501:return l.push(new SuperMap.Plot.SubSymbol(100,22100)),l;case 21503:return l.push(new SuperMap.Plot.SubSymbol(100,7900)),l;case 21504:return l.push(new SuperMap.Plot.SubSymbol(100,8404)),l;case 22e3:return l.push(new SuperMap.Plot.SubSymbol(100,1e3)),l;case 23500:return l.push(new SuperMap.Plot.SubSymbol(100,1300)),l;case 23600:return l.push(new SuperMap.Plot.SubSymbol(100,800)),l.push(new SuperMap.Plot.SubSymbol(100,800)),l;case 25300:return l.push(new SuperMap.Plot.SubSymbol(100,6302)),l.push(new SuperMap.Plot.SubSymbol(100,7900)),l;case 25301:return l.push(new SuperMap.Plot.SubSymbol(100,300)),l.push(new SuperMap.Plot.SubSymbol(100,6200)),l;case 25503:return l.push(new SuperMap.Plot.SubSymbol(100,8402)),l;case 26700:return l.push(new SuperMap.Plot.SubSymbol(100,4500)),l;case 27100:return l.push(new SuperMap.Plot.SubSymbol(100,7700)),l;case 27300:return l.push(new SuperMap.Plot.SubSymbol(100,1500)),l;case 3032e3:return l.push(new SuperMap.Plot.SubSymbol(100,1500)),l.push(new SuperMap.Plot.SubSymbol(100,1500)),l;case 28300:return l.push(new SuperMap.Plot.SubSymbol(100,18600)),l;case 28301:return l.push(new SuperMap.Plot.SubSymbol(100,18600)),l.push(new SuperMap.Plot.SubSymbol(100,18600)),l;case 28400:return l.push(new SuperMap.Plot.SubSymbol(100,4801)),l;case 29001:return l.push(new SuperMap.Plot.SubSymbol(100,5200)),l.push(new SuperMap.Plot.SubSymbol(100,5200)),l;case 29002:return l.push(new SuperMap.Plot.SubSymbol(100,600)),l.push(new SuperMap.Plot.SubSymbol(100,5300)),l;case 23901:case 23902:return l.push(new SuperMap.Plot.SubSymbol(100,4800)),l;case 31600:case 31601:return l.push(new SuperMap.Plot.SubSymbol(100,700)),l;case 29903:case 4021101:return l.push(new SuperMap.Plot.SubSymbol(100,600)),l;case 32900:return l.push(new SuperMap.Plot.SubSymbol(100,6700)),l;case 35200:return l.push(new SuperMap.Plot.SubSymbol(100,6803)),l;case 37700:return l.push(new SuperMap.Plot.SubSymbol(100,37800)),l;case 3010107:return l.push(new SuperMap.Plot.SubSymbol(100,800)),l;case 3010108:return l.push(new SuperMap.Plot.SubSymbol(100,4600)),l;case 4010800:return l.push(new SuperMap.Plot.SubSymbol(100,1300)),l;case 4010801:case 4022100:case 4022101:case 4022102:case 4021102:return l.push(new SuperMap.Plot.SubSymbol(100,8400)),l;case 31303:case 31302:return l.push(new SuperMap.Plot.SubSymbol(100,4400)),l;case 4010905:return l.push(new SuperMap.Plot.SubSymbol(100,700)),l;case 31803:return l.push(new SuperMap.Plot.SubSymbol(100,8402)),l;case 34400:return l.push(new SuperMap.Plot.SubSymbol(100,6202)),l;case 34501:return l.push(new SuperMap.Plot.SubSymbol(100,8403)),l;case 35304:return l.push(new SuperMap.Plot.SubSymbol(100,35301)),l;case 36401:return l.push(new SuperMap.Plot.SubSymbol(100,7200)),l;case 36600:return l.push(new SuperMap.Plot.SubSymbol(100,300)),l;case 37100:return l.push(new SuperMap.Plot.SubSymbol(100,8e3)),l;case 37200:return l.push(new SuperMap.Plot.SubSymbol(100,7101)),l;case 37600:case 37601:case 38600:case 38700:return l.push(new SuperMap.Plot.SubSymbol(100,4600)),l;case 39e3:return l.push(new SuperMap.Plot.SubSymbol(100,9300)),l.push(new SuperMap.Plot.SubSymbol(100,9300)),l.push(new SuperMap.Plot.SubSymbol(100,9300)),l;case 39101:return l.push(new SuperMap.Plot.SubSymbol(100,39100)),l;case 39500:case 39600:return l.push(new SuperMap.Plot.SubSymbol(100,8700)),l;case 39800:case 39801:case 39802:case 4e4:return l.push(new SuperMap.Plot.SubSymbol(100,8900)),l;case 36700:return l.push(new SuperMap.Plot.SubSymbol(100,300)),l;case 42200:return l.push(new SuperMap.Plot.SubSymbol(100,20901)),l;case 4011100:return l.push(new SuperMap.Plot.SubSymbol(100,4e3)),l.push(new SuperMap.Plot.SubSymbol(100,4001)),l;case 4011101:return l.push(new SuperMap.Plot.SubSymbol(100,700)),l.push(new SuperMap.Plot.SubSymbol(100,700)),l;case 2350001:return l.push(new SuperMap.Plot.SubSymbol(100,7900)),l.push(new SuperMap.Plot.SubSymbol(100,1300)),l;case 2890001:return l.push(new SuperMap.Plot.SubSymbol(100,4003)),l;default:return l}},SuperMap.Plot.JBAlgoSymbolFactory.getMinEditPts=function(t,e){if(100!==t)return 0;switch(e){case 12500:case 12501:case 12502:case 13700:case 15200:case 15201:case 15202:case 15800:case 15801:case 15802:case 15803:case 15804:case 15805:case 15806:case 15900:case 16e3:case 16001:case 16200:case 16201:case 16202:case 16203:case 16500:case 16700:case 16900:case 17400:case 17401:case 17500:case 17501:case 17600:case 17700:case 17703:case 17704:case 17800:case 17801:case 17802:case 17803:case 17804:case 17805:case 17806:case 20300:case 20301:case 21400:case 21401:case 21500:case 21501:case 21502:case 21503:case 21504:case 21600:case 21800:case 21900:case 22e3:case 22103:case 22200:case 23400:case 23500:case 23600:case 23700:case 23800:case 23901:case 23902:case 24700:case 25e3:case 25100:case 25101:case 25201:case 25202:case 25300:case 25301:case 25400:case 26400:case 26500:case 26501:case 26502:case 26503:case 26600:case 26601:case 26700:case 26800:case 27100:case 27300:case 27700:case 27701:case 27900:case 27901:case 27902:case 28e3:case 28100:case 28200:case 28201:case 28300:case 28301:case 28400:case 28900:case 29e3:case 29001:case 29002:case 29003:case 29100:case 29101:case 29103:case 29401:case 29903:case 41100:case 44100:case 43500:case 42500:case 39500:case 37301:case 37300:case 37200:case 37100:case 36800:case 36600:case 35500:case 34801:case 34800:case 34501:case 34500:case 34400:case 34300:case 31600:case 31601:case 31401:case 31400:case 31304:case 31303:case 31302:case 31301:case 31300:case 44200:case 41200:case 41201:case 41202:case 31803:case 30800:case 30201:case 30200:case 44300:case 42400:case 42200:case 40900:case 40100:case 40101:case 4e4:case 39802:case 39801:case 39800:case 39600:case 39101:case 39e3:case 38600:case 37700:case 37601:case 37600:case 36700:case 36401:case 36400:case 35304:case 35200:case 35e3:case 34700:case 33400:case 30100:case 30102:case 30002:case 30001:case 3e4:case 38700:case 32300:case 42700:case 34902:case 34901:case 34900:case 32900:case 2350001:case 2890001:case 3032e3:case 3010102:case 3010103:case 3010104:case 3010105:case 3010106:case 3010107:case 3010108:case 3010301:case 3010302:case 3010303:case 3010304:case 3020901:case 4021101:case 4021102:case 4010800:case 4010801:case 4011100:case 4011101:case 4022101:case 4022102:case 4020303:case 4020400:case 4020401:case 4020402:case 4022100:case 4010905:case 6020400:case 6020401:case 6020402:case 6020403:case 6020404:return 2;case 16100:case 25200:case 25500:case 25501:case 25502:case 25503:case 25600:case 25601:case 25700:case 25701:case 25800:case 25801:case 25900:case 25901:case 29800:case 44400:return 3;default:return 0}},SuperMap.Plot.JBAlgoSymbolFactory.getMaxEditPts=function(t,e){if(100!==t)return 0;switch(e){case 15202:case 16202:case 20301:case 16700:case 16900:case 17600:case 25e3:case 25100:case 25101:case 25300:case 25301:case 27100:case 27700:case 27900:case 27901:case 27902:case 28100:case 28201:case 28301:case 41100:case 44100:case 43500:case 42500:case 39500:case 37301:case 37300:case 37200:case 37100:case 36800:case 36600:case 35500:case 34801:case 34800:case 34501:case 34500:case 34400:case 34300:case 31600:case 31601:case 31401:case 31400:case 31304:case 31303:case 31302:case 31301:case 31300:case 21800:case 26700:case 29401:return 2;case 13700:case 17800:case 17801:case 17802:case 17803:case 17804:case 17805:case 17806:case 23901:case 23902:case 38700:case 26800:case 29001:case 29002:case 32300:case 29101:case 29100:case 4010905:case 6020400:case 6020401:case 6020402:case 6020403:case 29e3:return 3;case 28e3:return 4;case 16201:case 17400:case 17401:case 17500:case 17501:case 22200:case 23400:case 23500:case 2350001:case 23600:case 23700:case 23800:case 25200:case 27300:case 27701:case 28400:case 44300:case 42400:case 42200:case 40900:case 40100:case 40101:case 4e4:case 39802:case 39801:case 39800:case 39600:case 39101:case 39e3:case 38600:case 37700:case 37601:case 37600:case 36700:case 36401:case 36400:case 35304:case 35200:case 35e3:case 34700:case 33400:case 30100:case 30102:case 30002:case 30001:case 3e4:case 29903:case 29800:case 3032e3:case 4010800:case 4010801:case 4011100:case 4011101:case 4022101:case 4022102:case 4020303:case 4020400:case 4020401:case 4020402:case 4022100:case 16500:return 30;case 42700:case 34902:case 34901:case 34900:case 32900:case 6020404:return 512;case 12500:case 12501:case 12502:case 16e3:case 16001:case 16100:case 16200:case 16203:case 17700:case 17703:case 17704:case 21900:case 22e3:case 22103:case 25201:case 25202:case 24700:case 25400:case 25500:case 25501:case 25502:case 25503:case 25600:case 25601:case 25700:case 25701:case 25800:case 25801:case 25900:case 25901:case 28900:case 2890001:case 44400:case 44200:case 41200:case 41201:case 41202:case 31803:case 30800:case 30201:case 30200:case 4021102:case 29103:case 28300:case 28200:case 29003:return 1e3;case 15200:case 15201:case 15800:case 15801:case 15802:case 15803:case 15804:case 15805:case 15806:case 15900:case 20300:case 21400:case 21401:case 21500:case 21501:case 21502:case 21503:case 21504:case 21600:case 26400:case 26500:case 26501:case 26502:case 26503:case 26600:case 26601:case 3010102:case 3010103:case 3010104:case 3010105:case 3010106:case 3010107:case 3010108:case 3010301:case 3010302:case 3010303:case 3010304:case 3020901:case 4021101:return 9999;default:return 0}},SuperMap.Plot.JBAlgoSymbolFactory.getDefaultStyle=function(t,e){var l={};if(100===t)switch(e){case 34800:case 34801:case 22200:case 28e3:case 28100:case 28200:case 28201:case 44400:l.color=l.strokeColor="#0000ff";break;case 42500:case 42700:l.color=l.strokeColor="#00ff00";break;case 42400:l.color=l.strokeColor="#006600"}return l},SuperMap.Plot.JBAlgoSymbolFactory.canPolylineConnect=function(t,e){if(100===t)switch(e){case 16500:case 17400:case 17401:case 17500:case 17501:case 23400:case 23500:case 23600:case 23700:case 27300:case 28200:case 28300:case 28400:case 37600:case 37601:case 37700:case 39e3:case 40100:case 40101:case 42200:case 42400:case 2350001:case 3032e3:case 4010800:case 4010801:case 4011100:case 4011101:case 4022100:case 4022101:case 4022102:return!0;default:return!1}},SuperMap.Plot.JBAlgoSymbolFactory.canSetSubSymbol=function(t,e){return SuperMap.Plot.AlgoSymbolFactory.getDefaultSubSymbols(t,e).length>0||100===this.libID&&(25200===e||3020901===e||23400===e||30800===e||26400===e)},SuperMap.Plot.JBAlgoSymbolFactory.zoomInCalSymbol=function(){return!1},SuperMap.Plot.JBAlgoSymbolFactory.zoomCalSymbol=function(t,e){if(100!==t)return!1;switch(e){case 28e3:case 28100:case 28200:case 28201:case 32300:return!0;default:return!1}}},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JBAlgoSymbolFactory=void 0;var o=l(224);e.JBAlgoSymbolFactory=o.JBAlgoSymbolFactory}]); /***/ }), /* 2 */ /***/ (function(module, exports) { /*! * * iclient-plot-algorithms-wj.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: undefined * version: v9.1.0 * */!function(t){var e={};function l(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,l),i.l=!0,i.exports}l.m=t,l.c=e,l.d=function(t,e,o){l.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},l.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.t=function(t,e){if(1&e&&(t=l(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(l.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)l.d(o,i,function(e){return t[e]}.bind(null,i));return o},l.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return l.d(e,"a",e),e},l.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},l.p="",l(l.s=190)}([function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0){var l;if(null==this.subSymbols[0].symbolData)return;l=this.subSymbols[0].symbolData.symbolSize.x;var o=SuperMap.Plot.PlottingUtil.polylineDistance(t),i=o*this.scaleValues[4],n=o*this.scaleValues[5],r=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i,t),a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(n,t),s=SuperMap.Plot.PlottingUtil.radian(a.pts,r.pts)*SuperMap.Plot.PlottingUtil.RTOD+270,p=60*SuperMap.Plot.PlottingUtil.distance(r.pts,a.pts)/l,u=new SuperMap.Geometry.Point(2*a.pts.x-r.pts.x,2*a.pts.y-r.pts.y),c=SuperMap.Plot.PlottingUtil.circlePoint(u,p,p,s),P=SuperMap.Plot.PlottingUtil.circlePoint(u,p,p,s-180);if(null==this.subSymbols.length)return;null!=this.subSymbols[0].code&&(this.computeSubSymbol(this.subSymbols[0],a.pts,p,s-90),this.computeSubSymbol(this.subSymbols[1],c,p,s-90),this.computeSubSymbol(this.subSymbols[2],P,p,s-90)),r.pts.isScalePoint=!0,r.pts.tag=this.scalePoints.length,this.scalePoints.push(r.pts.clone()),a.pts.isScalePoint=!0,a.pts.tag=this.scalePoints.length,this.scalePoints.push(a.pts.clone())}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length<2)return;if(this.scaleValues.length<6&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(.148),this.scaleValues.push(.4),this.scaleValues.push(.312),this.scaleValues.push(.2),this.scaleValues.push(.01)),t<=2)SuperMap.Plot.AlgoSymbol1004.prototype.computeScaleValues.apply(this,arguments);else if(3==t||4==t){var o=new SuperMap.Geometry.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),i=SuperMap.Plot.PlottingUtil.clonePoints(l);i.splice(0,2),i.unshift(o);var n=SuperMap.Plot.PlottingUtil.projectPtOnPolyLine(e,i),r=SuperMap.Plot.PlottingUtil.polylineDistance(i);if(-1===n.index&&3===t&&(n.pt=o.clone()),-1==n.index&&4==t)this.scaleValues[t+1]=.01;else{var a=SuperMap.Plot.PlottingUtil.clonePoints(i);a.splice(0,n.index+1),a.unshift(n.pt);var s=SuperMap.Plot.PlottingUtil.polylineDistance(a);r.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMap.Plot.AlgoSymbol6031001=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],r=this.scaleValues[2],a=this.scaleValues[3],s=o*n,p=new SuperMap.Geometry.Point(l.x+o*r,l.y+o*a);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,s,0),this.addScalePoint(p);var u=s,c=SuperMap.Plot.PlottingUtil.circlePoint(p,u,u,90);this.addScalePoint(c),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),n=SuperMap.Plot.PlottingUtil.polylineDistance(l),r=0,a=0;if(0===t)r=(e.x-i.x)/n,this.scaleValues[2]=r,a=(e.y-i.y)/n,this.scaleValues[3]=a;else if(1===t){r=this.scaleValues[2],a=this.scaleValues[3];var s=new SuperMap.Geometry.Point(i.x+n*r,i.y+n*a),p=SuperMap.Plot.PlottingUtil.distance(s,e);this.scaleValues[0]=p/n}}}}]),e}();SuperMap.Plot.AlgoSymbol5020802=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0&&this.computeSubSymbol(this.subSymbols[0],r,2*n,0);var h=new SuperMap.Geometry.Point(r.x+4*n,r.y),y=new SuperMap.Geometry.Point(r.x+n,r.y),f=[];f.push(h),f.push(y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,f,u);var g=new SuperMap.Geometry.Point(r.x+4*n,r.y+n/2),b=new SuperMap.Geometry.Point(r.x+4*n,r.y),M=[];M.push(g),M.push(b),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,M,u),this.addScalePoint(r,0);var m=SuperMap.Plot.PlottingUtil.circlePoint(r,2*n,2*n,90);this.addScalePoint(m,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l);if(0===o)return;var n=0,r=0;if(0===t&&(n=(e.x-i.x)/o,this.scaleValues[0]=n,r=(e.y-i.y)/o,this.scaleValues[1]=r),1===t){n=this.scaleValues[0],r=this.scaleValues[1];var a=new SuperMap.Geometry.Point(i.x+o*n,i.y+o*r),s=SuperMap.Plot.PlottingUtil.distance(a,e);this.scaleValues[2]=s/2/o}}}}]),e}();SuperMap.Plot.AlgoSymbol5035205=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMap.Plot.AlgoSymbol5035203=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0){var l;if(null==this.subSymbols[0].symbolData)return;l=this.subSymbols[0].symbolData.symbolSize.x;var o=SuperMap.Plot.PlottingUtil.polylineDistance(t),i=o*this.scaleValues[4],n=o*this.scaleValues[5],r=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i,t),a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(n,t),s=SuperMap.Plot.PlottingUtil.radian(a.pts,r.pts)*SuperMap.Plot.PlottingUtil.RTOD+270,p=60*SuperMap.Plot.PlottingUtil.distance(r.pts,a.pts)/l;if(null==this.subSymbols.length)return;null!=this.subSymbols[0].code&&this.computeSubSymbol(this.subSymbols[0],a.pts,p,s-90),r.pts.isScalePoint=!0,r.pts.tag=this.scalePoints.length,this.scalePoints.push(r.pts.clone()),a.pts.isScalePoint=!0,a.pts.tag=this.scalePoints.length,this.scalePoints.push(a.pts.clone())}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length<2)return;if(this.scaleValues.length<6&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(.148),this.scaleValues.push(.4),this.scaleValues.push(.312),this.scaleValues.push(.2),this.scaleValues.push(.01)),t<=2)SuperMap.Plot.AlgoSymbol1004.prototype.computeScaleValues.apply(this,arguments);else if(3==t||4==t){var o=new SuperMap.Geometry.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),i=SuperMap.Plot.PlottingUtil.clonePoints(l);i.splice(0,2),i.unshift(o);var n=SuperMap.Plot.PlottingUtil.projectPtOnPolyLine(e,i),r=SuperMap.Plot.PlottingUtil.polylineDistance(i);if(-1===n.index&&3===t&&(n.pt=o.clone()),-1==n.index&&4==t)this.scaleValues[t+1]=.01;else{var a=SuperMap.Plot.PlottingUtil.clonePoints(i);a.splice(0,n.index+1),a.unshift(n.pt);var s=SuperMap.Plot.PlottingUtil.polylineDistance(a);r.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMap.Plot.AlgoSymbol5035202=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0){this.computeSubSymbol(this.subSymbols[0],c,u,a);var P=SuperMap.Plot.PlottingUtil.circlePoint(t[0],2.1*u,2.1*u,a),S=SuperMap.Plot.PlottingUtil.circlePoint(t[0],3*u,3*u,a),h=[];h.push(P),h.push(S),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h);var y=SuperMap.Plot.PlottingUtil.circlePoint(S,.2*u,.2*u,a),f=SuperMap.Plot.PlottingUtil.circlePoint(S,.05*u,.05*u,a+90),g=SuperMap.Plot.PlottingUtil.circlePoint(S,.05*u,.05*u,a+270),b=[];b.push(y),b.push(f),b.push(g);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,b,{fillLimit:!0,fill:!0})}var M=SuperMap.Plot.PlottingUtil.circlePoint(n,o,o,a+90);this.addScalePoint(M,0),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=.15&&(a=.15),this.scaleValues[1]=a}}}}]),e}();SuperMap.Plot.AlgoSymbol5035201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;le.x),c=[];u?(c.push(l),c.push(s)):(c.push(l),c.push(p)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,c);var P=[];u?(P.push(o),P.push(p)):(P.push(o),P.push(s)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P);var S,h,y,f,g,b=.37*n,M=SuperMap.Plot.PlottingUtil.linePnt(i,e,b),m=.09*n,d=[];d.push(M),d.push(new SuperMap.Geometry.Point(M.x,M.y+m)),this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,d,{lineTypeLimit:!0}),u?(h=(S=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(m,i,M)).pntLeft,y=(S=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(2*m,i,M)).pntLeft,f=(S=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(m,h,y)).pntRight,g=S.pntLeft):(h=(S=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(m,i,M)).pntRight,y=(S=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(2*m,i,M)).pntRight,f=(S=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(m,h,y)).pntRight,g=S.pntLeft);var v=[];v.push(h),v.push(y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,v,{lineTypeLimit:!0});var O=[];O.push(f),O.push(g),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,O,{lineTypeLimit:!0}),this.addText("催",M,m,0),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol5034801=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],M,i,p-90),this.finish()}}}}]),e}();SuperMap.Plot.AlgoSymbol5034203=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],r=o*this.scaleValues[2],a=o*this.scaleValues[3],s=new SuperMap.Geometry.Point(l.x+r,l.y+a),p=o*n,u=new SuperMap.Geometry.Point(s.x-.5*p,s.y);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],u,p,0);var c=new SuperMap.Geometry.Point(s.x+.5*p,s.y),P=SuperMap.Plot.PlottingUtil.circlePoint(c,.3*p,.3*p,-90),S=SuperMap.Plot.PlottingUtil.circlePoint(c,.5*p,.5*p,90),h=[];h.push(P),h.push(S),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h);var y=SuperMap.Plot.PlottingUtil.circlePoint(P,.2*p,.2*p,-90),f=SuperMap.Plot.PlottingUtil.circlePoint(P,.05*p,.05*p,0),g=SuperMap.Plot.PlottingUtil.circlePoint(P,.05*p,.05*p,180),b=[];b.push(y),b.push(f),b.push(g);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,b,{fillLimit:!0,fill:!0});var M=SuperMap.Plot.PlottingUtil.circlePoint(s,p,p,180);this.addScalePoint(M,0),this.addScalePoint(s,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),n=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===n)return;var r=0,a=0,s=0,p=0;if(0===t){r=n*(s=this.scaleValues[2]),a=n*(p=this.scaleValues[3]);var u=new SuperMap.Geometry.Point(i.x+r,i.y+a),c=SuperMap.Plot.PlottingUtil.distance(e,u);this.scaleValues[0]=c/n}else 1===t&&(s=(r=e.x-i.x)/n,p=(a=e.y-i.y)/n,this.scaleValues[2]=s,this.scaleValues[3]=p)}}}]),e}();SuperMap.Plot.AlgoSymbol5034202=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],r=o*this.scaleValues[2],a=o*this.scaleValues[3],s=new SuperMap.Geometry.Point(l.x+r,l.y+a),p=o*n,u=new SuperMap.Geometry.Point(s.x-.5*p,s.y);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],u,p,0);var c=new SuperMap.Geometry.Point(s.x+.5*p,s.y),P=SuperMap.Plot.PlottingUtil.circlePoint(c,.5*p,.5*p,-90),S=SuperMap.Plot.PlottingUtil.circlePoint(c,.3*p,.3*p,90),h=[];h.push(P),h.push(S),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h);var y=SuperMap.Plot.PlottingUtil.circlePoint(S,.2*p,.2*p,90),f=SuperMap.Plot.PlottingUtil.circlePoint(S,.05*p,.05*p,0),g=SuperMap.Plot.PlottingUtil.circlePoint(S,.05*p,.05*p,180),b=[];b.push(y),b.push(f),b.push(g);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,b,{fillLimit:!0,fill:!0});var M=SuperMap.Plot.PlottingUtil.circlePoint(s,p,p,180);this.addScalePoint(M,0),this.addScalePoint(s,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),n=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===n)return;var r=0,a=0,s=0,p=0;if(0===t){s=n*(r=this.scaleValues[2]),p=n*(a=this.scaleValues[3]);var u=new SuperMap.Geometry.Point(i.x+s,i.y+p),c=SuperMap.Plot.PlottingUtil.distance(e,u);this.scaleValues[0]=c/n}else 1===t&&(r=(s=e.x-i.x)/n,a=(p=e.y-i.y)/n,this.scaleValues[2]=r,this.scaleValues[3]=a)}}}]),e}();SuperMap.Plot.AlgoSymbol5034201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],n,2*i,d),this.addScalePoint(u.pntRight,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length.48&&(i=.48),this.scaleValues[0]=i}}}}]),e}();SuperMap.Plot.AlgoSymbol5033803=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],n,2*i,y-90),this.addScalePoint(s.pntLeft,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length.48&&(i=.48),this.scaleValues[0]=i}}}}]),e}();SuperMap.Plot.AlgoSymbol5033802=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],c,i,p+270),this.finish()}}}}]),e}();SuperMap.Plot.AlgoSymbol5033001=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[2]=2*o}var i=l*this.scaleValues[0],n=this.scaleValues[1],r=l*this.scaleValues[2],a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i,e);if(a.bfind){var s=a.pts.clone(),p=e[a.index].clone(),u=e[a.index+1].clone(),c=SuperMap.Plot.PlottingUtil.radian(p,u)*SuperMap.Plot.PlottingUtil.RTOD,P=SuperMap.Plot.PlottingUtil.circlePoint(s,r,r,c+n),S=[];S.push(a.pts),S.push(P);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S,{lineTypeLimit:!0,surroundLineLimit:!0});var h=SuperMap.Plot.PlottingUtil.radian(s,P)*SuperMap.Plot.PlottingUtil.RTOD,y=new SuperMap.Geometry.Point(-.2*r,.05*r),f=new SuperMap.Geometry.Point(-.2*r,-.05*r),g=SuperMap.Plot.PlottingUtil.coordinateTrans(P,y,h),b=SuperMap.Plot.PlottingUtil.coordinateTrans(P,f,h),M=[];M.push(P),M.push(g),M.push(b);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,M,{lineTypeLimit:!0,surroundLineLimit:!0,fillLimit:!0,fill:!0});var m=.3*r,d=.6*r,v=i-d;v<0&&(v=0);var O=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(v,e);if(O.bfind){var U=[];U.push(O.pts);for(var w=O.index;w>=0;w--)U.push(e[w]);var L=[];L.push(O.pts);for(var _=O.index+1;_1){var T=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(V,U);if(T.bfind){(A=[]).push(T.pts);for(var E=T.index+1;E1&&(U=U.concat(A))}}if(U.length>1&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,U),L.length>1){var x=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(V,L);if(x.bfind){(A=[]).push(x.pts);for(var j=x.index+1;j1&&(L=L.concat(A))}}var Y=i+d;Y>l&&(Y=l),Y=l-Y;for(var C=[],I=L.length-1;I>=0;I--)C.push(L[I]);var B=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(Y,C);if(B.bfind){var R=[];R.push(B.pts);for(var G=B.index;G>=0;G--)R.push(C[G]);var N=[];N.push(B.pts);for(var D=B.index+1;D1){var k=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(V,R);if(k.bfind){(A=[]).push(k.pts);for(var z=k.index+1;z1&&(R=R.concat(A))}}if(R.length>1&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,R),N.length>1){var F=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(V,N);if(F.bfind){(A=[]).push(F.pts);for(var K=F.index+1;K1&&(N=N.concat(A))}}if(N.length>1&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,N),this.subSymbols.length>0){if(null!==this.subSymbols[0].symbolData)for(var W=0;Wt||1S&&(a=u,s=P,p=S)}}if(-1===a||a>n.length-1)return;for(var h=0,y=0;yi)return;this.scaleValues[0]=h/i}if(1===t){var M=i*this.scaleValues[0],m=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(M,o);if(!m.bfind)return;var d=m.pts.clone(),v=new SuperMap.Geometry.Point(o[m.index].x,o[m.index].y),O=new SuperMap.Geometry.Point(o[m.index+1].x,o[m.index+1].y),U=SuperMap.Plot.PlottingUtil.radian(v,O)*SuperMap.Plot.PlottingUtil.RTOD,w=SuperMap.Plot.PlottingUtil.radian(d,e)*SuperMap.Plot.PlottingUtil.RTOD;this.scaleValues[1]=w-U;var L=SuperMap.Plot.PlottingUtil.distance(d,e);this.scaleValues[2]=L/i}}}}]),e}();SuperMap.Plot.AlgoSymbol5032003=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),r=180*SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)/Math.PI,a=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);0this.scaleValues.length&&(this.scaleValues.push(.05),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=1.5*this.getDefaultSubSymbolSize();this.subSymbolScaleValue=i/o,this.subSymbolScaleValue>.2&&(this.subSymbolScaleValue=.2),this.scaleValues[0]=this.subSymbolScaleValue}var n=this.scaleValues[0],r=this.scaleValues[2],a=this.scaleValues[3],s=o*n,p=new SuperMap.Geometry.Point(l.x+o*r,l.y+o*a);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,o*n,0);for(var u=0;u=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),n=SuperMap.Plot.PlottingUtil.polylineDistance(l),r=0,a=0;if(0===t)r=(e.x-i.x)/n,this.scaleValues[2]=r,a=(e.y-i.y)/n,this.scaleValues[3]=a;else if(1===t){r=this.scaleValues[2],a=this.scaleValues[3];var s=new SuperMap.Geometry.Point(i.x+n*r,i.y+n*a),p=SuperMap.Plot.PlottingUtil.distance(s,e);this.scaleValues[0]=p/n}}}}]),e}();SuperMap.Plot.AlgoSymbol5022301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[1]=o}var i=this.scaleValues[0],n=this.scaleValues[1],r=this.scaleValues[2],a=l*i,s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(a,e);if(s.bfind){var p=s.index,u=s.pts,c=n*l,P=u,S=new SuperMap.Geometry.Point(c,-.5*c),h=new SuperMap.Geometry.Point(c,.5*c),y=new SuperMap.Geometry.Point(-c,.5*c),f=new SuperMap.Geometry.Point(-c,-.5*c),g=SuperMap.Plot.PlottingUtil.coordinateTrans(P,S,r),b=SuperMap.Plot.PlottingUtil.coordinateTrans(P,h,r),M=SuperMap.Plot.PlottingUtil.coordinateTrans(P,y,r),m=SuperMap.Plot.PlottingUtil.coordinateTrans(P,f,r);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,[g,b,M,m,g]);var d=new SuperMap.Geometry.Point(.5*c,.5*c),v=new SuperMap.Geometry.Point(.5*c,-.5*c),O=SuperMap.Plot.PlottingUtil.coordinateTrans(P,v,r),U=SuperMap.Plot.PlottingUtil.coordinateTrans(P,d,r);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[O,U]);var w=new SuperMap.Geometry.Point(0,.5*c),L=new SuperMap.Geometry.Point(0,-.5*c),_=SuperMap.Plot.PlottingUtil.coordinateTrans(P,w,r),V=SuperMap.Plot.PlottingUtil.coordinateTrans(P,L,r);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[_,V]);var A=new SuperMap.Geometry.Point(c,0),T=new SuperMap.Geometry.Point(2*c,0),E=SuperMap.Plot.PlottingUtil.coordinateTrans(P,A,r),x=SuperMap.Plot.PlottingUtil.coordinateTrans(P,T,r);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[E,x]);var j=new SuperMap.Geometry.Point(2*c,.15*c),Y=new SuperMap.Geometry.Point(2*c,-.15*c),C=new SuperMap.Geometry.Point(2.6*c,0),I=SuperMap.Plot.PlottingUtil.coordinateTrans(P,j,r),B=SuperMap.Plot.PlottingUtil.coordinateTrans(P,Y,r),R=SuperMap.Plot.PlottingUtil.coordinateTrans(P,C,r);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,[I,B,R],{lineTypeLimit:!0,lineColorLimit:!0,strokeColor:"#FF0000",strokeOpacity:1,color:"#FF0000",opacity:1,surroundLineLimit:!0,fillLimit:!0,fill:!0});var G,N=[],D=[];for(G=0;G<=p;G++)N.push(e[G]);for(N.push(u),D.push(u),G=p+1;Gk){var z=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(a-k,N);if(z.bfind){var F=z.pts,K=z.index,W=[];for(G=0;G<=K;G++)W.push(N[G]);W.push(F),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,W)}}if(l-a>k){var J=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(k,D);if(J.bfind){var q=J.pts,Z=J.index;for((W=[]).push(q),G=Z+1;G1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).lengthc&&(r=s,a=c)}}if(-1===r)return SuperMap.Plot.PlottingUtil.distance(n,o[0])>SuperMap.Plot.PlottingUtil.distance(n,o[o.length-1])?void(r=o.length-1):void(r=0);var P=0;if(0===r)P=SuperMap.Plot.PlottingUtil.distance(o[0],u);else for(var S=0;Si)return;this.scaleValues[0]=P/i}else if(1===t){var h=this.scaleValues[0]*i,y=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(h,o);if(!y.bfind)return;var f=y.pts,g=SuperMap.Plot.PlottingUtil.distance(f,e)/i;g>.5&&(g=.5),this.scaleValues[1]=g;var b=SuperMap.Plot.PlottingUtil.radian(f,e)*SuperMap.Plot.PlottingUtil.RTOD;this.scaleValues[2]=b+90}}}}]),e}();SuperMap.Plot.AlgoSymbol5022002=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[1]=o}var i=this.scaleValues[0],n=this.scaleValues[1],r=this.scaleValues[2],a=l*i,s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(a,e);if(s.bfind){var p=s.index,u=s.pts,c=n*l*.5,P=new SuperMap.Geometry.Point(0,0),S=new SuperMap.Geometry.Point(.5*c,0),h=new SuperMap.Geometry.Point(0,c),y=[],f=SuperMap.Plot.PlottingUtil.coordinateTrans(u,P,r);y.push(f);var g=SuperMap.Plot.PlottingUtil.coordinateTrans(u,S,r);y.push(g);var b=SuperMap.Plot.PlottingUtil.coordinateTrans(u,h,r);y.push(b),this.addCell(SuperMap.Plot.SymbolType.ELLIPSESYMBOL,y);var M=new SuperMap.Geometry.Point(0,-2*c),m=new SuperMap.Geometry.Point(.15*c,-1.6*c),d=new SuperMap.Geometry.Point(-.15*c,-1.6*c),v=SuperMap.Plot.PlottingUtil.coordinateTrans(u,M,r),O=SuperMap.Plot.PlottingUtil.coordinateTrans(u,m,r),U=SuperMap.Plot.PlottingUtil.coordinateTrans(u,d,r),w=[];w.push(v),w.push(O),w.push(U);var L={surroundLineFlag:!1,fillLimit:!0,fill:!0};this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,w,L);var _=new SuperMap.Geometry.Point(0,-c),V=SuperMap.Plot.PlottingUtil.coordinateTrans(u,_,r);(w=[]).push(V),w.push(v.clone()),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,w,L);var A,T=[],E=[];for(A=0;A<=p;A++)T.push(e[A]);for(T.push(u),E.push(u),A=p+1;Ax){var j=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(a-x,T);if(j.bfind){var Y=j.pts,C=j.index,I=[];for(A=0;A<=C;A++)I.push(T[A]);I.push(Y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,I)}}if(l-a>x){var B=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(x,E);if(B.bfind){var R=B.pts,G=B.index;for((I=[]).push(R),A=G+1;Ac&&(r=s,a=c)}}if(-1===r)return SuperMap.Plot.PlottingUtil.distance(n,o[0])>SuperMap.Plot.PlottingUtil.distance(n,o[o.length-1])?void(r=o.length-1):void(r=0);var P=0;if(0===r)P=SuperMap.Plot.PlottingUtil.distance(o[0],u);else for(var S=0;Si)return;this.scaleValues[0]=P/i}else if(1===t){var h=this.scaleValues[0]*i,y=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(h,o);if(!y.bfind)return;var f=y.pts,g=SuperMap.Plot.PlottingUtil.distance(f,e)/i;g>.5&&(g=.5),this.scaleValues[1]=g;var b=SuperMap.Plot.PlottingUtil.radian(f,e)*SuperMap.Plot.PlottingUtil.RTOD;this.scaleValues[2]=b+90}}}}]),e}();SuperMap.Plot.AlgoSymbol5022001=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||n<=0)&&(n=.3);var r=1.5*n;2===t.length?(this.isEdit||(this.scaleValues[3]=this.scaleValues[2]+r),l=this.scaleValues[2],o=this.scaleValues[3]):(SuperMap.Plot.PlottingUtil.equalFuzzy(this.scaleValues[4],0)&&(this.scaleValues=[],this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(.125)),this.isEdit||(this.scaleValues[4]=this.scaleValues[3]+r),l=this.scaleValues[3],o=this.scaleValues[4]);var a=i*l,s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(a,e);if(s.bfind){var p=s.pts,u=i*o;if((s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(u,e)).bfind){var c=s.index,P=s.pts,S=new SuperMap.Geometry.Point(p.x,p.y),h=new SuperMap.Geometry.Point(P.x,P.y),y=SuperMap.Plot.PlottingUtil.radian(S,h)*SuperMap.Plot.PlottingUtil.RTOD,f=[];f.push(P);for(var g=c+1;g0&&this.computeSubSymbol(this.subSymbols[0],S,b,y),this.scalePoints=[],this.addScalePoint(P);var M=SuperMap.Plot.PlottingUtil.circlePoint(S,b/2,b/2,y+90);this.addScalePoint(M),this.finish()}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(o),n=0,r=0;if(2===l.length?(n=this.scaleValues[2],r=this.scaleValues[3]):(n=this.scaleValues[3],r=this.scaleValues[4]),0===t){for(var a=r-n,s=e.clone(),p=[],u=0;ug&&(P=h,c=f,S=g)}}if(-1===P||P>p.length-1)return;for(var b=0,M=0;Mi)return;var m=b/i;if(m>.7||m-a<0)return;2===l.length?(this.scaleValues[2]=m-a,this.scaleValues[3]=m):(this.scaleValues[3]=m-a,this.scaleValues[4]=m)}else if(1===t){var d=i*n,v=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(d,o);if(!v.bfind)return;var O=v.pts,U=(2*SuperMap.Plot.PlottingUtil.distance(O,e)+d)/i;if(.7l.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}}}]),e}();SuperMap.Plot.AlgoSymbol5010401=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),r=SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,a=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],n,a,r);for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var c=i.endIndex+1;c<=e.length-1;c++)p.push(e[c]);var P=SuperMap.Plot.PlottingUtil.polylineDistance(p);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,p)}var S=this.subText,h=.15*P,y=new SuperMap.Geometry.Point(i.endPt.x+h/2,i.endPt.y-h/2),f=r;this.addText(S,y,h,f);var g=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*l,e),b=SuperMap.Plot.PlottingUtil.circlePoint(g.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,r+90);this.addScalePoint(b,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=i.length)){var a=i[0].clone(),s=i[0].clone();for(n=0;ni[n].x&&(a=i[n].clone()),s.x=2&&this.controlPoints.length=s.length)this.finish();else{var c=s[0].clone(),P=s[0].clone();for(p=0;ps[p].x&&(c=s[p].clone()),P.x=c.x&&((S=[]).push(c),S.push(h),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S));var y=new SuperMap.Geometry.Point(r.x+n/2,P.y);y.x<=P.x&&y.x>=c.x&&((S=[]).push(P),S.push(y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S)),this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],r,n,0),this.addScalePoint(r,0);var f=SuperMap.Plot.PlottingUtil.circlePoint(r,n/2,n/2,90);this.addScalePoint(f,1),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),n=e,r=0,a=0;if(0===t){if(!SuperMap.Plot.PlottingUtil.ptIsInPolygon(l,n))return;r=(n.x-i.x)/o,this.scaleValues[0]=r,a=(n.y-i.y)/o,this.scaleValues[1]=a}if(1===t){r=this.scaleValues[0],a=this.scaleValues[1];var s=new SuperMap.Geometry.Point(i.x+r*o,i.y+a*o),p=2*SuperMap.Plot.PlottingUtil.distance(n,s);this.scaleValues[2]=p/o}}}}]),e}();SuperMap.Plot.AlgoSymbol3002005=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(2>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.polylineDistance(e),o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),i=this.scaleValues[0],n=this.scaleValues[1],r=l*this.scaleValues[2],a=new SuperMap.Geometry.Point(o.x+l*i,o.y+l*n),s=new SuperMap.Geometry.Point(a.x+1,a.y),p=[];e.push(e[0].clone());for(var u=0;u=p.length)this.finish();else{var P=p[0].clone(),S=p[0].clone();for(u=0;up[u].x&&(P=p[u].clone()),S.x=P.x&&((h=[]).push(P),h.push(y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h));var f=new SuperMap.Geometry.Point(a.x+r/2,S.y);f.x<=S.x&&f.x>=P.x&&((h=[]).push(S),h.push(f),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h));var g=SuperMap.Plot.PlottingUtil.radian(y,f)*SuperMap.Plot.PlottingUtil.RTOD;this.addText("火",a,r,g),this.addScalePoint(a,0);var b=SuperMap.Plot.PlottingUtil.circlePoint(a,r/2,r/2,90);this.addScalePoint(b,1),this.finish()}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),n=e,r=0,a=0;if(0===t){if(!SuperMap.Plot.PlottingUtil.ptIsInPolygon(l,n))return;r=(n.x-i.x)/o,this.scaleValues[0]=r,a=(n.y-i.y)/o,this.scaleValues[1]=a}if(1===t){r=this.scaleValues[0],a=this.scaleValues[1];var s=new SuperMap.Geometry.Point(i.x+r*o,i.y+a*o),p=2*SuperMap.Plot.PlottingUtil.distance(n,s);this.scaleValues[2]=p/o}}}}]),e}();SuperMap.Plot.AlgoSymbol3002004=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length=s.length)this.finish();else{var c=s[0].clone(),P=s[0].clone();for(p=0;ps[p].x&&(c=s[p].clone()),P.xl.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),n=e,r=0,a=0;if(0===t){if(!SuperMap.Plot.PlottingUtil.ptIsInPolygon(l,n))return;r=(n.x-i.x)/o,this.scaleValues[0]=r,a=(n.y-i.y)/o,this.scaleValues[1]=a}if(1===t){r=this.scaleValues[0],a=this.scaleValues[1];var s=new SuperMap.Geometry.Point(i.x+r*o,i.y+a*o),p=2*SuperMap.Plot.PlottingUtil.distance(n,s);this.scaleValues[2]=p/o}}}}]),e}();SuperMap.Plot.AlgoSymbol3002002=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol3002001=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="震",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol30020),e}();SuperMap.Plot.AlgoSymbol3002001=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0){var h=SuperMap.Plot.PlottingUtil.radian(t[0],t[1])*SuperMap.Plot.PlottingUtil.RTOD,y=.5*SuperMap.Plot.PlottingUtil.distance(r,a);this.computeSubSymbol(this.subSymbols[0],n,y,h+180)}var f=SuperMap.Plot.PlottingUtil.linePnt(t[t.length-1],t[t.length-2],e),g=new SuperMap.Geometry.Point(f.x,f.y),b=new SuperMap.Geometry.Point(f.x,f.y);g=SuperMap.Plot.PlottingUtil.rotateAngle(t[t.length-1],1/6*Math.PI,g),b=SuperMap.Plot.PlottingUtil.rotateAngle(t[t.length-1],11/6*Math.PI,b);var M=[];M.push(g),M.push(t[t.length-1]),M.push(b),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,M),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol3001301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],a,s,0),this.addText("盗",a,s,0),this.addScalePoint(a,0);var p=SuperMap.Plot.PlottingUtil.circlePoint(a,s,s,90);this.addScalePoint(p,1),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length0&&this.computeSubSymbol(this.subSymbols[0],r,s,0),this.addText("私",a,s,0),this.addScalePoint(a,0);var p=SuperMap.Plot.PlottingUtil.circlePoint(a,s,s,90);this.addScalePoint(p,1),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),r=SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,a=.8*SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);this.subSymbols.length>0&&(this.computeSubSymbol(this.subSymbols[0],n,a,r+180),this.computeSubSymbol(this.subSymbols[1],n,.5*a,r+180));for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var c=i.endIndex+1;c<=e.length-1;c++)p.push(e[c]);this.addArrow(p)}var P=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*l,e),S=SuperMap.Plot.PlottingUtil.circlePoint(P.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,r+90);this.addScalePoint(S,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),r=SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,a=.8*SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],n,a,r+180);var s=[],p=new SuperMap.Geometry.Point(0,0);p.x=-a/6,p.y=a/3;var u=new SuperMap.Geometry.Point(0,0),c=SuperMap.Plot.PlottingUtil.rotateAngle(u,r*SuperMap.Plot.PlottingUtil.DTOR,p),P=new SuperMap.Geometry.Point(c.x+n.x,c.y+n.y);p.x=a/6,p.y=a/3;var S=SuperMap.Plot.PlottingUtil.rotateAngle(u,r*SuperMap.Plot.PlottingUtil.DTOR,p),h=new SuperMap.Geometry.Point(S.x+n.x,S.y+n.y);p.x=0,p.y=-a/3;var y=SuperMap.Plot.PlottingUtil.rotateAngle(u,r*SuperMap.Plot.PlottingUtil.DTOR,p),f=new SuperMap.Geometry.Point(y.x+n.x,y.y+n.y);s.push(P),s.push(h),s.push(f);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,s,{fillLimit:!0,fill:!0});for(var g=[],b=[],M=0;M<=i.startIndex;M++)g.push(e[M]);if(g.push(i.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,g),i.endIndex<=e.length){b.push(i.endPt);for(var m=i.endIndex+1;m<=e.length-1;m++)b.push(e[m]);this.addArrow(b)}var d=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*l,e),v=SuperMap.Plot.PlottingUtil.circlePoint(d.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,r+90);this.addScalePoint(v,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),r=SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,a=.8*SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);this.subSymbols.length>0&&(this.computeSubSymbol(this.subSymbols[0],n,.05*a,r+90),this.computeSubSymbol(this.subSymbols[1],n,a,r+180));for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var c=i.endIndex+1;c<=e.length-1;c++)p.push(e[c]);this.addArrow(p)}var P=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*l,e),S=SuperMap.Plot.PlottingUtil.circlePoint(P.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,r+90);this.addScalePoint(S,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),r=SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,a=.8*SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],n,a,r+180);for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var c=i.endIndex+1;c<=e.length-1;c++)p.push(e[c]);this.addArrow(p)}var P=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*l,e),S=SuperMap.Plot.PlottingUtil.circlePoint(P.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,r+90);this.addScalePoint(S,0),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol3000804=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol3000803=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol3000801),e}();SuperMap.Plot.AlgoSymbol3000803=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol3000802=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol3000801),e}();SuperMap.Plot.AlgoSymbol3000802=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),r=SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,a=.8*SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],n,a,r);for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var c=i.endIndex+1;c<=e.length-1;c++)p.push(e[c]);this.addArrow(p)}var P=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*l,e),S=SuperMap.Plot.PlottingUtil.circlePoint(P.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,r+90);this.addScalePoint(S,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length.8?n=.8:n<.2&&(n=.2),this.scaleValues[1]=n}}}}]),e}();SuperMap.Plot.AlgoSymbol2122301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(2>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.POLYBEZIERCLOSESYMBOL,e);for(var l=SuperMap.Plot.PlottingUtil.polylineDistance(e),o=e[0].x,i=e[0].x,n=e[0].y,r=e[0].y,a=[],s=0;se[s].x&&(o=e[s].x),ie[s].y&&(n=e[s].y),r10&&(p=10);for(var u=.2*p,c=[],P=0;P<360;P+=18){var S=SuperMap.Plot.PlottingUtil.circlePoint(new SuperMap.Geometry.Point(0,0),u,u,P);c.push(S)}for(var h=0,y=o;y0?new SuperMap.Geometry.Point(S.pntLeft.x,S.pntLeft.y):new SuperMap.Geometry.Point(S.pntRight.x,S.pntRight.y);var h=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(a,P,c.pt),y=[];if(y.push(h.pntRight),y.push(P),y.push(h.pntLeft),0===u){var f=new SuperMap.Geometry.Point(P.x,P.y);f.isScalePoint=!0,f.tag=0,this.scalePoints.push(f)}this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,y,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0})}}var g=SuperMap.Plot.PlottingUtil.radian(t[t.length-2],t[t.length-1])*SuperMap.Plot.PlottingUtil.RTOD,b=.1*i,M=SuperMap.Plot.PlottingUtil.distance(t[t.length-1],t[t.length-2]),m=SuperMap.Plot.PlottingUtil.linePnt(t[t.length-2],t[t.length-1],.5*b+M);this.addText(this.subText,m,b,g),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),o=SuperMap.Plot.PlottingUtil.pointIsRightToLine(l[0],l[1],e);this.scaleValues[0]=o?-1:1}}}]),e}();SuperMap.Plot.AlgoSymbol2121601=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol2121507=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="复",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol2121505),e}();SuperMap.Plot.AlgoSymbol2121507=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol2121506=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="墩",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol2121505),e}();SuperMap.Plot.AlgoSymbol2121506=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],n,y,h),this.addScalePoint(u[0],0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!=t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length.24&&(i=.24),this.scaleValues[0]=i}}}}]),e}();SuperMap.Plot.AlgoSymbol2121504=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lo&&So){var h;h=P>o?u:c;var y=this.getLineAddCircleIntersectPts(u,c,s);y.length>0&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[y[0],h])}else{var f=SuperMap.Plot.PlottingUtil.projectPoint(a,u,c);if(SuperMap.Plot.PlottingUtil.distance(a,f)>=o)this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[u,c]);else if(SuperMap.Plot.PlottingUtil.pointIsOnPolyLine(f,u,c)){var g=this.getLineAddCircleIntersectPts(u,c,s);if(g.length>0){g.unshift(u),g.push(c);for(var b=0;b=t.length-1?SuperMap.Plot.PlottingUtil.radian(t[t.length-2],t[t.length-1])*SuperMap.Plot.PlottingUtil.RTOD:SuperMap.Plot.PlottingUtil.radian(t[n.index],t[n.index+1])*SuperMap.Plot.PlottingUtil.RTOD,this.subSymbols.length>0){if(null!==this.subSymbols[0].symbolData)for(var M=0;MSuperMap.Plot.PlottingUtil.distance(i,l)}},{key:"getLineAddCircleIntersectPts",value:function(t,e,l){var o=l.slice();o[0].x===o[o.length-1].x&&o[0].y===o[o.length-1].y||o.push(o[0]);for(var i=[],n=0;ne.x){for(var u=0;ui[P+1].x){var S=i[P];i[P]=i[P+1],i[P+1]=S}}else if(t.y>e.y){for(var h=0;hi[f+1].y){var g=i[f];i[f]=i[f+1],i[f+1]=g}return i}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===t){for(var i=0,n=-1,r=null,a=0;a1&&(P=1),this.scaleValues[0]=P}if(1===t){var S=this.scaleValues[0]*o,h=SuperMap.Plot.PlottingUtil.findPointInPolyLine(l,S);if(-1===h.index)return;var y=SuperMap.Plot.PlottingUtil.distance(h.pt,e)/o;y>.4&&(y=.4),this.scaleValues[1]=y}}}}]),e}();SuperMap.Plot.AlgoSymbol2092101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l1&&(P.push(S),S=[]):S.push(r.pt[h]);S.length>1&&P.push(S);for(var y=0;ythis.scaleValues.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l),n=SuperMap.Plot.PlottingUtil.polylineDistance(i),r=new SuperMap.Geometry.Point(e.x,e.y);if(0===t){var a=l[0],s=SuperMap.Plot.PlottingUtil.distance(a,r);this.scaleValues[1]=2*s/o}else if(1===t)a=l[0],s=SuperMap.Plot.PlottingUtil.distance(a,r),this.scaleValues[0]=s/o;else if(2===t){for(var p=-1,u=0,c=new SuperMap.Geometry.Point(0,0),P=0;Pf&&(p=P,c=y,u=f)}}if(-1===p||p>i.length-1)return;for(var g=[],b=0;bn)return;this.scaleValues[2]=M/n}else if(3===t){var m=n*this.scaleValues[2],d=SuperMap.Plot.PlottingUtil.findPointInPolyLine(i,m);if(-1===d.index)return;var v=SuperMap.Plot.PlottingUtil.distance(d.pt,e);this.scaleValues[3]=v/o}}}},{key:"GetCurvePts",value:function(t,e,l){for(var o,i=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t),n=SuperMap.Plot.PlottingUtil.polylineDistance(i),r=n*e,a=n*l/2,s=[],p=[],u=i[0],c=!1,P=i[0],S=1;S1&&0===b?this.ClearCurvePts2D(P,u,h,p,M,s):s.concat(M),p=(p=[]).concat(M),P=u,u=f}S===i.length-1&&(f=i[i.length-1],M=this.GetCosPts2D(u,f,r,a),s=p.length>1&&M.length>1?this.ClearCurvePts2D(P,u,h,p,M,s):s.concat(M))}}return{pt:s,scalePt:o}}},{key:"GetCosPts2D",value:function(t,e,l,o){for(var i=[],n=SuperMap.Plot.PlottingUtil.distance(t,e),r=l/30,a=0;a=2&&this.controlPoints.length0){var l;if(null==this.subSymbols[0].symbolData)return;l=this.subSymbols[0].symbolData.symbolSize.x;var o=SuperMap.Plot.PlottingUtil.polylineDistance(t),i=o*this.scaleValues[4],n=o*this.scaleValues[5],r=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i,t),a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(n,t),s=SuperMap.Plot.PlottingUtil.radian(a.pts,r.pts)*SuperMap.Plot.PlottingUtil.RTOD+270,p=100*SuperMap.Plot.PlottingUtil.distance(r.pts,a.pts)/l;if(null==this.subSymbols.length)return;if(null!=this.subSymbols[0].code){this.computeSubSymbol(this.subSymbols[0],a.pts,p,s-90);var u=SuperMap.Plot.PlottingUtil.circlePoint(a.pts,p,p,s+90),c=SuperMap.Plot.PlottingUtil.circlePoint(a.pts,2*p,2*p,s+90),P=[];P.push(u),P.push(c),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P);var S=SuperMap.Plot.PlottingUtil.circlePoint(c,.2*p,.2*p,s+90),h=SuperMap.Plot.PlottingUtil.circlePoint(c,.05*p,.05*p,s),y=SuperMap.Plot.PlottingUtil.circlePoint(c,.05*p,.05*p,s+180),f=[];f.push(S),f.push(h),f.push(y);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,f,{fillLimit:!0,fill:!0})}r.pts.isScalePoint=!0,r.pts.tag=this.scalePoints.length,this.scalePoints.push(r.pts.clone()),a.pts.isScalePoint=!0,a.pts.tag=this.scalePoints.length,this.scalePoints.push(a.pts.clone())}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length<2)return;if(this.scaleValues.length<6&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(.148),this.scaleValues.push(.4),this.scaleValues.push(.312),this.scaleValues.push(.2),this.scaleValues.push(.01)),t<=2)SuperMap.Plot.AlgoSymbol1004.prototype.computeScaleValues.apply(this,arguments);else if(3==t||4==t){var o=new SuperMap.Geometry.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),i=SuperMap.Plot.PlottingUtil.clonePoints(l);i.splice(0,2),i.unshift(o);var n=SuperMap.Plot.PlottingUtil.projectPtOnPolyLine(e,i),r=SuperMap.Plot.PlottingUtil.polylineDistance(i);if(3===t&&null==n.pt&&(n.pt=o.clone()),-1==n.index&&4==t)this.scaleValues[t+1]=.01;else{var a=SuperMap.Plot.PlottingUtil.clonePoints(i);a.splice(0,n.index+1),a.unshift(n.pt);var s=SuperMap.Plot.PlottingUtil.polylineDistance(a);r.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMap.Plot.AlgoSymbol60310=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.24&&(i=.24),this.scaleValues[0]=i}}}}]),e}();SuperMap.Plot.AlgoSymbol2121505=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol60301=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="爆",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol30020),e}();SuperMap.Plot.AlgoSymbol60301=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[2]=2*o}var i=l*this.scaleValues[0],n=this.scaleValues[1],r=l*this.scaleValues[2],a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i,e);if(a.bfind){var s=a.pts.clone(),p=e[a.index].clone(),u=e[a.index+1].clone(),c=SuperMap.Plot.PlottingUtil.radian(p,u)*SuperMap.Plot.PlottingUtil.RTOD,P=SuperMap.Plot.PlottingUtil.circlePoint(s,r,r,c+n),S=[];S.push(a.pts),S.push(P);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S,{lineTypeLimit:!0,surroundLineLimit:!0});var h=SuperMap.Plot.PlottingUtil.radian(s,P)*SuperMap.Plot.PlottingUtil.RTOD,y=new SuperMap.Geometry.Point(-.2*r,.05*r),f=new SuperMap.Geometry.Point(-.2*r,-.05*r),g=SuperMap.Plot.PlottingUtil.coordinateTrans(P,y,h),b=SuperMap.Plot.PlottingUtil.coordinateTrans(P,f,h),M=[];M.push(P),M.push(g),M.push(b);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,M,{lineTypeLimit:!0,surroundLineLimit:!0,fillLimit:!0,fill:!0});var m=.3*r,d=.6*r,v=i-d;v<0&&(v=0);var O=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(v,e);if(O.bfind){var U=[];U.push(O.pts);for(var w=O.index;w>=0;w--)U.push(e[w]);var L=[];L.push(O.pts);for(var _=O.index+1;_1){var T=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(V,U);if(T.bfind){(A=[]).push(T.pts);for(var E=T.index+1;E1&&(U=U.concat(A))}}if(U.length>1&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,U),L.length>1){var x=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(V,L);if(x.bfind){(A=[]).push(x.pts);for(var j=x.index+1;j1&&(L=L.concat(A))}}var Y=i+d;Y>l&&(Y=l),Y=l-Y;for(var C=[],I=L.length-1;I>=0;I--)C.push(L[I]);var B=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(Y,C);if(B.bfind){var R=[];R.push(B.pts);for(var G=B.index;G>=0;G--)R.push(C[G]);var N=[];N.push(B.pts);for(var D=B.index+1;D1){var k=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(V,R);if(k.bfind){(A=[]).push(k.pts);for(var z=k.index+1;z1&&(R=R.concat(A))}}if(R.length>1&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,R),N.length>1){var F=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(V,N);if(F.bfind){(A=[]).push(F.pts);for(var K=F.index+1;K1&&(N=N.concat(A))}}N.length>1&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,N),this.subSymbols.length>0&&(this.computeSubSymbol(this.subSymbols[0],O.pts,m,c+n+180,.3),this.computeSubSymbol(this.subSymbols[1],B.pts,m,c+n+180,.3)),this.addScalePoint(a.pts,0),this.addScalePoint(P,1),this.finish()}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).lengtht||1S&&(a=u,s=P,p=S)}}if(-1===a||a>n.length-1)return;for(var h=0,y=0;yi)return;this.scaleValues[0]=h/i}if(1===t){var M=i*this.scaleValues[0],m=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(M,o);if(!m.bfind)return;var d=m.pts.clone(),v=new SuperMap.Geometry.Point(o[m.index].x,o[m.index].y),O=new SuperMap.Geometry.Point(o[m.index+1].x,o[m.index+1].y),U=SuperMap.Plot.PlottingUtil.radian(v,O)*SuperMap.Plot.PlottingUtil.RTOD,w=SuperMap.Plot.PlottingUtil.radian(d,e)*SuperMap.Plot.PlottingUtil.RTOD;this.scaleValues[1]=w-U;var L=SuperMap.Plot.PlottingUtil.distance(d,e);this.scaleValues[2]=L/i}}}}]),e}();SuperMap.Plot.AlgoSymbol60205=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0){var l;if(null==this.subSymbols[0].symbolData)return;l=this.subSymbols[0].symbolData.symbolSize.x;var o=SuperMap.Plot.PlottingUtil.polylineDistance(t),i=o*this.scaleValues[4],n=o*this.scaleValues[5],r=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i,t),a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(n,t),s=SuperMap.Plot.PlottingUtil.radian(a.pts,r.pts)*SuperMap.Plot.PlottingUtil.RTOD+270,p=60*SuperMap.Plot.PlottingUtil.distance(r.pts,a.pts)/l,u=new SuperMap.Geometry.Point((a.pts.x+r.pts.x)/2,(r.pts.y+a.pts.y)/2);if(null==this.subSymbols.length)return;if(null!=this.subSymbols[0].code){this.computeSubSymbol(this.subSymbols[0],u,p,s+90);var c=SuperMap.Plot.PlottingUtil.circlePoint(a.pts,p,p,s+90),P=SuperMap.Plot.PlottingUtil.circlePoint(a.pts,2*p,2*p,s+90),S=[];S.push(c),S.push(P),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S);var h=SuperMap.Plot.PlottingUtil.circlePoint(P,.2*p,.2*p,s+90),y=SuperMap.Plot.PlottingUtil.circlePoint(P,.05*p,.05*p,s),f=SuperMap.Plot.PlottingUtil.circlePoint(P,.05*p,.05*p,s+180),g=[];g.push(h),g.push(y),g.push(f);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,g,{fillLimit:!0,fill:!0})}r.pts.isScalePoint=!0,r.pts.tag=this.scalePoints.length,this.scalePoints.push(r.pts.clone()),a.pts.isScalePoint=!0,a.pts.tag=this.scalePoints.length,this.scalePoints.push(a.pts.clone())}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length<2)return;if(this.scaleValues.length<6&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(.148),this.scaleValues.push(.4),this.scaleValues.push(.312),this.scaleValues.push(.2),this.scaleValues.push(.01)),t<=2)SuperMap.Plot.AlgoSymbol1004.prototype.computeScaleValues.apply(this,arguments);else if(3==t||4==t){var o=new SuperMap.Geometry.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),i=SuperMap.Plot.PlottingUtil.clonePoints(l);i.splice(0,2),i.unshift(o);var n=SuperMap.Plot.PlottingUtil.projectPtOnPolyLine(e,i),r=SuperMap.Plot.PlottingUtil.polylineDistance(i);if(-1===n.index&&3===t&&(n.pt=o.clone()),-1==n.index&&4==t)this.scaleValues[t+1]=.01;else{var a=SuperMap.Plot.PlottingUtil.clonePoints(i);a.splice(0,n.index+1),a.unshift(n.pt);var s=SuperMap.Plot.PlottingUtil.polylineDistance(a);r.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMap.Plot.AlgoSymbol50352=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],r=o*this.scaleValues[2],a=o*this.scaleValues[3],s=new SuperMap.Geometry.Point(l.x+r,l.y+a),p=o*n;this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],s,p,0);var u=SuperMap.Plot.PlottingUtil.circlePoint(s,p,p,180);this.addScalePoint(u,0),this.addScalePoint(s,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),n=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===n)return;var r=0,a=0,s=0,p=0;if(0===t){s=n*(r=this.scaleValues[2]),p=n*(a=this.scaleValues[3]);var u=new SuperMap.Geometry.Point(i.x+s,i.y+p),c=SuperMap.Plot.PlottingUtil.distance(e,u)/n;this.scaleValues[0]=c}else 1===t&&(r=(s=e.x-i.x)/n,a=(p=e.y-i.y)/n,this.scaleValues[2]=r,this.scaleValues[3]=a)}}}]),e}();SuperMap.Plot.AlgoSymbol50342=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.minEditPts){for(var h=1;h=0?(A=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(I,t[R],G)).pntRight:(A=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(I,t[R],G)).pntLeft;var N=SuperMap.Plot.PlottingUtil.linePnt(G,P,I),D=.3*I,k=SuperMap.Plot.PlottingUtil.linePnt(N,G,D),z=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(.3*D,N,k),F=z.pntLeft,K=z.pntRight;(S=[]).push(G),S.push(N),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S,null,!0),(S=[]).push(F),S.push(N),S.push(K);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,S,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0},!0),this.addScalePoint(N),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=l.length,n=e;if(t>=0&&tf&&(u=S,P=y,c=f)}}if(-1===u||u>l.length-1)return;for(var g=0,b=0;bo)return;this.scaleValues[i+1]=g/o;var v,O=this.scaleValues.length,U=o*this.scaleValues[O-3];v=SuperMap.Plot.PlottingUtil.pointIsRightToLine(l[u],l[u+1],n)?c/U:-Math.abs(c/U),this.scaleValues[i+2]=v}}}}]),e}();SuperMap.Plot.AlgoSymbol50308=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.polylineDistance(t),o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),i=this.scaleValues[0],n=this.scaleValues[2],r=this.scaleValues[3];o.x=o.x+n*l,o.y=o.y+r*l;var a=new SuperMap.Geometry.Point(.5*l*i,0),s=new SuperMap.Geometry.Point(-.5*l*i,0),p=SuperMap.Plot.PlottingUtil.coordinateTrans(o,a,0),u=SuperMap.Plot.PlottingUtil.coordinateTrans(o,s,0),c=[];c.push(p),c.push(u),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,c);var P=new SuperMap.Geometry.Point(.8*l*i,0),S=new SuperMap.Geometry.Point(-.8*l*i,0),h=SuperMap.Plot.PlottingUtil.coordinateTrans(o,P,0),y=SuperMap.Plot.PlottingUtil.coordinateTrans(o,S,0);this.subSymbols.length>0&&(this.computeSubSymbol(this.subSymbols[0],h,18*i,90),this.computeSubSymbol(this.subSymbols[0],y,18*i,90));var f=SuperMap.Plot.PlottingUtil.circlePoint(o,i*l,i*l,180);this.addScalePoint(f,0),this.addScalePoint(o,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.controlPoints.length=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(o),n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o);if(0===t){n.x=n.x+this.scaleValues[2]*i,n.y=n.y+this.scaleValues[3]*i;var r=SuperMap.Plot.PlottingUtil.distance(e,n)/i;this.scaleValues[0]=r}if(1===t){var a=(e.x-n.x)/i;this.scaleValues[2]=a;var s=(e.y-n.y)/i;this.scaleValues[3]=s}}}}]),e}();SuperMap.Plot.AlgoSymbol50226=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length.2&&(this.subSymbolScaleValue=.2),this.scaleValues[0]=this.subSymbolScaleValue);var o=this.scaleValues[0],i=this.scaleValues[2],n=this.scaleValues[3],r=e*o,a=new SuperMap.Geometry.Point(l.x+e*i,l.y+e*n);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],a,r,0),this.addScalePoint(a,0);var s=SuperMap.Plot.PlottingUtil.circlePoint(a,r,r,90);this.addScalePoint(s,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l);if(0===o)return;var n=0,r=0;if(0===t&&(n=(e.x-i.x)/o,this.scaleValues[2]=n,r=(e.y-i.y)/o,this.scaleValues[3]=r),1===t){n=this.scaleValues[2],r=this.scaleValues[3];var a=new SuperMap.Geometry.Point(i.x+o*n,i.y+o*r),s=SuperMap.Plot.PlottingUtil.distance(a,e);this.scaleValues[0]=s/2/o}}}}]),e}();SuperMap.Plot.AlgoSymbol50225=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],r=this.scaleValues[2],a=this.scaleValues[3];l.x=l.x+r*o,l.y=l.y+a*o;var s=new SuperMap.Geometry.Point(.25*o*n,.25*o*n),p=new SuperMap.Geometry.Point(0,.5*o*n),u=new SuperMap.Geometry.Point(-.25*o*n,.25*o*n),c=SuperMap.Plot.PlottingUtil.coordinateTrans(l,s,0),P=SuperMap.Plot.PlottingUtil.coordinateTrans(l,p,0),S=SuperMap.Plot.PlottingUtil.coordinateTrans(l,u,0);this.addCell(SuperMap.Plot.SymbolType.ARCSYMBOL,[c,P,S],{lineTypeLimit:!0,lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1,surroundLineLimit:!0});var h=new SuperMap.Geometry.Point(0,-.3*o*n),y=SuperMap.Plot.PlottingUtil.coordinateTrans(l,h,0);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[c,y,S],{lineTypeLimit:!0,lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1,surroundLineLimit:!0}),this.scalePoints=[];var f=SuperMap.Plot.PlottingUtil.circlePoint(l,n*o*.5,n*o*.5,180);this.addScalePoint(f,0),this.addScalePoint(l,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),n=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===t){i.x=i.x+this.scaleValues[2]*n,i.y=i.y+this.scaleValues[3]*n;var r=SuperMap.Plot.PlottingUtil.distance(e,i)/n;this.scaleValues[0]=r}else if(1===t){var a=(e.x-i.x)/n;this.scaleValues[2]=a;var s=(e.y-i.y)/n;this.scaleValues[3]=s}}}}]),e}();SuperMap.Plot.AlgoSymbol50223=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],r=this.scaleValues[2],a=this.scaleValues[3],s=o*n,p=new SuperMap.Geometry.Point(l.x+o*r,l.y+o*a);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,s,0);for(var u=0;u=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),n=SuperMap.Plot.PlottingUtil.polylineDistance(l),r=0,a=0;if(0===t)r=(e.x-i.x)/n,this.scaleValues[2]=r,a=(e.y-i.y)/n,this.scaleValues[3]=a;else if(1===t){r=this.scaleValues[2],a=this.scaleValues[3];var s=new SuperMap.Geometry.Point(i.x+n*r,i.y+n*a),p=SuperMap.Plot.PlottingUtil.distance(s,e);this.scaleValues[0]=p/n}}}}]),e}();SuperMap.Plot.AlgoSymbol50108=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=p){var u=SuperMap.Plot.PlottingUtil.linePnt(o.pts,t[o.index],p);i.push(u),this.ComputeDashLine(a,s,i);var c=SuperMap.Plot.PlottingUtil.linePnt(o.pts,t[o.index],p);r.push(c);for(var P=o.index+1;P=0;h--){var y=new SuperMap.Geometry.Point(i[h].x,i[h].y),f=new SuperMap.Geometry.Point(o.pts.x,o.pts.y),g=SuperMap.Plot.PlottingUtil.distance(y,f);if(g>p){S=h;break}}if(-1==S)return;i.splice(S+1,i.length-1-S),u=SuperMap.Plot.PlottingUtil.linePnt(o.pts,t[S],p),i.push(u),this.ComputeDashLine(a,s,i);for(var b=-1,M=i.length-1;Mp){b=M;break}if(-1==b)return;c=SuperMap.Plot.PlottingUtil.linePnt(o.pts,t[b],p),r.push(c);for(var m=b+1;m1&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,i)}}]),e}();SuperMap.Plot.AlgoSymbol40304=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length.2&&(this.subSymbolScaleValue=.2),this.scaleValues[2]=this.subSymbolScaleValue/3);var o=this.scaleValues[0],i=this.scaleValues[1],n=e*this.scaleValues[2],r=new SuperMap.Geometry.Point(l.x+e*o,l.y+e*i),a=new SuperMap.Geometry.Point(r.x-4*n,r.y),s=new SuperMap.Geometry.Point(r.x-4*n,r.y-n/2),p=[];p.push(a),p.push(s);var u={lineTypeLimit:!0,fillLimit:!0};this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,p,u);var c=new SuperMap.Geometry.Point(r.x-4*n,r.y),P=new SuperMap.Geometry.Point(r.x-n,r.y),S=[];S.push(c),S.push(P),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S,u),this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],r,2*n,0);var h=new SuperMap.Geometry.Point(r.x+4*n,r.y),y=new SuperMap.Geometry.Point(r.x+n,r.y),f=[];f.push(h),f.push(y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,f,u);var g=new SuperMap.Geometry.Point(r.x+4*n,r.y+n/2),b=new SuperMap.Geometry.Point(r.x+4*n,r.y),M=[];M.push(g),M.push(b),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,M,u),this.addScalePoint(r,0);var m=SuperMap.Plot.PlottingUtil.circlePoint(r,2*n,2*n,90);this.addScalePoint(m,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l);if(0===o)return;var n=0,r=0;if(0===t&&(n=(e.x-i.x)/o,this.scaleValues[0]=n,r=(e.y-i.y)/o,this.scaleValues[1]=r),1===t){n=this.scaleValues[0],r=this.scaleValues[1];var a=new SuperMap.Geometry.Point(i.x+o*n,i.y+o*r),s=SuperMap.Plot.PlottingUtil.distance(a,e);this.scaleValues[2]=s/2/o}}}}]),e}();SuperMap.Plot.AlgoSymbol40302=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length=s.length)this.finish();else{var c=s[0].clone(),P=s[0].clone();for(p=0;ps[p].x&&(c=s[p].clone()),P.xl.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),n=e,r=0,a=0;if(0===t){if(!SuperMap.Plot.PlottingUtil.ptIsInPolygon(l,n))return;r=(n.x-i.x)/o,this.scaleValues[0]=r,a=(n.y-i.y)/o,this.scaleValues[1]=a}if(1===t){r=this.scaleValues[0],a=this.scaleValues[1];var s=new SuperMap.Geometry.Point(i.x+r*o,i.y+a*o),p=2*SuperMap.Plot.PlottingUtil.distance(n,s);this.scaleValues[2]=p/o}}}}]),e}();SuperMap.Plot.AlgoSymbol40104=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=i.length)){var a=i[0].clone(),s=i[0].clone();for(n=0;ni[n].x&&(a=i[n].clone()),s.x=i.length)){var a=i[0].clone(),s=i[0].clone();for(n=0;ni[n].x&&(a=i[n].clone()),s.x=2&&this.controlPoints.length=s.length)this.finish();else{var c=s[0].clone(),P=s[0].clone();for(p=0;ps[p].x&&(c=s[p].clone()),P.x=c.x&&((S=[]).push(c),S.push(h),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S));var y=new SuperMap.Geometry.Point(r.x+n/2,P.y);y.x<=P.x&&y.x>=c.x&&((S=[]).push(P),S.push(y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S));var f=SuperMap.Plot.PlottingUtil.radian(h,y)*SuperMap.Plot.PlottingUtil.RTOD;this.addText(this.subText,r,n,f),this.addScalePoint(r,0);var g=SuperMap.Plot.PlottingUtil.circlePoint(r,n/2,n/2,90);this.addScalePoint(g,1),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),n=0,r=0,a=e;if(0===t){if(!SuperMap.Plot.PlottingUtil.ptIsInPolygon(l,a))return;n=(a.x-i.x)/o,this.scaleValues[0]=n,r=(a.y-i.y)/o,this.scaleValues[1]=r}if(1===t){n=this.scaleValues[0],r=this.scaleValues[1];var s=new SuperMap.Geometry.Point(i.x+n*o,i.y+r*o),p=2*SuperMap.Plot.PlottingUtil.distance(a,s);this.scaleValues[2]=p/o}}}}]),e}();SuperMap.Plot.AlgoSymbol30020=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],a,s,0),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,t),this.addScalePoint(a,0);var p=SuperMap.Plot.PlottingUtil.circlePoint(a,s,s,90);this.addScalePoint(p,1),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length0&&this.computeSubSymbol(this.subSymbols[0],a,s,0),this.addText("?",r,.3*i,0,"#0000ff"),this.addScalePoint(a,0);var p=SuperMap.Plot.PlottingUtil.circlePoint(a,s,s,90);this.addScalePoint(p,1),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length2){for(var n=-1,r=e.length-2;r>=0;r--)if(o2){for(var n=-1,r=e.length-2;r>=0;r--)if(o=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(3>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.POLYBEZIERCLOSESYMBOL,e);for(var l=SuperMap.Plot.PlottingUtil.polylineDistance(e),o=e[0].x,i=e[0].x,n=e[0].y,r=e[0].y,a=[],s=0;se[s].x&&(o=e[s].x),ie[s].y&&(n=e[s].y),r0){var b=.015*l;this.computeSubSymbol(this.subSymbols[0],g,b,0),!0===this.subSymbols[0].fillLimit&&(this.subSymbols[0].fillColor="#332323")}h++}else if(h=0,this.subSymbols.length>0){var M=.015*l;this.computeSubSymbol(this.subSymbols[1],g,M,0)}}this.finish()}}}}]),e}();SuperMap.Plot.AlgoSymbol21221=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0?new SuperMap.Geometry.Point(h.pntLeft.x,h.pntLeft.y):new SuperMap.Geometry.Point(h.pntRight.x,h.pntRight.y);var y=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(s,S,P.pt),f=[];if(f.push(y.pntRight),f.push(S),f.push(y.pntLeft),0===c){var g=new SuperMap.Geometry.Point(S.x,S.y);g.isScalePoint=!0,g.tag=0,this.scalePoints.push(g)}this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,f,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0})}}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),o=SuperMap.Plot.PlottingUtil.pointIsRightToLine(l[0],l[1],e);this.scaleValues[0]=o?-1:1}}}]),e}();SuperMap.Plot.AlgoSymbol21216=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.polylineDistance(t),o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=.4*i}var n=l*this.scaleValues[0],r=l*this.scaleValues[2],a=l*this.scaleValues[3],s=new SuperMap.Geometry.Point(o.x+r,o.y+a),p=.6*n,u=new SuperMap.Geometry.Point(s.x+n,s.y),c=SuperMap.Plot.PlottingUtil.circlePoint(u,p,p,0),P=SuperMap.Plot.PlottingUtil.circlePoint(u,p,p,180),S=[];S.push(c),S.push(P),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S,{lineTypeLimit:!0});var h=SuperMap.Plot.PlottingUtil.circlePoint(u,p,p,90),y=SuperMap.Plot.PlottingUtil.circlePoint(u,p,p,270);(S=[]).push(h),S.push(y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S,{lineTypeLimit:!0});var f=new SuperMap.Geometry.Point(s.x-n,s.y),g=SuperMap.Plot.PlottingUtil.circlePoint(f,.5*n,.5*n,270),b=SuperMap.Plot.PlottingUtil.circlePoint(f,n,n,240),M=SuperMap.Plot.PlottingUtil.circlePoint(f,n,n,90),m=SuperMap.Plot.PlottingUtil.circlePoint(f,n,n,300);(S=[]).push(g),S.push(b),S.push(M),S.push(m),S.push(g),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,S,{lineTypeLimit:!0}),this.scalePoints=[];var d=SuperMap.Plot.PlottingUtil.circlePoint(s,n,n,0);this.addScalePoint(d),this.addScalePoint(s),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMap.Plot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var r=i*this.scaleValues[2],a=i*this.scaleValues[3],s=new SuperMap.Geometry.Point(n.x+r,n.y+a),p=SuperMap.Plot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,c=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=c}}}}]),e}();SuperMap.Plot.AlgoSymbol40100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.2||i<=0)&&(i=.2),this.scaleValues[0]=i}var n=this.scaleValues[0],r=this.scaleValues[2],a=this.scaleValues[3],s=o*n,p=new SuperMap.Geometry.Point(l.x+o*r,l.y+o*a);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,s,0),this.addScalePoint(p);var u=s,c=SuperMap.Plot.PlottingUtil.circlePoint(p,u,u,90);this.addScalePoint(c),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol37700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],l,o,0),this.scalePoints=[];var i=SuperMap.Plot.PlottingUtil.circlePoint(l,o,o,90);this.addScalePoint(i),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l);if(0==t){var n=SuperMap.Plot.PlottingUtil.distance(e,i)/o;this.scaleValues[0]=n}}}}]),e}();SuperMap.Plot.AlgoSymbol35200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=e[0],n=e[1],r=e[e.length-1],a=e[e.length-2],s=SuperMap.Plot.PlottingUtil.radian(i,n)*SuperMap.Plot.PlottingUtil.RTOD,p=SuperMap.Plot.PlottingUtil.radian(a,r)*SuperMap.Plot.PlottingUtil.RTOD,u=this.scaleValues[0],c=l*u,P=SuperMap.Plot.PlottingUtil.circlePoint(i,c,c,s+90),S=SuperMap.Plot.PlottingUtil.circlePoint(i,c,c,s+270),h=[];h.push(P),h.push(S),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h,{lineTypeLimit:!0}),this.scalePoints=[],this.addScalePoint(S);var y=SuperMap.Plot.PlottingUtil.circlePoint(r,c,c,p+90),f=SuperMap.Plot.PlottingUtil.circlePoint(r,c,c,p+270);(h=[]).push(y),h.push(f),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h,{lineTypeLimit:!0});var g,b,M=t.length;if(this.scaleValues.length<=M){for(this.scaleValues=[],this.scaleValues.push(u),b=1/M,g=0;g=this.scalePoints.length)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0==t){var r=(i=SuperMap.Plot.PlottingUtil.distance(e,l[0]))/n;this.scaleValues[0]=r}else{var a,s=e,p=[];for(a=0;ay&&(u=a,P=h,c=y)}}if(-1==u||u>p.length-1)return;for(i=0,a=0;an)return;var f=i/n;this.scaleValues[t]=f}}}}]),e}();SuperMap.Plot.AlgoSymbol35000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0||t<3)){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o,i=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),r=l[1].clone(),a=e.clone();if(0==t){var s=SuperMap.Plot.PlottingUtil.distance(a,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMap.Plot.PlottingUtil.projectPoint(a,n,r);var p=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[1]=p;var u=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMap.Plot.PlottingUtil.projectPoint(a,n,r);var c=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[2]=c;var P=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[4]=P}}}}]),e}();SuperMap.Plot.AlgoSymbol44100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,{fillLimit:!0,fill:!1,surroundLineFlag:!1});var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.2||i<=0)&&(i=.2),this.scaleValues[0]=i}var n=this.scaleValues[0],r=this.scaleValues[2],a=this.scaleValues[3],s=o*n,p=new SuperMap.Geometry.Point(l.x+o*r,l.y+o*a);if(this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0){if(this.subSymbols[0].symbolData)for(var u in this.subSymbols[0].symbolData.innerCells)this.subSymbols[0].symbolData.innerCells[u].type===SuperMap.Plot.SymbolType.POLYBEZIERSYMBOL&&(this.subSymbols[0].symbolData.innerCells[u].type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL);this.computeSubSymbol(this.subSymbols[0],p,s,0)}this.addScalePoint(p);var c=s,P=SuperMap.Plot.PlottingUtil.circlePoint(p,c,c,90);this.addScalePoint(P),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n,r=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),a=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-r.x)/a,this.scaleValues[2]=i,n=(e.y-r.y)/a,this.scaleValues[3]=n;else if(1===t){i=this.scaleValues[2],n=this.scaleValues[3];var s=new SuperMap.Geometry.Point(r.x+a*i,r.y+a*n),p=SuperMap.Plot.PlottingUtil.distance(s,e)/a;this.scaleValues[0]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol42200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]);if(0==o)return;var i,n,r=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),a=e;if(0==t)i=(a.x-r.x)/o,this.scaleValues[0]=i,n=(a.y-r.y)/o,this.scaleValues[1]=n;else if(1==t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMap.Geometry.Point(r.x+i*o,r.y+n*o),p=SuperMap.Plot.PlottingUtil.distance(a,s)/o;this.scaleValues[2]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol41202=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]);if(0==o)return;var i,n,r=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),a=e;if(0==t)i=(a.x-r.x)/o,this.scaleValues[0]=i,n=(a.y-r.y)/o,this.scaleValues[1]=n;else if(1==t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMap.Geometry.Point(r.x+i*o,r.y+n*o),p=SuperMap.Plot.PlottingUtil.distance(a,s)/o;this.scaleValues[2]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol41201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]);if(0==o)return;var i,n,r=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(l),a=e;if(0==t)i=(a.x-r.x)/o,this.scaleValues[0]=i,n=(a.y-r.y)/o,this.scaleValues[1]=n;else if(1==t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMap.Geometry.Point(r.x+i*o,r.y+n*o),p=SuperMap.Plot.PlottingUtil.distance(a,s)/o;this.scaleValues[2]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol41200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.polylineDistance(t),o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=.2*i}var n=l*this.scaleValues[0],r=l*this.scaleValues[2],a=l*this.scaleValues[3],s=new SuperMap.Geometry.Point(o.x+r,o.y+a),p=[];p.push(s),p.push(new SuperMap.Geometry.Point(s.x+n,s.y)),this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,p,{fillLimit:!0,fill:!0,lineTypeLimit:!0,surroundLineLimit:!0});for(var u=18*n,c=new SuperMap.Geometry.Point(s.x+u,s.y),P=[],S=135;S<180;S+=3)P.push(SuperMap.Plot.PlottingUtil.circlePoint(c,u,u,S));P.push(SuperMap.Plot.PlottingUtil.circlePoint(c,u,u,180)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P,{lineTypeLimit:!0,surroundLineLimit:!0}),this.scalePoints=[];var h=SuperMap.Plot.PlottingUtil.circlePoint(s,n,n,0);this.addScalePoint(h),this.addScalePoint(s),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMap.Plot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMap.Plot.PlottingUtil.polylineDistance(o),n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var r=i*this.scaleValues[2],a=i*this.scaleValues[3],s=new SuperMap.Geometry.Point(n.x+r,n.y+a),p=SuperMap.Plot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,c=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=c}}}}]),e}();SuperMap.Plot.AlgoSymbol40101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2*this.controlPoints.length-1)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.polylineDistance(o);if(SuperMap.Plot.PlottingUtil.equalFuzzy(i,0)||SuperMap.Plot.PlottingUtil.equalFuzzy(n,0))return;if(2*(l.length-1)==t||2==l.length&&0==t){var r,a=e,s=[];for(r=0;rh&&(u=r,p=S,c=h)}}if(-1==u||u>s.length-1)return;var y=0;for(r=0;rn)return;var M=y/n;if(M>.8||M<.2)return;2==l.length?this.scaleValues[0]=M:this.scaleValues[2*t]=M}else if(2*l.length-1==t||2==l.length&&1==t){var m=1.667*SuperMap.Plot.PlottingUtil.distance(e,l[0])/i;2==l.length?this.scaleValues[1]=m:this.scaleValues[2*t-1]=m}else{var d=-1;d=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var v=(e.x-l[d].x)/i,O=(e.y-l[d].y)/i;this.scaleValues[2*t]=v,this.scaleValues[2*t+1]=O}}}}]),e}();SuperMap.Plot.AlgoSymbol40900=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;le.x),c=[];u?(c.push(l),c.push(s)):(c.push(l),c.push(p)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,c,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER});var P=[];u?(P.push(o),P.push(p)):(P.push(o),P.push(s)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER});var S,h,y,f,g=.37*n,b=SuperMap.Plot.PlottingUtil.linePnt(i,e,g),M=.09*n,m=[];m.push(b),m.push(new SuperMap.Geometry.Point(b.x,b.y+M)),this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,m),u?(S=(a=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(M,i,b)).pntLeft,h=(a=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(2*M,i,b)).pntLeft,y=(a=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(M,S,h)).pntRight,f=a.pntLeft):(S=(a=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(M,i,b)).pntRight,h=(a=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(2*M,i,b)).pntRight,y=(a=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(M,S,h)).pntRight,f=a.pntLeft);var d=[];d.push(S),d.push(h),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,d,{lineTypeLimit:!0});var v=[];v.push(y),v.push(f),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,v,{lineTypeLimit:!0}),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol32300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||i<=0)&&(i=.3),this.scaleValues[1]=i,this.scaleValues[3]=i}var n=this.scaleValues[1],r=180*this.scaleValues[2]/Math.PI,a=l*this.scaleValues[0],s=l*this.scaleValues[3],p=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,a);if(-1!==p.index){var u=p.pt,c=e[p.index],P=e[p.index+1],S=SuperMap.Plot.PlottingUtil.radian(c,P)*SuperMap.Plot.PlottingUtil.RTOD,h=SuperMap.Plot.PlottingUtil.circlePoint(u,s,s,S+r);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[p.pt,h]);var y,f=SuperMap.Plot.PlottingUtil.radian(u,h)*SuperMap.Plot.PlottingUtil.RTOD,g=l*n;0b&&(P=y,h=g,S=b)}}if(-1==P||P>u.length-1)return;for(var M=0,m=0;mo)return;var d=M/o;this.scaleValues[0]=d}else if(1===t){var v=SuperMap.Plot.PlottingUtil.findPointInPolyLine(p,o*this.scaleValues[0]);if(-1===v.index)return;n=v.pt,r=p[v.index],a=p[v.index+1],s=SuperMap.Plot.PlottingUtil.radian(r,a)*SuperMap.Plot.PlottingUtil.RTOD;var O=o*this.scaleValues[3],U=SuperMap.Plot.PlottingUtil.circlePoint(n,O,O,s+this.scaleValues[2]*SuperMap.Plot.PlottingUtil.RTOD+180),w=SuperMap.Plot.PlottingUtil.distance(U,e)/o*2;this.scaleValues[1]=w}else if(2===t){var L=o*this.scaleValues[0],_=SuperMap.Plot.PlottingUtil.findPointInPolyLine(p,L);if(-1===_.index)return;n=_.pt,r=p[_.index],a=p[_.index+1],s=SuperMap.Plot.PlottingUtil.radian(r,a);var V=SuperMap.Plot.PlottingUtil.radian(n,e)-s;this.scaleValues[2]=V}}}}]),e}();SuperMap.Plot.AlgoSymbol30800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ls||.3O&&(g=m,M=v,b=O)}}if(-1==g||g>y.length-1)return;n=0;for(var U=0;Uo)return;var w=n/o;this.scaleValues[0]=w}else if(1===t){r=o*this.scaleValues[0];var L=SuperMap.Plot.PlottingUtil.findPointInPolyLine(h,r);if(-1===L.index)return;a=L.pt,s=h[L.index],p=h[L.index+1],u=SuperMap.Plot.PlottingUtil.radian(s,p);var _=(S=SuperMap.Plot.PlottingUtil.radian(a,e))-u;this.scaleValues[1]=_;var V=(n=SuperMap.Plot.PlottingUtil.distance(a,e))/o/1.5;this.scaleValues[2]=V}else if(2===t){if(r=o*this.scaleValues[0],c=180*this.scaleValues[1]/Math.PI,n=o*this.scaleValues[2],-1===(a=SuperMap.Plot.PlottingUtil.findPointInPolyLine(h,r)).index)return;P=a.pt,s=h[a.index],p=h[a.index+1],u=180*SuperMap.Plot.PlottingUtil.radian(s,p)/Math.PI;var A=SuperMap.Plot.PlottingUtil.circlePoint(P,.4*n,.4*n,u+c),T=SuperMap.Plot.PlottingUtil.distance(e,A)/(.4*n);this.scaleValues[5]=T}else if(3===t){if(r=o*this.scaleValues[0],c=180*this.scaleValues[1]/Math.PI,n=o*this.scaleValues[2],-1===(a=SuperMap.Plot.PlottingUtil.findPointInPolyLine(h,r)).index)return;P=a.pt,s=h[a.index],p=h[a.index+1],S=(u=180*SuperMap.Plot.PlottingUtil.radian(s,p)/Math.PI)+c;var E=new SuperMap.Geometry.Point(.6*n,0),x=SuperMap.Plot.PlottingUtil.coordinateTrans(P,E,S),j=.4*n*this.scaleValues[5],Y=new SuperMap.Geometry.Point(0,j),C=SuperMap.Plot.PlottingUtil.coordinateTrans(x,Y,S),I=2*SuperMap.Plot.PlottingUtil.distance(C,e)/(.4*n);this.scaleValues[6]=I}}}}]),e}();SuperMap.Plot.AlgoSymbol30100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.5*f){M=d-1,m=SuperMap.Plot.PlottingUtil.linePnt(b,e[d],.5*f);break}-1===M&&(M=e.length-1,m=e[e.length-1]);var v=null;if(null!==m){for(var O=180*SuperMap.Plot.PlottingUtil.radian(b,m)/Math.PI,U=[],w=0;w=0;T--)if(SuperMap.Plot.PlottingUtil.distance(_,e[T])>.5*f){V=T,A=SuperMap.Plot.PlottingUtil.linePnt(_,e[T],.5*f);break}if(-1===V&&(V=0,A=e[0]),null!==A){for(var E=180*SuperMap.Plot.PlottingUtil.radian(_,A)/Math.PI,x=[],j=0;jP&&(r=p,s=c,a=P)}}if(-1==r||r>o.length-1)return;i=0;for(var S=0;Sn)return;var h=i/n;this.scaleValues[0]=h}else if(1===t){var y=n*this.scaleValues[0],f=SuperMap.Plot.PlottingUtil.findPointInPolyLine(o,y);if(-1===f.index)return;var g=f.pt,b=o[f.index],M=o[f.index+1],m=SuperMap.Plot.PlottingUtil.radian(b,M),d=SuperMap.Plot.PlottingUtil.radian(g,e)-m;this.scaleValues[1]=d;var v=(i=SuperMap.Plot.PlottingUtil.distance(g,e))/n;this.scaleValues[2]=v}}}}]),e}();SuperMap.Plot.AlgoSymbol30000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0&&this.computeSubSymbol(this.subSymbols[0],p,n*r,e*SuperMap.Plot.PlottingUtil.RTOD);var u=SuperMap.Plot.PlottingUtil.circlePoint(i,s,s,e*SuperMap.Plot.PlottingUtil.RTOD);this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],u,n*r,e*SuperMap.Plot.PlottingUtil.RTOD),this.scalePoints=[];var c=e*SuperMap.Plot.PlottingUtil.RTOD,P=n*r,S=t[0].clone(),h=SuperMap.Plot.PlottingUtil.circlePoint(S,P,P,c);this.addScalePoint(h),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),o=(l=SuperMap.Plot.PlottingUtil.clearSamePts(l))[0].clone(),i=l[1].clone(),n=e.clone(),r=SuperMap.Plot.PlottingUtil.distance(o,i),a=SuperMap.Plot.PlottingUtil.plumbLineLen(n,o,i)/r;if(a<0||SuperMap.Plot.PlottingUtil.equalFuzzy(a,0))return;this.scaleValues[0]=a,SuperMap.Plot.PlottingUtil.pointIsRightToLine(o,i,n)?this.scaleValues[1]=1:this.scaleValues[1]=0}}}]),e}();SuperMap.Plot.AlgoSymbol28301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMap.Plot.PlottingUtil.polylineDistance(t),o=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e);this.isEdit||(this.scaleValues[0]=this.getSubSymbolScaleValue());var i=l*this.scaleValues[0];this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],o,i,0),this.scalePoints=[];var n=SuperMap.Plot.PlottingUtil.circlePoint(o,i,i,0);this.addScalePoint(n),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o=[];o=3>=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var r=SuperMap.Plot.PlottingUtil.distance(e,n)/i;this.scaleValues[0]=r}}}}]),e}();SuperMap.Plot.AlgoSymbol28300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER}),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol28200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l270&&p<360&&(p=360-p),p>90)return;this.scaleValues[1]=p*Math.PI/180}}}}]),e}();SuperMap.Plot.AlgoSymbol28100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&(y=[]));(n=[]).push(t[0]);for(var f=0;f=0;d--)n.push(new SuperMap.Geometry.Point(M[d].x,M[d].y));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,n,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER}),(n=[]).push(new SuperMap.Geometry.Point(M[0].x,M[0].y)),n.push(new SuperMap.Geometry.Point(e[e.length-1].x,e[e.length-1].y)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,n,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER}),(n=[]).push(new SuperMap.Geometry.Point(e[0].x,e[0].y)),n.push(new SuperMap.Geometry.Point(M[M.length-1].x,M[M.length-1].y)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,n,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER}),r=SuperMap.Plot.PlottingUtil.circlePoint(p,o,o,c),h=new SuperMap.Geometry.Point(r.x,r.y),(a=[]).push(P),a.push(h),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,a,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.INNER})}var v=new SuperMap.Geometry.Point(0,0);if(4<=t.length){for(e=[],l=new SuperMap.Geometry.Point(t[3].x,t[3].y),o=SuperMap.Plot.PlottingUtil.distance(p,l),i=0,i=c-s;i<=c+s;i+=3)e.push(SuperMap.Plot.PlottingUtil.circlePoint(p,o,o,i));SuperMap.Plot.PlottingUtil.equalFuzzy(i,c+s)&&(i=c+s,e.push(SuperMap.Plot.PlottingUtil.circlePoint(p,o,o,i))),(n=[]).push(t[0]);for(var O=0;Ot.length)this.addScalePoint(t[0]);else{var U=SuperMap.Plot.PlottingUtil.distance(t[0],t[1])*this.scaleValues[0],w=SuperMap.Plot.PlottingUtil.circlePoint(p,U,U,c+180);this.addScalePoint(w,0)}var L=SuperMap.Plot.PlottingUtil.distance(t[0],t[t.length-1]),_=SuperMap.Plot.PlottingUtil.circlePoint(p,L,L,c+s);this.addScalePoint(_,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l,o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(o=SuperMap.Plot.PlottingUtil.clearSamePts(o),0==t){if(3>o.length)return;var i=new SuperMap.Geometry.Point(o[0].x,o[0].y),n=new SuperMap.Geometry.Point(e.x,e.y),r=SuperMap.Plot.PlottingUtil.distance(i,n),a=new SuperMap.Geometry.Point(o[1].x,o[1].y);if((l=r/SuperMap.Plot.PlottingUtil.distance(i,a))>=2.5)return;this.scaleValues[0]=l}else if(1==t){var s=new SuperMap.Geometry.Point(o[0].x,o[0].y),p=new SuperMap.Geometry.Point(o[o.length-1].x,o[o.length-1].y),u=SuperMap.Plot.PlottingUtil.radian(s,p),c=new SuperMap.Geometry.Point(e.x,e.y);if(l=SuperMap.Plot.PlottingUtil.radian(s,c)-u,(l=Math.abs(l))>Math.PI/2&&l<3*Math.PI/2)return;l>3*Math.PI/2&&l<=2*Math.PI&&(l=2*Math.PI-l),this.scaleValues[1]=Math.abs(l)}}}}]),e}();SuperMap.Plot.AlgoSymbol28000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||n<=0)&&(n=.3),this.scaleValues[0]=n;var r=1.5*this.scaleValues[0]*l,a=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(r,e[o.index],i),s=[];s.push(a.pntLeft),s.push(i),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s,null,!0),this.finish()}}}}]),e}();SuperMap.Plot.AlgoSymbol26500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}this.scaleValues.length<1&&(this.scaleValues=[],this.scaleValues.push(.5));for(var i=this.getLinePts(e,this.scaleValues[0]),n=this.getLinePts(e,1.2*this.scaleValues[0]),r=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt),a=[],s=[],p=0;p<=n.startIndex;p++)a.push(e[p]);if(a.push(n.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,a),n.endIndex<=e.length){s.push(n.endPt);for(var u=n.endIndex+1;u<=e.length-1;u++)s.push(e[u]);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s)}var c=e[0],P=e[1],S=e[e.length-2],h=e[e.length-1],y=.3*r,f=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(y,P,c),g=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(y,S,h),b=f.pntLeft,M=g.pntLeft,m=[];m.push(c),m.push(b),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,m);var d=[];d.push(h),d.push(M),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,d);var v=SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,O=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),U=new SuperMap.Geometry.Point(.1*r,0),w=new SuperMap.Geometry.Point(.5*r,0),L=SuperMap.Plot.PlottingUtil.coordinateTrans(O,U,v),_=SuperMap.Plot.PlottingUtil.coordinateTrans(O,w,v),V=[];V.push(L),V.push(_);var A={surroundLineFlag:!1,lineTypeLimit:!0,fillLimit:!0};this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,V,A);var T=new SuperMap.Geometry.Point(.35*r,0),E=SuperMap.Plot.PlottingUtil.circlePoint(T,.2*r,.2*r,135),x=SuperMap.Plot.PlottingUtil.circlePoint(T,.2*r,.2*r,225),j=SuperMap.Plot.PlottingUtil.coordinateTrans(O,T,v),Y=SuperMap.Plot.PlottingUtil.coordinateTrans(O,E,v),C=SuperMap.Plot.PlottingUtil.coordinateTrans(O,x,v);(V=[]).push(Y),V.push(j),V.push(C),A={surroundLineFlag:!1,lineTypeLimit:!0,fillLimit:!0},this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,V,A);var I=new SuperMap.Geometry.Point(-.1*r,0),B=new SuperMap.Geometry.Point(-.5*r,-.15*r),R=new SuperMap.Geometry.Point(-.5*r,.15*r),G=SuperMap.Plot.PlottingUtil.coordinateTrans(O,I,v),N=SuperMap.Plot.PlottingUtil.coordinateTrans(O,B,v),D=SuperMap.Plot.PlottingUtil.coordinateTrans(O,R,v);(V=[]).push(G),V.push(N),V.push(D),V.push(G),A={surroundLineFlag:!1,lineTypeLimit:!0,fillLimit:!0},this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,V,A);var k=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*l,e),z=SuperMap.Plot.PlottingUtil.circlePoint(k.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,v);this.addScalePoint(z,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=0;--v)d.push(b[v]);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,d),this.scalePoints=[];var O=b[0].clone();O.isScalePoint=!0,O.tag=0,this.scalePoints.push(O);var U=b[1].clone();U.isScalePoint=!0,U.tag=1,this.scalePoints.push(U);var w=b[2].clone();w.isScalePoint=!0,w.tag=2,this.scalePoints.push(w),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o,i=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),r=l[1].clone(),a=e.clone();if(0==t){var s=SuperMap.Plot.PlottingUtil.distance(a,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMap.Plot.PlottingUtil.projectPoint(a,n,r);var p=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[1]=p;var u=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMap.Plot.PlottingUtil.projectPoint(a,n,r);var c=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[2]=c;var P=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[4]=P}}}}]),e}();SuperMap.Plot.AlgoSymbol25000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0){var l;if(null==this.subSymbols[0].symbolData)return;l=Math.max(this.subSymbols[0].symbolData.symbolSize.x,this.subSymbols[0].symbolData.symbolSize.y);var o=SuperMap.Plot.PlottingUtil.polylineDistance(t),i=o*this.scaleValues[4],n=o*this.scaleValues[5],r=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i,t),a=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(n,t),s=SuperMap.Plot.PlottingUtil.radian(a.pts,r.pts)*SuperMap.Plot.PlottingUtil.RTOD+270,p=100*SuperMap.Plot.PlottingUtil.distance(r.pts,a.pts)/l,u=new SuperMap.Geometry.Point((a.pts.x+r.pts.x)/2,(r.pts.y+a.pts.y)/2);if(null==this.subSymbols.length)return;null!=this.subSymbols[0].code&&this.computeSubSymbol(this.subSymbols[0],u,p,s),r.pts.isScalePoint=!0,r.pts.tag=this.scalePoints.length,this.scalePoints.push(r.pts.clone()),a.pts.isScalePoint=!0,a.pts.tag=this.scalePoints.length,this.scalePoints.push(a.pts.clone())}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length<2)return;if(this.scaleValues.length<6&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(.148),this.scaleValues.push(.4),this.scaleValues.push(.312),this.scaleValues.push(.2),this.scaleValues.push(.01)),t<=2)SuperMap.Plot.AlgoSymbol1004.prototype.computeScaleValues.apply(this,arguments);else if(3==t||4==t){var o=new SuperMap.Geometry.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),i=SuperMap.Plot.PlottingUtil.clonePoints(l);i.splice(0,2),i.unshift(o);var n=SuperMap.Plot.PlottingUtil.projectPtOnPolyLine(e,i),r=SuperMap.Plot.PlottingUtil.polylineDistance(i);if(3===t&&null==n.pt&&(n.pt=o.clone()),-1==n.index&&4==t)this.scaleValues[t+1]=.01;else{var a=SuperMap.Plot.PlottingUtil.clonePoints(i);a.splice(0,n.index+1),a.unshift(n.pt);var s=SuperMap.Plot.PlottingUtil.polylineDistance(a);r.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMap.Plot.AlgoSymbol25200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,o);for(var i=0;i<4;i++){var n=i*(o.length-1)/4,r=new SuperMap.Geometry.Point(o[n].x,o[n].y),a=new SuperMap.Geometry.Point(o[n+1].x,o[n+1].y),s=new SuperMap.Geometry.Point((r.x+a.x)/2,(r.y+a.y)/2),p=180*SuperMap.Plot.PlottingUtil.radian(s,a)/Math.PI,u=e*this.scaleValues[0]/2,c=SuperMap.Plot.PlottingUtil.circlePoint(s,u,u,p),P=SuperMap.Plot.PlottingUtil.circlePoint(s,4*u,4*u,p+270),S=SuperMap.Plot.PlottingUtil.circlePoint(s,u,u,p+180);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,[c,P,S],{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0})}this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol29103=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),l=SuperMap.Plot.PlottingUtil.clearSamePts(l),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,l);for(var o=0;o<4;o++){var i=o*(l.length-1)/4,n=new SuperMap.Geometry.Point(l[i].x,l[i].y),r=new SuperMap.Geometry.Point(l[i+1].x,l[i+1].y),a=new SuperMap.Geometry.Point((n.x+r.x)/2,(n.y+r.y)/2),s=SuperMap.Plot.PlottingUtil.radian(a,r)*SuperMap.Plot.PlottingUtil.RTOD,p=this.scaleValues[0]*e/2,u=SuperMap.Plot.PlottingUtil.circlePoint(a,p,p,s),c=SuperMap.Plot.PlottingUtil.circlePoint(a,4*p,4*p,s+270),P=SuperMap.Plot.PlottingUtil.circlePoint(a,p,p,s+180);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[u,c,P])}this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol29101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=v.length)&&(M=SuperMap.Plot.PlottingUtil.pointIsOnPolyLines(v[0],n)).isOnPolyLine){var U=[];for(S=M.index+1;S.3||o<=0)&&(o=.3),this.scaleValues[0]=o}this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e);var i=e[0],n=e[1],r=e[e.length-2],a=e[e.length-1],s=l*this.scaleValues[0]*.6,p=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(s,n,i),u=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(s,r,a),c=p.pntLeft,P=u.pntRight,S=[];S.push(i),S.push(c);for(var h=new SuperMap.Geometry.Point((i.x+c.x)/2,(i.y+c.y)/2),y=SuperMap.Plot.PlottingUtil.polylineDistance(S)/2,f=[],g=180*SuperMap.Plot.PlottingUtil.radian(n,i)/Math.PI,b=270+g;b<=360+g;b+=3)f.push(SuperMap.Plot.PlottingUtil.circlePoint(h,y,y,b));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,f);var M=[];M.push(a),M.push(P);var m=[];m.push(a),m.push(P);for(var d=new SuperMap.Geometry.Point((a.x+P.x)/2,(a.y+P.y)/2),v=SuperMap.Plot.PlottingUtil.polylineDistance(m)/2,O=[],U=180*SuperMap.Plot.PlottingUtil.radian(a,P)/Math.PI,w=90+U;w<=180+U;w+=3)O.push(SuperMap.Plot.PlottingUtil.circlePoint(d,v,v,w));this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,O),this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol28900=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o,i,n,r,a,s,p,u=[];2==l.length?(o=l[0],i=l[1],a=SuperMap.Plot.PlottingUtil.distance(o,i),r=180*SuperMap.Plot.PlottingUtil.radian(o,i)/Math.PI,n=SuperMap.Plot.PlottingUtil.circlePoint(o,a,a,r+60),u.push(o),u.push(i),u.push(n)):u=u.concat(l),o=u[0],i=u[1],n=u[2],u.push(u[0]);var c=SuperMap.Plot.PlottingUtil.polylineDistance(u),P=e;if(0===t)a=SuperMap.Plot.PlottingUtil.distance(P,u[0]),this.scaleValues[0]=a/c;else if(1===t){s=SuperMap.Plot.PlottingUtil.distance(P,u[0])/c,this.scaleValues[1]=s,r=180*SuperMap.Plot.PlottingUtil.InnerAngle(o,i,n)/Math.PI,0<=(p=180*SuperMap.Plot.PlottingUtil.InnerAngle(o,i,P)/Math.PI/r)&&1>=p&&(this.scaleValues[2]=p)}else if(2===t){s=this.scaleValues[1],p=this.scaleValues[2];var S,h=c*s,y=180*SuperMap.Plot.PlottingUtil.InnerAngle(o,i,n)/Math.PI*p,f=180*SuperMap.Plot.PlottingUtil.radian(o,i)/Math.PI,g=f-y,b=f+y,M=SuperMap.Plot.PlottingUtil.circlePoint(o,h,h,g),m=SuperMap.Plot.PlottingUtil.circlePoint(o,h,h,b);S=SuperMap.Plot.PlottingUtil.ptIsInPolygon(u,M)?M:m;var d=2*SuperMap.Plot.PlottingUtil.distance(P,S)/c;this.scaleValues[3]=d;var v=180*SuperMap.Plot.PlottingUtil.radian(S,P)/Math.PI;this.scaleValues[4]=v}}}},{key:"ComputeSubSymbolPt",value:function(t,e,l,o){var i,n,r=l[0],a=l[1],s=l[2],p=SuperMap.Plot.PlottingUtil.plumbLineLen(s,r,a)*t,u=SuperMap.Plot.PlottingUtil.plumbLineLen(a,r,s)*e,c=[];if(SuperMap.Plot.PlottingUtil.pointIsRightToLine(r,a,o)?((i=[]).push(r),i.push(a),c=SuperMap.Plot.PlottingUtil.paraLine(i,p,!1)):((i=[]).push(r),i.push(a),c=SuperMap.Plot.PlottingUtil.paraLine(i,p,!0)),SuperMap.Plot.PlottingUtil.pointIsRightToLine(r,s,o)?((i=[]).push(r),i.push(s),n=SuperMap.Plot.PlottingUtil.paraLine(i,u,!1)):((i=[]).push(r),i.push(s),n=SuperMap.Plot.PlottingUtil.paraLine(i,u,!0)),2>c.length||2>n.length)return o;var P=SuperMap.Plot.PlottingUtil.intersectLines(c[0],c[1],n[0],n[1]);return P.isIntersectLines?P.intersectPoint:o}},{key:"createArcPts",value:function(t,e){for(var l=[],o=[],i=0;iMath.abs(o[n]-o[r]))for(var s=0;s<2;s++){var p,u,c;0==s?(c=n,p=SuperMap.Plot.PlottingUtil.radian(t[n],t[r])*SuperMap.Plot.PlottingUtil.RTOD,u=Math.acos((a*a+o[n]*o[n]-o[r]*o[r])/(2*a*o[n]))*SuperMap.Plot.PlottingUtil.RTOD):(c=r,p=SuperMap.Plot.PlottingUtil.radian(t[r],t[n])*SuperMap.Plot.PlottingUtil.RTOD,u=Math.acos((a*a+o[r]*o[r]-o[n]*o[n])/(2*a*o[r]))*SuperMap.Plot.PlottingUtil.RTOD);var P=p-u,S=p+u,h=P<0&&S>0||P>360||S>360;P=this.adjustAngle(P),S=this.adjustAngle(S);for(var y=l[c].length-1;y>=0;y--)if(h){if(S>l[c][y].End||SuperMap.Plot.PlottingUtil.equalFuzzy(S,l[c][y].End)){l[c].splice(y,1);continue}if(S>l[c][y].Start&&(l[c][y].Start=S),Pl[c][y].End)l[c].splice(y,1);else if(P>l[c][y].Start&&Sl[c][y].End)continue;if(P>l[c][y].Start&&(l[c][y].End=P),S=0;g--){for(var b=this.adjustAngle(l[f][g].Start),M=this.adjustAngle(l[f][g].End);M360;)t-=360;for(;t<0;)t+=360;return t}},{key:"GetCirclePts",value:function(t,e,l,o){var i=180*SuperMap.Plot.PlottingUtil.radian(t,e)/Math.PI,n=180*SuperMap.Plot.PlottingUtil.radian(t,l)/Math.PI,r=i;n>i&&(r=n);for(var a=[],s=r;s<360+r;s+=4)90==s&&(s=91),a.push(SuperMap.Plot.PlottingUtil.circlePoint(t,o,o,s));return a.push[0],a}},{key:"CreatArc",value:function(t,e,l){for(var o=[],i=[],n=0;n1&&o.push(i),i=[]):i.push(r)}i.length>1&&o.push(i);for(var a=0;a1&&o.push(i),i=[]):i.push(r)}i.length>1&&o.push(i);for(var a=[],s=0;sa){var s=new SuperMap.Geometry.Point(o.x,o.y);o=new SuperMap.Geometry.Point(r.x,r.y),r=new SuperMap.Geometry.Point(s.x,s.y),i=a,e[l]=o,e[n]=r}}return e}}]),e}();SuperMap.Plot.AlgoSymbol23902=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o,i,n,r=[];if(2==l.length){o=l[0],i=l[1];var a=SuperMap.Plot.PlottingUtil.distance(o,i),s=180*SuperMap.Plot.PlottingUtil.radian(o,i)/Math.PI;n=SuperMap.Plot.PlottingUtil.circlePoint(o,a,a,s+60),r.push(o),r.push(i),r.push(n)}else r=r.concat(l);o=r[0],i=r[1],n=r[2];var p=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(r);r.push(r[0]);var u=SuperMap.Plot.PlottingUtil.polylineDistance(r),c=e;if(0==t){var P=SuperMap.Plot.PlottingUtil.plumbLineLen(n,o,i),S=SuperMap.Plot.PlottingUtil.plumbLineLen(i,o,n),h=SuperMap.Plot.PlottingUtil.plumbLineLen(c,o,i)/P,y=SuperMap.Plot.PlottingUtil.plumbLineLen(c,o,n)/S;h>1&&(h=1),y>1&&(y=1),this.scaleValues[0]=h,this.scaleValues[1]=y}else if(1==t){var f=this.scaleValues[0],g=this.scaleValues[1],b=this.ComputeSubSymbolPt(f,g,r,p),M=SuperMap.Plot.PlottingUtil.distance(b,c)/u;this.scaleValues[2]=M;var m=180*SuperMap.Plot.PlottingUtil.radian(b,c)/Math.PI;this.scaleValues[3]=m}}}},{key:"ComputeSubSymbolPt",value:function(t,e,l,o){var i,n,r=l[0],a=l[1],s=l[2],p=SuperMap.Plot.PlottingUtil.plumbLineLen(s,r,a)*t,u=SuperMap.Plot.PlottingUtil.plumbLineLen(a,r,s)*e,c=[];if(SuperMap.Plot.PlottingUtil.pointIsRightToLine(r,a,o)?((i=[]).push(r),i.push(a),c=SuperMap.Plot.PlottingUtil.paraLine(i,p,!1)):((i=[]).push(r),i.push(a),c=SuperMap.Plot.PlottingUtil.paraLine(i,p,!0)),SuperMap.Plot.PlottingUtil.pointIsRightToLine(r,s,o)?((i=[]).push(r),i.push(s),n=SuperMap.Plot.PlottingUtil.paraLine(i,u,!1)):((i=[]).push(r),i.push(s),n=SuperMap.Plot.PlottingUtil.paraLine(i,u,!0)),2>c.length||2>n.length)return o;var P=SuperMap.Plot.PlottingUtil.intersectLines(c[0],c[1],n[0],n[1]);return P.isIntersectLines?P.intersectPoint:o}}]),e}();SuperMap.Plot.AlgoSymbol23901=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,{fillLimit:!0,fill:!1,surroundLineFlag:!1});var l=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),o=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.2||i<=0)&&(i=.2),this.scaleValues[0]=i}var n=this.scaleValues[0],r=this.scaleValues[2],a=this.scaleValues[3],s=o*n,p=new SuperMap.Geometry.Point(l.x+o*r,l.y+o*a);if(this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0){if(this.subSymbols[0].symbolData)for(var u in this.subSymbols[0].symbolData.innerCells)this.subSymbols[0].symbolData.innerCells[u].type===SuperMap.Plot.SymbolType.POLYBEZIERSYMBOL&&(this.subSymbols[0].symbolData.innerCells[u].type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL);this.computeSubSymbol(this.subSymbols[0],p,s,0)}this.addScalePoint(p);var c=s,P=SuperMap.Plot.PlottingUtil.circlePoint(p,c,c,90);this.addScalePoint(P),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n,r=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),a=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-r.x)/a,this.scaleValues[2]=i,n=(e.y-r.y)/a,this.scaleValues[3]=n;else if(1===t){i=this.scaleValues[2],n=this.scaleValues[3];var s=new SuperMap.Geometry.Point(r.x+a*i,r.y+a*n),p=SuperMap.Plot.PlottingUtil.distance(s,e)/a;this.scaleValues[0]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol23500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e),this.scaleValues.length<2&&(this.scaleValues=[],this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(.1));var l=this.scaleValues[0],o=this.scaleValues[1],i=this.scaleValues[2],n=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(e),r=SuperMap.Plot.PlottingUtil.polylineDistance(t),a=r*i,s=new SuperMap.Geometry.Point(n.x+r*l,n.y+r*o);if(this.subSymbols.length>0){if(null==this.subSymbols.length)return;null!=this.subSymbols[0].code&&this.computeSubSymbol(this.subSymbols[0],s,a,0),this.addScalePoint(s);var p=SuperMap.Plot.PlottingUtil.circlePoint(s,a,a,0);this.addScalePoint(p)}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i,n,r=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(o),a=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-r.x)/a,this.scaleValues[0]=i,n=(e.y-r.y)/a,this.scaleValues[1]=n;else if(1===t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMap.Geometry.Point(r.x+a*i,r.y+a*n),p=SuperMap.Plot.PlottingUtil.distance(s,e)/a;this.scaleValues[2]=p}}}}]),e}();SuperMap.Plot.AlgoSymbol23400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=.6*this.getSubSymbolScaleValue()}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),r=SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,a=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);0l.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}}}]),e}();SuperMap.Plot.AlgoSymbol21800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&(s+=SuperMap.Plot.PlottingUtil.distance(a[p],a[p-1]));var u,c,P=i-s,S=l*this.scaleValues[1],h=[];if(P>=S){u=SuperMap.Plot.PlottingUtil.linePnt(r,e[n.index],S),a.push(u),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,a),c=SuperMap.Plot.PlottingUtil.linePnt(r,e[n.index+1],S),h.push(c);for(var y=e.length,f=n.index+1;f=0;m--)if(g=new SuperMap.Geometry.Point(a[m].x,a[m].y),b=new SuperMap.Geometry.Point(r.x,r.y),SuperMap.Plot.PlottingUtil.distance(g,b)>S){M=m;break}if(-1==M)return;a.splice(M+1,a.length-1-M),u=SuperMap.Plot.PlottingUtil.linePnt(r,e[M],S),a.push(u),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,a);for(var d=-1,v=n.index;vS){d=v;break}if(-1==d)return;c=SuperMap.Plot.PlottingUtil.linePnt(r,e[d],S),h.push(c);for(var O=d+1;Ol.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}}}]),e}();SuperMap.Plot.AlgoSymbol21600=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],t,.8*e,l-90)}}]),e}();SuperMap.Plot.AlgoSymbol21504=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],t,.8*e,l-90)}}]),e}();SuperMap.Plot.AlgoSymbol21503=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol21502=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues.push(.05),l.scaleValues.push(.02)),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol21501),e}();SuperMap.Plot.AlgoSymbol21502=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=.5*this.getSubSymbolScaleValue()}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),r=SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,a=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);this.addSubSymbols(n,a,r);for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var c=i.endIndex+1;c<=e.length-1;c++)p.push(e[c]);this.addArrow(p,this.scaleValues[1])}var P=l*this.scaleValues[0]*.5,S=SuperMap.Plot.PlottingUtil.circlePoint(n,P,P,r+90);this.addScalePoint(S,0),this.finish()}}},{key:"addSubSymbols",value:function(t,e,l){this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],t,.8*e,l-180)}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[3]=.5*o}for(var i=this.getLinePts(e,this.scaleValues[0]),n=[],r=[],a=0;a<=i.startIndex;a++)n.push(e[a]);if(n.push(i.startPt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,n),i.endIndex<=e.length){r.push(i.endPt);for(var s=i.endIndex+1;s<=e.length-1;s++)r.push(e[s]);this.addArrow(r,this.scaleValues[this.scaleValues.length-1])}var p,u,c,P,S,h,y,f,g,b,M,m,d,v=i.startPt.clone(),O=i.endPt.clone(),U=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),w=SuperMap.Plot.PlottingUtil.distance(v,O),L=SuperMap.Plot.PlottingUtil.radian(v,O)*SuperMap.Plot.PlottingUtil.RTOD;p=new SuperMap.Geometry.Point(0,0),u=new SuperMap.Geometry.Point(0,0),c=new SuperMap.Geometry.Point(0,0),P=new SuperMap.Geometry.Point(0,0),S=new SuperMap.Geometry.Point(0,0),h=new SuperMap.Geometry.Point(0,0),y=new SuperMap.Geometry.Point(0,0),f=new SuperMap.Geometry.Point(0,0),g=new SuperMap.Geometry.Point(0,0),b=new SuperMap.Geometry.Point(0,0),M=new SuperMap.Geometry.Point(0,0),m=new SuperMap.Geometry.Point(0,0),d=new SuperMap.Geometry.Point(0,0),v.x>=O.x?(p.x=.25*w,p.y=.25*-w,u.x=.5*-w,u.y=.25*-w,c.x=.5*-w,c.y=.25*w,P.x=.5*w,P.y=.25*w,S.x=.5*w,S.y=0,h.x=.25*-w,h.y=.125*-w,y.x=0,y.y=.125*w,f.x=0,f.y=.125*-w,g.x=.25*w,g.y=.2*w,b.x=.25*-w,b.y=.25*-w,M.x=.375*-w,M.y=.5*-w,m.x=.02*-w,m.y=.25*-w,d.x=.1*w,d.y=.5*-w):(p.x=.25*w,p.y=.25*w,u.x=.5*-w,u.y=.25*w,c.x=.5*-w,c.y=.25*-w,P.x=.5*w,P.y=.25*-w,S.x=.5*w,S.y=0,h.x=.25*w,h.y=.125*-w,y.x=0,y.y=.125*w,f.x=0,f.y=.125*-w,g.x=.25*-w,g.y=.125*w,b.x=.25*-w,b.y=.25*w,M.x=.375*-w,M.y=.5*w,m.x=.02*w,m.y=.25*w,d.x=.15*w,d.y=.5*w);var _=[],V=[],A=[],T=[],E=[],x=SuperMap.Plot.PlottingUtil.coordinateTrans(U,p,L),j=SuperMap.Plot.PlottingUtil.coordinateTrans(U,u,L),Y=SuperMap.Plot.PlottingUtil.coordinateTrans(U,c,L),C=SuperMap.Plot.PlottingUtil.coordinateTrans(U,P,L),I=SuperMap.Plot.PlottingUtil.coordinateTrans(U,S,L),B=SuperMap.Plot.PlottingUtil.coordinateTrans(U,h,L),R=SuperMap.Plot.PlottingUtil.coordinateTrans(U,y,L),G=SuperMap.Plot.PlottingUtil.coordinateTrans(U,f,L),N=SuperMap.Plot.PlottingUtil.coordinateTrans(U,g,L),D=SuperMap.Plot.PlottingUtil.coordinateTrans(U,b,L),k=SuperMap.Plot.PlottingUtil.coordinateTrans(U,M,L),z=SuperMap.Plot.PlottingUtil.coordinateTrans(U,m,L),F=SuperMap.Plot.PlottingUtil.coordinateTrans(U,d,L);_.push(x),_.push(j),_.push(Y),_.push(C),_.push(I),V.push(B),V.push(R),V.push(G),V.push(N),A.push(D),A.push(k),T.push(z),T.push(F),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,_,null,!0),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,V,null,!0),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,A,null,!0),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,T,null,!0);var K=.3*SuperMap.Plot.PlottingUtil.distance(G,N),W=SuperMap.Plot.PlottingUtil.linePnt(N,G,K),J=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(.3*K,N,W);E.push(J.pntLeft),E.push(N),E.push(J.pntRight);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,E,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0},!0);var q=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*l,e),Z=SuperMap.Plot.PlottingUtil.circlePoint(q.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,L+90);this.addScalePoint(Z,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).lengthl.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=.01*i;if(0===t){var r=SuperMap.Plot.PlottingUtil.findPointInPolyLine(o,n);if(-1===r.index)return;var a=SuperMap.Plot.PlottingUtil.distance(e,r.pt);this.scaleValues[0]=a/i}else if(1===t){var s=SuperMap.Plot.PlottingUtil.findPointInPolyLine(o,n);if(-1===s.index)return;var p=SuperMap.Plot.PlottingUtil.projectPtOnPolyLine(e,o);if(-1===p.index)return;for(var u=0,c=s.index+1;c.93&&(this.scaleValues[1]=.93)}}}}]),e}();SuperMap.Plot.AlgoSymbol21500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var i=SuperMap.Plot.PlottingUtil.polylineDistance(o),n=i*(.5+.5*this.scaleValues[1]),r=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(n,o);if(!r.bfind)return;var a,s=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(1,o[r.index],r.pts),p=SuperMap.Plot.PlottingUtil.pointIsRightToLine(o[r.index],o[r.index+1],e);this.scaleValues[2]=p?0:1,a=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,new SuperMap.Geometry.Point(s.pntLeft.x,s.pntLeft.y),new SuperMap.Geometry.Point(s.pntRight.x,s.pntRight.y));var u=SuperMap.Plot.PlottingUtil.distance(a.projectPoint,new SuperMap.Geometry.Point(r.pts.x,r.pts.y));this.scaleValues[0]=u/i}}}]),e}();SuperMap.Plot.AlgoSymbol21401=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2){for(var n=-1,r=e.length-2;r>=0;r--)if(ol.length)return;var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=SuperMap.Plot.PlottingUtil.distance(e,l[l.length-1])/o;if(i>.2)return;this.scaleValues[0]=i}}}]),e}();SuperMap.Plot.AlgoSymbol25201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.x&&(U=!1);var w,L=(O=.1*o)+(v=.12*o/2);d=1==U?(w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(L,l,e)).pntRight:(w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(L,l,e)).pntLeft;var _,V,A,T,E,x,j,Y,C=[];C.push(d),C.push(new SuperMap.Geometry.Point(d.x+v,d.y)),this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,C),1==U?(_=(w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(.85*O,l,e)).pntRight,T=w.pntLeft,V=(w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(O,_,T)).pntRight,A=w.pntLeft):(_=(w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(.85*O,l,e)).pntLeft,T=w.pntRight,V=(w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(O,_,T)).pntLeft,A=w.pntRight),(C=[]).push(_),C.push(V),C.push(A),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,C,{fillLimit:!0,fill:!0}),w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(2*v,V,A),Y=1==U?w.pntRight:w.pntLeft,w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(2*v,A,V),x=1==U?w.pntLeft:w.pntRight;var I=SuperMap.Plot.PlottingUtil.intersectLines(_,x,A,V);I.isIntersectLines&&(E=I.intersectPoint,(I=SuperMap.Plot.PlottingUtil.intersectLines(_,Y,A,V)).isIntersectLines&&(j=I.intersectPoint,(C=[]).push(E),C.push(x),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,C),(C=[]).push(j),C.push(Y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,C),this.scalePoints=[],this.addScalePoint(b[0]),this.addScalePoint(b[1]),this.addScalePoint(b[2]),this.finish()))}}},{key:"computeScaleValues",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var o,i=SuperMap.Plot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),r=l[1].clone(),a=e.clone();if(0==t){var s=SuperMap.Plot.PlottingUtil.distance(a,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMap.Plot.PlottingUtil.projectPoint(a,n,r);var p=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[1]=p;var u=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMap.Plot.PlottingUtil.projectPoint(a,n,r);var c=SuperMap.Plot.PlottingUtil.distance(o,a)/i;this.scaleValues[2]=c;var P=SuperMap.Plot.PlottingUtil.distance(o,r)/i;this.scaleValues[4]=P}}}}]),e}();SuperMap.Plot.AlgoSymbol42500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMap.Geometry.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),r=180*SuperMap.Plot.PlottingUtil.radian(i.startPt,i.endPt)/Math.PI,a=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);0l.length)return;var o=new SuperMap.Geometry.Point(l[0].x,l[0].y),i=new SuperMap.Geometry.Point(l[1].x,l[1].y),n=SuperMap.Plot.PlottingUtil.distance(o,i);if(0===n)return;var r=new SuperMap.Geometry.Point((o.x+i.x)/2,(o.y+i.y)/2);if(0===t){var a=SuperMap.Plot.PlottingUtil.distance(e,r)/n;this.scaleValues[0]=a,SuperMap.Plot.PlottingUtil.pointIsRightToLine(o,i,e)?this.scaleValues[1]=1:this.scaleValues[1]=0}}}}]),e}();SuperMap.Plot.AlgoSymbol20301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;for(var o=SuperMap.Plot.PlottingUtil.polylineDistance(l),i=-1,n=0,r=new SuperMap.Geometry.Point(0,0),a=0;ac&&(i=a,r=s,n=c)}}if(-1===i||i>l.length-1)return;for(var P=0,S=0;So)return;var g=P/o;g>.95?g=.95:g<.1&&(g=.1),this.scaleValues[0]=g}}}]),e}();SuperMap.Plot.AlgoSymbol20300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2*l.length-2)return;for(var o=0,i=0;i.45&&(p=.45),2==l.length?this.scaleValues[0]=p:this.scaleValues[2*t]=p}else{var u=-1;u=t%2==0?t/2:(t+1)/2;var c=(e.x-l[u].x)/o,P=(e.y-l[u].y)/o;this.scaleValues[2*t]=c,this.scaleValues[2*t+1]=P}}}}]),e}();SuperMap.Plot.AlgoSymbol17703=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lo)return l;for(var i=SuperMap.Plot.PlottingUtil.clonePoints(t),n=2*parseInt(o/(1.5*e)),r=0;r0&&l.push(i),l}}]),e}();SuperMap.Plot.AlgoSymbol17700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.controlPoints.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(3>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=e[0].x,o=e[0].x,i=e[0].y,n=e[0].y,r=0;re[r].x&&(l=e[r].x),oe[r].y&&(i=e[r].y),n=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(3>(e=SuperMap.Plot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=e[0].x,o=e[0].x,i=e[0].y,n=e[0].y,r=0;re[r].x&&(l=e[r].x),oe[r].y&&(i=e[r].y),no-o*this.scaleValues[0]-n&&(this.scaleValues[1]=(o-o*this.scaleValues[0]-n)/o)}}}}]),e}();SuperMap.Plot.AlgoSymbol16203=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.minEditPts){this.scalePoints=[];var e=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t);e=SuperMap.Plot.PlottingUtil.clearSamePts(e);var l=this.scaleValues[0],o=SuperMap.Plot.PlottingUtil.polylineDistance(t),i=l*o,n=.6*i,r=this.scaleValues[2]*o,a=0===this.scaleValues[1],s=SuperMap.Plot.PlottingUtil.polylineDistance(e);if(0===s)return;for(var p=[],u=0;u<=s;u+=r){var c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u);if(!(c.index<0)){var P=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(i,e[c.index+1],c.pt);if(a?p.push(P.pntRight):p.push(P.pntLeft),!((c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u+.65*r)).index<0||(P=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(n,e[c.index+1],c.pt),a?p.push(P.pntRight):p.push(P.pntLeft),(c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u+.8*r)).index<0||(p.push(c.pt),(c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u+.5*r)).index<0||(P=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(i,e[c.index+1],c.pt),a?p.push(P.pntLeft):p.push(P.pntRight),c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u+.2*r),p.push(c.pt),(c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u+.35*r)).index<0||(P=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(n,e[c.index+1],c.pt),a?p.push(P.pntRight):p.push(P.pntLeft),(c=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,u+r)).index<0||(P=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(i,e[c.index+1],c.pt),a?p.push(P.pntRight):p.push(P.pntLeft),!(Math.abs(u)<=1e-6)))))))){this.scalePoints=[];var S=new SuperMap.Geometry.Point(p[0].x,p[0].y);S.isScalePoint=!0,S.tag=0,this.scalePoints.push(S),(S=new SuperMap.Geometry.Point(c.pt.x,c.pt.y)).isScalePoint=!0,S.tag=1,this.scalePoints.push(S)}}}var h=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(p);SuperMap.Plot.PlottingUtil.clearSamePts(h),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h)}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).length.7&&(d=.7),this.scaleValues[2]=d}}}}]),e}();SuperMap.Plot.AlgoSymbol15200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=n)return;this.scaleValues=[];var r=SuperMap.Plot.PlottingUtil.distance(l,o)/n;this.scaleValues.push(r);var a=180*SuperMap.Plot.PlottingUtil.radian(l,o)/Math.PI;a>90?a-=90:a=270+a,this.scaleValues.push(a*(Math.PI/180));var s=180*SuperMap.Plot.PlottingUtil.radian(l,i)/Math.PI;s>90?s-=90:s=270+s,this.scaleValues.push(s*(Math.PI/180)),e=this.scaleValues[0]*n;var p=this.scaleValues[1]*(180/Math.PI)+90,u=this.scaleValues[2]*(180/Math.PI)+90;p=u;S-=4)c=SuperMap.Plot.PlottingUtil.circlePoint(this.controlPoints[0],e,e,S),P.push(c);S!=u&&(c=SuperMap.Plot.PlottingUtil.circlePoint(this.controlPoints[0],e,e,u),P.push(c)),this.controlPoints[2]=SuperMap.Plot.PlottingUtil.circlePoint(this.controlPoints[0],e,e,u),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P)}this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol13700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;li&&hi){var y;y=S>i?P:a,(c=this.getLineAddCircleIntersectPts(P,a,p)).length>0&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[c[0],y])}else{var f=SuperMap.Plot.PlottingUtil.projectPoint(s,P,a);if(SuperMap.Plot.PlottingUtil.distance(s,f)>=i)this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[P,a]);else if(SuperMap.Plot.PlottingUtil.pointIsOnPolyLine(f,P,a)){if((c=this.getLineAddCircleIntersectPts(P,a,p)).length>0){c.unshift(P),c.push(a);for(var g=0;gSuperMap.Plot.PlottingUtil.distance(i,l)}},{key:"getLineAddCircleIntersectPts",value:function(t,e,l){var o=l.slice();o[0].x===o[o.length-1].x&&o[0].y===o[o.length-1].y||o.push(o[0]);for(var i,n=[],r=0;re.x)for(var c=0;cn[P+1].x&&(i=n[P],n[P]=n[P+1],n[P+1]=i);else if(t.y>e.y)for(var S=0;Sn[h+1].y&&(i=n[h],n[h]=n[h+1],n[h+1]=i);return n}}]),e}();SuperMap.Plot.AlgoSymbol12502=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l1&&(P.push(S),S=[]):S.push(r.pt[h]);S.length>1&&P.push(S);for(var y=0;ythis.scaleValues.length)return;var o,i,n,r,a,s=SuperMap.Plot.PlottingUtil.polylineDistance(l),p=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(l),u=new SuperMap.Geometry.Point(e.x,e.y);if(0===t){var c=new SuperMap.Geometry.Point(l[0].x,l[0].y),P=SuperMap.Plot.PlottingUtil.distance(c,u);i=2*P/s,this.scaleValues[1]=i}else if(1===t)c=new SuperMap.Geometry.Point(l[0].x,l[0].y),o=(P=SuperMap.Plot.PlottingUtil.distance(c,u))/s,this.scaleValues[0]=o;else if(2==t){var S=-1,h=0;a=new SuperMap.Geometry.Point(0,0),o=this.scaleValues[0],i=this.scaleValues[1];for(var y=0;yM&&(S=y,a=b,h=M)}}if(-1==S||S>p.length-1)return;r=SuperMap.Plot.PlottingUtil.polylineDistance(p);for(var m=[],d=0;dr)return;n=v/r,this.scaleValues[2]=n}else if(3===t){o=this.scaleValues[0],i=this.scaleValues[1],n=this.scaleValues[2];var O=(r=SuperMap.Plot.PlottingUtil.polylineDistance(p))*n;if(-1===(a=SuperMap.Plot.PlottingUtil.findPointInPolyLine(p,O)).index)return;var U=SuperMap.Plot.PlottingUtil.distance(a.pt,e)/s;U>.4&&(U=.4),this.scaleValues[3]=U}}}},{key:"GetCurvePts",value:function(t,e,l){for(var o,i=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t),n=SuperMap.Plot.PlottingUtil.polylineDistance(i),r=n*e,a=n*l/2,s=[],p=[],u=i[0],c=!1,P=i[0],S=1;S1&&0===b?this.ClearCurvePts2D(P,u,h,p,M,s):s.concat(M),p=(p=[]).concat(M),P=u,u=f}S===i.length-1&&(f=i[i.length-1],M=this.GetCosPts2D(u,f,r,a),s=p.length>1&&M.length>1?this.ClearCurvePts2D(P,u,h,p,M,s):s.concat(M))}}return{pt:s,scalePt:o}}},{key:"GetCosPts2D",value:function(t,e,l,o){for(var i=[],n=SuperMap.Plot.PlottingUtil.distance(t,e),r=l/30,a=0;ao&&So){var h;h=P>o?u:c,(p=this.getLineAddCircleIntersectPts(u,c,a)).length>0&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[p[0],h])}else{var y=SuperMap.Plot.PlottingUtil.projectPoint(r,u,c);if(SuperMap.Plot.PlottingUtil.distance(r,y)>=o)this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[u,c]);else if(SuperMap.Plot.PlottingUtil.pointIsOnPolyLine(y,u,c)){if((p=this.getLineAddCircleIntersectPts(u,c,a)).length>0){p.unshift(u),p.push(c);for(var f=0;fSuperMap.Plot.PlottingUtil.distance(i,l)}},{key:"getLineAddCircleIntersectPts",value:function(t,e,l){var o=l.slice();o[0].x===o[o.length-1].x&&o[0].y===o[o.length-1].y||o.push(o[0]);for(var i,n=[],r=0;re.x)for(var c=0;cn[P+1].x&&(i=n[P],n[P]=n[P+1],n[P+1]=i);else if(t.y>e.y)for(var S=0;Sn[h+1].y&&(i=n[h],n[h]=n[h+1],n[h+1]=i);return n}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),o=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0===t){for(var i=0,n=-1,r=null,a=0;a1&&(P=1),this.scaleValues[0]=P}if(1===t){var S=this.scaleValues[0]*o,h=SuperMap.Plot.PlottingUtil.findPointInPolyLine(l,S);if(-1===h.index)return;var y=SuperMap.Plot.PlottingUtil.distance(h.pt,e)/o;y>.4&&(y=.4),this.scaleValues[1]=y}}}}]),e}();SuperMap.Plot.AlgoSymbol12500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbol6030601=e.AlgoSymbol6031001=e.AlgoSymbol6030501=e.AlgoSymbol6030107=e.AlgoSymbol6030106=e.AlgoSymbol6030105=e.AlgoSymbol6030104=e.AlgoSymbol6030103=e.AlgoSymbol6030102=e.AlgoSymbol6030101=e.AlgoSymbol5020802=e.AlgoSymbol5035205=e.AlgoSymbol5035203=e.AlgoSymbol5035202=e.AlgoSymbol5035201=e.AlgoSymbol5034801=e.AlgoSymbol5034203=e.AlgoSymbol5034202=e.AlgoSymbol5034201=e.AlgoSymbol5033803=e.AlgoSymbol5033802=e.AlgoSymbol5033001=e.AlgoSymbol5032003=e.AlgoSymbol5031401=e.AlgoSymbol5030301=e.AlgoSymbol5022301=e.AlgoSymbol5022002=e.AlgoSymbol5022001=e.AlgoSymbol5021803=e.AlgoSymbol5010401=e.AlgoSymbol4030401=e.AlgoSymbol4030303=e.AlgoSymbol4030302=e.AlgoSymbol4030301=e.AlgoSymbol3002501=e.AlgoSymbol3002005=e.AlgoSymbol3002004=e.AlgoSymbol3002002=e.AlgoSymbol3002001=e.AlgoSymbol3001302=e.AlgoSymbol3001301=e.AlgoSymbol3001105=e.AlgoSymbol3001104=e.AlgoSymbol3001103=e.AlgoSymbol3001102=e.AlgoSymbol3001101=e.AlgoSymbol3000809=e.AlgoSymbol3000808=e.AlgoSymbol3000807=e.AlgoSymbol3000806=e.AlgoSymbol3000805=e.AlgoSymbol3000804=e.AlgoSymbol3000803=e.AlgoSymbol3000802=e.AlgoSymbol3000801=e.AlgoSymbol2122301=e.AlgoSymbol2122101=e.AlgoSymbol2121602=e.AlgoSymbol2121601=e.AlgoSymbol2121507=e.AlgoSymbol2121506=e.AlgoSymbol2121504=e.AlgoSymbol2092101=e.AlgoSymbol2091503=e.AlgoSymbol60310=e.AlgoSymbol60306=e.AlgoSymbol60305=e.AlgoSymbol60304=e.AlgoSymbol2121505=e.AlgoSymbol60301=e.AlgoSymbol60205=e.AlgoSymbol60203=e.AlgoSymbol50352=e.AlgoSymbol50342=e.AlgoSymbol50308=e.AlgoSymbol50226=e.AlgoSymbol50225=e.AlgoSymbol50223=e.AlgoSymbol50108=e.AlgoSymbol40304=e.AlgoSymbol40302=e.AlgoSymbol40104=e.AlgoSymbol30026=e.AlgoSymbol30025=e.AlgoSymbol30020=e.AlgoSymbol30014=e.AlgoSymbol30013=e.AlgoSymbol30012=void 0,e.AlgoSymbol30011=e.AlgoSymbol30010=e.AlgoSymbol30009=e.AlgoSymbol30008=e.AlgoSymbol21221=e.AlgoSymbol21216=e.AlgoSymbol3020901=e.AlgoSymbol3010304=e.AlgoSymbol3010303=e.AlgoSymbol3010301=e.AlgoSymbol40100=e.AlgoSymbol37700=e.AlgoSymbol35200=e.AlgoSymbol35000=e.AlgoSymbol44100=e.AlgoSymbol42200=e.AlgoSymbol41202=e.AlgoSymbol41201=e.AlgoSymbol41200=e.AlgoSymbol41100=e.AlgoSymbol40101=e.AlgoSymbol40900=e.AlgoSymbol32300=e.AlgoSymbol31401=e.AlgoSymbol31400=e.AlgoSymbol31301=e.AlgoSymbol31300=e.AlgoSymbol30800=e.AlgoSymbol30201=e.AlgoSymbol30200=e.AlgoSymbol30100=e.AlgoSymbol30002=e.AlgoSymbol30000=e.AlgoSymbol29800=e.AlgoSymbol28301=e.AlgoSymbol28300=e.AlgoSymbol28200=e.AlgoSymbol28100=e.AlgoSymbol28000=e.AlgoSymbol26601=e.AlgoSymbol26600=e.AlgoSymbol26500=e.AlgoSymbol25400=e.AlgoSymbol25000=e.AlgoSymbol25200=e.AlgoSymbol29103=e.AlgoSymbol29101=e.AlgoSymbol29000=e.AlgoSymbol28900=e.AlgoSymbol23902=e.AlgoSymbol23901=e.AlgoSymbol23800=e.AlgoSymbol23500=e.AlgoSymbol23400=e.AlgoSymbol22000=e.AlgoSymbol21800=e.AlgoSymbol21600=e.AlgoSymbol21504=e.AlgoSymbol21503=e.AlgoSymbol21502=e.AlgoSymbol21501=e.AlgoSymbol21900=e.AlgoSymbol21500=e.AlgoSymbol21401=e.AlgoSymbol25201=e.AlgoSymbol42500=e.AlgoSymbol26501=e.AlgoSymbol20301=e.AlgoSymbol20300=e.AlgoSymbol17806=e.AlgoSymbol17805=e.AlgoSymbol17804=e.AlgoSymbol17803=e.AlgoSymbol17802=e.AlgoSymbol17801=e.AlgoSymbol17800=e.AlgoSymbol17704=e.AlgoSymbol17703=e.AlgoSymbol17700=e.AlgoSymbol17501=e.AlgoSymbol17500=e.AlgoSymbol16700=e.AlgoSymbol16203=e.AlgoSymbol16202=e.AlgoSymbol16201=e.AlgoSymbol16200=e.AlgoSymbol15900=e.AlgoSymbol15806=e.AlgoSymbol15804=e.AlgoSymbol15803=e.AlgoSymbol15802=e.AlgoSymbol15801=e.AlgoSymbol15800=e.AlgoSymbol15202=e.AlgoSymbol15201=e.AlgoSymbol15200=e.AlgoSymbol13700=e.AlgoSymbol12502=e.AlgoSymbol12501=e.AlgoSymbol12500=void 0;var o=l(187),i=l(186),n=l(185),r=l(184),a=l(183),s=l(182),p=l(181),u=l(180),c=l(179),P=l(178),S=l(177),h=l(176),y=l(175),f=l(174),g=l(173),b=l(172),M=l(171),m=l(170),d=l(169),v=l(168),O=l(167),U=l(166),w=l(165),L=l(164),_=l(163),V=l(162),A=l(161),T=l(160),E=l(159),x=l(158),j=l(157),Y=l(156),C=l(155),I=l(154),B=l(153),R=l(152),G=l(151),N=l(150),D=l(149),k=l(148),z=l(147),F=l(146),K=l(145),W=l(144),J=l(143),q=l(142),Z=l(141),X=l(140),H=l(139),Q=l(138),$=l(137),tt=l(136),et=l(135),lt=l(134),ot=l(133),it=l(132),nt=l(131),rt=l(130),at=l(129),st=l(128),pt=l(127),ut=l(126),ct=l(125),Pt=l(124),St=l(123),ht=l(122),yt=l(121),ft=l(120),gt=l(119),bt=l(118),Mt=l(117),mt=l(116),dt=l(115),vt=l(114),Ot=l(113),Ut=l(112),wt=l(111),Lt=l(110),_t=l(109),Vt=l(108),At=l(107),Tt=l(106),Et=l(105),xt=l(104),jt=l(103),Yt=l(102),Ct=l(101),It=l(100),Bt=l(99),Rt=l(98),Gt=l(97),Nt=l(96),Dt=l(95),kt=l(94),zt=l(93),Ft=l(92),Kt=l(91),Wt=l(90),Jt=l(89),qt=l(88),Zt=l(87),Xt=l(86),Ht=l(85),Qt=l(84),$t=l(83),te=l(82),ee=l(81),le=l(80),oe=l(79),ie=l(78),ne=l(77),re=l(76),ae=l(75),se=l(74),pe=l(73),ue=l(72),ce=l(71),Pe=l(70),Se=l(69),he=l(68),ye=l(67),fe=l(66),ge=l(65),be=l(64),Me=l(63),me=l(62),de=l(61),ve=l(60),Oe=l(59),Ue=l(58),we=l(57),Le=l(56),_e=l(55),Ve=l(54),Ae=l(53),Te=l(52),Ee=l(51),xe=l(50),je=l(49),Ye=l(48),Ce=l(47),Ie=l(46),Be=l(45),Re=l(44),Ge=l(43),Ne=l(42),De=l(41),ke=l(40),ze=l(39),Fe=l(38),Ke=l(37),We=l(36),Je=l(35),qe=l(34),Ze=l(33),Xe=l(32),He=l(31),Qe=l(30),$e=l(29),tl=l(28),el=l(27),ll=l(26),ol=l(25),il=l(24),nl=l(23),rl=l(22),al=l(21),sl=l(20),pl=l(19),ul=l(18),cl=l(17),Pl=l(16),Sl=l(15),hl=l(14),yl=l(13),fl=l(12),gl=l(11),bl=l(10),Ml=l(9),ml=l(8),dl=l(7),vl=l(6),Ol=l(5),Ul=l(4),wl=l(3),Ll=l(2),_l=l(1),Vl=l(0);e.AlgoSymbol12500=o.AlgoSymbol12500,e.AlgoSymbol12501=i.AlgoSymbol12501,e.AlgoSymbol12502=n.AlgoSymbol12502,e.AlgoSymbol13700=r.AlgoSymbol13700,e.AlgoSymbol15200=a.AlgoSymbol15200,e.AlgoSymbol15201=s.AlgoSymbol15201,e.AlgoSymbol15202=p.AlgoSymbol15202,e.AlgoSymbol15800=u.AlgoSymbol15800,e.AlgoSymbol15801=c.AlgoSymbol15801,e.AlgoSymbol15802=P.AlgoSymbol15802,e.AlgoSymbol15803=S.AlgoSymbol15803,e.AlgoSymbol15804=h.AlgoSymbol15804,e.AlgoSymbol15806=y.AlgoSymbol15806,e.AlgoSymbol15900=f.AlgoSymbol15900,e.AlgoSymbol16200=g.AlgoSymbol16200,e.AlgoSymbol16201=b.AlgoSymbol16201,e.AlgoSymbol16202=M.AlgoSymbol16202,e.AlgoSymbol16203=m.AlgoSymbol16203,e.AlgoSymbol16700=d.AlgoSymbol16700,e.AlgoSymbol17500=v.AlgoSymbol17500,e.AlgoSymbol17501=O.AlgoSymbol17501,e.AlgoSymbol17700=U.AlgoSymbol17700,e.AlgoSymbol17703=w.AlgoSymbol17703,e.AlgoSymbol17704=L.AlgoSymbol17704,e.AlgoSymbol17800=_.AlgoSymbol17800,e.AlgoSymbol17801=V.AlgoSymbol17801,e.AlgoSymbol17802=A.AlgoSymbol17802,e.AlgoSymbol17803=T.AlgoSymbol17803,e.AlgoSymbol17804=E.AlgoSymbol17804,e.AlgoSymbol17805=x.AlgoSymbol17805,e.AlgoSymbol17806=j.AlgoSymbol17806,e.AlgoSymbol20300=Y.AlgoSymbol20300,e.AlgoSymbol20301=C.AlgoSymbol20301,e.AlgoSymbol26501=I.AlgoSymbol26501,e.AlgoSymbol42500=B.AlgoSymbol42500,e.AlgoSymbol25201=R.AlgoSymbol25201,e.AlgoSymbol21401=G.AlgoSymbol21401,e.AlgoSymbol21500=N.AlgoSymbol21500,e.AlgoSymbol21900=D.AlgoSymbol21900,e.AlgoSymbol21501=k.AlgoSymbol21501,e.AlgoSymbol21502=z.AlgoSymbol21502,e.AlgoSymbol21503=F.AlgoSymbol21503,e.AlgoSymbol21504=K.AlgoSymbol21504,e.AlgoSymbol21600=W.AlgoSymbol21600,e.AlgoSymbol21800=J.AlgoSymbol21800,e.AlgoSymbol22000=q.AlgoSymbol22000,e.AlgoSymbol23400=Z.AlgoSymbol23400,e.AlgoSymbol23500=X.AlgoSymbol23500,e.AlgoSymbol23800=H.AlgoSymbol23800,e.AlgoSymbol23901=Q.AlgoSymbol23901,e.AlgoSymbol23902=$.AlgoSymbol23902,e.AlgoSymbol28900=tt.AlgoSymbol28900,e.AlgoSymbol29000=et.AlgoSymbol29000,e.AlgoSymbol29101=lt.AlgoSymbol29101,e.AlgoSymbol29103=ot.AlgoSymbol29103,e.AlgoSymbol25200=it.AlgoSymbol25200,e.AlgoSymbol25000=nt.AlgoSymbol25000,e.AlgoSymbol25400=rt.AlgoSymbol25400,e.AlgoSymbol26500=at.AlgoSymbol26500,e.AlgoSymbol26600=st.AlgoSymbol26600,e.AlgoSymbol26601=pt.AlgoSymbol26601,e.AlgoSymbol28000=ut.AlgoSymbol28000,e.AlgoSymbol28100=ct.AlgoSymbol28100,e.AlgoSymbol28200=Pt.AlgoSymbol28200,e.AlgoSymbol28300=St.AlgoSymbol28300,e.AlgoSymbol28301=ht.AlgoSymbol28301,e.AlgoSymbol29800=yt.AlgoSymbol29800,e.AlgoSymbol30000=ft.AlgoSymbol30000,e.AlgoSymbol30002=gt.AlgoSymbol30002,e.AlgoSymbol30100=bt.AlgoSymbol30100,e.AlgoSymbol30200=Mt.AlgoSymbol30200,e.AlgoSymbol30201=mt.AlgoSymbol30201,e.AlgoSymbol30800=dt.AlgoSymbol30800,e.AlgoSymbol31300=vt.AlgoSymbol31300,e.AlgoSymbol31301=Ot.AlgoSymbol31301,e.AlgoSymbol31400=Ut.AlgoSymbol31400,e.AlgoSymbol31401=wt.AlgoSymbol31401,e.AlgoSymbol32300=Lt.AlgoSymbol32300,e.AlgoSymbol40900=_t.AlgoSymbol40900,e.AlgoSymbol40101=Vt.AlgoSymbol40101,e.AlgoSymbol41100=At.AlgoSymbol41100,e.AlgoSymbol41200=Tt.AlgoSymbol41200,e.AlgoSymbol41201=Et.AlgoSymbol41201,e.AlgoSymbol41202=xt.AlgoSymbol41202,e.AlgoSymbol42200=jt.AlgoSymbol42200,e.AlgoSymbol44100=Yt.AlgoSymbol44100,e.AlgoSymbol35000=Ct.AlgoSymbol35000,e.AlgoSymbol35200=It.AlgoSymbol35200,e.AlgoSymbol37700=Bt.AlgoSymbol37700,e.AlgoSymbol40100=Rt.AlgoSymbol40100,e.AlgoSymbol3010301=Gt.AlgoSymbol3010301,e.AlgoSymbol3010303=Nt.AlgoSymbol3010303,e.AlgoSymbol3010304=Dt.AlgoSymbol3010304,e.AlgoSymbol3020901=kt.AlgoSymbol3020901,e.AlgoSymbol21216=zt.AlgoSymbol21216,e.AlgoSymbol21221=Ft.AlgoSymbol21221,e.AlgoSymbol30008=Kt.AlgoSymbol30008,e.AlgoSymbol30009=Wt.AlgoSymbol30009,e.AlgoSymbol30010=Jt.AlgoSymbol30010,e.AlgoSymbol30011=qt.AlgoSymbol30011,e.AlgoSymbol30012=Zt.AlgoSymbol30012,e.AlgoSymbol30013=Xt.AlgoSymbol30013,e.AlgoSymbol30014=Ht.AlgoSymbol30014,e.AlgoSymbol30020=Qt.AlgoSymbol30020,e.AlgoSymbol30025=$t.AlgoSymbol30025,e.AlgoSymbol30026=te.AlgoSymbol30026,e.AlgoSymbol40104=ee.AlgoSymbol40104,e.AlgoSymbol40302=le.AlgoSymbol40302,e.AlgoSymbol40304=oe.AlgoSymbol40304,e.AlgoSymbol50108=ie.AlgoSymbol50108,e.AlgoSymbol50223=ne.AlgoSymbol50223,e.AlgoSymbol50225=re.AlgoSymbol50225,e.AlgoSymbol50226=ae.AlgoSymbol50226,e.AlgoSymbol50308=se.AlgoSymbol50308,e.AlgoSymbol50342=pe.AlgoSymbol50342,e.AlgoSymbol50352=ue.AlgoSymbol50352,e.AlgoSymbol60203=ce.AlgoSymbol60203,e.AlgoSymbol60205=Pe.AlgoSymbol60205,e.AlgoSymbol60301=Se.AlgoSymbol60301,e.AlgoSymbol2121505=he.AlgoSymbol2121505,e.AlgoSymbol60304=ye.AlgoSymbol60304,e.AlgoSymbol60305=fe.AlgoSymbol60305,e.AlgoSymbol60306=ge.AlgoSymbol60306,e.AlgoSymbol60310=be.AlgoSymbol60310,e.AlgoSymbol2091503=Me.AlgoSymbol2091503,e.AlgoSymbol2092101=me.AlgoSymbol2092101,e.AlgoSymbol2121504=de.AlgoSymbol2121504,e.AlgoSymbol2121506=ve.AlgoSymbol2121506,e.AlgoSymbol2121507=Oe.AlgoSymbol2121507,e.AlgoSymbol2121601=Ue.AlgoSymbol2121601,e.AlgoSymbol2121602=we.AlgoSymbol2121602,e.AlgoSymbol2122101=Le.AlgoSymbol2122101,e.AlgoSymbol2122301=_e.AlgoSymbol2122301,e.AlgoSymbol3000801=Ve.AlgoSymbol3000801,e.AlgoSymbol3000802=Ae.AlgoSymbol3000802,e.AlgoSymbol3000803=Te.AlgoSymbol3000803,e.AlgoSymbol3000804=Ee.AlgoSymbol3000804,e.AlgoSymbol3000805=xe.AlgoSymbol3000805,e.AlgoSymbol3000806=je.AlgoSymbol3000806,e.AlgoSymbol3000807=Ye.AlgoSymbol3000807,e.AlgoSymbol3000808=Ce.AlgoSymbol3000808,e.AlgoSymbol3000809=Ie.AlgoSymbol3000809,e.AlgoSymbol3001101=Be.AlgoSymbol3001101,e.AlgoSymbol3001102=Re.AlgoSymbol3001102,e.AlgoSymbol3001103=Ge.AlgoSymbol3001103,e.AlgoSymbol3001104=Ne.AlgoSymbol3001104,e.AlgoSymbol3001105=De.AlgoSymbol3001105,e.AlgoSymbol3001301=ke.AlgoSymbol3001301,e.AlgoSymbol3001302=ze.AlgoSymbol3001302,e.AlgoSymbol3002001=Fe.AlgoSymbol3002001,e.AlgoSymbol3002002=Ke.AlgoSymbol3002002,e.AlgoSymbol3002004=We.AlgoSymbol3002004,e.AlgoSymbol3002005=Je.AlgoSymbol3002005,e.AlgoSymbol3002501=qe.AlgoSymbol3002501,e.AlgoSymbol4030301=Ze.AlgoSymbol4030301,e.AlgoSymbol4030302=Xe.AlgoSymbol4030302,e.AlgoSymbol4030303=He.AlgoSymbol4030303,e.AlgoSymbol4030401=Qe.AlgoSymbol4030401,e.AlgoSymbol5010401=$e.AlgoSymbol5010401,e.AlgoSymbol5021803=tl.AlgoSymbol5021803,e.AlgoSymbol5022001=el.AlgoSymbol5022001,e.AlgoSymbol5022002=ll.AlgoSymbol5022002,e.AlgoSymbol5022301=ol.AlgoSymbol5022301,e.AlgoSymbol5030301=il.AlgoSymbol5030301,e.AlgoSymbol5031401=nl.AlgoSymbol5031401,e.AlgoSymbol5032003=rl.AlgoSymbol5032003,e.AlgoSymbol5033001=al.AlgoSymbol5033001,e.AlgoSymbol5033802=sl.AlgoSymbol5033802,e.AlgoSymbol5033803=pl.AlgoSymbol5033803,e.AlgoSymbol5034201=ul.AlgoSymbol5034201,e.AlgoSymbol5034202=cl.AlgoSymbol5034202,e.AlgoSymbol5034203=Pl.AlgoSymbol5034203,e.AlgoSymbol5034801=Sl.AlgoSymbol5034801,e.AlgoSymbol5035201=hl.AlgoSymbol5035201,e.AlgoSymbol5035202=yl.AlgoSymbol5035202,e.AlgoSymbol5035203=fl.AlgoSymbol5035203,e.AlgoSymbol5035205=gl.AlgoSymbol5035205,e.AlgoSymbol5020802=bl.AlgoSymbol5020802,e.AlgoSymbol6030101=Ml.AlgoSymbol6030101,e.AlgoSymbol6030102=ml.AlgoSymbol6030102,e.AlgoSymbol6030103=dl.AlgoSymbol6030103,e.AlgoSymbol6030104=vl.AlgoSymbol6030104,e.AlgoSymbol6030105=Ol.AlgoSymbol6030105,e.AlgoSymbol6030106=Ul.AlgoSymbol6030106,e.AlgoSymbol6030107=wl.AlgoSymbol6030107,e.AlgoSymbol6030501=Ll.AlgoSymbol6030501,e.AlgoSymbol6031001=_l.AlgoSymbol6031001,e.AlgoSymbol6030601=Vl.AlgoSymbol6030601},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WJAlgoSymbolFactory=void 0,l(188);e.WJAlgoSymbolFactory=SuperMap.Plot.WJAlgoSymbolFactory=SuperMap.Plot.WJAlgoSymbolFactory||{};SuperMap.Plot.WJAlgoSymbolFactory.getAlgoSymbol=function(t,e,l){if(123===t)switch(e){case 20915:return new SuperMap.Plot.AlgoSymbol12500(l);case 2091501:return new SuperMap.Plot.AlgoSymbol12501(l);case 2091502:return new SuperMap.Plot.AlgoSymbol12502(l);case 2091503:return new SuperMap.Plot.AlgoSymbol2091503(l);case 2092101:return new SuperMap.Plot.AlgoSymbol2092101(l);case 21003:return new SuperMap.Plot.AlgoSymbol13700(l);case 21207:return new SuperMap.Plot.AlgoSymbol15200(l);case 2120701:return new SuperMap.Plot.AlgoSymbol15201(l);case 2120702:return new SuperMap.Plot.AlgoSymbol15202(l);case 21213:return new SuperMap.Plot.AlgoSymbol15800(l);case 2121301:return new SuperMap.Plot.AlgoSymbol15801(l);case 2121302:return new SuperMap.Plot.AlgoSymbol15802(l);case 2121303:return new SuperMap.Plot.AlgoSymbol15803(l);case 2121304:return new SuperMap.Plot.AlgoSymbol15804(l);case 2121305:return new SuperMap.Plot.AlgoSymbol15806(l);case 21214:return new SuperMap.Plot.AlgoSymbol15900(l);case 21215:return new SuperMap.Plot.AlgoSymbol16200(l);case 2121501:return new SuperMap.Plot.AlgoSymbol16201(l);case 2121502:return new SuperMap.Plot.AlgoSymbol16202(l);case 2121503:return new SuperMap.Plot.AlgoSymbol16203(l);case 2121504:return new SuperMap.Plot.AlgoSymbol2121504(l);case 2121505:return new SuperMap.Plot.AlgoSymbol2121505(l);case 2121506:return new SuperMap.Plot.AlgoSymbol2121506(l);case 2121507:return new SuperMap.Plot.AlgoSymbol2121507(l);case 21216:return new SuperMap.Plot.AlgoSymbol21216(l);case 2121601:return new SuperMap.Plot.AlgoSymbol2121601(l);case 2121602:return new SuperMap.Plot.AlgoSymbol2121602(l);case 21218:return new SuperMap.Plot.AlgoSymbol16700(l);case 21221:return new SuperMap.Plot.AlgoSymbol21221(l);case 2122101:return new SuperMap.Plot.AlgoSymbol2122101(l);case 21222:return new SuperMap.Plot.AlgoSymbol17500(l);case 2122201:return new SuperMap.Plot.AlgoSymbol17501(l);case 21223:return new SuperMap.Plot.AlgoSymbol17700(l);case 2122301:return new SuperMap.Plot.AlgoSymbol2122301(l);case 2122303:return new SuperMap.Plot.AlgoSymbol17703(l);case 2122304:return new SuperMap.Plot.AlgoSymbol17704(l);case 21224:return new SuperMap.Plot.AlgoSymbol17800(l);case 2122401:return new SuperMap.Plot.AlgoSymbol17801(l);case 2122402:return new SuperMap.Plot.AlgoSymbol17802(l);case 2122403:return new SuperMap.Plot.AlgoSymbol17803(l);case 2122404:return new SuperMap.Plot.AlgoSymbol17804(l);case 2122405:return new SuperMap.Plot.AlgoSymbol17805(l);case 2122406:return new SuperMap.Plot.AlgoSymbol17806(l);case 21605:return new SuperMap.Plot.AlgoSymbol20300(l);case 2160501:return new SuperMap.Plot.AlgoSymbol20301(l);case 30008:return new SuperMap.Plot.AlgoSymbol30008(l);case 3000801:return new SuperMap.Plot.AlgoSymbol3000801(l);case 3000802:return new SuperMap.Plot.AlgoSymbol3000802(l);case 3000803:return new SuperMap.Plot.AlgoSymbol3000803(l);case 3000804:return new SuperMap.Plot.AlgoSymbol3000804(l);case 3000805:return new SuperMap.Plot.AlgoSymbol3000805(l);case 3000806:return new SuperMap.Plot.AlgoSymbol3000806(l);case 3000807:return new SuperMap.Plot.AlgoSymbol3000807(l);case 3000808:return new SuperMap.Plot.AlgoSymbol3000808(l);case 3000809:return new SuperMap.Plot.AlgoSymbol3000809(l);case 30009:return new SuperMap.Plot.AlgoSymbol30009(l);case 30010:return new SuperMap.Plot.AlgoSymbol30010(l);case 30011:return new SuperMap.Plot.AlgoSymbol30011(l);case 3001101:return new SuperMap.Plot.AlgoSymbol3001101(l);case 3001102:return new SuperMap.Plot.AlgoSymbol3001102(l);case 3001103:return new SuperMap.Plot.AlgoSymbol3001103(l);case 3001104:return new SuperMap.Plot.AlgoSymbol3001104(l);case 3001105:return new SuperMap.Plot.AlgoSymbol3001105(l);case 30012:return new SuperMap.Plot.AlgoSymbol30012(l);case 30013:return new SuperMap.Plot.AlgoSymbol30013(l);case 50106:return new SuperMap.Plot.AlgoSymbol21900(l);case 3001301:return new SuperMap.Plot.AlgoSymbol3001301(l);case 3001302:return new SuperMap.Plot.AlgoSymbol3001302(l);case 30014:return new SuperMap.Plot.AlgoSymbol30014(l);case 30018:return new SuperMap.Plot.AlgoSymbol42500(l);case 30020:return new SuperMap.Plot.AlgoSymbol30020(l);case 3002001:return new SuperMap.Plot.AlgoSymbol3002001(l);case 3002002:return new SuperMap.Plot.AlgoSymbol3002002(l);case 3002004:return new SuperMap.Plot.AlgoSymbol3002004(l);case 3002005:return new SuperMap.Plot.AlgoSymbol3002005(l);case 30025:return new SuperMap.Plot.AlgoSymbol30025(l);case 5010301:return new SuperMap.Plot.AlgoSymbol3010301(l);case 50108:return new SuperMap.Plot.AlgoSymbol50108(l);case 5010303:return new SuperMap.Plot.AlgoSymbol3010303(l);case 5010304:return new SuperMap.Plot.AlgoSymbol3010304(l);case 5010401:return new SuperMap.Plot.AlgoSymbol5010401(l);case 5020801:return new SuperMap.Plot.AlgoSymbol3020901(l);case 5020802:return new SuperMap.Plot.AlgoSymbol5020802(l);case 5021803:return new SuperMap.Plot.AlgoSymbol5021803(l);case 5022001:return new SuperMap.Plot.AlgoSymbol5022001(l);case 5022002:return new SuperMap.Plot.AlgoSymbol5022002(l);case 50223:return new SuperMap.Plot.AlgoSymbol50223(l);case 5022301:return new SuperMap.Plot.AlgoSymbol5022301(l);case 3002501:return new SuperMap.Plot.AlgoSymbol3002501(l);case 30026:return new SuperMap.Plot.AlgoSymbol30026(l);case 40104:return new SuperMap.Plot.AlgoSymbol40104(l);case 40301:case 4030101:case 4030102:case 4030103:case 4030104:return new SuperMap.Plot.AlgoSymbol22000(l);case 40302:case 4030201:case 4030202:case 4030203:case 4030204:return new SuperMap.Plot.AlgoSymbol40302(l);case 40303:return new SuperMap.Plot.AlgoSymbol26501(l);case 4030301:return new SuperMap.Plot.AlgoSymbol4030301(l);case 4030302:return new SuperMap.Plot.AlgoSymbol4030302(l);case 4030303:return new SuperMap.Plot.AlgoSymbol4030303(l);case 40304:return new SuperMap.Plot.AlgoSymbol40304(l);case 4030401:return new SuperMap.Plot.AlgoSymbol4030401(l);case 50101:return new SuperMap.Plot.AlgoSymbol25201(l);case 5010101:return new SuperMap.Plot.AlgoSymbol21401(l);case 50102:return new SuperMap.Plot.AlgoSymbol21500(l);case 5010202:return new SuperMap.Plot.AlgoSymbol21502(l);case 5010203:return new SuperMap.Plot.AlgoSymbol21503(l);case 5010204:return new SuperMap.Plot.AlgoSymbol21504(l);case 50103:case 5010302:return new SuperMap.Plot.AlgoSymbol21600(l);case 50104:return new SuperMap.Plot.AlgoSymbol21800(l);case 50107:case 5010701:return new SuperMap.Plot.AlgoSymbol22000(l);case 50208:return new SuperMap.Plot.AlgoSymbol23400(l);case 50209:return new SuperMap.Plot.AlgoSymbol23500(l);case 50210:return new SuperMap.Plot.AlgoSymbol23800(l);case 50212:case 5021101:return new SuperMap.Plot.AlgoSymbol23901(l);case 5021102:return new SuperMap.Plot.AlgoSymbol23902(l);case 50220:return new SuperMap.Plot.AlgoSymbol28900(l);case 50221:return new SuperMap.Plot.AlgoSymbol29000(l);case 50225:return new SuperMap.Plot.AlgoSymbol50225(l);case 50226:return new SuperMap.Plot.AlgoSymbol50226(l);case 50222:return new SuperMap.Plot.AlgoSymbol29101(l);case 5022201:return new SuperMap.Plot.AlgoSymbol29103(l);case 50227:return new SuperMap.Plot.AlgoSymbol35200(l);case 50301:return new SuperMap.Plot.AlgoSymbol1004(l);case 5030101:return new SuperMap.Plot.AlgoSymbol25200(l);case 5030102:return new SuperMap.Plot.AlgoSymbol25201(l);case 50302:return new SuperMap.Plot.AlgoSymbol25000(l);case 50303:return new SuperMap.Plot.AlgoSymbol25400(l);case 5030301:return new SuperMap.Plot.AlgoSymbol5030301(l);case 50308:return new SuperMap.Plot.AlgoSymbol50308(l);case 50309:return new SuperMap.Plot.AlgoSymbol26500(l);case 50310:return new SuperMap.Plot.AlgoSymbol26600(l);case 5031001:return new SuperMap.Plot.AlgoSymbol26601(l);case 50312:return new SuperMap.Plot.AlgoSymbol28000(l);case 50313:return new SuperMap.Plot.AlgoSymbol28100(l);case 50314:return new SuperMap.Plot.AlgoSymbol28200(l);case 5031401:return new SuperMap.Plot.AlgoSymbol5031401(l);case 50315:return new SuperMap.Plot.AlgoSymbol28300(l);case 5031501:return new SuperMap.Plot.AlgoSymbol28301(l);case 50316:return new SuperMap.Plot.AlgoSymbol29800(l);case 50317:return new SuperMap.Plot.AlgoSymbol1006(l);case 50320:return new SuperMap.Plot.AlgoSymbol30000(l);case 5010201:return new SuperMap.Plot.AlgoSymbol21501(l);case 5032001:case 5032002:return new SuperMap.Plot.AlgoSymbol30002(l);case 50321:case 5032101:case 5032102:return new SuperMap.Plot.AlgoSymbol30100(l);case 50322:return new SuperMap.Plot.AlgoSymbol30200(l);case 5032201:return new SuperMap.Plot.AlgoSymbol30201(l);case 50330:case 50331:return new SuperMap.Plot.AlgoSymbol30800(l);case 5032003:return new SuperMap.Plot.AlgoSymbol5032003(l);case 5033001:return new SuperMap.Plot.AlgoSymbol5033001(l);case 50338:return new SuperMap.Plot.AlgoSymbol31300(l);case 5033801:return new SuperMap.Plot.AlgoSymbol31301(l);case 5033802:return new SuperMap.Plot.AlgoSymbol5033802(l);case 5033803:return new SuperMap.Plot.AlgoSymbol5033803(l);case 50339:return new SuperMap.Plot.AlgoSymbol31400(l);case 5033901:return new SuperMap.Plot.AlgoSymbol31401(l);case 50342:return new SuperMap.Plot.AlgoSymbol50342(l);case 5034201:return new SuperMap.Plot.AlgoSymbol5034201(l);case 5034202:return new SuperMap.Plot.AlgoSymbol5034202(l);case 5034203:return new SuperMap.Plot.AlgoSymbol5034203(l);case 50348:return new SuperMap.Plot.AlgoSymbol32300(l);case 5034801:return new SuperMap.Plot.AlgoSymbol5034801(l);case 50352:return new SuperMap.Plot.AlgoSymbol50352(l);case 5035201:return new SuperMap.Plot.AlgoSymbol5035201(l);case 5035202:return new SuperMap.Plot.AlgoSymbol5035202(l);case 5035203:return new SuperMap.Plot.AlgoSymbol5035203(l);case 5035204:return new SuperMap.Plot.AlgoSymbol21501(l);case 5035205:return new SuperMap.Plot.AlgoSymbol5035205(l);case 60203:return new SuperMap.Plot.AlgoSymbol60203(l);case 60205:return new SuperMap.Plot.AlgoSymbol60205(l);case 60301:return new SuperMap.Plot.AlgoSymbol60301(l);case 6030101:return new SuperMap.Plot.AlgoSymbol6030101(l);case 6030102:return new SuperMap.Plot.AlgoSymbol6030102(l);case 6030103:return new SuperMap.Plot.AlgoSymbol6030103(l);case 6030104:return new SuperMap.Plot.AlgoSymbol6030104(l);case 6030105:return new SuperMap.Plot.AlgoSymbol6030105(l);case 6030106:return new SuperMap.Plot.AlgoSymbol6030106(l);case 6030107:return new SuperMap.Plot.AlgoSymbol6030107(l);case 60304:return new SuperMap.Plot.AlgoSymbol60304(l);case 60305:return new SuperMap.Plot.AlgoSymbol60305(l);case 6030501:return new SuperMap.Plot.AlgoSymbol6030501(l);case 60306:return new SuperMap.Plot.AlgoSymbol60306(l);case 6030601:return new SuperMap.Plot.AlgoSymbol6030601(l);case 60310:return new SuperMap.Plot.AlgoSymbol60310(l);case 6031001:return new SuperMap.Plot.AlgoSymbol6031001(l);case 70109:return new SuperMap.Plot.AlgoSymbol40900(l);case 70201:return new SuperMap.Plot.AlgoSymbol41100(l);case 70202:return new SuperMap.Plot.AlgoSymbol41200(l);case 7020201:return new SuperMap.Plot.AlgoSymbol41201(l);case 7020202:return new SuperMap.Plot.AlgoSymbol41202(l);case 80202:return new SuperMap.Plot.AlgoSymbol42200(l);case 90105:return new SuperMap.Plot.AlgoSymbol35000(l);case 90107:return new SuperMap.Plot.AlgoSymbol35200(l);case 90305:return new SuperMap.Plot.AlgoSymbol37700(l);case 90404:return new SuperMap.Plot.AlgoSymbol40100(l);case 9040401:return new SuperMap.Plot.AlgoSymbol40101(l);case 90507:return new SuperMap.Plot.AlgoSymbol44100(l);default:return new SuperMap.Plot.AlgoSymbol(l)}},SuperMap.Plot.WJAlgoSymbolFactory.isAccessServer=function(t,e){if(123!==t)return!0;switch(e){case 20915:case 2091501:case 2091502:case 2091503:case 2092101:case 21003:case 21207:case 2120701:case 2120702:case 21213:case 2121301:case 2121302:case 2121303:case 2121304:case 2121305:case 21214:case 21215:case 2121501:case 2121502:case 2121503:case 2121504:case 2121505:case 2121506:case 2121507:case 21216:case 2121601:case 2121602:case 21218:case 21221:case 2122101:case 21222:case 2122201:case 21223:case 2122301:case 2122303:case 2122304:case 21224:case 2122401:case 2122402:case 2122403:case 2122404:case 2122405:case 2122406:case 21605:case 2160501:case 30008:case 3000801:case 3000802:case 3000803:case 3000804:case 3000805:case 3000806:case 3000807:case 3000808:case 3000809:case 30009:case 30010:case 30011:case 3001101:case 3001102:case 3001103:case 3001104:case 3001105:case 30012:case 30013:case 3001301:case 3001302:case 30014:case 30018:case 30020:case 3002001:case 3002002:case 3002004:case 3002005:case 30025:case 5010301:case 5010303:case 5010304:case 5010401:case 50108:case 50106:case 5020802:case 5021803:case 5022001:case 5022002:case 50223:case 5022301:case 3002501:case 30026:case 40104:case 40301:case 4030101:case 4030102:case 4030103:case 4030104:case 40302:case 4030201:case 4030202:case 4030203:case 4030204:case 40303:case 4030301:case 4030302:case 4030303:case 40304:case 4030401:case 50101:case 5010101:case 50102:case 5010201:case 5010202:case 5010203:case 5010204:case 50103:case 5010302:case 50104:case 50107:case 5010701:case 50208:case 50209:case 50210:case 5021101:case 5021102:case 50212:case 50220:case 50221:case 50222:case 50225:case 50226:case 5022201:case 50227:case 50301:case 5030101:case 5030102:case 50302:case 50303:case 5030301:case 50308:case 50309:case 50310:case 5031001:case 50312:case 50313:case 50314:case 5031401:case 50315:case 5031501:case 50316:case 50317:case 50320:case 5032001:case 5032002:case 5032003:case 50321:case 5032101:case 5032102:case 50322:case 5032201:case 50330:case 5033001:case 50338:case 5033801:case 5033802:case 5033803:case 50339:case 5033901:case 50342:case 5034201:case 5034202:case 5034203:case 50348:case 5034801:case 50352:case 5035201:case 5035202:case 5035203:case 5035204:case 5035205:case 60203:case 60205:case 60301:case 6030101:case 6030102:case 6030103:case 6030104:case 6030105:case 6030106:case 6030107:case 60304:case 60305:case 6030501:case 60306:case 6030601:case 60310:case 6031001:case 70109:case 70201:case 70202:case 7020201:case 7020202:case 80202:case 90105:case 90107:case 90305:case 90404:case 9040401:case 9050301:case 90507:return!1;default:return!0}},SuperMap.Plot.WJAlgoSymbolFactory.getSymbolWayType=function(t,e){if(123!==t)return SuperMap.Plot.AddPoint_WayType.UNKNOWN;switch(e){case 21003:case 21207:case 2120701:case 2121503:case 21218:case 30008:case 3000801:case 3000802:case 3000803:case 3000804:case 3000805:case 3000806:case 3000807:case 3000808:case 3000809:case 30009:case 5021803:case 5022001:case 5022002:case 40301:case 4030101:case 4030102:case 4030103:case 4030104:case 40303:case 4030301:case 4030302:case 4030303:case 50101:case 5010101:case 50102:case 5010201:case 5010202:case 5010203:case 5010204:case 50103:case 5010301:case 5010302:case 5010303:case 5010304:case 50107:case 5010701:case 50210:case 50220:case 50221:case 50225:case 5030102:case 50303:case 5030301:case 50309:case 50320:case 5032001:case 5032002:case 5032003:case 50321:case 5032101:case 5032102:case 50322:case 5032201:case 50330:case 5033001:case 5034203:case 5035201:case 5035204:case 60205:case 90105:return SuperMap.Plot.AddPoint_WayType.CURVE;case 20915:case 2091502:case 2092101:case 2120702:case 21216:case 2121601:case 2121602:case 21605:case 30010:case 30011:case 3001101:case 3001102:case 3001103:case 3001104:case 3001105:case 30012:case 30020:case 3002001:case 3002002:case 3002005:case 30025:case 3002501:case 30026:case 40104:case 40302:case 4030201:case 4030202:case 4030203:case 4030204:case 50227:case 5035205:case 60301:case 6030101:case 6030102:case 6030103:case 6030104:case 6030105:case 6030106:case 6030107:case 70202:case 7020201:case 7020202:case 90107:return SuperMap.Plot.AddPoint_WayType.POLYLINE;default:return SuperMap.Plot.AddPoint_WayType.UNKNOWN}},SuperMap.Plot.WJAlgoSymbolFactory.getDefaultSubSymbols=function(t,e){var l=[];if(123!==t)return l;switch(e){case 2092101:return l.push(new SuperMap.Plot.SubSymbol(123,20921)),l;case 80202:return l.push(new SuperMap.Plot.SubSymbol(123,2170201)),l;case 21221:case 2122101:return l.push(new SuperMap.Plot.SubSymbol(123,21220)),l.push(new SuperMap.Plot.SubSymbol(123,2122001)),l;case 3000801:return l.push(new SuperMap.Plot.SubSymbol(123,3000106)),l;case 50209:return l.push(new SuperMap.Plot.SubSymbol(100,1300)),l;case 3000802:return l.push(new SuperMap.Plot.SubSymbol(123,3000107)),l;case 3000803:return l.push(new SuperMap.Plot.SubSymbol(123,3000108)),l;case 3000804:return l.push(new SuperMap.Plot.SubSymbol(123,20303)),l;case 3000805:case 3000808:case 3001301:case 4030103:case 4030202:case 5020802:case 5010201:case 2121504:case 50108:return l.push(new SuperMap.Plot.SubSymbol(123,21601)),l;case 3000806:return l.push(new SuperMap.Plot.SubSymbol(123,20404)),l;case 3000807:return l.push(new SuperMap.Plot.SubSymbol(123,2010103)),l.push(new SuperMap.Plot.SubSymbol(123,21601)),l;case 3000809:return l.push(new SuperMap.Plot.SubSymbol(123,21601)),l.push(new SuperMap.Plot.SubSymbol(123,30006)),l;case 30010:return l.push(new SuperMap.Plot.SubSymbol(123,10305)),l;case 3001104:case 3001105:return l.push(new SuperMap.Plot.SubSymbol(123,20404)),l;case 30012:return l.push(new SuperMap.Plot.SubSymbol(123,30006)),l;case 3002005:return l.push(new SuperMap.Plot.SubSymbol(123,21305)),l;case 40301:return l.push(new SuperMap.Plot.SubSymbol(123,40201)),l;case 5021803:return l.push(new SuperMap.Plot.SubSymbol(123,50218)),l;case 50225:return l.push(new SuperMap.Plot.SubSymbol(123,10103)),l;case 50226:return l.push(new SuperMap.Plot.SubSymbol(123,10103)),l.push(new SuperMap.Plot.SubSymbol(123,10103)),l;case 5032003:return l.push(new SuperMap.Plot.SubSymbol(123,20304)),l.push(new SuperMap.Plot.SubSymbol(123,20301)),l;case 5030301:case 5022301:case 5033001:case 5034201:case 5034202:case 50342:return l.push(new SuperMap.Plot.SubSymbol(123,10104)),l;case 5033802:return l.push(new SuperMap.Plot.SubSymbol(123,20202)),l;case 5033803:return l.push(new SuperMap.Plot.SubSymbol(123,20203)),l;case 5034203:return l.push(new SuperMap.Plot.SubSymbol(123,2050302)),l;case 50352:return l.push(new SuperMap.Plot.SubSymbol(123,50231)),l;case 5035202:return l.push(new SuperMap.Plot.SubSymbol(123,21227)),l;case 5035205:return l.push(new SuperMap.Plot.SubSymbol(123,2050308)),l;case 4030101:return l.push(new SuperMap.Plot.SubSymbol(123,2030303)),l;case 4030102:case 4030201:return l.push(new SuperMap.Plot.SubSymbol(123,20303)),l;case 4030104:case 4030203:return l.push(new SuperMap.Plot.SubSymbol(123,20401)),l;case 4030204:return l.push(new SuperMap.Plot.SubSymbol(123,10104)),l;case 40302:case 40303:case 4030301:case 4030302:case 4030303:return l.push(new SuperMap.Plot.SubSymbol(123,40201)),l;case 5010202:return l.push(new SuperMap.Plot.SubSymbol(123,2040301)),l;case 5010203:return l.push(new SuperMap.Plot.SubSymbol(123,20501)),l;case 5010204:return l.push(new SuperMap.Plot.SubSymbol(123,20503)),l;case 50107:return l.push(new SuperMap.Plot.SubSymbol(123,10105)),l;case 5010701:return l.push(new SuperMap.Plot.SubSymbol(123,5010503)),l;case 5021101:case 5021102:case 50212:return l.push(new SuperMap.Plot.SubSymbol(123,2020301)),l;case 50227:return l.push(new SuperMap.Plot.SubSymbol(123,10103)),l;case 5030101:return l.push(new SuperMap.Plot.SubSymbol(123,2050302)),l;case 50315:return l.push(new SuperMap.Plot.SubSymbol(123,21302)),l;case 5031501:return l.push(new SuperMap.Plot.SubSymbol(123,21302)),l.push(new SuperMap.Plot.SubSymbol(123,21302)),l;case 5032001:return l.push(new SuperMap.Plot.SubSymbol(123,20301)),l.push(new SuperMap.Plot.SubSymbol(123,20301)),l;case 5032002:return l.push(new SuperMap.Plot.SubSymbol(123,20304)),l.push(new SuperMap.Plot.SubSymbol(123,20304)),l;case 5035201:return l.push(new SuperMap.Plot.SubSymbol(123,50231)),l;case 5035204:return l.push(new SuperMap.Plot.SubSymbol(123,2040106)),l;case 60205:return l.push(new SuperMap.Plot.SubSymbol(123,21503)),l.push(new SuperMap.Plot.SubSymbol(123,21501)),l;case 60310:return l.push(new SuperMap.Plot.SubSymbol(123,5023103)),l;case 6031001:return l.push(new SuperMap.Plot.SubSymbol(123,2122701)),l.push(new SuperMap.Plot.SubSymbol(123,2122702)),l.push(new SuperMap.Plot.SubSymbol(123,2122703)),l;case 90107:return l.push(new SuperMap.Plot.SubSymbol(123,2040301)),l;case 90305:return l.push(new SuperMap.Plot.SubSymbol(123,50304)),l;default:return l}},SuperMap.Plot.WJAlgoSymbolFactory.getMinEditPts=function(t,e){if(123!==t)return 0;switch(e){case 20915:case 21003:case 21207:case 21213:case 21214:case 21215:case 21216:case 21218:case 21221:case 21222:case 21223:case 21224:case 21605:case 30008:case 30009:case 30010:case 30013:case 30014:case 30018:case 40301:case 40303:case 40304:case 50101:case 50102:case 50103:case 50104:case 50106:case 50107:case 50108:case 50208:case 50209:case 50210:case 50212:case 50220:case 50221:case 50222:case 50223:case 50226:case 50302:case 50303:case 50308:case 50309:case 50310:case 50312:case 50313:case 50314:case 50315:case 50320:case 50322:case 50330:case 50331:case 50338:case 50339:case 50342:case 50348:case 60203:case 60205:case 60304:case 60305:case 60306:case 70109:case 70201:case 70202:case 80202:case 90105:case 90107:case 90305:case 90404:case 90507:case 2091501:case 2091502:case 2091503:case 2092101:case 2120701:case 2120702:case 2121301:case 2121302:case 2121303:case 2121304:case 2121305:case 2121501:case 2121502:case 2121503:case 2121504:case 2121505:case 2121506:case 2121507:case 2121601:case 2121602:case 2122101:case 2122201:case 2122301:case 2122303:case 2122304:case 2122401:case 2122402:case 2122403:case 2122404:case 2122405:case 2122406:case 2160501:case 3000801:case 3000802:case 3000803:case 3000804:case 3000805:case 3000806:case 3000807:case 3000808:case 3000809:case 3001301:case 3001302:case 3002004:case 4030101:case 4030102:case 4030103:case 4030104:case 4030301:case 4030302:case 4030303:case 4030401:case 5010101:case 5010201:case 5010202:case 5010203:case 5010204:case 5010301:case 5010302:case 5010303:case 5010304:case 5010401:case 5010701:case 5020802:case 5021101:case 5021102:case 5021803:case 5022001:case 5022002:case 5022201:case 5022301:case 5030102:case 5030301:case 5031001:case 5031401:case 5031501:case 5032001:case 5032002:case 5032003:case 5032201:case 5033001:case 5033801:case 5033802:case 5033803:case 5033901:case 5034201:case 5034202:case 5034203:case 5034801:case 5035201:case 5035203:case 5035204:case 6030501:case 6030601:case 7020201:case 7020202:case 9040401:return 2;case 30011:case 30012:case 30020:case 30025:case 30026:case 40104:case 40302:case 50225:case 50227:case 50301:case 50316:case 50317:case 50352:case 60301:case 60310:case 3001101:case 3001102:case 3001103:case 3001104:case 3001105:case 3002001:case 3002002:case 3002005:case 3002501:case 4030201:case 4030202:case 4030203:case 4030204:case 5020801:case 5030101:case 5035202:case 5035205:case 6030101:case 6030102:case 6030103:case 6030104:case 6030105:case 6030106:case 6030107:case 6031001:return 3;default:return 0}},SuperMap.Plot.WJAlgoSymbolFactory.getMaxEditPts=function(t,e){if(123!==t)return 0;switch(e){case 21218:case 30018:case 50104:case 50302:case 50313:case 50338:case 50339:case 60203:case 60304:case 60305:case 60306:case 70201:case 90507:case 2120702:case 2121502:case 2121504:case 2121505:case 2121506:case 2121507:case 2122301:case 2160501:case 3001301:case 4030401:case 5010401:case 5031401:case 5031501:case 5033801:case 5033802:case 5033803:case 5033901:case 6030501:case 6030601:return 2;case 21003:case 21224:case 50212:case 50221:case 50222:case 50348:case 2122401:case 2122402:case 2122403:case 2122404:case 2122405:case 2122406:case 2021101:case 2021102:case 5022201:case 5034801:return 3;case 50312:case 50317:return 4;case 21221:case 21222:case 50225:case 50226:case 50316:case 50320:case 50322:case 2122101:case 2122201:case 5020801:case 5032001:case 5032002:case 5032003:case 5032201:return 30;case 50227:case 50352:case 60310:case 5022001:case 5022002:case 5030101:case 5035202:case 5035203:case 6031001:return 512;case 20915:case 21213:case 21214:case 21215:case 21216:case 21223:case 21605:case 30008:case 30010:case 30011:case 30012:case 30020:case 30025:case 30026:case 40104:case 40301:case 40302:case 40303:case 50101:case 50102:case 50106:case 50107:case 50108:case 50209:case 50210:case 50220:case 50223:case 50303:case 50309:case 50315:case 50330:case 50331:case 60301:case 70202:case 80202:case 2091501:case 2091502:case 2091503:case 2120701:case 2121301:case 2121302:case 2121303:case 2121304:case 2121305:case 2121501:case 2121503:case 2121601:case 2121602:case 2122303:case 2122304:case 3001101:case 3001102:case 3001103:case 3001104:case 3001105:case 3002001:case 3002002:case 3002004:case 3002005:case 3002501:case 4030101:case 4030102:case 4030103:case 4030104:case 4030201:case 4030202:case 4030203:case 4030204:case 5010101:case 5010701:case 5020802:case 5022301:case 5030102:case 5030301:case 5035205:case 6030101:case 6030102:case 6030103:case 6030104:case 6030105:case 6030106:case 6030107:case 7020201:case 7020202:return 1e3;case 21207:case 30009:case 30013:case 30014:case 40304:case 50103:case 50208:case 50301:case 50308:case 50310:case 50314:case 50342:case 60205:case 70109:case 90105:case 90107:case 90305:case 90404:case 2092101:case 3000801:case 3000802:case 3000803:case 3000804:case 3000805:case 3000806:case 3000807:case 3000808:case 3000809:case 3001302:case 4030301:case 4030302:case 4030303:case 5010201:case 5010202:case 5010203:case 5010204:case 5010301:case 5010302:case 5010303:case 5010304:case 5021803:case 5031001:case 5033001:case 5034201:case 5034202:case 5034203:case 5035201:case 5035204:case 9040401:return 9999;default:return 0}},SuperMap.Plot.WJAlgoSymbolFactory.getDefaultStyle=function(t,e){var l={};if(123===t)switch(e){case 50108:case 3000808:case 30012:case 3000801:case 3001101:case 30011:case 30013:case 30010:case 3001104:case 30014:case 30009:case 30008:l.color=l.strokeColor="#0000ff";break;case 3001302:case 40104:l.color=l.strokeColor="#048e24";break;case 30025:l.color=l.strokeColor="#00ff00";break;case 3002501:l.color=l.strokeColor="#00c000"}return l},SuperMap.Plot.WJAlgoSymbolFactory.canSetSubSymbol=function(t,e){return SuperMap.Plot.AlgoSymbolFactory.getDefaultSubSymbols(t,e).length>0||123===this.libID&&(5030101===e||5020801===e||50208===e||50331===e)},SuperMap.Plot.WJAlgoSymbolFactory.zoomInCalSymbol=function(){return!1},SuperMap.Plot.WJAlgoSymbolFactory.zoomCalSymbol=function(t,e){if(123!==t)return!1;switch(e){case 50312:case 50313:case 50314:case 50348:return!0;default:return!1}}},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WJAlgoSymbolFactory=void 0;var o=l(189);e.WJAlgoSymbolFactory=o.WJAlgoSymbolFactory}]); /***/ }), /* 3 */ /***/ (function(module, exports) { /*! * * iclient-plot-algorithms-yj.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: undefined * version: v9.1.0 * */!function(t){var e={};function o(l){if(e[l])return e[l].exports;var i=e[l]={i:l,l:!1,exports:{}};return t[l].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,l){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:l})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(l,i,function(e){return t[e]}.bind(null,i));return l},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=14)}([function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.isEdit||(this.scaleValues[0]=.5*this.getSubSymbolScaleValue(),this.scaleValues[1]=.0625*this.getSubSymbolScaleValue());for(var o=SuperMap.Plot.PlottingUtil.polylineDistance(t),l=o*this.scaleValues[0],i=o*this.scaleValues[1],n=e[0],r=0,a=1;a=l){var s=SuperMap.Plot.PlottingUtil.findPointInLine(n,p,l);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[n,s]),n=s,r++,a--}break;case 1:case 3:var P=3*i;if(u>P)n=SuperMap.Plot.PlottingUtil.findPointInLine(n,p,P),r++,a--;break;case 2:if(u>2*i){var c=SuperMap.Plot.PlottingUtil.findPointInLine(n,p,2*i);this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,[new SuperMap.Geometry.Point(.5*(n.x+c.x),.5*(n.y+c.y)),c],{fillLimit:!0,fill:!0}),n=c,r++,a--}}}this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol610100=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o2&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,c)}S.push(n.endPt);for(var f=n.endIndex+1;f=.12&&(n=.12),this.scaleValues[0]=n}}},{key:"computeXPts",value:function(t,e,o,l){var i=[],n=SuperMap.Plot.PlottingUtil.circlePoint(t,e,e,l+45),r=SuperMap.Plot.PlottingUtil.circlePoint(t,e,e,l+225);i.push(n),i.push(r);var a=SuperMap.Plot.PlottingUtil.circlePoint(t,e,e,l+135),p=SuperMap.Plot.PlottingUtil.circlePoint(t,e,e,l+315);return i.push(a),i.push(p),i}},{key:"computeDashLines",value:function(t,e){for(var o=this.computeDashLine(2*e,2*e,t),l=.5*e,i=0;io.length)return;var l=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(o,!1);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.6*i,l);if(!n.bfind)return;var r=2*SuperMap.Plot.PlottingUtil.distance(e,n.pts);this.scaleValues[0]=r/i}}}]),e}();SuperMap.Plot.AlgoSymbol520300=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o1&&(c=1),this.scaleValues[0]=c}if(1===t){var S=this.scaleValues[0]*l,y=SuperMap.Plot.PlottingUtil.findPointInPolyLine(o,S);if(-1===y.index)return;var h=SuperMap.Plot.PlottingUtil.distance(y.pt,e)/l;h>.4&&(h=.4),this.scaleValues[1]=h}}}},{key:"intersectLineAndCircle",value:function(t,e,o,l,i){for(var n=!1,r=SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.CIRCLESYMBOL,[o,new SuperMap.Geometry.Point(o.x+l,o.y)]),a=0;ae.x){for(var u=0;ui[P+1].x){var c=i[P];i[P]=i[P+1],i[P+1]=c}}else if(t.y>e.y){for(var S=0;Si[h+1].y){var f=i[h];i[h]=i[h+1],i[h+1]=f}return n}},{key:"isLineInCircle",value:function(t,e,o,l){var i=new SuperMap.Geometry.Point((t.x+e.x)/2,(t.y+e.y)/2);return SuperMap.Plot.PlottingUtil.distance(i,o)=.12&&(n=.12),this.scaleValues[0]=n}}},{key:"computeXPts",value:function(t,e,o,l){var i=[],n=SuperMap.Plot.PlottingUtil.circlePoint(t,e,e,l+45),r=SuperMap.Plot.PlottingUtil.circlePoint(t,e,e,l+225);i.push(n),i.push(r);var a=SuperMap.Plot.PlottingUtil.circlePoint(t,e,e,l+135),p=SuperMap.Plot.PlottingUtil.circlePoint(t,e,e,l+315);return i.push(a),i.push(p),i}}]),e}();SuperMap.Plot.AlgoSymbol510100=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,o);for(var l=0;l<4;l++){var i=l*(o.length-1)/4,n=new SuperMap.Geometry.Point(o[i].x,o[i].y),r=new SuperMap.Geometry.Point(o[i+1].x,o[i+1].y),a=new SuperMap.Geometry.Point((n.x+r.x)/2,(n.y+r.y)/2),p=SuperMap.Plot.PlottingUtil.radian(a,r)*SuperMap.Plot.PlottingUtil.RTOD,u=this.scaleValues[0]*e/2,s=SuperMap.Plot.PlottingUtil.circlePoint(a,u,u,p),P=SuperMap.Plot.PlottingUtil.circlePoint(a,4*u,4*u,p+270),c=SuperMap.Plot.PlottingUtil.circlePoint(a,u,u,p+180);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[s,P,c])}this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol29101=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=t.length?SuperMap.Plot.Primitives.getSpatialData(SuperMap.Plot.SymbolType.KIDNEY,t):SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),o=SuperMap.Plot.PlottingUtil.clearSamePts(o),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,o);for(var l=0;l<4;l++){var i=Math.floor(l*o.length/4),n=new SuperMap.Geometry.Point(o[i].x,o[i].y),r=new SuperMap.Geometry.Point(o[i+1].x,o[i+1].y),a=new SuperMap.Geometry.Point((n.x+r.x)/2,(n.y+r.y)/2),p=SuperMap.Plot.PlottingUtil.radian(r,a)*SuperMap.Plot.PlottingUtil.RTOD,u=this.scaleValues[0]*e/2,s=SuperMap.Plot.PlottingUtil.circlePoint(a,u,u,p),P=SuperMap.Plot.PlottingUtil.circlePoint(a,4*u,4*u,p+270),c=SuperMap.Plot.PlottingUtil.circlePoint(a,u,u,p+180);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[s,P,c],{lineTypeLimit:!0,surroundLineLimit:!0})}this.finish()}}}]),e}();SuperMap.Plot.AlgoSymbol29100=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o.7&&(d=.7),this.scaleValues[2]=d}}}}]),e}();SuperMap.Plot.AlgoSymbol15200=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o0},SuperMap.Plot.YJAlgoSymbolFactory.zoomInCalSymbol=function(){return!1},SuperMap.Plot.YJAlgoSymbolFactory.zoomCalSymbol=function(){return!1}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.YJAlgoSymbolFactory=void 0;var l=o(13);e.YJAlgoSymbolFactory=l.YJAlgoSymbolFactory}]); /***/ }), /* 4 */ /***/ (function(module, exports) { /*! * * iclient9-plot-webgl.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: undefined * version: v9.1.0 * */!function(t){var e={};function o(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(n,i,function(e){return t[e]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=115)}([function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(e.SuperMap=window.SuperMap=window.SuperMap||{}).Widgets=window.SuperMap.Widgets||{}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Util=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=o(0); /* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/o(2);var l,r,a;e.Util=i.SuperMap.Util=i.SuperMap.Util||{};i.SuperMap.Util.extend=function(t,e){if(t=t||{},e){for(var o in e){var n=e[o];void 0!==n&&(t[o]=n)}!("function"==typeof window.Event&&e instanceof window.Event)&&e.hasOwnProperty&&e.hasOwnProperty("toString")&&(t.toString=e.toString)}return t},i.SuperMap.Util.copy=function(t,e){var o;if(t=t||{},e)for(var n in t)void 0!==(o=e[n])&&(t[n]=o)},i.SuperMap.Util.reset=function(t){for(var e in t=t||{})if(t.hasOwnProperty(e)){if("object"===n(t[e])&&t[e]instanceof Array){for(var o in t[e])t[e][o].destroy&&t[e][o].destroy();t[e].length=0}else"object"===n(t[e])&&t[e]instanceof Object&&t[e].destroy&&t[e].destroy();t[e]=null}},i.SuperMap.Util.getElement=function(){for(var t=[],e=0,o=arguments.length;e=0;o--)t[o]===e&&t.splice(o,1);return t},i.SuperMap.Util.indexOf=function(t,e){if(null==t)return-1;if("function"==typeof t.indexOf)return t.indexOf(e);for(var o=0,n=t.length;o=0&&parseFloat(a)<1?(t.style.filter="alpha(opacity="+100*a+")",t.style.opacity=a):1===parseFloat(a)&&(t.style.filter="",t.style.opacity="")},i.SuperMap.Util.applyDefaults=function(t,e){t=t||{};var o="function"==typeof window.Event&&e instanceof window.Event;for(var n in e)(void 0===t[n]||!o&&e.hasOwnProperty&&e.hasOwnProperty(n)&&!t.hasOwnProperty(n))&&(t[n]=e[n]);return!o&&e&&e.hasOwnProperty&&e.hasOwnProperty("toString")&&!t.hasOwnProperty("toString")&&(t.toString=e.toString),t},i.SuperMap.Util.getParameterString=function(t){var e=[];for(var o in t){var i=t[o];if(null!=i&&"function"!=typeof i){var l;if("object"===(void 0===i?"undefined":n(i))&&i.constructor===Array){for(var r,a=[],s=0,u=i.length;s1?1/t:t},i.SuperMap.Util.getResolutionFromScale=function(t,e){var o;t&&(null==e&&(e="degrees"),o=1/(i.SuperMap.Util.normalizeScale(t)*i.SuperMap.INCHES_PER_UNIT[e]*i.SuperMap.DOTS_PER_INCH));return o},i.SuperMap.Util.getScaleFromResolution=function(t,e){return null==e&&(e="degrees"),t*i.SuperMap.INCHES_PER_UNIT[e]*i.SuperMap.DOTS_PER_INCH},i.SuperMap.IS_GECKO=-1===(l=navigator.userAgent.toLowerCase()).indexOf("webkit")&&-1!==l.indexOf("gecko"),i.SuperMap.Browser=function(){var t,e="",o="",n="pc",i=navigator.userAgent.toLowerCase();return i.indexOf("msie")>-1||i.indexOf("trident")>-1&&i.indexOf("rv")>-1?(e="msie",t=i.match(/msie ([\d.]+)/)||i.match(/rv:([\d.]+)/)):i.indexOf("chrome")>-1?(e="chrome",t=i.match(/chrome\/([\d.]+)/)):i.indexOf("firefox")>-1?(e="firefox",t=i.match(/firefox\/([\d.]+)/)):i.indexOf("opera")>-1?(e="opera",t=i.match(/version\/([\d.]+)/)):i.indexOf("safari")>-1&&(e="safari",t=i.match(/version\/([\d.]+)/)),o=t?t[1]:"",i.indexOf("ipad")>-1||i.indexOf("ipod")>-1||i.indexOf("iphone")>-1?n="apple":i.indexOf("android")>-1&&(o=(t=i.match(/version\/([\d.]+)/))?t[1]:"",n="android"),{name:e,version:o,device:n}}(),i.SuperMap.Util.getBrowser=function(){return i.SuperMap.Browser},i.SuperMap.Util.isSupportCanvas=(r=!0,a=i.SuperMap.Util.getBrowser(),document.createElement("canvas").getContext?("firefox"===a.name&&parseFloat(a.version)<5&&(r=!1),"safari"===a.name&&parseFloat(a.version)<4&&(r=!1),"opera"===a.name&&parseFloat(a.version)<10&&(r=!1),"msie"===a.name&&parseFloat(a.version)<9&&(r=!1)):r=!1,r),i.SuperMap.Util.supportCanvas=function(){return i.SuperMap.Util.isSupportCanvas},i.SuperMap.INCHES_PER_UNIT.degree=i.SuperMap.INCHES_PER_UNIT.dd,i.SuperMap.INCHES_PER_UNIT.meter=i.SuperMap.INCHES_PER_UNIT.m,i.SuperMap.INCHES_PER_UNIT.foot=i.SuperMap.INCHES_PER_UNIT.ft,i.SuperMap.INCHES_PER_UNIT.inch=i.SuperMap.INCHES_PER_UNIT.inches,i.SuperMap.INCHES_PER_UNIT.mile=i.SuperMap.INCHES_PER_UNIT.mi,i.SuperMap.INCHES_PER_UNIT.kilometer=i.SuperMap.INCHES_PER_UNIT.km,i.SuperMap.INCHES_PER_UNIT.yard=i.SuperMap.INCHES_PER_UNIT.yd,i.SuperMap.Util.isInTheSameDomain=function(t){if(!t)return!0;var e=t.indexOf("//"),o=document.location.toString(),n=o.indexOf("//");if(-1===e)return!0;var i,l=i=t.substring(0,e),r=o.substring(n+2);n=r.indexOf("/");var a=r.indexOf(":"),s=r.substring(0,n),u=document.location.protocol;if(-1!==a||(s+=":"+("http:"===u.toLowerCase()?80:443)),u.toLowerCase()!==l.toLowerCase())return!1;var p=(l=t.substring(e+2)).indexOf(":");e=l.indexOf("/");var c,y=l.substring(0,e);return-1!==p?c=l.substring(0,p):(c=l.substring(0,e),y+=":"+("http:"===i.toLowerCase()?80:443)),c===document.domain&&y===s},i.SuperMap.Util.calculateDpi=function(t,e,o,n,i){if(t&&e&&o){var l,r=t.getWidth(),a=t.getHeight(),s=e.w,u=e.h;if(i=i||6378137,"degree"===(n=n||"degrees").toLowerCase()||"degrees"===n.toLowerCase()||"dd"===n.toLowerCase()){var p=r/s,c=a/u;l=254/(p>c?p:c)/o/(2*Math.PI*i/360)/1e4}else{l=254/(r/s)/o/1e4}return l}},i.SuperMap.Util.toJSON=function(t){var e=t;if(null==e)return null;switch(e.constructor){case String:return e=(e=(e=(e=(e=(e=(e='"'+e.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var o=[],l=0,r=e.length;l0?"{"+p.join(",")+"}":"{}"}return e.toString()}},i.SuperMap.Util.getResolutionFromScaleDpi=function(t,e,o,n){return n=n||6378137,o=o||"",t>0&&e>0?(t=i.SuperMap.Util.normalizeScale(t),"degree"===o.toLowerCase()||"degrees"===o.toLowerCase()||"dd"===o.toLowerCase()?254/e/t/(2*Math.PI*n/360)/1e4:254/e/t/1e4):-1},i.SuperMap.Util.getScaleFromResolutionDpi=function(t,e,o,n){return n=n||6378137,o=o||"",t>0&&e>0?"degree"===o.toLowerCase()||"degrees"===o.toLowerCase()||"dd"===o.toLowerCase()?254/e/t/(2*Math.PI*n/360)/1e4:254/e/t/1e4:-1},i.SuperMap.Util.transformResult=function(t){return t.responseText&&"string"==typeof t.responseText&&(t=JSON.parse(t.responseText)),t},i.SuperMap.Util.copyAttributes=function(t,e){if(t=t||{},e)for(var o in e){var n=e[o];void 0!==n&&"CLASS_NAME"!==o&&"function"!=typeof n&&(t[o]=n)}return t},i.SuperMap.Util.copyAttributesWithClip=function(t,e,o){if(t=t||{},e)for(var n in e){var i=!1;if(o&&o.length)for(var l=0,r=o.length;l=0&&r<=1&&l<=1&&r>=0?new i.SuperMap.Geometry.Point(t.x+l*(e.x-t.x),t.y+l*(e.y-t.y)):"No Intersection";else if(0==s&&0==u){var c=Math.max(t.y,e.y),y=Math.min(t.y,e.y),P=Math.max(t.x,e.x),h=Math.min(t.x,e.x);a=(o.y>=y&&o.y<=c||n.y>=y&&n.y<=c)&&o.x>=h&&o.x<=P||n.x>=h&&n.x<=P?"Coincident":"Parallel"}else a="Parallel";return a},i.SuperMap.Util.getTextBounds=function(t,e,o){document.body.appendChild(o),o.style.width="auto",o.style.height="auto",t.fontSize&&(o.style.fontSize=t.fontSize),t.fontFamily&&(o.style.fontFamily=t.fontFamily),t.fontWeight&&(o.style.fontWeight=t.fontWeight),o.style.position="relative",o.style.visibility="hidden",o.style.display="inline-block",o.innerHTML=e;var n=o.clientWidth,i=o.clientHeight;return document.body.removeChild(o),{textWidth:n,textHeight:i}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrayExt=e.FunctionExt=e.NumberExt=e.StringExt=void 0;var n=o(0); /* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/ n.SuperMap.inherit=function(t,e){var o,i,l,r=function(){};for(r.prototype=e.prototype,t.prototype=new r,o=2,i=arguments.length;o0&&(o=parseFloat(t.toPrecision(e))),o},format:function(t,e,o,i){e=void 0!==e?e:0,o=void 0!==o?o:n.SuperMap.Number.thousandsSeparator,i=void 0!==i?i:n.SuperMap.Number.decimalSeparator,null!=e&&(t=parseFloat(t.toFixed(e)));var l=t.toString().split(".");1===l.length&&null==e&&(e=0);var r,a=l[0];if(o)for(var s=/(-?[0-9]+)([0-9]{3})/;s.test(a);)a=a.replace(s,"$1"+o+"$2");if(0==e)r=a;else{var u=l.length>1?l[1]:"0";null!=e&&(u+=new Array(e-u.length+1).join("0")),r=a+i+u}return r}};Number.prototype.limitSigDigs||(Number.prototype.limitSigDigs=function(t){return i.limitSigDigs(this,t)});e.FunctionExt=n.SuperMap.Function={bind:function(t,e){var o=Array.prototype.slice.apply(arguments,[2]);return function(){var n=o.concat(Array.prototype.slice.apply(arguments,[0]));return t.apply(e,n)}},bindAsEventListener:function(t,e){return function(o){return t.call(e,o||window.event)}},False:function(){return!1},True:function(){return!0},Void:function(){}},e.ArrayExt=n.SuperMap.Array={filter:function(t,e,o){var n=[];if(Array.prototype.filter)n=t.filter(e,o);else{var i=t.length;if("function"!=typeof e)throw new TypeError;for(var l=0;l0||0===this.libID&&this.code===SuperMap.Plot.SymbolType.NODECHAIN},SuperMap.Plot.BasicAlgoSymbolFactory.zoomInCalSymbol=function(){if(22!==libID)return!1;switch(code){case 1012:case 1013:case 1014:case 1015:return!0;default:return!1}},SuperMap.Plot.BasicAlgoSymbolFactory.zoomCalSymbol=function(){return!1},SuperMap.Plot.BasicAlgoSymbolFactory.getSymbolName=function(t,e){var o="";if(0===t)switch(e){case SuperMap.Plot.SymbolType.TEXTSYMBOL:o="文本";break;case SuperMap.Plot.SymbolType.CIRCLESYMBOL:o="圆";break;case SuperMap.Plot.SymbolType.RECTANGLESYMBOL:o="矩形";break;case SuperMap.Plot.SymbolType.ARCSYMBOL:o="弧线";break;case SuperMap.Plot.SymbolType.CHORDSYMBOL:o="弓形";break;case SuperMap.Plot.SymbolType.PIESYMBOL:o="扇形";break;case SuperMap.Plot.SymbolType.ELLIPSESYMBOL:o="椭圆";break;case SuperMap.Plot.SymbolType.PARALLELOGRAM:o="平行四边形";break;case SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL:o="多边形";break;case SuperMap.Plot.SymbolType.POLYLINESYMBOL:o="折线";break;case SuperMap.Plot.SymbolType.POLYBEZIERSYMBOL:o="贝赛尔曲线";break;case SuperMap.Plot.SymbolType.POLYBEZIERCLOSESYMBOL:o="闭合贝塞尔曲线";break;case SuperMap.Plot.SymbolType.PARALLELLINE:o="平行线";break;case SuperMap.Plot.SymbolType.KIDNEY:o="集结地";break;case SuperMap.Plot.SymbolType.ANNOFRAMESYMBOL:o="注记指示框";break;case SuperMap.Plot.SymbolType.ARROWLINE:o="箭头线";break;case SuperMap.Plot.SymbolType.COMBINATIONALCIRCLE:o="组合圆";break;case SuperMap.Plot.SymbolType.CONCENTRICCIRCLE:o="同心圆";break;case SuperMap.Plot.SymbolType.CURVEEIGHT:o="八字形";break;case SuperMap.Plot.SymbolType.FREECURVE:o="自由线";break;case SuperMap.Plot.SymbolType.ANNOFRAMESYMBOLM:o="多角标注框";break;case SuperMap.Plot.SymbolType.LINEMARKING:o="线型标注";break;case SuperMap.Plot.SymbolType.LINERELATION:o="对象间连线";break;case SuperMap.Plot.SymbolType.NODECHAIN:o="节点链";break;case SuperMap.Plot.SymbolType.PATHTEXT:o="沿线注记";break;case SuperMap.Plot.SymbolType.POLYGONREGION:o="多边形区域管理";break;case SuperMap.Plot.SymbolType.RUNWAY:o="跑道线";break;case SuperMap.Plot.SymbolType.SYMBOLTEXTBOX:o="标注框";break;case SuperMap.Plot.SymbolType.REGULARPOLYGON:o="正多边形";break;case SuperMap.Plot.SymbolType.BRACESYMBOL:o="大括号";break;case SuperMap.Plot.SymbolType.TRAPEZOIDSYMBOL:o="梯形";break;case SuperMap.Plot.SymbolType.WIRE:o="铁丝网"}return o}},function(t,e,o){"use strict";var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"===("undefined"==typeof window?"undefined":i(window))&&(n=window)}t.exports=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FetchRequest=e.getRequestTimeout=e.setRequestTimeout=e.isCORS=e.setCORS=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}; /* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/o(113),o(108);var i,l=o(107),r=(i=l)&&i.__esModule?i:{default:i},a=o(0),s=o(1);var u=window.fetch,p=(e.setCORS=a.SuperMap.setCORS=function(t){a.SuperMap.CORS=t},e.isCORS=a.SuperMap.isCORS=function(){return void 0!=a.SuperMap.CORS?a.SuperMap.CORS:window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest}),c=(e.setRequestTimeout=a.SuperMap.setRequestTimeout=function(t){return a.SuperMap.RequestTimeout=t},e.getRequestTimeout=a.SuperMap.getRequestTimeout=function(){return a.SuperMap.RequestTimeout||45e3});e.FetchRequest=a.SuperMap.FetchRequest={commit:function(t,e,o,n){switch(t=t?t.toUpperCase():t){case"GET":return this.get(e,o,n);case"POST":return this.post(e,o,n);case"PUT":return this.put(e,o,n);case"DELETE":return this.delete(e,o,n);default:return this.get(e,o,n)}},supportDirectRequest:function(t,e){return s.Util.isInTheSameDomain(t)||p()||e.proxy},get:function(t,e,o){o=o||{};if(t=this._processUrl(t,o),t=s.Util.urlAppend(t,this._getParameterString(e||{})),!this.supportDirectRequest(t,o)){var n={url:t=t.replace(".json",".jsonp"),data:e};return a.SuperMap.Util.RequestJSONPPromise.GET(n)}return this.urlIsLong(t)?this._postSimulatie("GET",t.substring(0,t.indexOf("?")-1),e,o):this._fetch(t,e,o,"GET")},delete:function(t,e,o){o=o||{};if(t=this._processUrl(t,o),t=s.Util.urlAppend(t,this._getParameterString(e||{})),!this.supportDirectRequest(t,o)){t=t.replace(".json",".jsonp");var n={url:t+="&_method=DELETE",data:e};return a.SuperMap.Util.RequestJSONPPromise.DELETE(n)}return this.urlIsLong(t)?this._postSimulatie("DELETE",t.substring(0,t.indexOf("?")-1),e,o):this._fetch(t,e,o,"DELETE")},post:function(t,e,o){if(o=o||{},!this.supportDirectRequest(t,o)){t=t.replace(".json",".jsonp");var n={url:t+="&_method=POST",data:e};return a.SuperMap.Util.RequestJSONPPromise.POST(n)}return this._fetch(this._processUrl(t,o),e,o,"POST")},put:function(t,e,o){if(o=o||{},t=this._processUrl(t,o),!this.supportDirectRequest(t,o)){t=t.replace(".json",".jsonp");var n={url:t+="&_method=PUT",data:e};return a.SuperMap.Util.RequestJSONPPromise.DELETE(n)}return this._fetch(t,e,o,"PUT")},urlIsLong:function(t){for(var e=0,o=null,n=0,i=t.length;n-1?"&":"?")+"_method="+t,"string"!=typeof o&&(o=JSON.stringify(o)),this.post(e,o,n)},_processUrl:function(t,e){if(this._isMVTRequest(t))return t;if(-1===t.indexOf(".json")&&!e.withoutFormatSuffix)if(t.indexOf("?")<0)t+=".json";else{var o=t.split("?");2===o.length&&(t=o[0]+".json?"+o[1])}return e&&e.proxy&&("function"==typeof e.proxy?t=e.proxy(t):(t=decodeURIComponent(t),t=e.proxy+encodeURIComponent(t))),t},_fetch:function(t,e,o,n){return(o=o||{}).headers=o.headers||{},o.headers["Content-Type"]||(o.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8"),o.timeout?this._timeout(o.timeout,u(t,{method:n,headers:o.headers,body:"PUT"===n||"POST"===n?e:void 0,credentials:o.withCredentials?"include":"omit",mode:"cors",timeout:c()}).then(function(t){return t})):u(t,{method:n,body:"PUT"===n||"POST"===n?e:void 0,headers:o.headers,credentials:o.withCredentials?"include":"omit",mode:"cors",timeout:c()}).then(function(t){return t})},_fetchJsonp:function(t,e){return e=e||{},(0,r.default)(t,{method:"GET",timeout:e.timeout}).then(function(t){return t})},_timeout:function(t,e){return new Promise(function(o,n){setTimeout(function(){n(new Error("timeout"))},t),e.then(o,n)})},_getParameterString:function(t){var e=[];for(var o in t){var i=t[o];if(null!=i&&"function"!=typeof i){var l;if("object"===(void 0===i?"undefined":n(i))&&i.constructor===Array){for(var r,a=[],s=0,u=i.length;s-1||t.indexOf(".pbf")>-1}};a.SuperMap.Util.RequestJSONPPromise={limitLength:1500,queryKeys:[],queryValues:[],supermap_callbacks:{},addQueryStrings:function(t){for(var e in t){this.queryKeys.push(e),"string"!=typeof t[e]&&(t[e]=a.SuperMap.Util.toJSON(t[e]));var o=encodeURIComponent(t[e]);this.queryValues.push(o)}},issue:function(t){for(var e=this,o=e.getUid(),n=t.url,i=[],l=new Promise(function(t){e.supermap_callbacks[o]=function(n){delete e.supermap_callbacks[o],t(n)}}),r=n,a=0,s=e.queryKeys?e.queryKeys.length:0,u=0;u=e.limitLength){if(0==a)return!1;i.push(r),r=n,a=0,u--}else if(r.length+e.queryKeys[u].length+2+e.queryValues[u].length>e.limitLength)for(var p=e.queryValues[u];p.length>0;){var c=e.limitLength-r.length-e.queryKeys[u].length-2;r.indexOf("?")>-1?r+="&":r+="?";var y=p.substring(0,c);"%"===y.substring(c-1,c)?(c-=1,y=p.substring(0,c)):"%"===y.substring(c-2,c-1)&&(c-=2,y=p.substring(0,c)),r+=e.queryKeys[u]+"="+y,p=p.substring(c),y.length>0&&(i.push(r),r=n,a=0)}else a++,r.indexOf("?")>-1?r+="&":r+="?",r+=e.queryKeys[u]+"="+e.queryValues[u];return i.push(r),e.send(i,"SuperMap.Util.RequestJSONPPromise.supermap_callbacks["+o+"]",t&&t.proxy),l},getUid:function(){return 1e3*(new Date).getTime()+Math.floor(1e17*Math.random())},send:function(t,e,o){var n=t.length;if(n>0)for(var i=(new Date).getTime(),l=0;l-1?a+="&":a+="?",a+="sectionCount="+n,a+="§ionIndex="+l,a+="&jsonpUserID="+i,o&&(a=decodeURIComponent(a),a=o+encodeURIComponent(a)),(0,r.default)(a,{jsonpCallbackFunction:e,timeout:3e4})}},GET:function(t){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings(t.params),this.issue(t)},POST:function(t){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:t.data}),this.issue(t)},PUT:function(t){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:t.data}),this.issue(t)},DELETE:function(t){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:t.data}),this.issue(t)}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbolFactory=void 0,o(3);e.AlgoSymbolFactory=SuperMap.Plot.AlgoSymbolFactory=SuperMap.Plot.AlgoSymbolFactory||{};SuperMap.Plot.AlgoSymbolFactory.getAlgoSymbol=function(t){var e=t.libID,o=t.code;return 0!==e&&22!==e&&421!==e||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?100===e&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.getAlgoSymbol(e,o,t):123===e&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.getAlgoSymbol(e,o,t):999===e&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory?SuperMap.Plot.YJAlgoSymbolFactory.getAlgoSymbol(e,o,t):null:SuperMap.Plot.BasicAlgoSymbolFactory.getAlgoSymbol(e,o,t)},SuperMap.Plot.AlgoSymbolFactory.getSymbolWayType=function(t,e){if(0===t)switch(e){case SuperMap.Plot.SymbolType.POLYLINESYMBOL:case SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL:return SuperMap.Plot.AddPoint_WayType.POLYLINE;case SuperMap.Plot.SymbolType.POLYBEZIERSYMBOL:case SuperMap.Plot.SymbolType.POLYBEZIERCLOSESYMBOL:return SuperMap.Plot.AddPoint_WayType.CURVE;default:return SuperMap.Plot.AddPoint_WayType.UNKNOWN}if(22===t)switch(e){case 1005:case 1008:case 1012:case 1014:return SuperMap.Plot.AddPoint_WayType.CURVE;case 1007:case 1009:case 1013:case 1015:return SuperMap.Plot.AddPoint_WayType.POLYLINE;default:return SuperMap.Plot.AddPoint_WayType.UNKNOWN}if(100===t){if(void 0!==SuperMap.Plot.JBAlgoSymbolFactory)return SuperMap.Plot.JBAlgoSymbolFactory.getSymbolWayType(t,e);switch(e){case 15200:case 15201:case 16203:case 17703:case 17704:case 21400:case 21401:case 21500:case 21501:case 21502:case 21503:case 21504:case 21600:case 21900:case 22e3:case 22103:case 23800:case 24700:case 25201:case 25400:case 25601:case 25801:case 25901:case 26500:case 26501:case 26502:case 26503:case 26600:case 28900:case 29e3:case 29003:case 29903:case 3e4:case 30001:case 30002:case 30100:case 30102:case 30200:case 30201:case 30800:case 31803:case 33400:case 34900:case 34901:case 34902:case 35e3:case 36400:case 44200:case 3010102:case 3010103:case 3010104:case 3010105:case 3010106:case 3010107:case 3010108:case 3010301:case 3010302:case 3010303:case 3010304:return SuperMap.Plot.AddPoint_WayType.CURVE;case 12500:case 12502:case 16100:case 20300:case 25501:case 25502:case 25503:case 32900:case 34700:case 35200:case 36401:case 41200:case 41201:case 41202:case 42700:case 44400:return SuperMap.Plot.AddPoint_WayType.POLYLINE;default:return SuperMap.Plot.AddPoint_WayType.UNKNOWN}}if(123===t){if(void 0!==SuperMap.Plot.WJAlgoSymbolFactory)return SuperMap.Plot.WJAlgoSymbolFactory.getSymbolWayType(t,e);switch(e){case 21003:case 21207:case 2120701:case 2121503:case 21218:case 30008:case 3000801:case 3000802:case 3000803:case 3000804:case 3000805:case 3000806:case 3000807:case 3000808:case 3000809:case 30009:case 5021803:case 5022001:case 5022002:case 40301:case 4030101:case 4030102:case 4030103:case 4030104:case 40303:case 4030301:case 4030302:case 4030303:case 50101:case 5010101:case 50102:case 5010201:case 5010202:case 5010203:case 5010204:case 50103:case 5010301:case 5010302:case 5010303:case 5010304:case 50107:case 5010701:case 50210:case 50220:case 50221:case 50225:case 5030102:case 50303:case 5030301:case 50309:case 50320:case 5032001:case 5032002:case 5032003:case 50321:case 5032101:case 5032102:case 50322:case 5032201:case 50330:case 5033001:case 5034203:case 5035201:case 5035204:case 60205:case 90105:return SuperMap.Plot.AddPoint_WayType.CURVE;case 20915:case 2091502:case 2092101:case 2120702:case 21216:case 2121601:case 2121602:case 21605:case 30010:case 30011:case 3001101:case 3001102:case 3001103:case 3001104:case 3001105:case 30012:case 30020:case 3002001:case 3002002:case 3002005:case 30025:case 3002501:case 30026:case 40104:case 40302:case 4030201:case 4030202:case 4030203:case 4030204:case 50227:case 5035205:case 60301:case 6030101:case 6030102:case 6030103:case 6030104:case 6030105:case 6030106:case 6030107:case 70202:case 7020201:case 7020202:case 90107:return SuperMap.Plot.AddPoint_WayType.POLYLINE;default:return SuperMap.Plot.AddPoint_WayType.UNKNOWN}}},SuperMap.Plot.AlgoSymbolFactory.isAccessServer=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.isAccessServer(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.isAccessServer(t,e):999!==t||void 0===SuperMap.Plot.YJAlgoSymbolFactory||SuperMap.Plot.YJAlgoSymbolFactory.isAccessServer(t,e):SuperMap.Plot.BasicAlgoSymbolFactory.isAccessServer(t,e)},SuperMap.Plot.AlgoSymbolFactory.getDefaultSubSymbols=function(t,e){return 100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.getDefaultSubSymbols(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.getDefaultSubSymbols(t,e):999===t&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory?SuperMap.Plot.YJAlgoSymbolFactory.getDefaultSubSymbols(t,e):[]},SuperMap.Plot.AlgoSymbolFactory.getMinEditPts=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.getMinEditPts(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.getMinEditPts(t,e):999===t&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory?SuperMap.Plot.YJAlgoSymbolFactory.getMinEditPts(t,e):0:SuperMap.Plot.BasicAlgoSymbolFactory.getMinEditPts(t,e)},SuperMap.Plot.AlgoSymbolFactory.getMaxEditPts=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.getMaxEditPts(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.getMaxEditPts(t,e):999===t&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory?SuperMap.Plot.YJAlgoSymbolFactory.getMaxEditPts(t,e):0:SuperMap.Plot.BasicAlgoSymbolFactory.getMaxEditPts(t,e)},SuperMap.Plot.AlgoSymbolFactory.getDefaultStyle=function(t,e){return 100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.getDefaultStyle(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.getDefaultStyle(t,e):999===t&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory?SuperMap.Plot.YJAlgoSymbolFactory.getDefaultStyle(t,e):{}},SuperMap.Plot.AlgoSymbolFactory.getSymbolName=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?"":SuperMap.Plot.BasicAlgoSymbolFactory.getSymbolName(t,e)},SuperMap.Plot.AlgoSymbolFactory.canPolylineConnect=function(t,e){return 100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory&&SuperMap.Plot.JBAlgoSymbolFactory.canPolylineConnect(t,e)},SuperMap.Plot.AlgoSymbolFactory.canSetSubSymbol=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.canSetSubSymbol(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.canSetSubSymbol(t,e):999===t&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory&&SuperMap.Plot.YJAlgoSymbolFactory.canSetSubSymbol(t,e):SuperMap.Plot.BasicAlgoSymbolFactory.canSetSubSymbol(t,e)},SuperMap.Plot.AlgoSymbolFactory.zoomInCalSymbol=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.zoomInCalSymbol(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.zoomInCalSymbol(t,e):999===t&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory?SuperMap.Plot.YJAlgoSymbolFactory.zoomInCalSymbol(t,e):0:SuperMap.Plot.BasicAlgoSymbolFactory.zoomInCalSymbol(t,e)},SuperMap.Plot.AlgoSymbolFactory.zoomCalSymbol=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.zoomCalSymbol(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.zoomCalSymbol(t,e):999===t&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory?SuperMap.Plot.YJAlgoSymbolFactory.zoomCalSymbol(t,e):0:SuperMap.Plot.BasicAlgoSymbolFactory.zoomCalSymbol(t,e)}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o.7&&(v=.7),this.scaleValues[2]=v}}}}]),e}();SuperMap.Plot.AlgoSymbol15200=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o=2&&t.length=2&&t.length0&&(this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,o.shapePts,{strokeWidth:0,weight:0,lineWidthLimit:!0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,l),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,r),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,o.LeftArowHead,{lineTypeLimit:!0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,o.LeftArowRightBody),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,o.RightArowHead,{lineTypeLimit:!0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,M),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,m)),this.scalePoints=[];for(var A=0;Athis.SV1_MaxValue&&(n=this.SV1_MaxValue)}else n=SuperMap.Plot.PlottingUtil.distance(a.projectPoint,l)=0;--x)E.push(A[x]);var w=SuperMap.Plot.PlottingUtil.clonePoints(E);w.push(w[0]),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,w,{lineWidthLimit:!0,strokeWidth:0,weight:0,surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[E[0],E[1]]),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[E[2],E[3]]),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[E[3],E[4],E[5],E[6],E[7]],{lineTypeLimit:!0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[E[7],E[8]]),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[E[9],E[10]]),this.scalePoints=[];var I=A[0].clone();I.isScalePoint=!0,I.tag=0,this.scalePoints.push(I);var R=A[3].clone();R.isScalePoint=!0,R.tag=1,this.scalePoints.push(R);var C=A[4].clone();C.isScalePoint=!0,C.tag=2,this.scalePoints.push(C),this.finish()}}},{key:"modifyPoint",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var n=SuperMap.Plot.PlottingUtil.distance(o[0],o[1]),i=o[0].clone(),l=o[1].clone(),r=e.clone();if(0==t){var a=SuperMap.Plot.PlottingUtil.distance(r,i)/n;this.scaleValues[0]=a}else if(1==t){var s=SuperMap.Plot.PlottingUtil.projectPoint(r,i,l),u=SuperMap.Plot.PlottingUtil.distance(s,r)/n;this.scaleValues[1]=u;var p=SuperMap.Plot.PlottingUtil.distance(s,l)/n;this.scaleValues[3]=p}else if(2==t){var c=SuperMap.Plot.PlottingUtil.projectPoint(r,i,l),y=SuperMap.Plot.PlottingUtil.distance(c,r)/n;this.scaleValues[2]=y;var P=SuperMap.Plot.PlottingUtil.distance(c,l)/n;this.scaleValues[4]=P}}this.calculateParts()}}]),e}();SuperMap.Plot.AlgoSymbol1020=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o=0;--b)v.push(g[b]);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,v,{lineWidthLimit:!0,strokeWidth:0,weight:0,surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[v[2],v[1],v[7],v[6]],{surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[v[6],v[5],v[4],v[3],v[2]],{lineTypeLimit:!0,surroundLineFlag:!1}),this.scalePoints=[];var T=g[0].clone();T.isScalePoint=!0,T.tag=0,this.scalePoints.push(T);var A=g[1].clone();A.isScalePoint=!0,A.tag=1,this.scalePoints.push(A);var L=g[2].clone();L.isScalePoint=!0,L.tag=2,this.scalePoints.push(L),this.finish()}}},{key:"modifyPoint",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var n=SuperMap.Plot.PlottingUtil.distance(o[0],o[1]),i=o[0].clone(),l=o[1].clone(),r=e.clone();if(0==t){var a=SuperMap.Plot.PlottingUtil.distance(r,i)/n;this.scaleValues[0]=a}else if(1==t){var s=SuperMap.Plot.PlottingUtil.projectPoint(r,i,l),u=SuperMap.Plot.PlottingUtil.distance(s,r)/n;this.scaleValues[1]=u;var p=SuperMap.Plot.PlottingUtil.distance(s,l)/n;this.scaleValues[3]=p}else if(2==t){var c=SuperMap.Plot.PlottingUtil.projectPoint(r,i,l),y=SuperMap.Plot.PlottingUtil.distance(c,r)/n;this.scaleValues[2]=y;var P=SuperMap.Plot.PlottingUtil.distance(c,l)/n;this.scaleValues[4]=P}}this.calculateParts()}}]),e}();SuperMap.Plot.AlgoSymbol1019=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o=2&&t.length=0;f--)e.push(u[f]),n.push(u[f])}return{shapePts:e,leftBodyPts:o,rightBodyPts:n,arrowHeadPts:i}}},{key:"updateScalePoints",value:function(t){var e=t.length,o=[];if(!(e<3)){var n=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!SuperMap.Plot.PlottingUtil.equalFuzzy(n,0)){var i=this.operateCtrlPts(t);e=i.length,e--;for(var l=[],r=0;r0&&g>0){var m=1/(f-h[2].x),v=-1/(S-h[2].y),b=1*h[2].y/(S-h[2].y)-1*h[2].x/(f-h[2].x);M=Math.abs(m*h[0].x+v*h[0].y+b)/Math.sqrt(m*m+v*v)}else g<=1e-4?M=Math.abs(S-h[1].y):d<=1e-4&&(M=Math.abs(f-h[1].x));var T=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(M,h[2],new SuperMap.Geometry.Point(f,S)),A=SuperMap.Plot.PlottingUtil.pointIsRightToLine(h[1],h[2],h[0]);A?(r[1]=h[1],a[1]=h[0]):(r[1]=h[0],a[1]=h[1]),h[1]=new SuperMap.Geometry.Point((h[0].x+h[1].x)/2,(h[0].y+h[1].y)/2);var L=Math.sqrt((T.pntLeft.x-T.pntRight.x)*(T.pntLeft.x-T.pntRight.x)+(T.pntLeft.y-T.pntRight.y)*(T.pntLeft.y-T.pntRight.y))*this.sv_AtWidthDivAwWidth,O=(n=L*this.sv_AtLenDivAtWidth)*l;SuperMap.Plot.PlottingUtil.equalFuzzy(i,0)||(O=(n=t*i)*l);var E,x,w=SuperMap.Plot.PlottingUtil.distance(h[y],h[y-1]),I=2*n;w0&&(h[y]=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(n,h[y],N)),_=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(O,h[y+1],h[y]),(A=SuperMap.Plot.PlottingUtil.pointIsRightToLine(h[y],h[y+1],_.pntLeft))?(a[y]=new SuperMap.Geometry.Point(_.pntLeft.x,_.pntLeft.y),r[y]=new SuperMap.Geometry.Point(_.pntRight.x,_.pntRight.y)):(a[y]=new SuperMap.Geometry.Point(_.pntRight.x,_.pntRight.y),r[y]=new SuperMap.Geometry.Point(_.pntLeft.x,_.pntLeft.y)),R=2;R=this.minEditPts){this.scalePoints=[];var e=SuperMap.Plot.PlottingUtil.clonePoints(t);this.isEdit||(this.scaleValues[0]=1.5*this.getSubSymbolScaleValue());var o=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePts(e,this.scaleValues,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_PARALLEL),n=o.arrowTouLen,i=o.leftBodyPts,l=o.rightBodyPts,r=[];r.push(i[i.length-1]),r.push(l[l.length-1]);var a=[];a.push(this.scaleValues[3]),a.push(this.scaleValues[4]),a.push(this.scaleValues[0]),a.push(this.scaleValues[1]);var s=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePts(e,r,a,n,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITHOUT_EAR),u=[];u=(u=u.concat(i)).concat(s);for(var p=l.length-1;p>=0;p--)u.push(l[p]);u.push(u[0]),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,u,{lineWidthLimit:!0,strokeWidth:0,weight:0,surroundLineFlag:!1});for(var c=SuperMap.Plot.PlottingUtil.clonePoints(i),y=[],P=l.length-1;P>=0;P--)y.push(l[P]);y=y.concat(c),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,y);var h=SuperMap.Plot.PlottingUtil.clonePoints(s);h.push(l[l.length-1]),h.splice(0,0,i[i.length-1]),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h,{lineTypeLimit:!0});var f=new SuperMap.Geometry.Point((r[0].x+r[1].x)/2,(r[0].y+r[1].y)/2),S=new SuperMap.Geometry.Point(f.x,f.y);S.isScalePoint=!0,S.tag=0,this.scalePoints.push(S);var d=new SuperMap.Geometry.Point(i[i.length-1].x,i[i.length-1].y);d.isScalePoint=!0,d.tag=1,this.scalePoints.push(d);var g=new SuperMap.Geometry.Point(s[0].x,s[0].y);g.isScalePoint=!0,g.tag=2,this.scalePoints.push(g),this.finish()}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=new SuperMap.Geometry.Point(this.scalePoints[0].x,this.scalePoints[0].y),n=new SuperMap.Geometry.Point(this.scalePoints[1].x,this.scalePoints[1].y),i=new SuperMap.Geometry.Point(this.scalePoints[2].x,this.scalePoints[2].y),l=this.scaleValues[0],r=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);r=SuperMap.Plot.PlottingUtil.clearSamePts(r);var a=SuperMap.Plot.PlottingUtil.polylineDistance(r),s=a*l;if(0==t){var u=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,r[r.length-2],r[r.length-1]),p=u.projectPoint;if(u.isOnline){var c=SuperMap.Plot.PlottingUtil.distance(p,r[r.length-1]);this.scaleValues[0]=c/a}}else if(1==t){var y=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,n,i).projectPoint,P=SuperMap.Plot.PlottingUtil.distance(y,o);this.scaleValues[1]=P/s}else if(2==t){var h=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,r[1],i).projectPoint,f=SuperMap.Plot.PlottingUtil.pointProjectToSegment(h,o,r[1]),S=f.projectPoint,d=SuperMap.Plot.PlottingUtil.distance(S,o);!1===f.isOnline&&(this.scaleValues[4]=d/s)}}this.calculateParts()}}]),e}();SuperMap.Plot.AlgoSymbol1017=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o1)if(this.arrowBodyType!==SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_COATTAIL)this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,o);else for(var p=0,c=o.length-1;p1&&this.addCell(M,u,e),s.length>1&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s)}}}]),e}();SuperMap.Plot.AlgoSymbol1016=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=e.AlgoSymbol1015=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.subSymbolDefaultPixelSize=15,o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1015",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol1009),e}();SuperMap.Plot.AlgoSymbol1015=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=e.AlgoSymbol1014=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.subSymbolDefaultPixelSize=15,o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1014",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol1008),e}();SuperMap.Plot.AlgoSymbol1014=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=e.AlgoSymbol1013=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.subSymbolDefaultPixelSize=15,o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1013",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol1007),e}();SuperMap.Plot.AlgoSymbol1013=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=e.AlgoSymbol1012=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.subSymbolDefaultPixelSize=15,o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1012",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol1005),e}();SuperMap.Plot.AlgoSymbol1012=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o=0;f--)e.push(u[f]),n.push(u[f])}return{shapePts:e,leftBodyPts:o,rightBodyPts:n,arrowHeadPts:i}}},{key:"updateScalePoints",value:function(t){var e=t.length,o=[];if(!(e<3)){var n=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!SuperMap.Plot.PlottingUtil.equalFuzzy(n,0)){var i=this.operateCtrlPts(t);e=i.length,e--;for(var l=[],r=0;r0&&g>0){var m=1/(f-h[2].x),v=-1/(S-h[2].y),b=1*h[2].y/(S-h[2].y)-1*h[2].x/(f-h[2].x);M=Math.abs(m*h[0].x+v*h[0].y+b)/Math.sqrt(m*m+v*v)}else g<=1e-4?M=Math.abs(S-h[1].y):d<=1e-4&&(M=Math.abs(f-h[1].x));var T=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(M,h[2],new SuperMap.Geometry.Point(f,S)),A=SuperMap.Plot.PlottingUtil.pointIsRightToLine(h[1],h[2],h[0]);A?(r[1]=h[1],a[1]=h[0]):(r[1]=h[0],a[1]=h[1]),h[1]=new SuperMap.Geometry.Point((h[0].x+h[1].x)/2,(h[0].y+h[1].y)/2);var L=Math.sqrt((T.pntLeft.x-T.pntRight.x)*(T.pntLeft.x-T.pntRight.x)+(T.pntLeft.y-T.pntRight.y)*(T.pntLeft.y-T.pntRight.y))*this.sv_AtWidthDivAwWidth,O=(n=L*this.sv_AtLenDivAtWidth)*l;SuperMap.Plot.PlottingUtil.equalFuzzy(i,0)||(O=(n=t*i)*l);var E,x,w=SuperMap.Plot.PlottingUtil.distance(h[y],h[y-1]),I=2*n;w0&&(h[y]=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(n,h[y],N)),_=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(O,h[y+1],h[y]),(A=SuperMap.Plot.PlottingUtil.pointIsRightToLine(h[y],h[y+1],_.pntLeft))?(a[y]=new SuperMap.Geometry.Point(_.pntLeft.x,_.pntLeft.y),r[y]=new SuperMap.Geometry.Point(_.pntRight.x,_.pntRight.y)):(a[y]=new SuperMap.Geometry.Point(_.pntRight.x,_.pntRight.y),r[y]=new SuperMap.Geometry.Point(_.pntLeft.x,_.pntLeft.y)),R=2;R=2&&t.length=0;m--)e.push(c[m]),n.push(c[m]);for(var v=1;v0&&this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,l,{surroundLineFlag:!1,fillLimit:!0,fill:!0})}}}]),e}();SuperMap.Plot.AlgoSymbol1008=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o0&&this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,s,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0})}else{this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,n);l.length>0&&this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,l,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0})}}}}]),e}();SuperMap.Plot.AlgoSymbol1007=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o=2&&t.length0&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P,{surroundLineFlag:!1}),this.m_scalePoints.length>0&&(this.m_scalePoints[0]={x:this.m_scalePoints[0].x,y:this.m_scalePoints[0].y,z:b});for(var I=0;I0&&(this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,R,{surroundLineFlag:!1,lineWidthLimit:!0,strokeWidth:0,weight:0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,R,{surroundLineFlag:!1})),this.scalePoints=[];for(var C=0;Cthis.SV1_MaxValue&&(o=this.SV1_MaxValue)}else o=SuperMap.Plot.PlottingUtil.distance(r.projectPoint,i)0&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,i)}}}]),e}();SuperMap.Plot.AlgoSymbol1005=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o=2&&t.length=2;v--)P.push(o[v]);P.push({x:h.x,y:h.y,z:g});var b=[];this.ComputeBeizerZValueByDis(P,r,b);for(var T=[],A=0;A0&&b.length>0&&T.length>0){u=(u=(u=(u=[]).concat(m)).concat(T)).concat(b),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,u,{surroundLineFlag:!1});for(var O=[],E=0;E=0;f--)e.push(u[f]),n.push(u[f])}return{shapePts:e,leftBodyPts:o,rightBodyPts:n,arrowHeadPts:i}}},{key:"updateScalePoints",value:function(t){var e=t.length,o=[];if(!(e<3)){var n=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!SuperMap.Plot.PlottingUtil.equalFuzzy(n,0)){var i=this.operateCtrlPts(t);e=i.length,e--;for(var l=[],r=0;r0&&g>0){var m=1/(f-h[2].x),v=-1/(S-h[2].y),b=1*h[2].y/(S-h[2].y)-1*h[2].x/(f-h[2].x);M=Math.abs(m*h[0].x+v*h[0].y+b)/Math.sqrt(m*m+v*v)}else g<=1e-4?M=Math.abs(S-h[1].y):d<=1e-4&&(M=Math.abs(f-h[1].x));var T=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(M,h[2],new SuperMap.Geometry.Point(f,S)),A=SuperMap.Plot.PlottingUtil.pointIsRightToLine(h[1],h[2],h[0]);A?(r[1]=h[1],a[1]=h[0]):(r[1]=h[0],a[1]=h[1]),h[1]=new SuperMap.Geometry.Point((h[0].x+h[1].x)/2,(h[0].y+h[1].y)/2);var L=Math.sqrt((T.pntLeft.x-T.pntRight.x)*(T.pntLeft.x-T.pntRight.x)+(T.pntLeft.y-T.pntRight.y)*(T.pntLeft.y-T.pntRight.y))*this.sv_AtWidthDivAwWidth,O=(n=L*this.sv_AtLenDivAtWidth)*l;SuperMap.Plot.PlottingUtil.equalFuzzy(i,0)||(O=(n=t*i)*l);var E,x,w=SuperMap.Plot.PlottingUtil.distance(h[y],h[y-1]),I=2*n;w0&&(h[y]=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(n,h[y],N)),_=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(O,h[y+1],h[y]),(A=SuperMap.Plot.PlottingUtil.pointIsRightToLine(h[y],h[y+1],_.pntLeft))?(a[y]=new SuperMap.Geometry.Point(_.pntLeft.x,_.pntLeft.y),r[y]=new SuperMap.Geometry.Point(_.pntRight.x,_.pntRight.y)):(a[y]=new SuperMap.Geometry.Point(_.pntRight.x,_.pntRight.y),r[y]=new SuperMap.Geometry.Point(_.pntLeft.x,_.pntLeft.y)),R=2;R=this.minEditPts){if(SuperMap.Plot.PlottingUtil.equalFuzzy(this.controlPoints[0].x,this.controlPoints[1].x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(this.controlPoints[0].y,this.controlPoints[1].y))return;var o=SuperMap.Plot.PlottingUtil.clonePoints(t),n=!1;void 0!==o[0].z&&(n=!0);var i=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePts(t,this.scaleValues,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_TRAPEZOID),l=i.arrowTouLen,r=i.leftBodyPts,a=i.rightBodyPts,s=[];s.push(r[r.length-1]),s.push(a[a.length-1]);var u=[];u.push(this.scaleValues[3]),u.push(this.scaleValues[4]),u.push(0),u.push(0);var p=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePts(t,s,u,l,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITHOUT_EAR),c=[];c=(c=c.concat(r)).concat(p);for(var y=a.length-1;y>=0;y--)c.push(a[y]);if(c.push(r[0]),n){for(var P=[],h={x:o[1].x,y:o[1].y,z:o[1].z},f={x:o[0].x,y:o[0].y,z:o[0].z},S=0;S=2&&t.length2*n-1){for(var a=0;af[b].length)){for(var T=y[b][y[b].length-1],A=P[b][0],L=new SuperMap.Geometry.Point(.5*(T.x+A.x),.5*(T.y+A.y)),O=f[b][f[b].length-1],E=f[b][f[b].length-2],x=this.ComputeZValue(L,O,E),w={x:L.x,y:L.y,z:x},I=[],R=[],C=0;C=0;N--)if(b==n-1)U.push(f[b][N]);else{var D={x:f[b][N].x,y:f[b][N].y,z:.5*(f[b][N].z+f[b+1][N].z)};U.push(D)}this.ComputeBeizerZValueByDis(U,P[b],I),m.push(I),I=[];for(var B=h[b],G=0;G0&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,V,{surroundLineFlag:!1}),this.scalePoints=this.scalePoints.concat(this.m_scalePoints),!0}u.shapePts.length>0&&(this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,u.shapePts,{surroundLineFlag:!1,lineWidthLimit:!0,strokeWidth:0,weight:0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,u.shapePts,{surroundLineFlag:!1})),this.scalePoints=[];for(var F=0;Fthis.MAX_SCALEVALUE?l=this.MAX_SCALEVALUE:l3)for(var r=n-1,a=0,s=r;a3)for(var l=n-1,r=0,a=l;r0)if(1==t)o.push(0);else{var n=SuperMap.Plot.PlottingUtil.distance(e[0],e[this.MIN_PTCOUNT_PERARROW]);o.push(n);for(var i=1,l=this.MIN_PTCOUNT_PERARROW;im&&(M=.5*m);var v=M*y;f.push(f[p].clone());var b,T=0;b=S-M;var A=[],L=0;for(L=2;L<=p;L++)T+=SuperMap.Plot.PlottingUtil.distance(f[L-1],f[L-2]),SuperMap.Plot.PlottingUtil.equalFuzzy(b,0,1e-14)?A[L]=0:SuperMap.Plot.PlottingUtil.equalFuzzy(b-T,0,1e-14)?A[L]=v:A[L]=v+(d-v)*Math.pow((b-T)/b,this.SV_ATScaleParameter);A[p+1]=v;var O=new SuperMap.Geometry.Point(0,0),E=new SuperMap.Geometry.Point(0,0),x=new SuperMap.Geometry.Point(0,0);for(L=2;L<=p;L++){SuperMap.Plot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE1,this.AB_CTRLPT_RATE2,f[L-2],f[L-1],f[L],E,x),p==L&&SuperMap.Plot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,f[p],f[p-1],x,O);var w=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(A[L],E,f[L-1]);l[L]=w.pntLeft,i[L]=w.pntRight}var I,R,C=O.clone();if(SuperMap.Plot.PlottingUtil.distance(f[p],C)>0){var _=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(M,f[p],O);f[p]=_.clone()}for(g=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(v,f[p+1],f[p]),i[p+1]=g.pntLeft,l[p+1]=g.pntRight,L=2;L<=p;L++)SuperMap.Plot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE2,this.AB_CTRLPT_RATE2,i[L-1],i[L],i[L+1],E,x),r[L]=E.clone(),a[L]=x.clone(),SuperMap.Plot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE2,this.AB_CTRLPT_RATE2,l[L-1],l[L],l[L+1],E,x),s[L]=E.clone(),u[L]=x.clone();SuperMap.Plot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,i[1],i[2],r[2],O),a[1]=O.clone(),SuperMap.Plot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,l[1],l[2],s[2],O),u[1]=O.clone();R=SuperMap.Plot.PlottingUtil.distance(i[p+1],i[p])*(1/3),(I=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(R,f[p],f[p+1])).x+=i[p+1].x-f[p].x,I.y+=i[p+1].y-f[p].y,R=(d-v)*Math.pow(R/b,this.SV_ATScaleParameter+.3),g=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(R,i[p+1],I),r[p+1]=g.pntLeft.clone(),R=SuperMap.Plot.PlottingUtil.distance(l[p+1],l[p])*(1/3),(I=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(R,f[p],f[p+1])).x+=l[p+1].x-f[p].x,I.y+=l[p+1].y-f[p].y,R=(d-v)*Math.pow(R/b,this.SV_ATScaleParameter+.3),g=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(R,l[p+1],I),s[p+1]=g.pntRight.clone();var U=[],N=M*h,D=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(N,f[p],f[p+1]);this.m_scalePoints.push(D.clone()),N=M*P,g=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(N,f[p+1],D),U.push(g.pntRight),U.push(f[p+1]),U.push(g.pntLeft);var B=[];for(B.push(i[p+1]),L=p;L>=1;L--)B.push(r[L+1]),B.push(a[L]),B.push(i[L]);var G=[];for(L=1;L<=p;L++)G.push(l[L]),G.push(u[L]),G.push(s[L+1]);G.push(l[p+1]),n.push.apply(n,G),n.push.apply(n,U),n.push.apply(n,B),o=M/S;var k=[];for(L=B.length-1;L>=0;L--)k.push(B[L]);return{dATLenDivABLen:o,arrowBodyPts:n}}},{key:"generateAYPts",value:function(t,e,o,n,i){var l=new SuperMap.Geometry.Point(.5*(t[2].x+o[2].x),.5*(t[2].y+o[2].y)),r=new SuperMap.Geometry.Point(.5*(t[1].x+o[1].x),.5*(t[1].y+o[1].y)),a=new SuperMap.Geometry.Point(.5*(t[0].x+o[0].x),.5*(t[0].y+o[0].y)),s=SuperMap.Plot.PlottingUtil.distance(l,r),u=SuperMap.Plot.PlottingUtil.distance(a,r),p=i*(s+u),c=new SuperMap.Geometry.Point(0,0),y=new SuperMap.Geometry.Point(0,0),P=new SuperMap.Geometry.Point(0,0);if(p>s){p=s+u-p,c=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(p,a,r);var h=SuperMap.Plot.PlottingUtil.distance(t[1],t[0]),f=SuperMap.Plot.PlottingUtil.distance(o[1],o[0]);h=h*p/u,y=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(h,t[0],t[1]),f=f*p/u,P=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(f,o[0],o[1])}else{c=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(p,l,r);var S=SuperMap.Plot.PlottingUtil.distance(t[1],t[2]),d=SuperMap.Plot.PlottingUtil.distance(o[1],o[2]);S=S*p/s,y=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(S,t[2],t[1]),d=d*p/s,P=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(d,o[2],o[1])}this.m_scalePoints.push(c.clone());var g=this.SV_ArrowWoCtrl*SuperMap.Plot.PlottingUtil.distance(c,y),M=this.SV_ArrowWoCtrl*SuperMap.Plot.PlottingUtil.distance(c,P),m=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(g,c,y),v=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(M,c,P),b=e[11].clone(),T=e[10].clone(),A=n[5].clone(),L=n[6].clone(),O=SuperMap.Plot.PlottingUtil.intersectLines(T,b,c,y),E=SuperMap.Plot.PlottingUtil.distance(O.intersectPoint,T),x=SuperMap.Plot.PlottingUtil.distance(T,c);E=E>x?this.SV_AJCtrl*x:this.SV_AJCtrl*E;var w=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(E,T,b);b=w.clone(),e[11]=w.clone(),O=SuperMap.Plot.PlottingUtil.intersectLines(L,A,c,P),E=(E=SuperMap.Plot.PlottingUtil.distance(O.intersectPoint,L))>(x=SuperMap.Plot.PlottingUtil.distance(L,c))?this.SV_AJCtrl*x:this.SV_AJCtrl*E,A=(w=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(E,L,A)).clone(),n[5]=w.clone();var I=[];I.push(T),I.push(b),I.push(m),I.push(c);var R=[];return R.push(c),R.push(v),R.push(A),R.push(L),{arrowLeftYaoPts:I,arrowRightYaoPts:R}}}]),e}();SuperMap.Plot.AlgoSymbol1002=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o=this.minEditPts){this.scalePoints=[];var o=SuperMap.Plot.PlottingUtil.clonePoints(t),n=!1;void 0!==o[0].z&&(n=!0);var i=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePts(t,this.scaleValues,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_PARALLEL),l=i.arrowTouLen,r=i.leftBodyPts,a=i.rightBodyPts,s=[];s.push(r[r.length-1]),s.push(a[a.length-1]);var u=[];u.push(this.scaleValues[3]),u.push(this.scaleValues[4]),u.push(this.scaleValues[0]),u.push(this.scaleValues[1]);var p=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePts(t,s,u,l,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITHOUT_EAR),c=[];if(n){for(var y=[],P=[],h=[],f=0;f=0;b--)c.push(h[b]);var T=new SuperMap.Geometry.Point((s[0].x+s[1].x)/2,(s[0].y+s[1].y)/2),A=new SuperMap.Geometry.Point(T.x,T.y);A.isScalePoint=!0,A.tag=0,this.addScalePoint(A);var L=new SuperMap.Geometry.Point(r[r.length-1].x,r[r.length-1].y);L.isScalePoint=!0,L.tag=1,this.addScalePoint(L);var O=new SuperMap.Geometry.Point(p[0].x,p[0].y);O.isScalePoint=!0,O.tag=2,this.addScalePoint(O);for(var E=0;E=0;w--)c.push(a[w]);var I=new SuperMap.Geometry.Point((s[0].x+s[1].x)/2,(s[0].y+s[1].y)/2),R=new SuperMap.Geometry.Point(I.x,I.y);R.isScalePoint=!0,R.tag=0,this.addScalePoint(R);var C=new SuperMap.Geometry.Point(r[r.length-1].x,r[r.length-1].y);C.isScalePoint=!0,C.tag=1,this.addScalePoint(C);var _=new SuperMap.Geometry.Point(p[0].x,p[0].y);_.isScalePoint=!0,_.tag=2,this.addScalePoint(_)}this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,c,{surroundLineFlag:!1,lineWidthLimit:!0,strokeWidth:0,weight:0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,c)}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=new SuperMap.Geometry.Point(this.scalePoints[0].x,this.scalePoints[0].y),n=new SuperMap.Geometry.Point(this.scalePoints[1].x,this.scalePoints[1].y),i=new SuperMap.Geometry.Point(this.scalePoints[2].x,this.scalePoints[2].y),l=this.scaleValues[0],r=SuperMap.Plot.PlottingUtil.polylineDistance(this.controlPoints),a=r*l;if(0==t){var s=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,this.controlPoints[this.controlPoints.length-2],this.controlPoints[this.controlPoints.length-1]),u=s.projectPoint;if(s.isOnline){var p=SuperMap.Plot.PlottingUtil.distance(u,this.controlPoints[this.controlPoints.length-1]);this.scaleValues[0]=p/r}}else if(1==t){var c=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,n,i).projectPoint,y=SuperMap.Plot.PlottingUtil.distance(c,o);this.scaleValues[1]=y/a}else if(2==t){var P=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,this.controlPoints[1],i).projectPoint,h=SuperMap.Plot.PlottingUtil.pointProjectToSegment(P,o,this.controlPoints[1]),f=h.projectPoint,S=SuperMap.Plot.PlottingUtil.distance(f,o);!0===h.inOnline?this.scaleValues[4]=-S/a:this.scaleValues[4]=S/a}}this.calculateParts()}}]),e}();SuperMap.Plot.AlgoSymbol1001=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;oo);a++){var s=SuperMap.Plot.PlottingUtil.findPointInPolyLine(l,i+n*a);if(-1!==s.index){var u=new SuperMap.Geometry.Point(s.pt.x,s.pt.y),p=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(n/2,e[s.index],u);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[p.pntLeft,p.pntRight])}}this.finish()}}}]),e}();SuperMap.Plot.Wire=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o=this.minEditPts){if(this.addCell(32,t,{surroundLineFlag:!1}),this.textContent&&null!=this.textContent&&this.textContent.length>0){var e=[];this.scaleValues[1]>t.length&&(this.scaleValues[1]=0);var o={labelRotation:0,surroundLineFlag:!1,labelAlign:"lt"};if(0===this.scaleValues[1])e=[SuperMap.Plot.PlottingUtil.getPolygonCenterPt(t)];else{var n=null,i=null;this.scaleValues[1]===t.length?(n=t[t.length-1],i=t[0]):(n=t[this.scaleValues[1]-1],i=t[this.scaleValues[1]]),o.labelRotation=-SuperMap.Plot.PlottingUtil.radian(n,i)/Math.PI*180;var l=this.scaleValues[0]*SuperMap.Plot.PlottingUtil.distance(n,i);e=[SuperMap.Plot.PlottingUtil.findPoint(n,i,l,0)]}this.addCell(34,e,o,this.textContent);var r=new SuperMap.Geometry.Point(e[0].x,e[0].y);r.isScalePoint=!0,r.tag=0,this.scalePoints=[],this.addScalePoint(r)}}else this.controlPoints.length>=2&&this.controlPoints.length=this.minEditPts&&this.computeLine(e)}},{key:"computeLine",value:function(t){this.components=[];var e=t[0],o=t[t.length-1];this.subSectionCount<=1&&(this.subSectionCount=10);var n=SuperMap.Plot.PlottingUtil.distance(e,o)/(2*this.subSectionCount-1);if(this.lineRelationType===SuperMap.Plot.LineRelationType.SOLID)this.addCell(24,t,{surroundLineFlag:!1});else if(this.lineRelationType===SuperMap.Plot.LineRelationType.DASH)for(var i=0;i1)){if(t=(1-t)/2,this.controlPoints.length>=this.minEditPts){var e,o,n,i;this.scalePoints=[];var l=[];this.controlPoints[0].x=2&&this.controlPoints.lengthn?Math.abs((e-n)/(t-o))>r?2:1:er?4:1:t>i?e>n?Math.abs((e-n)/(t-i))>r?2:3:er?4:3:e>n?2:e1?this.computeText(n,this.textContent[1],t):this.computeText(n,this.textContent[0],t),this.relLineText=SuperMap.Plot.RelLineText.ONBOTHLINE,this.showPathLine=o}else{var i=[];i=this.relLineText===SuperMap.Plot.RelLineText.ONRIGHTLINE?this.getTextPathPts(t,!1):this.relLineText===SuperMap.Plot.RelLineText.ONLEFTLINE?this.getTextPathPts(t,!0):t,this.computeText(i,this.textContent[0],t)}this.finish()}}},{key:"getTextPathPts",value:function(t,e){t=SuperMap.Plot.PlottingUtil.clearSamePts(t);var o=this.getLonLatDistanceFromPixel(this.textToLineDistance);if(0>=o)return SuperMap.Plot.PlottingUtil.clonePoints(t);var n=SuperMap.Plot.PlottingUtil.paraLine(t,o,e);return SuperMap.Plot.PlottingUtil.clearSamePts(n)}},{key:"computeText",value:function(t,e,o){if(!(t.length<2)){for(var n=e.length,i=t,l=i.length,r=0,a=0;a180&&(L-=360),L<-180&&(L+=360),L>90&&L<=180?(v=-180,M=!0,m=!0):L>-180&&L<-90&&(v=180,M=!0,m=!0),!0,0!=v?this.relLineText===SuperMap.Plot.RelLineText.ONLINE||(h=this.relLineText===SuperMap.Plot.RelLineText.ONLEFTLINE?"lt":"lb"):this.relLineText===SuperMap.Plot.RelLineText.ONLINE||(h=this.relLineText===SuperMap.Plot.RelLineText.ONLEFTLINE?"lb":"lt");for(var O=0;Or);O++){var E=O;for(m&&(E=n-O-1),b=(g=f[E]).getWidth(),M&&(u+=b);p<=u&&c=0){for(var C=[],_=0;_<=A.index;_++)C.push(o[_]);C.push(A.pt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,C)}if(R.index>=0){var U=[];U.push(R.pt);for(var N=R.index+1;N2){for(var n=-1,i=t.length-2;i>=0;i--)if(ethis.controlPoints.length))if(2===this.controlPoints.length){var t=this.controlPoints[0].clone(),e=this.controlPoints[1].clone(),o=SuperMap.Plot.PlottingUtil.distance(t,e)/2,n=180*SuperMap.Plot.PlottingUtil.radian(t,e)/Math.PI,i=new SuperMap.Geometry.Point((t.x+e.x)/2,(t.y+e.y)/2),l=SuperMap.Plot.PlottingUtil.circlePoint(i,o,o,n+90),r=SuperMap.Plot.PlottingUtil.circlePoint(i,3*o,3*o,n+90);this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,[l,new SuperMap.Geometry.Point(l.x+o,l.y)]),this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,[r,new SuperMap.Geometry.Point(r.x+o,r.y)])}else{var a=this.controlPoints[0].clone(),s=this.controlPoints[1].clone(),u=this.controlPoints[2].clone(),p=0;p=SuperMap.Plot.PlottingUtil.isRight(u,a,s)?180*SuperMap.Plot.PlottingUtil.radian(s,a)/Math.PI+90:180*SuperMap.Plot.PlottingUtil.radian(a,s)/Math.PI+90;var c=SuperMap.Plot.PlottingUtil.distance(a,s)/2,y=new SuperMap.Geometry.Point((a.x+s.x)/2,(a.y+s.y)/2),P=SuperMap.Plot.PlottingUtil.circlePoint(y,c,c,p),h=SuperMap.Plot.PlottingUtil.plumbLineLen(u,a,s);if(h<=4*c){var f=SuperMap.Plot.PlottingUtil.circlePoint(y,3*c,3*c,p);this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,[P,new SuperMap.Geometry.Point(P.x+c,P.y)]),this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,[f,new SuperMap.Geometry.Point(f.x+c,f.y)])}else{for(var S=SuperMap.Plot.PlottingUtil.circlePoint(y,h-c,h-c,p),d=180*Math.acos(c/(h-2*c))/Math.PI,g=p-d,M=p-180+d,m=p-180-d+360,v=[],b=p+d-360;b<=g;b+=4){var T=SuperMap.Plot.PlottingUtil.circlePoint(P,c,c,b);v.push(T)}var A=SuperMap.Plot.PlottingUtil.circlePoint(P,c,c,g);v.push(A);for(var L=[],O=M;O=0;I--)w.push(L[I]);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,w)}}}}]),e}();SuperMap.Plot.CurveEight=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o=this.minEditPts){for(var t=this.controlPoints[0],e=this.controlPoints[1],o=SuperMap.Plot.PlottingUtil.distance(t,e),n=this.scaleValues[0]*o,i=SuperMap.Plot.PlottingUtil.parallel(this.controlPoints,n/2),l=SuperMap.Plot.PlottingUtil.parallel(this.controlPoints,-n/2),r=180*SuperMap.Plot.PlottingUtil.radian(t,e)/Math.PI,a=[],s=r+90;s<=r+270;s+=10){var u=SuperMap.Plot.PlottingUtil.circlePoint(t,n/2,n/2,s);a.push(u)}for(var p=[],c=r-90;c<=r+90;c+=10){var y=SuperMap.Plot.PlottingUtil.circlePoint(e,n/2,n/2,c);p.push(y)}var P=[];(P=(P=(P=(P=P.concat(a)).concat(l)).concat(p)).concat(i)).push(P[0]),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,P);var h=new SuperMap.Geometry.Point(a[0].x,a[0].y);this.addScalePoint(h)}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint&&0==t){var o=SuperMap.Plot.PlottingUtil.distance(e,this.controlPoints[0]),n=SuperMap.Plot.PlottingUtil.distance(this.controlPoints[0],this.controlPoints[1]);this.scaleValues[0]=2*o/n}this.calculateParts()}}]),e}();SuperMap.Plot.Runway=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o0)for(var i=0;i2*this.controlPoints.length-1)return;var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(2>o.length)return;var n=SuperMap.Plot.PlottingUtil.polylineDistance(o),i=-1;i=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var l=(e.x-o[i].x)/n,r=(e.y-o[i].y)/n;this.scaleValues[2*t]=l,this.scaleValues[2*t+1]=r}this.calculateParts()}},{key:"reSample",value:function(t,e){var o=[];if(null==t||e<0)return o;var n=t.length;if(n>2){var i=new SuperMap.Geometry.Point(0,0),l=0,r=0,a=0,s=2*Math.PI;i=t[0],o.push(i);for(var u=!1,p=!1,c=!1,y=1;y0||SuperMap.Plot.PlottingUtil.equalFuzzy(0,h)?Math.acos(P):2*Math.PI-Math.acos(P),s>2*Math.PI&&l+2*Math.PIa&&(l-=2*Math.PI,s>2*Math.PI&&(s-=2*Math.PI)),l>a&&ll+f&&(s=l+f):(c=!0,s=l+f),u=!0}else i=t[y-1],y--,o.push(i),a=0,s=2*Math.PI,u=!1,p=!1,c=!1}return o.push(t[n-1]),o}return o}},{key:"reSampleByAngle",value:function(t,e){var o=[],n=t.length;if(null==t||n<=0||e<=0)return o;for(var i=t,l=n,r=!1;SuperMap.Plot.PlottingUtil.equalFuzzy(i[0].x,i[l-1].x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(i[0].y,i[l-1].y);){if((l-=1)<=0)return o;r=!0}var a,s,u=[];for(a=0;a1e-10&&SuperMap.Plot.PlottingUtil.distance(i[s],i[a+1])>1e-10){var p=180*SuperMap.Plot.PlottingUtil.InnerAngle(i[a],i[s],i[a+1])/Math.PI;p>e&&p<180-e&&(u[a]=1,s++)}var c=0;for(a=0;a0){for(r&&c++,o=[],s=0,a=0;aMath.abs(this.scaleValues[n]-this.scaleValues[i]))for(var r=0;r<2;r++){var a,s,u;0==r?(u=n,a=SuperMap.Plot.PlottingUtil.radian(o[n],o[i])*SuperMap.Plot.PlottingUtil.RTOD,s=Math.acos((l*l+this.scaleValues[n]*this.scaleValues[n]-this.scaleValues[i]*this.scaleValues[i])/(2*l*this.scaleValues[n]))*SuperMap.Plot.PlottingUtil.RTOD):(u=i,a=SuperMap.Plot.PlottingUtil.radian(o[i],o[n])*SuperMap.Plot.PlottingUtil.RTOD,s=Math.acos((l*l+this.scaleValues[i]*this.scaleValues[i]-this.scaleValues[n]*this.scaleValues[n])/(2*l*this.scaleValues[i]))*SuperMap.Plot.PlottingUtil.RTOD);var p=a-s,c=a+s,y=p<0&&c>0||p>360||c>360;p=this.adjustAngle(p),c=this.adjustAngle(c);for(var P=this.angleRange[u].length-1;P>=0;P--)if(y){if(c>this.angleRange[u][P].End||SuperMap.Plot.PlottingUtil.equalFuzzy(c,this.angleRange[u][P].End)){this.angleRange[u].splice(P,1);continue}if(c>this.angleRange[u][P].Start&&(this.angleRange[u][P].Start=c),pthis.angleRange[u][P].End)this.angleRange[u].splice(P,1);else if(p>this.angleRange[u][P].Start&&cthis.angleRange[u][P].End)continue;if(p>this.angleRange[u][P].Start&&(this.angleRange[u][P].End=p),c=0;S--){for(var d=this.adjustAngle(this.angleRange[f][S].Start),g=this.adjustAngle(this.angleRange[f][S].End);g=0;x--)for(var w=0;w=0;l--)e.push(t[i][l]);if(t.splice(i,1),void 0!==(o=this.generatePolygon(t,e))&&0!==o.length)return o}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>=this.controlPoints.length)return;var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),n=SuperMap.Plot.PlottingUtil.distance(o[t],e);this.scaleValues[t]=n}this.calculateParts()}},{key:"adjustAngle",value:function(t){for(;t>360;)t-=360;for(;t<0;)t+=360;return t}},{key:"getCircleLonLat",value:function(t,e){return null===this.map?2*this.getDefaultSubSymbolSize():this.map&&"undefined"!=typeof L&&void 0!==L.Map&&this.map instanceof L.Map?((o=this.map.latLngToLayerPoint(L.latLng(t.y,t.x))).x+=e,this.map.layerPointToLatLng(L.point(o.x,o.y)).lng-t.x):this.map&&"undefined"!=typeof SuperMap&&void 0!==SuperMap.Map&&this.map instanceof SuperMap.Map?((o=this.map.getPixelFromLonLat(new SuperMap.LonLat(t.x,t.y))).x+=e,this.map.getLonLatFromPixel(new SuperMap.Pixel(o.x,o.y)).lon-t.x):void 0;var o}}]),e}();SuperMap.Plot.CombinationalCircle=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o360;)this.scaleValues[0]-=360;for(;this.scaleValues[0]<0;)this.scaleValues[0]+=360;for(;this.scaleValues[1]>360;)this.scaleValues[1]-=360;for(;this.scaleValues[1]<0;)this.scaleValues[1]+=360;for(;this.scaleValues[1]<=this.scaleValues[0];)this.scaleValues[1]+=360;for(var e=SuperMap.Plot.PlottingUtil.distance(t[0],t[1]),o=SuperMap.Plot.PlottingUtil.distance(t[0],t[2]),n=[],i=[],l=Math.PI/180,r=(this.scaleValues[1]-this.scaleValues[0])/72,a=this.scaleValues[0];a=0;h--)y.push(i[h]);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,y,{surroundLineFlag:!1,lineWidthLimit:!0,weight:0,strokeWidth:0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,n),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,i);var f=t[0].x+e/2*Math.cos(this.scaleValues[0]*l),S=t[0].y+e/2*Math.sin(this.scaleValues[0]*l),d=t[0].x+o/2*Math.cos(this.scaleValues[1]*l),g=t[0].y+o/2*Math.sin(this.scaleValues[1]*l),M=new SuperMap.Geometry.Point(f,S);M.isScalePoint=!0,M.tag=0,this.addScalePoint(M);var m=new SuperMap.Geometry.Point(d,g);m.isScalePoint=!0,m.tag=1,this.addScalePoint(m)}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){for(var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),n=180*SuperMap.Plot.PlottingUtil.radian(o[0],e)/Math.PI;n>360;)n-=360;for(;n<0;)n+=360;0==t?this.scaleValues[0]=n:1==t&&(this.scaleValues[1]=n)}this.calculateParts()}}]),e}();SuperMap.Plot.ConcentricCircle=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o1)){if(t=(1-t)/2,this.controlPoints.length>=this.minEditPts){var e,o,n,i;this.scalePoints=[];var l=[];this.controlPoints[0].x=2&&this.controlPoints.lengthn?Math.abs((a-n)/(r-o))>u?2:1:au?4:1:r>i?a>n?Math.abs((a-n)/(r-i))>u?2:3:au?4:3:a>n?2:an&&(c=n),c<(n+l)/2&&(c=(n+l)/2),p=1-2*(n-c)/(n-l);break;case 2:case 4:var y=s.x+(e.x-s.x);y>i&&(y=i),y<(o+i)/2&&(y=(o+i)/2),p=1-2*(i-y)/(i-o)}p<0&&(p=0),p>1&&(p=1),this.scaleValues[0]=p}this.calculateParts()}},{key:"calculateArc",value:function(t,e,o,n,i,l){(!i||1!=i&&-1!=i)&&(i=-1),l||(l=360);for(var r=Math.PI/l/2,a=r*i,s=Math.abs(n-o),u=[],p=o,c=0;c2*Math.PI?p-2*Math.PI:p}return u}},{key:"getAction",value:function(t,e,o,n,i,l){var r=(n-l)/(i-o);return tn?Math.abs((e-n)/(t-o))>r?2:1:er?4:1:t>i?e>n?Math.abs((e-n)/(t-i))>r?2:3:er?4:3:e>n?2:e=this.minEditPts){var e,o,n,i;t[0].xn?Math.abs((e-n)/(t-o))>r?2:1:er?4:1:t>i?e>n?Math.abs((e-n)/(t-i))>r?2:3:er?4:3:e>n?2:e1)){if(t=(1-t)/2,this.controlPoints.length>=this.minEditPts){var e,o,n,i,l,r;this.controlPoints[2]&&(this.controlPoints[2].isFixedPos=!0),this.controlPoints[0].xo?Math.abs((r-o)/(l-e))>s?2:1:rs?4:1:l>n?r>o?Math.abs((r-o)/(l-n))>s?2:3:rs?4:3:r>o?2:rn?Math.abs((a-n)/(r-o))>u?2:1:au?4:1:r>i?a>n?Math.abs((a-n)/(r-i))>u?2:3:au?4:3:a>n?2:an&&(c=n),c<(n+l)/2&&(c=(n+l)/2),p=1-2*(n-c)/(n-l);break;case 2:case 4:var y=s.x+(e.x-s.x);y>i&&(y=i),y<(o+i)/2&&(y=(o+i)/2),p=1-2*(i-y)/(i-o)}p<0&&(p=0),p>1&&(p=1),this.scaleValues[0]=p}this.calculateParts()}}]),e}();SuperMap.Plot.GeoTooltipBox=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o=2&&t.lengtho.x&&a.xo.y&&a.yn.x||a.yn.y)&&(e[0]=l,e[3]=o),4==e.length&&this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e)}}},{key:"GetPointsByTrapezoid",value:function(t,e,o,n,i){var l=e.x,r=e.y,a=o.x,s=o.y,u=n.x,p=n.y,c=0,y=0,P=0,h=0;if(SuperMap.Plot.PlottingUtil.equalFuzzy(Math.abs(r-s),0))c=l+a-u,y=p;else if(SuperMap.Plot.PlottingUtil.equalFuzzy(Math.abs(l-a),0))c=u,y=r+s-p;else{var f=1*(r-s)/(l-a),S=p-f*u;y=f*(c=((s+r)/2+(l+a)/(2*f)-S)/(f+1/f))+S,c=2*c-u,y=2*y-p}var d=Math.sqrt(1*(l-a)*(l-a)+1*(r-s)*(r-s)),g=Math.sqrt(1*(l-c)*(l-c)+1*(r-y)*(r-y));d>0?(P=l+(a-l)*g/d,h=r+(s-r)*g/d):(P=l,h=r);var M=P+(c-P)*t,m=h+(y-h)*t;i.x=M,i.y=m}}]),e}();SuperMap.Plot.Trapezoid=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o0&&i<.4&&(this.scaleValues[0]=i)}else if(1==t){var l=new SuperMap.Geometry.Point((o[0].x+o[1].x)/2,(o[0].y+o[1].y)/2),r=SuperMap.Plot.PlottingUtil.distance(e,l)/n;0r&&(this.scaleValues[1]=r)}}this.calculateParts()}}]),e}();SuperMap.Plot.Brace=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o2?SuperMap.Plot.PlottingUtil.radian(e[e.length-1],e[e.length-2]):SuperMap.Plot.PlottingUtil.radian(e[1],e[0]))-l,a=e[e.length-1].x+i*Math.cos(r),s=e[e.length-1].y+i*Math.sin(r),u=new SuperMap.Geometry.Point(a,s),p=n+l,c=e[e.length-1].x+i*Math.cos(p),y=e[e.length-1].y+i*Math.sin(p),P=new SuperMap.Geometry.Point(c,y),h=[];h.push(u),h.push(e[e.length-1].clone()),h.push(P);var f={surroundLineFlag:!1,fillLimit:!0,lineTypeLimit:!0},S=SuperMap.Plot.PlottingUtil.radian(e[0],e[1]);r=S-l,a=e[0].x+i*Math.cos(r),s=e[0].y+i*Math.sin(r),u=new SuperMap.Geometry.Point(a,s),p=S+l,c=e[0].x+i*Math.cos(p),y=e[0].y+i*Math.sin(p),P=new SuperMap.Geometry.Point(c,y);var d=[];d.push(u),d.push(e[0].clone()),d.push(P);var g=this.scaleValues[1]===SuperMap.Plot.ArrowLineType.DOUBLELINE?SuperMap.Plot.SymbolType.POLYLINESYMBOL:SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,M=this.scaleValues[2]===SuperMap.Plot.ArrowLineType.DOUBLELINE?SuperMap.Plot.SymbolType.POLYLINESYMBOL:SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL;this.scaleValues[1]===SuperMap.Plot.ArrowLineType.DOUBLELINE?this.addCell(g,d,f):this.scaleValues[1]===SuperMap.Plot.ArrowLineType.TRIANGLESOLID&&this.addCell(g,d,f),this.scaleValues[2]===SuperMap.Plot.ArrowLineType.DOUBLELINE?this.addCell(M,h,f):this.scaleValues[2]===SuperMap.Plot.ArrowLineType.TRIANGLESOLID&&this.addCell(M,h,f),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e),this.finish()}}}]),e}();SuperMap.Plot.ArrowLine=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o=2&&this.controlPoints.length=this.minEditPts){var t={textContent:this.textContent,type:this.symbolType,surroundLineFlag:!1,positionPoints:this.controlPoints,style:{}};if(t.type===SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL&&t.positionPoints.push(t.positionPoints[0]),this.symbolType===SuperMap.Plot.SymbolType.PARALLELLINE){if(this.controlPoints&&this.controlPoints.length>=3){var e=!1;void 0!==this.controlPoints[0].z&&(e=!0);var o=SuperMap.Plot.PlottingUtil.distance(this.controlPoints[0],this.controlPoints[1]);SuperMap.Plot.PlottingUtil.isRight(this.controlPoints[0],this.controlPoints[1],this.controlPoints[2])&&(o=-o);for(var n=[],i=1;i=s){var p=i.split("");i="";var c=1,y=0;this.style.weight?y=parseFloat(this.style.fontSize)+2*this.style.weight+.2*parseFloat(this.style.fontSize)+c:this.style.strokeWidth&&(y=parseFloat(this.style.fontSize)+2*this.style.strokeWidth+.2*parseFloat(this.style.fontSize)+c);for(var P="",h=0,f=p.length;h=s){var S=p[h];if(p[h]="\n",c++,this.style.weight?y=parseFloat(this.style.fontSize)*c+c+2*this.style.weight+.2*parseFloat(this.style.fontSize):this.style.strokeWidth&&(y=parseFloat(this.style.fontSize)*c+c+2*this.style.strokeWidth+.2*parseFloat(this.style.fontSize)),!(y.5)return n.startIndex=0,n.startPt=t[0],n.endIndex=t.length-1,n.endPt=t[t.length-1],n;null==o&&(o=.5);var i=SuperMap.Plot.PlottingUtil.polylineDistance(t),l=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i*(o-e),t),r=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i*(o+e),t);return n.startIndex=l.index,n.startPt=l.pts,n.endIndex=r.index,n.endPt=r.pts,n}},{key:"computeDashLine",value:function(t,e,o){var n=[],i=SuperMap.Plot.PlottingUtil.polylineDistance(o);if(i<=0)return[];for(var l,r=o[0],a=1,s=0,u=!0,p=!0;s2){for(var l=-1,r=t.length-2;r>=0;r--)if(o2){for(var l=-1,r=t.length-2;r>=0;r--)if(oe||n<=0)&&(n=e),n}},{key:"computeSubSymbol",value:function(t,e,o,n,i,l){if(null==t.symbolData||null==t.symbolData.innerCells)return null;void 0===i&&(i=0),void 0===l&&(l=0);for(var r=SuperMap.Plot.AnalysisSymbol.analysisSymbolCells(t.symbolData,!0),a=0,s=0,u=0,p=0,c=0;cy[P].x&&(u=y[P].x),p>y[P].y&&(p=y[P].y);var f=new SuperMap.Geometry.Point(a,s),S=new SuperMap.Geometry.Point(u,p),d=(f.y-S.y)/o,g=(f.x-S.x)/o,M=g>d?g:d,m=new SuperMap.Geometry.Point(.5*(f.x+S.x),.5*(f.y+S.y));m.x+=i*(f.x-S.x),m.y+=l*(f.y-S.y);for(var v=0,b=r.length;v=l)return o.z;if(a>=l)return e.z}return i.x!=e.x&&e.x!=o.x?e.z+(i.x-e.x)/(e.x-o.x)*(e.z-o.z):i.y!=e.y&&e.y!=o.y?e.z+(i.y-e.y)/(e.y-o.y)*(e.z-o.z):0==(r=SuperMap.Plot.PlottingUtil.distance(e,i))?e.z:e.z-(e.z-o.z)*(r/l)}},{key:"ComputeBeizerZValueByDis",value:function(t,e,o){if(t.length<2)return!1;for(var n=[],i=0;i2){var s=t.length;t.splice(2,s-2)}var u=SuperMap.Plot.PlottingUtil.polylineDistance(t);n.arrowTouLen=u*i;for(var p=SuperMap.Plot.PlottingUtil.findPointInPolyLine(t,u-n.arrowTouLen).pt,c=[],y=n.arrowTouLen*r,P=n.arrowTouLen*l,h=t.length-1,f=0;ft.length)return i;var l,r=SuperMap.Plot.PlottingUtil.polylineDistance(t),a=SuperMap.Plot.PlottingUtil.equalFuzzy(e,0);switch(o){case SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_POLYLINE:i=i.concat(t),n&&!a&&SuperMap.Plot.PlottingUtil.distance(t[t.length-1],t[t.length-2])>e&&(l=SuperMap.Plot.PlottingUtil.findPointInPolyLine(t,r-e),i.splice(i.length-1,1),i.push(l.pt));break;case SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_POLYBEZIER:if(2==t.length)i=i.concat(t),n&&!a&&SuperMap.Plot.PlottingUtil.distance(t[t.length-1],t[t.length-2])>e&&(l=SuperMap.Plot.PlottingUtil.findPointInPolyLine(t,r-e),i.splice(i.length-1,1),i.push(l.pt));else{var s=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t);if(a)i=i.concat(s);else{var u=s[s.length-1];if(!a&&(e1;p--){if(!(e>SuperMap.Plot.PlottingUtil.distance(u,s[p]))){var c=SuperMap.Plot.PlottingUtil.findPoint(u,s[p],e,0);s.push(c),i=s;break}s.splice(p,1)}n||i.push(u)}else i=i.concat(s)}}break;case SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_COATTAIL:var y=e;if(y>r)return i;for(var P,h,f=Math.ceil(r/(1.4*y)),S=0,d=[],g=0;gt.length)return n;switch(o){case SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_POLYLINE:var i=t[0],l=t[1],r=SuperMap.Plot.PlottingUtil.distance(i,l);if(SuperMap.Plot.PlottingUtil.equalFuzzy(r,e,1e-7)||r>e){var a=SuperMap.Plot.PlottingUtil.findPoint(i,l,e,0),s=e*Math.tan(.125*Math.PI),u=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(s,t[0],a);n.push(u.pntLeft),n.push(t[0]),n.push(u.pntRight)}break;case SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_TRIANGLE:break;case SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_TRIANGLE_SOLID:var p=t[0],c=t[1],y=SuperMap.Plot.PlottingUtil.distance(p,c);if(SuperMap.Plot.PlottingUtil.equalFuzzy(y,e,1e-7)||y>e){var P=e*Math.tan(.125*Math.PI),h=SuperMap.Plot.PlottingUtil.findPoint(p,c,e,0),f=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(P,t[0],h);n.push(f.pntLeft),n.push(p),n.push(f.pntRight),n.push(f.pntLeft)}break;case SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_COATTAIL:var S=t[0],d=2*Math.sqrt(e*e/3),g=SuperMap.Plot.PlottingUtil.distance(t[0],t[1]);if(SuperMap.Plot.PlottingUtil.equalFuzzy(d/2,g,1e-7)||g>d/2){var M=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],d,20),m=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],d,-20),v=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],d/2,0);n.push(S),n.push(M),n.push(v),n.push(m),n.push(S)}break;case SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_COATTAIL_HOLLOW:var b=[],T=t[0],A=2*Math.sqrt(e*e/3),L=SuperMap.Plot.PlottingUtil.distance(t[0],t[1]);if(SuperMap.Plot.PlottingUtil.equalFuzzy(A/1.4,L,1e-7)||L>A/1.4){var O=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],A,20),E=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],A,-20),x=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],A/1.4,0);b.push(T),b.push(O),b.push(x),b.push(E),b.push(T);var w=new SuperMap.Geometry.Point((b[0].x+b[1].x)/2,(b[0].y+b[1].y)/2),I=new SuperMap.Geometry.Point((b[3].x+b[4].x)/2,(b[3].y+b[4].y)/2),R=new SuperMap.Geometry.Point((w.x+I.x)/2,(w.y+I.y)/2),C=.75*SuperMap.Plot.PlottingUtil.distance(w,I)/2,_=SuperMap.Plot.PlottingUtil.findPointInLine(R,w,C),U=SuperMap.Plot.PlottingUtil.findPointInLine(R,I,C);n.push(b[0]),n.push(_),n.push(b[1]),n.push(b[2]),n.push(b[3]),n.push(U),n.push(b[4])}}return n},SuperMap.Plot.ArrowToolkit.generateArrowTailShapePts=function(t,e,o,n){for(var i=e.length,l=[],r=0,a=0;a0&&S>0){var g=1/(P-t[2].x),M=-1/(h-t[2].y),m=1*t[2].y/(h-t[2].y)-1*t[2].x/(P-t[2].x);d=Math.abs(g*t[0].x+M*t[0].y+m)/Math.sqrt(g*g+M*M)}else S<=1e-4?d=Math.abs(h-t[1].y):f<=1e-4&&(d=Math.abs(P-t[1].x));var v=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(d,t[2],new SuperMap.Geometry.Point(P,h)),b=SuperMap.Plot.PlottingUtil.pointIsRightToLine(t[1],t[2],t[0]);b?(l[1]=t[1],r[1]=t[0]):(l[1]=t[0],r[1]=t[1]),t[1]=new SuperMap.Geometry.Point((t[0].x+t[1].x)/2,(t[0].y+t[1].y)/2);var T=Math.sqrt((v.pntLeft.x-v.pntRight.x)*(v.pntLeft.x-v.pntRight.x)+(v.pntLeft.y-v.pntRight.y)*(v.pntLeft.y-v.pntRight.y))*SuperMap.Plot.ArrowToolkit.ConstValue.sv_AtWidthDivAwWidth,A=(i=T*SuperMap.Plot.ArrowToolkit.ConstValue.sv_AtLenDivAtWidth)*y;SuperMap.Plot.PlottingUtil.equalFuzzy(c,0)||(A=(i=n*c)*y);var L,O,E=SuperMap.Plot.PlottingUtil.distance(t[e],t[e-1]),x=2*i;E0&&(t[e]=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(i,t[e],_)),R=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(A,t[e+1],t[e]),(b=SuperMap.Plot.PlottingUtil.pointIsRightToLine(t[e],t[e+1],R.pntLeft))?(r[e]=new SuperMap.Geometry.Point(R.pntLeft.x,R.pntLeft.y),l[e]=new SuperMap.Geometry.Point(R.pntRight.x,R.pntRight.y)):(r[e]=new SuperMap.Geometry.Point(R.pntRight.x,R.pntRight.y),l[e]=new SuperMap.Geometry.Point(R.pntLeft.x,R.pntLeft.y)),w=2;w1&&t.push(i),i=[],e=a.GetX(),o=a.GetY(),i.push(new SuperMap.Geometry.Point(e,o));break;case 1:e=a.GetX(),o=a.GetY(),i.push(new SuperMap.Geometry.Point(e,o));break;case 2:if(3!=n.elements[r+1].GetType()||3!=n.elements[r+1].GetType())break;for(var s=n.elements[r-1].GetX(),u=n.elements[r-1].GetY(),p=a.GetX(),c=a.GetY(),y=n.elements[r+1].GetX(),P=n.elements[r+1].GetY(),h=n.elements[r+2].GetX(),f=n.elements[r+2].GetY(),S=0;S<=1;S+=.03125){var d=S*S,g=d*S,M=1-3*S+3*d-g,m=3*(S-2*d+g),v=3*(d-g),b=g;i.push(new SuperMap.Geometry.Point(M*s+m*p+v*y+b*h,M*u+m*c+v*P+b*f))}r+=2}}return i.length>1&&t.push(i),!0}},{key:"ensureData",value:function(){null==this.m_pData&&this.ensureData_helper()}},{key:"ensureData_helper",value:function(){var t=new SuperMap.Plot.Path2DData,e=new SuperMap.Plot.Element(0,0,0);t.elements.push(e),null==this.m_pData||this.mtDeRef(this.m_pData.ref)||(this.m_pData=null),this.m_pData=t}},{key:"detach",value:function(){1!=this.m_pData.ref&&this.detach_helper(),this.setBoundsDirty(!0)}},{key:"detach_helper",value:function(){var t=new SuperMap.Plot.Path2DData;null==this.m_pData||this.mtDeRef(this.m_pData.ref)||(this.m_pData=null),this.m_pData=t}},{key:"setBoundsDirty",value:function(t){this.getDataPtr().isBoundsDirty=t}},{key:"getDataPtr",value:function(){return this.m_pData}},{key:"IsEmpty",value:function(){if(null==this.m_pData)return!0;var t=this.m_pData.elements.length;return 0==t||1==t&&0==this.m_pData.elements[0].GetType()}},{key:"GetElementCount",value:function(){return null!=this.m_pData?this.m_pData.elements.length:0}}],[{key:"mtRef",value:function(t){return 0!=++t}},{key:"mtDeRef",value:function(t){return 0!=--t}}]),t}();SuperMap.Plot.Path2D=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbol15200=e.AlgoSymbol315=e.AlgoSymbol1022=e.AlgoSymbol1021=e.AlgoSymbol1020=e.AlgoSymbol1019=e.AlgoSymbol1018=e.AlgoSymbol1017=e.AlgoSymbol1016=e.AlgoSymbol1015=e.AlgoSymbol1014=e.AlgoSymbol1013=e.AlgoSymbol1012=e.AlgoSymbol1011=e.AlgoSymbol1010=e.AlgoSymbol1009=e.AlgoSymbol1008=e.AlgoSymbol1007=e.AlgoSymbol1006=e.AlgoSymbol1005=e.AlgoSymbol1004=e.AlgoSymbol1003=e.AlgoSymbol1002=e.AlgoSymbol1001=e.Wire=e.PolygonRegion=e.LineRelation=e.LineMarking=e.PathText=e.CurveEight=e.Runway=e.NodeChain=e.FreeCurve=e.CombinationalCircle=e.ConcentricCircle=e.SymbolTextBox=e.GeoTooltipBoxM=e.GeoTooltipBox=e.Trapezoid=e.Brace=e.RegularPolygon=e.ArrowLine=e.AlgoSymbol=e.ArrowToolkit=e.Path2DData=e.Element=e.Path2D=void 0;var n=o(53),i=o(52),l=o(51),r=o(50),a=o(49),s=o(48),u=o(47),p=o(46),c=o(45),y=o(44),P=o(43),h=o(42),f=o(41),S=o(40),d=o(39),g=o(38),M=o(37),m=o(36),v=o(35),b=o(34),T=o(33),A=o(32),L=o(31),O=o(30),E=o(29),x=o(28),w=o(27),I=o(26),R=o(25),C=o(24),_=o(23),U=o(22),N=o(21),D=o(20),B=o(19),G=o(18),k=o(17),V=o(16),Y=o(15),F=o(14),j=o(13),z=o(12),W=o(11),H=o(10),q=o(9),J=o(8),X=o(7);e.Path2D=n.Path2D,e.Element=i.Element,e.Path2DData=l.Path2DData,e.ArrowToolkit=r.ArrowToolkit,e.AlgoSymbol=a.AlgoSymbol,e.ArrowLine=s.ArrowLine,e.RegularPolygon=u.RegularPolygon,e.Brace=p.Brace,e.Trapezoid=c.Trapezoid,e.GeoTooltipBox=y.GeoTooltipBox,e.GeoTooltipBoxM=P.GeoTooltipBoxM,e.SymbolTextBox=h.SymbolTextBox,e.ConcentricCircle=f.ConcentricCircle,e.CombinationalCircle=S.CombinationalCircle,e.FreeCurve=d.FreeCurve,e.NodeChain=g.NodeChain,e.Runway=M.Runway,e.CurveEight=m.CurveEight,e.PathText=v.PathText,e.LineMarking=b.LineMarking,e.LineRelation=T.LineRelation,e.PolygonRegion=A.PolygonRegion,e.Wire=L.Wire,e.AlgoSymbol1001=O.AlgoSymbol1001,e.AlgoSymbol1002=E.AlgoSymbol1002,e.AlgoSymbol1003=x.AlgoSymbol1003,e.AlgoSymbol1004=w.AlgoSymbol1004,e.AlgoSymbol1005=I.AlgoSymbol1005,e.AlgoSymbol1006=R.AlgoSymbol1006,e.AlgoSymbol1007=C.AlgoSymbol1007,e.AlgoSymbol1008=_.AlgoSymbol1008,e.AlgoSymbol1009=U.AlgoSymbol1009,e.AlgoSymbol1010=N.AlgoSymbol1010,e.AlgoSymbol1011=D.AlgoSymbol1011,e.AlgoSymbol1012=B.AlgoSymbol1012,e.AlgoSymbol1013=G.AlgoSymbol1013,e.AlgoSymbol1014=k.AlgoSymbol1014,e.AlgoSymbol1015=V.AlgoSymbol1015,e.AlgoSymbol1016=Y.AlgoSymbol1016,e.AlgoSymbol1017=F.AlgoSymbol1017,e.AlgoSymbol1018=j.AlgoSymbol1018,e.AlgoSymbol1019=z.AlgoSymbol1019,e.AlgoSymbol1020=W.AlgoSymbol1020,e.AlgoSymbol1021=H.AlgoSymbol1021,e.AlgoSymbol1022=q.AlgoSymbol1022,e.AlgoSymbol315=J.AlgoSymbol315,e.AlgoSymbol15200=X.AlgoSymbol15200},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbolFactory=e.BasicAlgoSymbolFactory=void 0;var n=o(3),i=o(6);e.BasicAlgoSymbolFactory=n.BasicAlgoSymbolFactory,e.AlgoSymbolFactory=i.AlgoSymbolFactory},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.AddPoint_WayType=SuperMap.Plot.AddPoint_WayType={UNKNOWN:0,POLYLINE:1,CURVE:2}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.RouteNodePrimitives=SuperMap.Plot.RouteNodePrimitives=SuperMap.Plot.RouteNodePrimitives||{};SuperMap.Plot.RouteNodePrimitives={initialize:function(){},rendezvousPoint:function(){var t=[],e=new Object;e.type=SuperMap.Plot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,0)),e.positionPoints.push(new SuperMap.Geometry.Point(0,30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var o=new Object;return o.type=SuperMap.Plot.SymbolType.TEXTSYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMap.Geometry.Point(0,0)),o.textContent="会",o.style={surroundLineFlag:!1,fontSize:14,fontSizeLimit:!0},o.style.labelAlign="cm",t.push(o),t.push(e),t},expandingPoint:function(){var t=[],e=new Object;e.type=SuperMap.Plot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,0)),e.positionPoints.push(new SuperMap.Geometry.Point(0,30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var o=new Object;return o.type=SuperMap.Plot.SymbolType.TEXTSYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMap.Geometry.Point(0,0)),o.textContent="展",o.style={surroundLineFlag:!1,fontSize:14,fontSizeLimit:!0},o.style.labelAlign="cm",t.push(o),t.push(e),t},volleyPoint:function(){var t=[],e=new Object;e.type=SuperMap.Plot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,0)),e.positionPoints.push(new SuperMap.Geometry.Point(0,30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var o=new Object;return o.type=SuperMap.Plot.SymbolType.TEXTSYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMap.Geometry.Point(0,0)),o.textContent="齐",o.style={surroundLineFlag:!1,fontSize:14,fontSizeLimit:!0},o.style.labelAlign="cm",t.push(o),t.push(e),t},standbyPoint_Outer:function(t,e){var o=[],n=new SuperMap.Geometry.Point(0,0),i=new SuperMap.Geometry.Point(0,30);t||(t=90);var l=new Object;l.type=SuperMap.Plot.SymbolType.POLYLINESYMBOL,l.positionPoints=[];for(var r=t+10;r<170+t;r+=10){var a=SuperMap.Plot.PlottingUtil.findPoint(n,i,30,r);l.positionPoints.push(a)}l.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},o.push(l);var s=l.positionPoints[l.positionPoints.length-1],u=l.positionPoints[l.positionPoints.length-2],p=SuperMap.Plot.PlottingUtil.findPoint(s,u,9,22.5),c=SuperMap.Plot.PlottingUtil.findPoint(s,u,9,-22.5),y=new Object;y.type=SuperMap.Plot.SymbolType.POLYLINESYMBOL,y.positionPoints=[],y.positionPoints.push(p),y.positionPoints.push(s.clone()),y.positionPoints.push(c),y.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},o.push(y);var P=new Object;P.type=SuperMap.Plot.SymbolType.POLYLINESYMBOL,P.positionPoints=[];for(var h=190+t;h<350+t;h+=10){var f=SuperMap.Plot.PlottingUtil.findPoint(n,i,30,h);P.positionPoints.push(f)}P.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},o.push(P);var S=P.positionPoints[P.positionPoints.length-1],d=P.positionPoints[P.positionPoints.length-2],g=SuperMap.Plot.PlottingUtil.findPoint(S,d,9,22.5),M=SuperMap.Plot.PlottingUtil.findPoint(S,d,9,-22.5),m=new Object;m.type=SuperMap.Plot.SymbolType.POLYLINESYMBOL,m.positionPoints=[],m.positionPoints.push(g),m.positionPoints.push(S.clone()),m.positionPoints.push(M),m.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},o.push(m);for(var v=0;v=3){var e=SuperMap.Plot.PlottingUtil.distance(t[0],t[1]);SuperMap.Plot.PlottingUtil.isRight(t[0],t[1],t[2])&&(e=-e);for(var o=[],n=1;n=3){var e=t[0].x+(t[2].x-t[1].x),o=t[0].y+(t[2].y-t[1].y),n=new SuperMap.Geometry.Point(e,o),i=[];return i.push.apply(i,t),i.push(n),i.push(i[0]),i}},polygon:function(t){if(t&&t.length>2)return t},circle:function(t){if(t&&2===t.length){for(var e=t[0],o=t[1],n=[],i=Math.sqrt((o.x-e.x)*(o.x-e.x)+(o.y-e.y)*(o.y-e.y)),l=360/this.nSegmentCount,r=0;r=3){var e=this.getArcInfo(t[0],t[1],t[2]);e.dStartAngle*=Math.PI/180,e.dEndAngle*=Math.PI/180;var o=(e.dEndAngle-e.dStartAngle)/this.nSegmentCount,n=this.getArcSpatialData(e.pntCenter,e.dRadius,e.dRadius,0,e.dStartAngle,e.dEndAngle,o);if(n.push(e.pntCenter),0!==n.length)return n}},lune:function(t){if(t&&t.length>=3){var e=this.getArcInfo(t[0],t[1],t[2]);e.dStartAngle*=Math.PI/180,e.dEndAngle*=Math.PI/180;var o=(e.dEndAngle-e.dStartAngle)/this.nSegmentCount,n=this.getArcSpatialData(e.pntCenter,e.dRadius,e.dRadius,0,e.dStartAngle,e.dEndAngle,o);if(0!==n.length)return n}},arc:function(t){if(t&&t.length>=3){var e=this.getArcInfo(t[0],t[1],t[2]);e.dStartAngle*=Math.PI/180,e.dEndAngle*=Math.PI/180;var o=(e.dEndAngle-e.dStartAngle)/this.nSegmentCount,n=this.getArcSpatialData(e.pntCenter,e.dRadius,e.dRadius,0,e.dStartAngle,e.dEndAngle,o);if(0!==n.length)return n}},ellipse:function(t,e,o,n,i){if(!0===o){if((!n||null==n)&&t&&t.length>=3&&(n=SuperMap.Plot.PlottingUtil.distance(t[0],t[1])),(!i||null==i)&&t&&t.length>=3){var l=SuperMap.Plot.PlottingUtil.projectPoint(t[2],t[0],t[1]);i=SuperMap.Plot.PlottingUtil.distance(l,t[2])}}else i=SuperMap.Plot.PlottingUtil.distance(t[0],t[2]),n=SuperMap.Plot.PlottingUtil.distance(t[0],t[1]);if(e&&null!=e?e*=Math.PI/180:e=SuperMap.Plot.PlottingUtil.radian(t[0],t[1]),t&&t.length>0){var r=2*Math.PI,a=r/this.nSegmentCount,s=this.getArcSpatialData(t[0],n,i,e,0,r,a);if(!0===o){var u=Math.sin(e),p=Math.cos(e);t[2].x>t[1].x?(t[2].x=t[0].x-i*u,t[2].y=t[0].y+i*p):(t[2].x=t[0].x+i*u,t[2].y=t[0].y-i*p)}return s}},getArcSpatialData:function(t,e,o,n,i,l,r){var a=[];if(Math.abs(r)<1e-9)return a;for(;li+2*Math.PI;)i+=2*Math.PI;var s=Math.cos(n)*e,u=Math.sin(n)*e,p=Math.cos(n)*o,c=Math.sin(n)*o,y=this.calcEllipseRadian(i,e,o),P=this.calcEllipseRadian(l,e,o);P-y<1e-5&&(P+=2*Math.PI);var h=Math.round(Math.abs((P-y)/r)+1);if(h<2)return a;for(var f=0;fa.length&&(a[a.length-1].x=t.x+s*Math.cos(P)-c*Math.sin(P),a[a.length-1].y=t.y+u*Math.cos(P)+p*Math.sin(P)),a},getArcInfo:function(t,e,o){var n={};n.pntCenter=new SuperMap.Geometry.Point(0,0),n.dRadius=0,n.dStartAngle=0,n.dEndAngle=0;var i=e.x-t.x,l=e.y-t.y;if(Math.abs(i)<1e-9){var r={},a={};r.x=(e.x+t.x)/2,r.y=(e.y+t.y)/2,a.x=(e.x+o.x)/2,a.y=(e.y+o.y)/2;var s=0;Math.abs(o.x-e.x)>=1e-9&&(s=(o.y-e.y)/(o.x-e.x)),n.pntCenter.y=r.y,Math.abs(s)<1e-9?n.pntCenter.x=a.x:n.pntCenter.x=a.x-s*(r.y-a.y)}else{var u={},p={};u.x=(e.x+t.x)/2,u.y=(e.y+t.y)/2,p.x=(e.x+o.x)/2,p.y=(e.y+o.y)/2;var c=l/i,y=1;Math.abs(c)<1e-9?(n.pntCenter.x=u.x,Math.abs(o.x-e.x<1e-9)?n.pntCenter.y=p.y:n.pntCenter.y=-(o.x-e.x)/(o.y-e.y)*(n.pntCenter.x-p.x)+p.y):Math.abs(o.x-e.x)<1e-9?(n.pntCenter.y=p.y,n.pntCenter.x=-c*(n.pntCenter.y-u.y)+u.x):(y=(o.y-e.y)/(o.x-e.x),n.pntCenter.x=(c*y*(u.y-p.y)+y*u.x-c*p.x)/(y-c),n.pntCenter.y=(p.x-u.x+y*p.y-c*u.y)/(y-c))}var P=Math.atan2(t.y-n.pntCenter.y,t.x-n.pntCenter.x),h=Math.atan2(o.y-n.pntCenter.y,o.x-n.pntCenter.x);if(SuperMap.Plot.PlottingUtil.isCounterClockwise(t,e,o)){for(;P>=2*Math.PI;)P-=2*Math.PI;for(;P<0;)P+=2*Math.PI;for(;h>2*Math.PI;)h-=2*Math.PI;for(;h=2*Math.PI;)h-=2*Math.PI;for(;h<0;)h+=2*Math.PI;for(;P>2*Math.PI;)P-=2*Math.PI;for(;h>P;)P+=2*Math.PI;var f=P;P=h,h=f}return n.dRadius=Math.sqrt((n.pntCenter.x-t.x)*(n.pntCenter.x-t.x)+(n.pntCenter.y-t.y)*(n.pntCenter.y-t.y)),n.dEndAngle=180*h/Math.PI,n.dStartAngle=180*P/Math.PI,n},calcEllipseRadian:function(t,e,o){var n=t,i=e*Math.sin(t),l=o*Math.cos(t),r=Math.atan2(i,l);if(t>Math.PI)for(;n>Math.PI;)n-=2*Math.PI,r+=2*Math.PI;else if(t<-Math.PI)for(;n<-Math.PI;)n+=2*Math.PI,r-=2*Math.PI;return r},getKendyShapePts:function(t){var e=[];if(2>(t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length)return e;var o=this.calcShapePoints(t);if(12!=o.length)return e;o.push(o[0]),o.push(o[1]),o.splice(0,1);for(var n=0;n=n&&i>=l){var u=r.clone();r=s.clone(),s=u.clone()}else if(l>=n&&l>=i){var p=s.clone();s=a.clone(),a=p.clone()}if(!SuperMap.Plot.PlottingUtil.isRight(s,r,a)){var c=r.clone();r=a.clone(),a=c.clone()}e[0]=r,e[1]=a,e[2]=s}return e},GetPtsByTriangle:function(t,e,o,n,i){var l=new SuperMap.Geometry.Point(0,0),r=0,a=0;return r=SuperMap.Plot.PlottingUtil.distance(i,o),a=SuperMap.Plot.PlottingUtil.distance(n,i),1==e&&(r*=2),2==e&&(a*=2),l.x=(r*n.x+a*o.x)/(r+a),l.y=(r*n.y+a*o.y)/(r+a),{pl:this.GetWhichPtOfNormal(t,o,l,i),pr:this.GetWhichPtOfNormal(t,n,l,i)}},GetWhichPtOfNormal:function(t,e,o,n){var i=0;i=SuperMap.Plot.PlottingUtil.distance(n,e)/t;var l=this.GetPointsOfNormal(i,o,n);return SuperMap.Plot.PlottingUtil.distance(e,l.pt4)>=(i=SuperMap.Plot.PlottingUtil.distance(e,l.pt3))?l.pt3:l.pt4},getBezierPtsWithScalePts:function(t,e,o,n){var i=[],l=t.x,r=t.y,a=e.x,s=e.y,u=o.x,p=o.y,c=n.x,y=n.y;if(SuperMap.Plot.PlottingUtil.equalFuzzy(l,a,1e-10)&&SuperMap.Plot.PlottingUtil.equalFuzzy(r,s,1e-10)&&SuperMap.Plot.PlottingUtil.equalFuzzy(u,c,1e-10)&&SuperMap.Plot.PlottingUtil.equalFuzzy(p,y,1e-10))i.push(new SuperMap.Geometry.Point(l,r)),i.push(new SuperMap.Geometry.Point(u,p));else for(var P=0;P<=1;P+=.03125){var h,f,S,d,g=P*P,M=g*P;h=1-3*P+3*g-M,f=3*(P-2*g+M),S=3*(g-M),d=M;var m=new SuperMap.Geometry.Point(h*l+f*a+S*u+d*c,h*r+f*s+S*p+d*y);i.push(m)}return i},getSpatialData:function(t,e,o,n){switch(null==n&&(n=!0),t){case 24:return this.polyline(e);case 390:return this.kidney(e,n);case 590:return this.bezier(e,n);case 360:return this.loopbezier(e,n);case 28:return this.parallelogram(e);case 32:return this.polygon(e);case 29:return this.circle(e);case 26:return this.rectangle(e);case 380:return this.sector(e);case 370:return this.lune(e);case 44:return this.arc(e);case 31:return this.ellipse(e,o,n);case 48:return this.parallelline(e);default:return e}}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.PlottingUtil=SuperMap.Plot.PlottingUtil=SuperMap.Plot.PlottingUtil||{};SuperMap.Plot.PlottingUtil.DEFAULT_PRECISION=14,SuperMap.Plot.PlottingUtil.DPI=96,SuperMap.Plot.PlottingUtil.RTOD=57.29577951308232,SuperMap.Plot.PlottingUtil.DTOR=.017453292519943295,SuperMap.Plot.PlottingUtil.dirAngle=function(t,e){var o,n,i,l;o=e.x,n=e.y,i=o-t.x,l=n-t.y;var r=Math.atan2(l,i);return r<0&&(r+=2*Math.PI),r},SuperMap.Plot.PlottingUtil.generateUuid=function(){for(var t=[],e=0;e<36;e++)t[e]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return t[14]="4",t[19]="0123456789abcdef".substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",t.join("")},SuperMap.Plot.PlottingUtil.cloneObject=function(t){return JSON.parse(JSON.stringify(t))},SuperMap.Plot.PlottingUtil.colorRGBA=function(t,e){var o=t.substring(1,3),n=parseInt(o,16),i=t.substring(3,5),l=parseInt(i,16),r=t.substring(5);return"rgba("+n+","+l+","+parseInt(r,16)+","+e+")"},SuperMap.Plot.PlottingUtil.colorRGBToString=function(t){var e=t.red.toString(16);e.length<2&&(e="0"+e);var o=t.green.toString(16);o.length<2&&(o="0"+o);var n=t.blue.toString(16);return n.length<2&&(n="0"+n),"#"+e+o+n},SuperMap.Plot.PlottingUtil.colorStringToRGB=function(t){var e={},o=t.substring(1,3);e.red=parseInt(o,16);var n=t.substring(3,5);e.green=parseInt(n,16);var i=t.substring(5);return e.blue=parseInt(i,16),e},SuperMap.Plot.PlottingUtil.decimalToHex=function(t){for(var e=t.toString(16);e.length<8;)e="0"+e;var o=e.substring(0,2),n=e.substring(2,4),i=e.substring(4,6);return{color:"#"+e.substring(6)+i+n,alpha:parseInt(o,16)/255}},SuperMap.Plot.PlottingUtil.hexToDecimal=function(t,e){var o=t.substring(1,3),n=t.substring(3,5),i=t.substring(5),l=parseInt(i+n+o,16),r=Math.round(255*e).toString(16);return parseInt(r+"000000",16)+l},SuperMap.Plot.PlottingUtil.getAlign=function(t){return"TOPLEFT"===t?"lt":"TOPCENTER"===t?"ct":"TOPRIGHT"===t?"rt":"BOTTOMLEFT"===t?"lb":"BOTTOMCENTER"===t?"cb":"BOTTOMRIGHT"===t?"rb":"MIDDLELEFT"===t?"lm":"MIDDLECENTER"===t?"cm":"MIDDLERIGHT"===t?"rm":"lt"},SuperMap.Plot.PlottingUtil.trim=function(t){return null==t?"":t.replace(/(^\s*)|(\s*$)/g,"")},SuperMap.Plot.PlottingUtil.getTextWidth=function(t,e){" "===e&&(e="_");var o=document.createElement("span");document.body.appendChild(o),o.style.width="auto",o.style.height="auto",t.fontSize&&(o.style.fontSize=new String(t.fontSize)+"px"),t.fontFamily&&(o.style.fontFamily=t.fontFamily),t.fontWeight&&(o.style.fontWeight=t.fontWeight),o.style.position="absolute",o.style.visibility="hidden",o.style.display="inline-block",o.innerHTML=e;var n=o.clientWidth,i=e.length;return void 0===t.fontSpace&&void 0===t.fontPercent||(0!==t.fontSpace&&100!==t.fontPercent&&void 0!==t.fontSpace||void 0!==t.fontPercent?n=t.fontPercent/100*n+t.fontSpace*(t.fontPercent/100)*(i-1):0===t.fontSpace&&100!==t.fontPercent&&void 0!==t.fontPercent?n=t.fontPercent/100*n:0!==t.fontSpace&&100===t.fontPercent&&void 0!==t.fontSpace&&(n+=t.fontSpace*(i-1))),document.body.removeChild(o),n},SuperMap.Plot.PlottingUtil.getTextCount=function(t){for(var e=0,o=0,n=0;n255?e++:o++;return e+o/2},SuperMap.Plot.PlottingUtil.toJSON=function(t){var e=t;if(null==e)return null;switch(e.constructor){case String:return e=(e=(e=(e=(e=(e=(e='"'+e.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%2525")).replace(/&/g,"%26");case Array:for(var o=[],i=0,l=e.length;i0?"{"+u.join(",")+"}":"{}"}return e.toString()}},SuperMap.Plot.PlottingUtil.copyFeature=function(t){var e=null;if(null!=t&&t.geometry){var o=t.geometry.clone();e=new SuperMap.Feature.Vector(o),t.style&&(e.style=SuperMap.Plot.PlottingUtil.copyAttributes(e.style,t.style)),o.feature=e,o.calculateParts()}return e},SuperMap.Plot.PlottingUtil.getSurroundLinePts=function(t,e){for(var o=[],n=[],i=0;i2*c?n.push(r):(n[n.length-1]=p,n.push(r))}else n.push(r)}else n.push(l),n.push(r);(o=[]).push(n[n.length-2]),o.push(n[n.length-1])}}if(t[0].x===t[t.length-1].x&&t[0].y===t[t.length-1].y&&1Math.PI&&(n-=2*Math.PI),n}if(t.length<3)return 1;for(var o=0,n={x:0,y:0},i={x:0,y:0},l=2;l=0?-1:1},SuperMap.Plot.PlottingUtil.isNear=function(t,e){return e||(e=SuperMap.Plot.PlottingUtil.TORLERANCE_STATIC),t-e},SuperMap.Plot.PlottingUtil.equalFuzzy=function(t,e,o){return o||(o=1e-18),Math.abs(t-e)<=o},SuperMap.Plot.PlottingUtil.intersectLines=function(t,e,o,n){var i={isIntersectLines:!1};if(t.x===e.x&&t.y===e.y||o.x===n.x&&o.y===n.y)return i;var l=e.x-t.x,r=e.y-t.y,a=n.x-o.x,s=n.y-o.y,u=l*s-a*r;if(SuperMap.Plot.PlottingUtil.isNear(u))return i;var p=(l*(t.y-o.y)-r*(t.x-o.x))/u,c=new SuperMap.Geometry.Point(0,0);return c.x=p*a+o.x,c.y=p*s+o.y,i.isIntersectLines=!0,i.intersectPoint=c,i},SuperMap.Plot.PlottingUtil.getEnvelopePoints=function(t){function e(t,e){if(t.length!==e.length)return!1;for(var o=0;o=0;r--)e.push(t[n][r]);t.splice(n,1);var a=i(t,e);if(void 0!==a&&0!==a.length)return a}return e}if(SuperMap.Plot.PlottingUtil.isArray(t)||(t=[t]),0===t.length)return[];if(1===t.length)return t[0];for(var l=0;l2&&v.push(b)}return v},SuperMap.Plot.PlottingUtil.isRight=function(t,e,o){var n=e,i=o,l=e,r=t;return(i.x-n.x)*(r.y-l.y)-(r.x-l.x)*(i.y-n.y)<0},SuperMap.Plot.PlottingUtil.radian=function(t,e){var o,n,i=0;return o=e.x-t.x,n=e.y-t.y,(i=Math.atan2(n,o))<0&&(i+=2*Math.PI),i},SuperMap.Plot.PlottingUtil.findBisectorPoint=function(t,e,o,n){var i=SuperMap.Plot.PlottingUtil.radian(e,t),l=(i+SuperMap.Plot.PlottingUtil.radian(e,o))/2,r=Math.cos(l-i+Math.PI/2),a=n;SuperMap.Plot.PlottingUtil.isNear(r,.15)||(a=n/r);var s=e.x+a*Math.cos(l),u=e.y+a*Math.sin(l);return new SuperMap.Geometry.Point(s,u)},SuperMap.Plot.PlottingUtil.findPoint=function(t,e,o,n){if(t===e||Math.abs(o)<1e-18)return t;var i=SuperMap.Plot.PlottingUtil.radian(t,e)+n*Math.PI/180,l=t.x+o*Math.cos(i),r=t.y+o*Math.sin(i);return new SuperMap.Geometry.Point(l,r)},SuperMap.Plot.PlottingUtil.isSameQuadrant=function(t,e,o,n){var i=(e.x-t.x)*(n.x-o.x),l=(e.y-t.y)*(n.y-o.y);return!(Math.abs(i)<1e-18&&Math.abs(l)<1e-18)&&((i>0||Math.abs(i)<1e-18)&&(l>0||Math.abs(l)<1e-18))},SuperMap.Plot.PlottingUtil.isCross=function(t,e,o,n){var i=new SuperMap.Geometry.Point(0,0);return!(!SuperMap.Plot.PlottingUtil.intersectLineSegs(t,e,o,n,i)||i==t||i===e||i===o||i==n)},SuperMap.Plot.PlottingUtil.intersectLineSegs=function(t,e,o,n,i){if(SuperMap.Plot.PlottingUtil.equalFuzzy(t.x,e.x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(t.y,e.y))return i.x=t.x,i.y=t.y,!1;if(SuperMap.Plot.PlottingUtil.equalFuzzy(o.x,n.x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(o.y,n.y))return i.x=o.x,i.y=o.y,!1;var l=0,r=0;if(l=t.x>e.x?t.x:e.x,r=t.x1e-16&&n.x-l>1e-16||o.x-r<-1e-16&&n.x-r<-1e-16)return!1;if(l=t.y>e.y?t.y:e.y,r=t.y1e-16&&n.y-l>1e-16||o.y-r<-1e-16&&n.y-r<-1e-16)return!1;var a=e.x-t.x,s=e.y-t.y,u=n.x-o.x,p=n.y-o.y,c=t.x-o.x,y=t.y-o.y,P=a*p-u*s,h=P;if(Math.abs(a)>1e-18&&Math.abs(u)>1e-18&&(h/=a*u),Math.abs(h)<1e-18)return t===o?(i.x=t.x,i.y=t.y,!SuperMap.Plot.PlottingUtil.isSameQuadrant(t,e,o,n)):e===n?(i.x=e.x,i.y=e.y,!SuperMap.Plot.PlottingUtil.isSameQuadrant(t,e,o,n)):t===n?(i.x=t.x,i.y=t.y,SuperMap.Plot.PlottingUtil.isSameQuadrant(t,e,o,n)):e===o&&(i.x=e.x,i.y=e.y,SuperMap.Plot.PlottingUtil.isSameQuadrant(t,e,o,n));var f=(a*y-s*c)/P,S=(u*y-p*c)/P;return!(f<0&&(Math.abs(f*u)>1e-16||Math.abs(f*p)>1e-16))&&(!(f>1&&(Math.abs((f-1)*u)>1e-16||Math.abs((f-1)*p)>1e-16))&&(!(S<0&&(Math.abs(S*a)>1e-16||Math.abs(S*s)>1e-16))&&(!(S>1&&(Math.abs((S-1)*a)>1e-16||Math.abs((S-1)*s)>1e-16))&&(Math.abs(f)<1e-18?(i.x=o.x,i.y=o.y,!0):Math.abs(f-1)<1e-18?(i.x=n.x,i.y=n.y,!0):Math.abs(S)<1e-18?(i.x=t.x,i.y=t.y,!0):Math.abs(S-1)<1e-18?(i.x=e.x,i.y=e.y,!0):!(f<0&&(Math.abs(f*u)>1e-16||Math.abs(f*p)>1e-16))&&(!(f>1&&(Math.abs((f-1)*u)>1e-16||Math.abs((f-1)*p)>1e-16))&&(!(S<0&&(Math.abs(S*a)>1e-16||Math.abs(S*s)>1e-16))&&(!(S>1&&(Math.abs((S-1)*a)>1e-16||Math.abs((S-1)*s)>1e-16))&&(i.x=f*u+o.x,i.y=f*p+o.y,!0))))))))},SuperMap.Plot.PlottingUtil.parallel=function(t,e){var o=[],n=t.length;if(!t||null==t||t.length<2)return o;var i=!1;t.length>3&&t[0].x===t[t.length-1].x&&t[0].y===t[t.length-1].y&&(i=!0),i?(o[0]=SuperMap.Plot.PlottingUtil.findBisectorPoint(t[t.length-2],t[0],t[1],e),o[t.length-1]=o[0]):(o[0]=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],e,90),o[t.length-1]=SuperMap.Plot.PlottingUtil.findPoint(t[t.length-1],t[t.length-2],-e,90));for(var l=t[0],r=t[1],a=t[1],s=1;s1&&(r=1);var a=(o.x-e.x)*r+e.x,s=(o.y-e.y)*r+e.y,u=(a-t.x)*(a-t.x)+(s-t.y)*(s-t.y);return Math.sqrt(u)},SuperMap.Plot.PlottingUtil.isCounterClockwise=function(t,e,o){return(o.x-e.x)*(t.y-e.y)-(t.x-e.x)*(o.y-e.y)>0},SuperMap.Plot.PlottingUtil.clearSamePts=function(t){for(var e=t.length,o=0;o=3*e);i+=3){var l=t[i].x,r=t[i].y,a=t[i+1].x,s=t[i+1].y,u=t[i+2].x,p=t[i+2].y,c=t[i+3].x,y=t[i+3].y;if(SuperMap.Plot.PlottingUtil.equalFuzzy(l,a,1e-10)&&SuperMap.Plot.PlottingUtil.equalFuzzy(r,s,1e-10)&&SuperMap.Plot.PlottingUtil.equalFuzzy(u,c,1e-10)&&SuperMap.Plot.PlottingUtil.equalFuzzy(p,y,1e-10))o.push(new SuperMap.Geometry.Point(l,r)),o.push(new SuperMap.Geometry.Point(u,p));else for(var P=0;P<=1;P+=.03125){var h,f,S,d,g=P*P,M=g*P;h=1-3*P+3*g-M,f=3*(P-2*g+M),S=3*(g-M),d=M;var m=new SuperMap.Geometry.Point(h*l+f*a+S*u+d*c,h*r+f*s+S*p+d*y);o.push(m)}}}return o},SuperMap.Plot.PlottingUtil.computeBeizerPoints=function(t,e,o){var n=SuperMap.Plot.PlottingUtil.polylineDistance(e),i=[],l=[],r=[];if(t){l.push(e[0]);var a=o[0],s=o[1],u=e[0].x+n*a,p=e[0].y+n*s;l.push(new SuperMap.Geometry.Point(u,p)),i.push(new SuperMap.Geometry.Point(u,p));for(var c=1;c0?(p=e+(n-e)*f/h,c=o+(i-o)*f/h):(p=e,c=o),a.x=p+(s-p)*t,a.y=c+(u-c)*t,a},SuperMap.Plot.PlottingUtil.pointIsOnPolyLine=function(t,e,o){if(SuperMap.Plot.PlottingUtil.equalFuzzy(t.x,e.x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(t.y,e.y)||SuperMap.Plot.PlottingUtil.equalFuzzy(t.x,o.x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(t.y,o.y))return!0;var n=t.x-e.x,i=t.y-e.y,l=t.x-o.x,r=t.y-o.y,a=(n*l+i*r)/(Math.sqrt(n*n+i*i)*Math.sqrt(l*l+r*r));return!!SuperMap.Plot.PlottingUtil.equalFuzzy(a,-1,.1)},SuperMap.Plot.PlottingUtil.pointIsOnPolyLines=function(t,e){if(!e||0===e.length)return{isOnPolyLine:!1,index:-1};for(var o=!1,n=-1,i=0;is&&(o=s,n=i)}}return n&&o<0&&(n=-1),{minDis:o,index:n}},SuperMap.Plot.PlottingUtil.findPointInLine=function(t,e,o){if(t===e||Math.abs(o)<1e-18)return t;var n=e.x-t.x,i=e.y-t.y,l=o/Math.sqrt(n*n+i*i),r=t.x+n*l,a=t.y+i*l;return new SuperMap.Geometry.Point(r,a)},SuperMap.Plot.PlottingUtil.operateControlPoints=function(t){var e=t,o=e.length;if(3==o){var n=new SuperMap.Geometry.Point(0,0);SuperMap.Plot.PlottingUtil.getTrapezoidPoints(1,t[0],t[1],t[2],n),e.push(n)}if(o>4&&(e.splice(4,o-4),o=e.length),SuperMap.Plot.PlottingUtil.pointIsRightToLine(t[0],t[1],e[2])){var i=e[0];e[0]=e[1],e[1]=i}if(!SuperMap.Plot.PlottingUtil.pointIsRightToVerticle(e[0],e[1],e[2])){var l=e[2];e[2]=e[3],e[3]=l}return e},SuperMap.Plot.PlottingUtil.pointIsRightToLine=function(t,e,o){return(e.x-t.x)*(o.y-t.y)-(o.x-t.x)*(e.y-t.y)<0},SuperMap.Plot.PlottingUtil.pointIsRightToVerticle=function(t,e,o){var n=new SuperMap.Geometry.Point(.5*(e.x+t.x),.5*(e.y+t.y)),i=new SuperMap.Geometry.Point(e.x-t.x,e.y-t.y),l=new SuperMap.Geometry.Point(o.x-n.x,o.y-n.y);return i.x*l.x+i.y*l.y>0},SuperMap.Plot.PlottingUtil.linePnt=function(t,e,o){var n=SuperMap.Plot.PlottingUtil.distance(t,e);if(0==n)return t;var i=o/n;return SuperMap.Plot.PlottingUtil.findPointOnLineByRatio(i,t,e)},SuperMap.Plot.PlottingUtil.findPointOnLineByRatio=function(t,e,o){var n=new SuperMap.Geometry.Point(0,0);return n.x=e.x+(o.x-e.x)*t,n.y=e.y+(o.y-e.y)*t,n},SuperMap.Plot.PlottingUtil.rotateAngle=function(t,e,o){var n=e,i=Math.cos(n),l=Math.sin(n),r=o.x-t.x,a=o.y-t.y;return o.x=r*i-a*l+t.x,o.y=r*l+a*i+t.y,o},SuperMap.Plot.PlottingUtil.resize=function(t,e,o){return o.x=t.x+e*(o.x-t.x),o.y=t.y+e*(o.y-t.y),o},SuperMap.Plot.PlottingUtil.findPointInPolyLine=function(t,e){if(e<0||t.length<2)return{index:-1,pt:null};if(Math.abs(e)<1e-18)return{index:0,pt:t[0]};for(var o=0,n=0;ne||SuperMap.Plot.PlottingUtil.equalFuzzy(o,e)){var i=o-e,l=t[n+1],r=t[n],a=i/SuperMap.Plot.PlottingUtil.distance(l,r),s=new SuperMap.Geometry.Point(0,0);return s.x=l.x+(r.x-l.x)*a,s.y=l.y+(r.y-l.y)*a,{index:n,pt:s}}return{index:-1,pt:null}},SuperMap.Plot.PlottingUtil.polylineDistance=function(t){if(0===t.length)return 0;for(var e=0,o=0;o=t.x&&e.y>=t.y?1:e.xt.y?2:e.x<=t.x&&e.y<=t.y?3:4)==(s=o.x>t.x&&o.y>t.y?1:o.xt.y?2:o.xn&&l>n)&&(r=0);else switch(a){case 1:(4==s&&in)&&(r=0);break;case 2:(1==s&&in)&&(r=0);break;case 3:(2==s&&in)&&(r=0);break;case 4:(3==s&&in)&&(r=0)}var u=new SuperMap.Geometry.Point(0,0);return SuperMap.Plot.PlottingUtil.equalFuzzy(n-1.7976931348623157e308,0)?(u.x=t.x,u.y=e.y):SuperMap.Plot.PlottingUtil.equalFuzzy(n,0)?(u.x=e.x,u.y=t.y):(u.x=(n*(e.y-t.y)+n*n*t.x+e.x)/(n*n+1),u.y=t.y+n*(u.x-t.x)),{isOnline:1===r,projectPoint:u}},SuperMap.Plot.PlottingUtil.coordinateTrans=function(t,e,o){var n=SuperMap.Plot.PlottingUtil.distance(new SuperMap.Geometry.Point(0,0),e),i=SuperMap.Plot.PlottingUtil.radian(new SuperMap.Geometry.Point(0,0),e)+o*Math.PI/180,l=n*Math.cos(i)+t.x,r=n*Math.sin(i)+t.y;return new SuperMap.Geometry.Point(l,r)},SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen=function(t,e,o){var n=void 0,i=void 0,l=(o.x-e.x)*(o.x-e.x)+(o.y-e.y)*(o.y-e.y),r=Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y)),a=Math.sqrt((t.x-o.x)*(t.x-o.x)+(t.y-o.y)*(t.y-o.y));if(0==a||0==r)n=0,i=0;else if(0==l)n=r,i=0;else{var s=(r*r+a*a-l)/2/r/a,u=0;s>=1?(s=1,u=0):u=Math.sqrt(1-s*s),n=a*s,i=a*u}return{dLen1:n,dLen2:i}},SuperMap.Plot.PlottingUtil.paraLine=function(t,e,o){var n=[];if(2>t.length)return n;if(o){var i=t[1].clone();i=SuperMap.Plot.PlottingUtil.rotateAngle(t[0],Math.PI/2,i),n.push(SuperMap.Plot.PlottingUtil.linePnt(t[0],i,e));for(var l=1;lMath.PI/2?s-Math.PI/2:Math.PI/2-s;var p=e/Math.cos(u);i=t[l+1].clone(),i=SuperMap.Plot.PlottingUtil.rotateAngle(t[l],s,i),n.push(SuperMap.Plot.PlottingUtil.linePnt(t[l],i,p))}i=t[t.length-2].clone(),i=SuperMap.Plot.PlottingUtil.rotateAngle(t[t.length-1],-1*Math.PI/2,i),n.push(SuperMap.Plot.PlottingUtil.linePnt(t[t.length-1],i,e))}else{var c=t[1].clone();c=SuperMap.Plot.PlottingUtil.rotateAngle(t[0],-Math.PI/2,c),n.push(SuperMap.Plot.PlottingUtil.linePnt(t[0],c,e));for(var y=1;yMath.PI/2?f-Math.PI/2:Math.PI/2-f;var d=e/Math.cos(S);c=t[y-1].clone(),c=SuperMap.Plot.PlottingUtil.rotateAngle(t[y],f,c),n.push(SuperMap.Plot.PlottingUtil.linePnt(t[y],c,d))}c=t[t.length-2].clone(),c=SuperMap.Plot.PlottingUtil.rotateAngle(t[t.length-1],Math.PI/2,c),n.push(SuperMap.Plot.PlottingUtil.linePnt(t[t.length-1],c,e))}return n},SuperMap.Plot.PlottingUtil.circlePoint=function(t,e,o,n){n*=Math.PI/180;var i=t.x+e*Math.cos(n),l=t.y+o*Math.sin(n);return new SuperMap.Geometry.Point(i,l)},SuperMap.Plot.PlottingUtil.getPolygonCenterPt=function(t){if(!t||0===t.length)return null;for(var e=0,o=0,n=0;nr.y?l.y:r.y;if(!(e.ys))(e.y-l.y)*(r.x-l.x)/(r.y-l.y)+l.x>e.x&&o++}}return o%2==1},SuperMap.Plot.PlottingUtil.projectPtOnPolyLine=function(t,e){if(2>e.length)return{index:-1,pt:null};for(var o=0;o0?0:1}},SuperMap.Plot.PlottingUtil.isSamePt=function(t,e){return!(!SuperMap.Plot.PlottingUtil.equalFuzzy(t.x,e.x)||!SuperMap.Plot.PlottingUtil.equalFuzzy(t.y,e.y))},SuperMap.Plot.PlottingUtil.getPtsIndexByDistance=function(t,e){var o=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,t);return{index:o.index,pts:o.pt,bfind:-1!==o.index}},SuperMap.Plot.PlottingUtil.ptInBounds=function(t,e){return t.x>e.left&&t.xe.bottom},SuperMap.Plot.PlottingUtil.InnerAngle=function(t,e,o){if(t==e||t==o)return 0;var n=SuperMap.Plot.PlottingUtil.distance(t,e),i=SuperMap.Plot.PlottingUtil.distance(t,o),l=SuperMap.Plot.PlottingUtil.distance(e,o),r=(n*n+i*i-l*l)/(2*n*i);return r>1&&SuperMap.Plot.PlottingUtil.equalFuzzy(r,1)?r=1:r<1&&SuperMap.Plot.PlottingUtil.equalFuzzy(r,-1)&&(r=-1),Math.acos(r)},SuperMap.Plot.PlottingUtil.plumbLineLen=function(t,e,o){return SuperMap.Plot.PlottingUtil.distance(t,e)*Math.sin(SuperMap.Plot.PlottingUtil.InnerAngle(e,t,o))},SuperMap.Plot.PlottingUtil.paraPolygon=function(t,e,o){var n=[],i=SuperMap.Plot.PlottingUtil.clonePoints(t),l=i.length;if(l<2)return n;var r=new SuperMap.Geometry.Point(0,0);if(o){if(l<3)r=i[1].clone(),SuperMap.Plot.PlottingUtil.rotateAngle(i[0],Math.PI,r),n.push(SuperMap.Plot.PlottingUtil.linePnt(i[0],r,e));else{for(var a=SuperMap.Plot.PlottingUtil.radian(i[0],i[1]),s=SuperMap.Plot.PlottingUtil.radian(i[0],i[i.length-1])-a;s<0;)s+=2*Math.PI;var u=s/2,p=void 0;p=u>Math.PI/2?u-Math.PI/2:Math.PI/2-u;var c=e/Math.cos(p);r=i[1].clone(),r=SuperMap.Plot.PlottingUtil.rotateAngle(i[0],u,r),n.push(SuperMap.Plot.PlottingUtil.linePnt(i[0],r,c))}for(var y=1;yMath.PI/2?f-Math.PI/2:Math.PI/2-f;var d=e/Math.cos(S);r=i[y+1].clone(),r=SuperMap.Plot.PlottingUtil.rotateAngle(i[y],f,r),n.push(SuperMap.Plot.PlottingUtil.linePnt(i[y],r,d))}if(l<3)r=i[l-2].clone(),SuperMap.Plot.PlottingUtil.rotateAngle(i[l-1],0,r),n.push(SuperMap.Plot.PlottingUtil.linePnt(i[l-1],r,e));else{for(var g=SuperMap.Plot.PlottingUtil.radian(i[l-1],i[0]),M=SuperMap.Plot.PlottingUtil.radian(i[l-1],i[l-2])-g;M<0;)M+=2*Math.PI;var m=M/2,v=void 0;v=m>Math.PI/2?m-Math.PI/2:Math.PI/2-m;var b=e/Math.cos(v);r=i[0].clone(),r=SuperMap.Plot.PlottingUtil.rotateAngle(i[l-1],m,r),n.push(SuperMap.Plot.PlottingUtil.linePnt(i[l-1],r,b))}}else{if(l<3){var T=i[1].clone();SuperMap.Plot.PlottingUtil.rotateAngle(i[0],0,T),n.push(SuperMap.Plot.PlottingUtil.linePnt(i[0],T,e))}else{for(var A=SuperMap.Plot.PlottingUtil.radian(i[0],i[1]),L=SuperMap.Plot.PlottingUtil.radian(i[0],i[l-1])-A;L<0;)L+=2*Math.PI;var O=Math.PI-L/2,E=void 0;E=O>Math.PI/2?O-Math.PI/2:Math.PI/2-O;var x=e/Math.cos(E);r=i[l-1].clone(),r=SuperMap.Plot.PlottingUtil.rotateAngle(i[0],O,r),n.push(SuperMap.Plot.PlottingUtil.linePnt(i[0],r,x))}for(var w=1;wMath.PI/2?C-Math.PI/2:Math.PI/2-C;var U=e/Math.cos(_);r=i[w-1].clone(),r=SuperMap.Plot.PlottingUtil.rotateAngle(i[w],C,r),n.push(SuperMap.Plot.PlottingUtil.linePnt(i[w],r,U))}if(l<3)r=i[l-2].clone(),SuperMap.Plot.PlottingUtil.rotateAngle(i[l-1],Math.PI,r),n.push(SuperMap.Plot.PlottingUtil.linePnt(i[l-1],r,e));else{for(var N=SuperMap.Plot.PlottingUtil.radian(i[l-1],i[0]),D=SuperMap.Plot.PlottingUtil.radian(i[l-1],i[l-2])-N;D<0;)D+=2*Math.PI;var B=Math.PI-D/2,G=void 0;G=B>Math.PI/2?B-Math.PI/2:Math.PI/2-B;var k=e/Math.cos(G);r=i[l-2].clone(),r=SuperMap.Plot.PlottingUtil.rotateAngle(i[l-1],B,r),n.push(SuperMap.Plot.PlottingUtil.linePnt(i[l-1],r,k))}}return n},SuperMap.Plot.PlottingUtil.getOutRectangleDis=function(t){if(2>t.length)return 0;for(var e=t[0].x,o=t[0].x,n=t[0].y,i=t[0].y,l=1;lt[l].x&&(o=t[l].x),nt[l].y&&(i=t[l].y);return SuperMap.Plot.PlottingUtil.distance(new SuperMap.Geometry.Point(e,n),new SuperMap.Geometry.Point(o,i))},SuperMap.Plot.PlottingUtil.clonePoints=function(t){var e=[];if(void 0===t||null===t)return e;if(SuperMap.Plot.PlottingUtil.isArray(t)||(t=[t]),t&&null!=t)for(var o=0;o1e-12&&--f>0;){var S=Math.sin(P),d=Math.cos(P),g=Math.sqrt(y*S*(y*S)+(p*c-u*y*d)*(p*c-u*y*d));if(0==g)return 0;var M=u*c+p*y*d,m=Math.atan2(g,M),v=Math.asin(p*y*S/g),b=Math.cos(v)*Math.cos(v),T=M-2*u*c/b,A=s/16*b*(4+s*(4-3*b));h=P,P=o+(1-A)*s*Math.sin(v)*(m+A*g*(T+A*M*(2*T*T-1)))}if(0==f)return NaN;var O=b*(r*r-a*a)/(a*a),E=O/1024*(256+O*(O*(74-47*O)-128));return(a*(1+O/16384*(4096+O*(O*(320-175*O)-768)))*(m-E*g*(T+E/4*(M*(2*T*T-1)-E/6*T*(4*g*g-3)*(4*T*T-3))))).toFixed(3)/1e3},SuperMap.Plot.PlottingUtil.destinationVincenty=function(t,e,o){var n,i,l=SuperMap.Plot.PlottingUtil,r=l.VincentyConstants,a=r.a,s=r.b,u=r.f;"undefined"!=typeof L&&void 0!==L.LatLng&&t instanceof L.LatLng?(n=t.lng,i=t.lat):(n=t.lon,i=t.lat);for(var p=o,c=l.rad(e),y=Math.sin(c),P=Math.cos(c),h=(1-u)*Math.tan(l.rad(i)),f=1/Math.sqrt(1+h*h),S=h*f,d=Math.atan2(h,P),g=f*y,M=1-g*g,m=M*(a*a-s*s)/(s*s),v=1+m/16384*(4096+m*(m*(320-175*m)-768)),b=m/1024*(256+m*(m*(74-47*m)-128)),T=p/(s*v),A=2*Math.PI;Math.abs(T-A)>1e-12;){var O=Math.cos(2*d+T),E=Math.sin(T),x=Math.cos(T);A=T,T=p/(s*v)+b*E*(O+b/4*(x*(2*O*O-1)-b/6*O*(4*E*E-3)*(4*O*O-3)))}var w=S*E-f*x*P,I=Math.atan2(S*x+f*E*P,(1-u)*Math.sqrt(g*g+w*w)),R=u/16*M*(4+u*(4-3*M)),C=Math.atan2(E*y,f*x-S*E*P)-(1-R)*u*g*(T+R*E*(O+R*x*(2*O*O-1)));return"undefined"!=typeof L&&void 0!==L.LatLng&&t instanceof L.LatLng?L.latLng(l.deg(I),n+l.deg(C)):new SuperMap.LonLat(n+l.deg(C),l.deg(I))}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.AnalysisSymbol=SuperMap.Plot.AnalysisSymbol=SuperMap.Plot.AnalysisSymbol||{};SuperMap.Plot.AnalysisSymbol.analysisBasicInfo=function(t){var e=new Object;return e.libID=t.libID,e.code=t.code,e.symbolType=t.symbolType,e.symbolName=t.symbolName,e.textContent=t.textContent,e.minEditPts=t.algoMinEditPts,e.maxEditPts=t.algoMaxEditPts,e.surroundLineType=t.surroundLineType,e},SuperMap.Plot.AnalysisSymbol.analysisDotBasicInfo=function(t){var e=SuperMap.Plot.PlottingUtil.DPI,o=new Object;o.anchorPoint=new SuperMap.Geometry.Point(t.anchorPoint.x,t.anchorPoint.y);var n=0,i=0;return void 0!==t.symbolSizeInLib?(n=Math.round(t.symbolSizeInLib.x*e/25.4/10),i=Math.round(t.symbolSizeInLib.y*e/25.4/10)):(n=Math.round(t.symbolSize.x*e/25.4/10),i=Math.round(t.symbolSize.y*e/25.4/10)),o.symbolSizeInLib=new SuperMap.Size(n,i),o.symbolSizeInLib.w=n,o.symbolSizeInLib.h=i,o.middleMarkBounds=new SuperMap.Bounds(t.middleMarkBounds.leftBottom.x,t.middleMarkBounds.leftBottom.y,t.middleMarkBounds.rightTop.x,t.middleMarkBounds.rightTop.y),o},SuperMap.Plot.AnalysisSymbol.analysisAlgoBasicInfo=function(t,e){var o=new Object;if(o.subSymbols=[],o.scalePoints=[],o.scaleValues=[],e&&t.subSymbols)for(var n=0;nP?e.scaleValues[P]=t.scaleValues[P]:e.scaleValues.push(t.scaleValues[P]);else e.scaleValues=[],e.scaleValues=t.scaleValues;e.visible=t.visible,e.orbitPoints=t.orbitPoints}else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.SATELLITETIMEWINDOWS)e.timeWindows=t.timeWindows;else{var h=void 0;h=!0===o?L.Util.latLngsToSuperMapPoints(t.getLatLngs()):t.controlPoints,e.hasOwnProperty("localePoints")||(e.localePoints=[]);var f=h.length;t.symbolType===SuperMap.Plot.SymbolType.ELLIPSESYMBOL&&(f=3);for(var S=0;SS?(e.localePoints[S].x=h[S].x,e.localePoints[S].y=h[S].y,e.localePoints[S].hasOwnProperty("z")||(e.localePoints[S].z=0)):e.localePoints.push({x:h[S].x,y:h[S].y,z:0});if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.LINERELATION)e.endAssociatedUuid=t.endAssociatedUuid,e.lineRelationType=t.lineRelationType,e.startAssociatedUuid=t.startAssociatedUuid,e.subSectionCount=t.subSectionCount;else if(t.symbolType===SuperMap.Plot.SymbolType.DOTSYMBOL){e.surroundLineType=t.surroundLineType,e.symbolRank=t.symbolRank,e.negativeImage=t.negativeImage,e.space=t.space,e.flagTextSize=t.flagTextSize,e.maxScale=t.maxScale,e.minScale=t.minScale,e.textDisplay=t.textDisplay,e.actualScale=t.actualScale,void 0!==t.fontSize&&(e.fontSize=t.fontSize),void 0!==t.strokeWidth&&(e.strokeWidth=t.strokeWidth);var d=25.4*t.symbolSize.w*10/SuperMap.Plot.PlottingUtil.DPI,g=25.4*t.symbolSize.h*10/SuperMap.Plot.PlottingUtil.DPI;e.symbolSize={x:d,y:g};var M=25.4*t.symbolSizeInLib.w*10/SuperMap.Plot.PlottingUtil.DPI,m=25.4*t.symbolSizeInLib.h*10/SuperMap.Plot.PlottingUtil.DPI;e.symbolSizeInLib={x:M,y:m},e.positionOffset=t.positionOffset,e.positionOffsetType=t.positionOffsetType,e.positionOffsetX=t.positionOffsetX,e.positionOffsetY=t.positionOffsetY,!1===t.widthHeightLimit||!0===t.widthHeightLimit?e.limitWidthHeight=t.widthHeightLimit:e.limitWidthHeight=t.limitWidthHeight}else{if(e.surroundLineType=t.surroundLineType,e.hasOwnProperty("scaleValues"))for(var v=0;vv?e.scaleValues[v]=t.scaleValues[v]:e.scaleValues.push(t.scaleValues[v]);else e.scaleValues=[],e.scaleValues=t.scaleValues;e.subSymbolScaleValue=t.subSymbolScaleValue,e.baseScale=t.baseScale,e.strokeWidth=t.strokeWidth,e.polylineConnectLocationPoint=t.polylineConnectLocationPoint,22===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.ALGOSYMBOL?(e.arrowHeadType=t.arrowHeadType,e.arrowBodyType=t.arrowBodyType,e.arrowTailType=t.arrowTailType):0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.ARROWLINE?e.arrowAngle=t.arrowAngle:0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.COMBINATIONALCIRCLE?e.defaultRadius=t.defaultRadius:0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.CONCENTRICCIRCLE||(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.LINEMARKING?(e.islocationCircle=t.islocationCircle,e.textBoxType=t.textBoxType):0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.SYMBOLTEXTBOX?(e.roundBox=t.roundBox,e.textBoxType=t.textBoxType):0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.PATHTEXT?(e.isAvoid=t.isAvoid,e.isCurve=t.isCurve,e.relLineText=t.relLineText,e.showPathLine=t.showPathLine,e.textToLineDistance=t.textToLineDistance,e.showPathLineArrow=t.showPathLineArrow):0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.ARCREGION&&(o?(e.centerPoint={x:t.centerPoint.lng,y:t.centerPoint.lat},e.circlePts=t.circlePts,e.spatialAnalystUrl=t.spatialAnalystUrl):e.centerPoint=t.centerPoint,e.endAngle=t.endAngle,e.radius=t.radius,e.radiusPosAngle=t.radiusPosAngle,e.startAngle=t.startAngle,e.textPosition=t.textPosition,e.radiusLineType=t.radiusLineType,e.radiusText=t.radiusText))}}t.symbolData=e},SuperMap.Plot.AnalysisSymbol.parseSymbolData=function(t,e,o){if(null!=e){if(void 0!==e.isEdit&&(t.isEdit=e.isEdit),t.libID=parseInt(e.libID),t.code=parseInt(e.code),t.symbolType=e.symbolType,t.symbolName=e.symbolName,t.textContent=e.textContent,void 0!==e.dScale?t.dScale=e.dScale:void 0!==e.scale2D&&(t.dScale=e.scale2D.x),void 0!==e.dRotate?t.dRotate=e.dRotate:void 0!==e.rotate2D&&(t.dRotate=e.rotate2D.x),void 0!==e.resolution&&(t.resolution=e.resolution),void 0!==e.uuid&&(t.uuid=e.uuid),void 0!==e.associatedUuid&&(t.associatedUuid=e.associatedUuid),void 0!==e.annotationPosition&&(o?t.annotationPosition=e.annotationPosition:t.textPosition=e.annotationPosition),void 0!==e.scaleByMap&&(t.scaleByMap=e.scaleByMap),void 0!==e.isLocked&&(t.isLocked=e.isLocked),void 0!==e.note&&(t.note=e.note),void 0!==e.custom&&(t.custom=e.custom),e.extendProperty)for(var n=0;n0&&this.feature.style.fillBackOpacity<1){var e=[];e.push({fillID:this.feature.style.fillSymbolID,color:this.feature.style.fillColor,opacity:this.feature.style.fillOpacity},{fillID:this.feature.style.fillSymbolID,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillBackOpacity}),t.fillOpacity=1,t.fillColor="url(#"+this.createTextureFill(e)+")",t.fill=t.fillColor}else t.fill=!0,t.fillColor=this.feature.style.fillColor,t.fillOpacity=this.feature.style.fillOpacity;else t.fill=!0,t.fillColor=this.feature.style.fillColor,t.fillOpacity=this.feature.style.fillOpacity;else t.fill=this.feature.style.fill,t.fillColor=this.feature.style.fillColor,t.fillOpacity=this.feature.style.fillOpacity}},{key:"createGradientDirection",value:function(){var t=[];if("LINEAR"===this.feature.style.fillGradientMode){if(null!==this.feature.style.fillCenterOffsetX&&void 0!==this.feature.style.fillCenterOffsetX&&(0===this.feature.style.fillAngle||180===this.feature.style.fillAngle?(t.push({offset:0,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillOpacity}),t.push({offset:this.feature.style.fillCenterOffsetX,color:this.feature.style.fillColor,opacity:this.feature.style.fillOpacity}),t.push({offset:1,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillOpacity})):90===this.feature.style.fillAngle||270===this.feature.style.fillAngle?(t.push({offset:0,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillOpacity}),t.push({offset:this.feature.style.fillCenterOffsetY,color:this.feature.style.fillColor,opacity:this.feature.style.fillOpacity}),t.push({offset:1,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillOpacity})):(t.push({offset:0,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillOpacity}),t.push({offset:this.feature.style.fillCenterOffsetX/2*(Math.sqrt(2)/2)*Math.abs(Math.sin(this.feature.style.fillAngle*Math.PI/180)),color:this.feature.style.fillColor,opacity:this.feature.style.fillOpacity}),t.push({offset:1,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillOpacity}))),this.feature.style.fillAngle>=360&&(this.feature.style.fillAngle=0),0===this.feature.style.fillAngle)return{x1:0,y1:0,x2:1,y2:0,colors:t};if(90===this.feature.style.fillAngle)return{x1:0,y1:1,x2:0,y2:0,colors:t};if(180===this.feature.style.fillAngle)return{x1:1,y1:0,x2:0,y2:0,colors:t};if(270===this.feature.style.fillAngle)return{x1:0,y1:0,x2:0,y2:1,colors:t};if(0=0||this.feature.style.fillCenterOffsetX<=0&&this.feature.style.fillCenterOffsetX>=-1){if(this.feature.style.fillCenterOffsetY>=0&&this.feature.style.fillCenterOffsetY<=.5||this.feature.style.fillCenterOffsetY>=-.5&&this.feature.style.fillCenterOffsetY<=0)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:.5*Math.sqrt(2),colors:t};if(this.feature.style.fillCenterOffsetY>=.5&&this.feature.style.fillCenterOffsetY<=.8||this.feature.style.fillCenterOffsetY>=-.8&&this.feature.style.fillCenterOffsetY<=-.5)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:.8*Math.sqrt(2),colors:t};if(this.feature.style.fillCenterOffsetY>=.8&&this.feature.style.fillCenterOffsetY<=1||this.feature.style.fillCenterOffsetY>=-1&&this.feature.style.fillCenterOffsetY<=-.8)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:Math.sqrt(2),colors:t}}else if(this.feature.style.fillCenterOffsetX<=.8&&this.feature.style.fillCenterOffsetX>.5||this.feature.style.fillCenterOffsetX<=-.5&&this.feature.style.fillCenterOffsetX>=-.8){if(this.feature.style.fillCenterOffsetY>=0&&this.feature.style.fillCenterOffsetY<=.5||this.feature.style.fillCenterOffsetY>=-.5&&this.feature.style.fillCenterOffsetY<=0)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:.8*Math.sqrt(2),colors:t};if(this.feature.style.fillCenterOffsetY>=.5&&this.feature.style.fillCenterOffsetY<=.8||this.feature.style.fillCenterOffsetY>=-.8&&this.feature.style.fillCenterOffsetY<=-.5)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:.8*Math.sqrt(2),colors:t};if(this.feature.style.fillCenterOffsetY>=.8&&this.feature.style.fillCenterOffsetY<=1||this.feature.style.fillCenterOffsetY>=-1&&this.feature.style.fillCenterOffsetY<=-.8)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:Math.sqrt(2),colors:t}}else if(this.feature.style.fillCenterOffsetX<=1&&this.feature.style.fillCenterOffsetX>.8||this.feature.style.fillCenterOffsetX<=-.8&&this.feature.style.fillCenterOffsetX>=-1){if(this.feature.style.fillCenterOffsetY>=0&&this.feature.style.fillCenterOffsetY<=.5||this.feature.style.fillCenterOffsetY>=-.5&&this.feature.style.fillCenterOffsetY<=0)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:Math.sqrt(2),colors:t};if(this.feature.style.fillCenterOffsetY>=.5&&this.feature.style.fillCenterOffsetY<=.8||this.feature.style.fillCenterOffsetY>=-.8&&this.feature.style.fillCenterOffsetY<=-.5)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:Math.sqrt(2),colors:t};if(this.feature.style.fillCenterOffsetY>=.8&&this.feature.style.fillCenterOffsetY<=1||this.feature.style.fillCenterOffsetY>=-1&&this.feature.style.fillCenterOffsetY<=-.8)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:Math.sqrt(2),colors:t}}}}]),t}();SuperMap.Plot.CalculateSVGGradient=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;oMath.abs(e.y-e.y)?Math.abs(t.x-e.x):Math.abs(t.y-e.y)}}}},{key:"createGradient",value:function(){var t=function(t,e){var o=t.substring(1,3),n=parseInt(o,16),i=t.substring(3,5),l=parseInt(i,16),r=t.substring(5);return"rgba("+n+","+l+","+parseInt(r,16)+","+e+")"},e=null;if(this.getContext()instanceof CanvasRenderingContext2D){var o=this.calculateObjectByBounds();if("LINEAR"===this.feature.style.fillGradientMode){var n=this.getGradientDirection(this.feature.style.fillAngle);if(e=this.getContext().createLinearGradient(o.ptMinX+o.width*n.x1,o.ptMinY+o.height*n.y1,o.ptMinX+o.width*n.x2,o.ptMinY+o.height*n.y2),0===this.feature.style.fillCenterOffsetX&&0===this.feature.style.fillCenterOffsetY)e.addColorStop(0,t(this.feature.style.fillColor,this.feature.style.fillOpacity)),e.addColorStop(1,t(this.feature.style.fillBackColor,this.feature.style.fillOpacity));else{var i=this.feature.style.fillAngle;0===i||180===i||90===i||270===i?(e.addColorStop(0,t(this.feature.style.fillBackColor,this.feature.style.fillOpacity)),0!==i&&180!==i||e.addColorStop(this.feature.style.fillCenterOffsetX,t(this.feature.style.fillColor,this.feature.style.fillOpacity)),90!==i&&270!==i||e.addColorStop(this.feature.style.fillCenterOffsetY,t(this.feature.style.fillColor,this.feature.style.fillOpacity)),e.addColorStop(1,t(this.feature.style.fillBackColor,this.feature.style.fillOpacity))):(e.addColorStop(0,t(this.feature.style.fillBackColor,this.feature.style.fillOpacity)),e.addColorStop(this.feature.style.fillCenterOffsetX>=this.feature.style.fillCenterOffsetY?this.feature.style.fillCenterOffsetX:this.feature.style.fillCenterOffsetY*Math.cos(this.feature.style.fillAngle*Math.PI/180),t(this.feature.style.fillColor,this.feature.style.fillOpacity)),e.addColorStop(1,t(this.feature.style.fillBackColor,this.feature.style.fillOpacity)))}}else if("RADIAL"===this.feature.style.fillGradientMode){var l=this.feature.style.fillCenterOffsetX*o.r,r=this.feature.style.fillCenterOffsetY*o.r,a=o.r/Math.sqrt(2)+Math.abs(l)>o.r/Math.sqrt(2)+Math.abs(r)?o.r/Math.sqrt(2)+Math.abs(l):o.r/Math.sqrt(2)+Math.abs(r);(e=this.getContext().createRadialGradient(o.center.x+l,o.center.y-r,0,o.center.x+l,o.center.y-r,a)).addColorStop(0,t(this.feature.style.fillColor,this.feature.style.fillOpacity)),e.addColorStop(1,t(this.feature.style.fillBackColor,this.feature.style.fillBackOpacity))}return e}}},{key:"getGradientDirection",value:function(t){var e=function(t){return{x:Math.cos(t),y:Math.sin(t)}},o=function(t){return t*Math.PI/180},n=e(o(180-t%360)),i=e(o(360-t%360)),l=Math.pow(2,-52);return(n.x<=0||Math.abs(n.x)<=l)&&(n.x=0),(n.y<=0||Math.abs(n.y)<=l)&&(n.y=0),(i.x<=0||Math.abs(i.x)<=l)&&(i.x=0),(i.y<=0||Math.abs(i.y)<=l)&&(i.y=0),{x1:n.x,y1:n.y,x2:i.x,y2:i.y}}}]),t}();SuperMap.Plot.CalculateCanvasGradient=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CalculateSVGGradient=e.CalculateCanvasGradient=void 0;var n=o(63),i=o(62);e.CalculateCanvasGradient=n.CalculateCanvasGradient,e.CalculateSVGGradient=i.CalculateSVGGradient},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=e.TransactionInfo=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e=e||{},this.layer=e.layer?e.layer:null,this.feature=e.feature?e.feature:null,this.uuid=e.uuid?e.uuid:null,this.functionName=e.functionName?e.functionName:null,this.undoParams=e.undoParams?e.undoParams:null,this.redoParams=e.redoParams?e.redoParams:null,this.propertyName=e.propertyName?e.propertyName:null,this.undoValue=e.undoValue?e.undoValue:null,this.redoValue=e.redoValue?e.redoValue:null,this.CLASS_NAME="SuperMap.Plot.TransactionInfo"};SuperMap.Plot.TransactionInfo=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var o=0;o0&&o.push(","),o.push(this.writeNewline(),this.writeIndent(),e));return this.level-=1,o.push(this.writeNewline(),this.writeIndent(),"]"),o.join("")},string:function(t){var e={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return/["\\\x00-\x1f]/.test(t)?'"'+t.replace(/([\x00-\x1f\\"])/g,function(t,o){var n=e[o];return n||(n=o.charCodeAt(),"\\u00"+Math.floor(n/16).toString(16)+(n%16).toString(16))})+'"':'"'+t+'"'},number:function(t){return isFinite(t)?String(t):"null"},boolean:function(t){return String(t)},date:function(t){function e(t){return t<10?"0"+t:t}return'"'+t.getFullYear()+"-"+e(t.getMonth()+1)+"-"+e(t.getDate())+"T"+e(t.getHours())+":"+e(t.getMinutes())+":"+e(t.getSeconds())+'"'}},o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.Format),i(e,[{key:"read",value:function(t,e){var o;if(this.nativeJSON)try{o=JSON.parse(t,e)}catch(t){}return this.keepData&&(this.data=o),o}},{key:"write",value:function(t,e){this.pretty=!!e;var o=null,i=void 0===t?"undefined":n(t);if(this.serialize[i])try{o=!this.pretty&&this.nativeJSON?JSON.stringify(t):this.serialize[i].apply(this,[t])}catch(t){}return o}},{key:"writeIndent",value:function(){var t=[];if(this.pretty)for(var e=0;e1},isLeftClick:function(t){return t.which&&1===t.which||t.button&&1===t.button},isRightClick:function(t){return t.which&&3===t.which||t.button&&2===t.button},stop:function(t,e){e||(t.preventDefault?t.preventDefault():t.returnValue=!1),t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},findElement:function(t,e){for(var o=n.SuperMap.Event.element(t);o.parentNode&&(!o.tagName||o.tagName.toUpperCase()!=e.toUpperCase());)o=o.parentNode;return o},observe:function(t,e,o,n){var l=i.Util.getElement(t);if(n=n||!1,"keypress"===e&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||l.attachEvent)&&(e="keydown"),this.observers||(this.observers={}),!l._eventCacheID){var r="eventCacheID_";l.id&&(r=l.id+"_"+r),l._eventCacheID=i.Util.createUniqueID(r)}var a=l._eventCacheID;this.observers[a]||(this.observers[a]=[]),this.observers[a].push({element:l,name:e,observer:o,useCapture:n}),l.addEventListener?l.addEventListener(e,o,n):l.attachEvent&&l.attachEvent("on"+e,o)},stopObservingElement:function(t){var e=i.Util.getElement(t)._eventCacheID;this._removeElementObservers(n.SuperMap.Event.observers[e])},_removeElementObservers:function(t){if(t)for(var e=t.length-1;e>=0;e--){var o=t[e],i=new Array(o.element,o.name,o.observer,o.useCapture);n.SuperMap.Event.stopObserving.apply(this,i)}},stopObserving:function(t,e,o,l){l=l||!1;var r=i.Util.getElement(t),a=r._eventCacheID;"keypress"===e&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||r.detachEvent)&&(e="keydown");var s=!1,u=n.SuperMap.Event.observers[a];if(u)for(var p=0;!s&&p599){if(s)return;return s=!0,void i(new TypeError("Network request failed"))}var e={status:t,statusText:r.statusText,headers:function(t){var e=new a;return t.getAllResponseHeaders().trim().split("\n").forEach(function(t){var o=t.trim().split(":"),n=o.shift().trim(),i=o.join(":").trim();e.append(n,i)}),e}(r),url:"responseURL"in r?r.responseURL:/^X-Request-URL:/m.test(r.getAllResponseHeaders())?r.getResponseHeader("X-Request-URL"):void 0},o="response"in r?r.response:r.responseText;s||(s=!0,n(new h(o,e)))}}r.onreadystatechange=u,r.onload=u,r.onerror=function(){s||(s=!0,i(new TypeError("Network request failed")))},r.open(l.method,l.url,!0);try{"include"===l.credentials&&("withCredentials"in r?r.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(t){console&&console.warn&&console.warn("set withCredentials error:"+t)}"responseType"in r&&o.blob&&(r.responseType="blob"),l.headers.forEach(function(t,e){r.setRequestHeader(e,t)}),r.send(void 0===l._bodyInit?null:l._bodyInit)})},e.fetch.polyfill=!0,void 0!==t&&t.exports&&(t.exports=e.fetch)}function l(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function r(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){this.map={},t instanceof a?t.forEach(function(t,e){this.append(e,t)},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function s(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function u(t){return new Promise(function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}})}function p(t){var e=new FileReader;return e.readAsArrayBuffer(t),u(e)}function c(){return this.bodyUsed=!1,this._initBody=function(t,e){if(this._bodyInit=t,"string"==typeof t)this._bodyText=t;else if(o.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t,this._options=e;else if(o.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(t){if(!o.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t))throw new Error("unsupported BodyInit type")}else this._bodyText=""},o.blob?(this.blob=function(){var t=s(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(p)},this.text=function(){var t,e,o,n,i,l,r,a=s(this);if(a)return a;if(this._bodyBlob)return t=this._bodyBlob,e=this._options,o=new FileReader,n=e.headers.map["content-type"]?e.headers.map["content-type"].toString():"",i=/charset\=[0-9a-zA-Z\-\_]*;?/,l=t.type.match(i)||n.match(i),r=[t],l&&r.push(l[0].replace(/^charset\=/,"").replace(/;$/,"")),o.readAsText.apply(o,r),u(o);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var t=s(this);return t||Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(P)}),this.json=function(){return this.text().then(JSON.parse)},this}function y(t,e){var o,i,l=(e=e||{}).body;if(y.prototype.isPrototypeOf(t)){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new a(t.headers)),this.method=t.method,this.mode=t.mode,l||(l=t._bodyInit,t.bodyUsed=!0)}else this.url=t;if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new a(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),n.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&l)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(l,e)}function P(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var o=t.split("="),n=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}}),e}function h(t,e){e||(e={}),this._initBody(t,e),this.type="default",this.status=e.status,this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText,this.headers=e.headers instanceof a?e.headers:new a(e.headers),this.url=e.url||""}}("undefined"!=typeof self?self:void 0)},function(t,e,o){"use strict";var n,i,l=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(t){n=r}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var u,p=[],c=!1,y=-1;function P(){c&&u&&(c=!1,u.length?p=u.concat(p):y=-1,p.length&&h())}function h(){if(!c){var t=s(P);c=!0;for(var e=p.length;e;){for(u=p,p=[];++y1)for(var o=1;o=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},o(110),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||void 0,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||void 0}).call(this,o(4))},function(t,e,o){"use strict";(function(e){var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(n){var i=setTimeout;function l(){}function r(t){if("object"!==o(this))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(t,this)}function a(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,r._immediateFn(function(){var o=1===t._state?e.onFulfilled:e.onRejected;if(null!==o){var n;try{n=o(t._value)}catch(t){return void u(e.promise,t)}s(e.promise,n)}else(1===t._state?s:u)(e.promise,t._value)})):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"===(void 0===e?"undefined":o(e))||"function"==typeof e)){var n=e.then;if(e instanceof r)return t._state=3,t._value=e,void p(t);if("function"==typeof n)return void c((i=n,l=e,function(){i.apply(l,arguments)}),t)}t._state=1,t._value=e,p(t)}catch(e){u(t,e)}var i,l}function u(t,e){t._state=2,t._value=e,p(t)}function p(t){2===t._state&&0===t._deferreds.length&&r._immediateFn(function(){t._handled||r._unhandledRejectionFn(t._value)});for(var e=0,o=t._deferreds.length;e-1&&"?"===n?t.url+=o.getUrlParameters():t.url.indexOf("?")>-1&&"?"!==n?t.url+="&"+o.getUrlParameters():t.url+="?"+o.getUrlParameters()}e.calculatePollingTimes(),e._processSuccess=t.success,e._processFailed=t.failure,t.scope=e,t.success=e.getUrlCompleted,t.failure=e.getUrlFailed,e.options=t,e._commit(e.options)}},{key:"getCredential",value:function(t){var e=t,o=void 0,n=void 0;switch(this.serverType){case p.ServerType.IPORTAL:(o=(n=s.SecurityManager.getToken(e))?new a.Credential(n,"token"):null)||(o=(n=s.SecurityManager.getKey(e))?new a.Credential(n,"key"):null);break;case p.ServerType.ONLINE:o=(n=s.SecurityManager.getKey(e))?new a.Credential(n,"key"):null;break;default:o=(n=s.SecurityManager.getToken(e))?new a.Credential(n,"token"):null}return o}},{key:"getUrlCompleted",value:function(t){this._processSuccess(t)}},{key:"getUrlFailed",value:function(t){this.totalTimes>0?(this.totalTimes--,this.ajaxPolling()):this._processFailed(t)}},{key:"ajaxPolling",value:function(){var t=this,e=t.options.url,o=/^http:\/\/([a-z]{9}|(\d+\.){3}\d+):\d{0,4}/;t.index=parseInt(Math.random()*t.length),t.url=t.urls[t.index],e=e.replace(o,o.exec(t.url)[0]),t.options.url=e,t.options.isInTheSameDomain=u.Util.isInTheSameDomain(e),t._commit(t.options)}},{key:"calculatePollingTimes",value:function(){var t=this;t.times?t.totalTimes>t.POLLING_TIMES?t.times>t.POLLING_TIMES?t.totalTimes=t.POLLING_TIMES:t.totalTimes=t.times:t.timest.POLLING_TIMES&&(t.totalTimes=t.POLLING_TIMES),t.totalTimes--}},{key:"isServiceSupportPolling",value:function(){return!("SuperMap.REST.ThemeService"===this.CLASS_NAME||"SuperMap.REST.EditFeaturesService"===this.CLASS_NAME)}},{key:"serviceProcessCompleted",value:function(t){t=u.Util.transformResult(t),this.events.triggerEvent("processCompleted",{result:t})}},{key:"serviceProcessFailed",value:function(t){var e=(t=u.Util.transformResult(t)).error||t;this.events.triggerEvent("processFailed",{error:e})}},{key:"_commit",value:function(t){"POST"!==t.method&&"PUT"!==t.method||(t.params&&(t.url=u.Util.urlAppend(t.url,u.Util.getParameterString(t.params||{}))),t.params=t.data),l.FetchRequest.commit(t.method,t.url,t.params,{headers:t.headers,withCredentials:t.withCredentials,timeout:t.async?0:null,proxy:t.proxy}).then(function(t){return t.text?t.text():t.json?t.json():t}).then(function(e){var o=e;("string"==typeof e&&(o=(new c.JSONFormat).read(e)),(!o||o.error||o.code>=300&&304!==o.code)&&(o=o&&o.error?{error:o.error}:{error:o}),o.error)?(t.scope?y.FunctionExt.bind(t.failure,t.scope):t.failure)(o):(o.succeed=void 0==o.succeed||o.succeed,(t.scope?y.FunctionExt.bind(t.success,t.scope):t.success)(o))})}}]),t}();i.SuperMap.CommonServiceBase=P},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbolFactory=e.BasicAlgoSymbolFactory=e.AddPoint_WayType=e.Primitives=e.PlottingUtil=e.RouteNodePrimitives=e.AnalysisSymbol=e.TowardNode=e.TimeWindowParameter=e.SymbolText=e.SubSymbol=e.SMLInfoStruct=e.SitDataStruct=e.RouteNode=e.Property=e.OrbitPoint=e.MapInfoStruct=e.LayerDataStruct=e.ExtendProperty=e.DefaultStyle=e.GetSymbolInfoService=e.GetSymbolInfoParameters=e.GetSMLInfosService=e.GetSMLInfosParameters=e.GetLibInfoService=e.GetLibInfoParameter=e.GetLibIDsService=e.EditSmlFileService=e.EditSmlFileParameters=e.PlotCommonServiceBase=e.GOAnimationType=e.Event=e.EditMode=e.AlignType=e.PositionOffsetType=e.TextBoxType=e.ArrowLineType=e.AnnoPosition=e.RadiusLineType=e.RelLineText=e.RouteNodeType=e.AlgoSurroundLineType=e.LineRelationType=e.SymbolType=e.Plot=e.CommonServiceBase=void 0;var n=o(114),i=o(98),l=o(61),r=o(55);e.CommonServiceBase=n.CommonServiceBase,e.Plot=i.Plot,e.SymbolType=i.SymbolType,e.LineRelationType=i.LineRelationType,e.AlgoSurroundLineType=i.AlgoSurroundLineType,e.RouteNodeType=i.RouteNodeType,e.RelLineText=i.RelLineText,e.RadiusLineType=i.RadiusLineType,e.AnnoPosition=i.AnnoPosition,e.ArrowLineType=i.ArrowLineType,e.TextBoxType=i.TextBoxType,e.PositionOffsetType=i.PositionOffsetType,e.AlignType=i.AlignType,e.EditMode=i.EditMode,e.Event=i.Event,e.GOAnimationType=i.GOAnimationType,e.PlotCommonServiceBase=i.PlotCommonServiceBase,e.EditSmlFileParameters=i.EditSmlFileParameters,e.EditSmlFileService=i.EditSmlFileService,e.GetLibIDsService=i.GetLibIDsService,e.GetLibInfoParameter=i.GetLibInfoParameter,e.GetLibInfoService=i.GetLibInfoService,e.GetSMLInfosParameters=i.GetSMLInfosParameters,e.GetSMLInfosService=i.GetSMLInfosService,e.GetSymbolInfoParameters=i.GetSymbolInfoParameters,e.GetSymbolInfoService=i.GetSymbolInfoService,e.DefaultStyle=i.DefaultStyle,e.ExtendProperty=i.ExtendProperty,e.LayerDataStruct=i.LayerDataStruct,e.MapInfoStruct=i.MapInfoStruct,e.OrbitPoint=i.OrbitPoint,e.Property=i.Property,e.RouteNode=i.RouteNode,e.SitDataStruct=i.SitDataStruct,e.SMLInfoStruct=i.SMLInfoStruct,e.SubSymbol=i.SubSymbol,e.SymbolText=i.SymbolText,e.TimeWindowParameter=i.TimeWindowParameter,e.TowardNode=i.TowardNode,e.AnalysisSymbol=l.AnalysisSymbol,e.RouteNodePrimitives=l.RouteNodePrimitives,e.PlottingUtil=l.PlottingUtil,e.Primitives=l.Primitives,e.AddPoint_WayType=l.AddPoint_WayType,e.BasicAlgoSymbolFactory=r.BasicAlgoSymbolFactory,e.AlgoSymbolFactory=r.AlgoSymbolFactory}]); /***/ }), /* 5 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(4); __webpack_require__(1); __webpack_require__(2); __webpack_require__(3); __webpack_require__(0); /***/ }) /******/ ]);