ym-gis-2d 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/capabilities/index.js +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/MousePositionControl.js +1 -1
- package/controls/SwipeLayerControl.js +1 -1
- package/conver/kml/geoJSONToKml.js +1 -1
- package/conver/kml/index.js +1 -1
- package/conver/kml/kmlToGeoJSON.js +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/feature/FeatureManager.js +1 -1
- package/index.js +1 -1
- package/interaction/Draw.js +1 -1
- package/interaction/InteractionManager.js +1 -1
- package/interaction/Select.js +1 -1
- package/layers/ArcgisDynamicLayer.js +1 -1
- package/layers/ArcgisFeatureLayer.js +1 -1
- package/layers/ArcgisTileLayer.js +1 -1
- package/layers/ArcgisWMSLayer.js +1 -1
- package/layers/ArcgisWMTSLayer.js +1 -1
- package/layers/GeoserverVectorTile.js +1 -1
- package/layers/GeoserverWFSLayer.js +1 -1
- package/layers/GeoserverWMSLayer.js +1 -1
- package/layers/GeoserverWMTSLayer.js +1 -1
- package/layers/LayerManager.js +1 -1
- package/layers/TDTLayer.js +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/Map.js.map +1 -1
- package/mapView/View.d.ts +1 -0
- package/mapView/View.d.ts.map +1 -1
- package/mapView/View.js +1 -1
- package/mapView/View.js.map +1 -1
- package/package.json +1 -1
- package/plot/Plot.js +1 -1
- package/plot/geometry/point/Point.js +1 -1
- package/plot/geometry/polygon/BasePolygon.js +1 -1
- package/plot/geometry/polygon/Circle.js +1 -1
- package/plot/geometry/polygon/Polygon.js +1 -1
- package/plot/geometry/polygon/RectAngle.js +1 -1
- package/plot/geometry/polyline/BaseLine.js +1 -1
- package/plot/geometry/polyline/Polyline.js +1 -1
- package/style/PointStyleFormat.js +1 -1
- package/style/PolygonStyleFormat.js +1 -1
- package/style/PolylineStyleFormat.js +1 -1
- package/style/StyleManager.js +1 -1
- package/style/common.js +1 -1
- package/utils/ArrayUtil.js +1 -1
- package/utils/AxiosUtil.js +1 -1
- package/utils/EsriUtil.js +1 -1
- package/utils/GeometryUtil.js +1 -1
- package/utils/LayerUtil.js +1 -1
- package/utils/RegisterProjUtil.js +1 -1
- package/utils/ResolutionUtil.js +1 -1
- package/utils/StringUtil.js +1 -1
- package/utils/StyleUtil.js +1 -1
- package/utils/UrlUtil.js +1 -1
- package/utils/XmlUtil.js +1 -1
- package/utils/format/CQL.js +1 -1
- package/utils/format/IsMatchCql.js +1 -1
- package/utils/plug/canvas/ImageCache.js +1 -1
- package/utils/plug/canvas/PinBuilder.js +1 -1
- package/utils/plug/canvas/PinIcon.js +1 -1
- package/utils/plug/canvas/writeTextToCanvas.js +1 -1
- package/utils/tasks/esri/Identify.js +1 -1
- package/utils/tasks/esri/Query.js +1 -1
- package/utils/tasks/esri/Task.js +1 -1
- package/utils/tasks/geoserver/QueryTask.js +1 -1
- package/utils/tasks/index.js +1 -1
- package/ym-gis-2d.es.js +1 -1
- package/ym-gis-2d.umd.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x780eb8,_0x39a10c){const _0x431e00=a57_0x12fa,_0x3394a0=_0x780eb8();while(!![]){try{const _0x4e114a=parseInt(_0x431e00(0x9f))/0x1*(-parseInt(_0x431e00(0x9e))/0x2)+parseInt(_0x431e00(0xbb))/0x3*(parseInt(_0x431e00(0xa3))/0x4)+-parseInt(_0x431e00(0xb9))/0x5+parseInt(_0x431e00(0x9b))/0x6*(parseInt(_0x431e00(0xc0))/0x7)+-parseInt(_0x431e00(0xb7))/0x8*(-parseInt(_0x431e00(0xb5))/0x9)+parseInt(_0x431e00(0x8f))/0xa+-parseInt(_0x431e00(0xad))/0xb;if(_0x4e114a===_0x39a10c)break;else _0x3394a0['push'](_0x3394a0['shift']());}catch(_0x624fa8){_0x3394a0['push'](_0x3394a0['shift']());}}}(a57_0x2313,0x63597));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';function a57_0x12fa(_0x49a557,_0x403462){const _0x231389=a57_0x2313();return a57_0x12fa=function(_0x12fa1d,_0x31e0e6){_0x12fa1d=_0x12fa1d-0x89;let _0x3e0f2f=_0x231389[_0x12fa1d];return _0x3e0f2f;},a57_0x12fa(_0x49a557,_0x403462);}import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x59e62c,_0x1f6528,_0x4def3f,_0x40c41a){const _0x1a8515=a57_0x12fa;var _0xd9ded7,_0x5f3c5b,_0x25cd58;let _0x2dc018=(_0xd9ded7=_0x59e62c[_0x1a8515(0xa4)])!==null&&_0xd9ded7!==void 0x0?_0xd9ded7:0x0;const _0x321ae4=_0x22163f=>{const _0x445fd0=_0x1a8515;var _0x5da7c9=_0x22163f[_0x445fd0(0x90)]();if(_0x5da7c9)return _getRealPolyline(_0x5da7c9,_0x59e62c);return _0x5da7c9;},_0x17acd1=_0x2d2fc4=>{const _0x4b313f=_0x1a8515;var _0x195d38=_0x2d2fc4[_0x4b313f(0x90)]();let _0x2a7d9b=_0x195d38;_0x195d38&&(_0x2a7d9b=_getRealPolyline(_0x195d38,_0x59e62c));if(_0x2a7d9b&&_0x2a7d9b['getType']()===_0x4b313f(0xac))return new Point(_0x2a7d9b[_0x4b313f(0x91)]());else{let _0x26d03a=_0x2a7d9b['getFlatMidpoints'](),_0x384c80=0x2,_0x575b84=[];for(let _0x409469=0x0,_0x129c67=_0x26d03a[_0x4b313f(0x98)];_0x409469<_0x129c67;_0x409469+=_0x384c80){let _0xf7820b=[_0x26d03a[_0x409469],_0x26d03a[_0x409469+0x1]];_0x575b84['push'](_0xf7820b);}return new MultiPoint(_0x575b84);}};let _0x106651=new Style({'geometry':_0x321ae4,'stroke':new Stroke({'color':getColor(_0x59e62c[_0x1a8515(0xaf)],_0x59e62c['opacity']),'width':_0x59e62c[_0x1a8515(0x92)]}),'zIndex':_0x2dc018}),_0x324488=[_0x106651];if(_0x59e62c['lineType']===_0x1a8515(0x97)){let _0x1cf351=_0x59e62c[_0x1a8515(0xb6)]/0x2,_0x25afbc=new Style({'geometry':_0x321ae4,'zIndex':_0x2dc018,'stroke':new Stroke({'color':getColor(_0x59e62c[_0x1a8515(0xaf)],_0x59e62c[_0x1a8515(0xb1)]),'width':_0x59e62c['width'],'lineCap':_0x1a8515(0xaa),'lineDash':[_0x1cf351,_0x1cf351]})}),_0x4181ed=new Style({'geometry':_0x321ae4,'zIndex':_0x2dc018+0.5,'stroke':new Stroke({'color':getColor(_0x59e62c[_0x1a8515(0x8b)],Number((_0x25cd58=(_0x5f3c5b=_0x59e62c[_0x1a8515(0xa2)])!==null&&_0x5f3c5b!==void 0x0?_0x5f3c5b:_0x59e62c['opacity'])!==null&&_0x25cd58!==void 0x0?_0x25cd58:0x1)),'width':_0x59e62c[_0x1a8515(0x92)],'lineCap':_0x1a8515(0xaa),'lineDash':[_0x1cf351,_0x1cf351],'lineDashOffset':_0x1cf351})});_0x324488=[_0x25afbc,_0x4181ed];}_0x59e62c['lineType']===_0x1a8515(0xa7)&&_0x106651['setRenderer']((_0x5f1b98,_0x1c727f)=>{const _0x1b715=_0x1a8515;let _0x54771a=_0x1c727f[_0x1b715(0x94)],_0x45eb7d=parseInt((_0x59e62c[_0x1b715(0x92)]/0x4)[_0x1b715(0x89)]()),_0x109635=0xa,_0x4a50be=Math['sqrt'](Math['pow'](_0x109635,0x2)+Math[_0x1b715(0x8a)](_0x59e62c[_0x1b715(0x92)]/0x2,0x2)),_0x11a7e4=0x2d,_0x4c6d51=_0x5f1b98[_0x5f1b98[_0x1b715(0x98)]-0x2][0x0],_0xc153ef=_0x5f1b98[_0x5f1b98[_0x1b715(0x98)]-0x2][0x1],_0x39f8a3=_0x5f1b98[_0x5f1b98['length']-0x1][0x0],_0x35bfc7=_0x5f1b98[_0x5f1b98[_0x1b715(0x98)]-0x1][0x1],_0x23ee03=Math[_0x1b715(0x9a)](_0xc153ef-_0x35bfc7,_0x4c6d51-_0x39f8a3)*0xb4/Math['PI'],_0x2755dc=(_0x23ee03+_0x11a7e4)*Math['PI']/0xb4,_0x36dcf7=(_0x23ee03-_0x11a7e4)*Math['PI']/0xb4,_0x4bae83=_0x4a50be*Math[_0x1b715(0xab)](_0x2755dc),_0x458900=_0x4a50be*Math[_0x1b715(0xb0)](_0x2755dc),_0x13a17b=_0x4a50be*Math[_0x1b715(0xab)](_0x36dcf7),_0x5f5d9b=_0x4a50be*Math[_0x1b715(0xb0)](_0x36dcf7);_0x54771a[_0x1b715(0xbf)](),_0x54771a['beginPath']();let _0x1935d0,_0x35f8e9;for(let _0x2d608a=0x0;_0x2d608a<_0x5f1b98['length'];_0x2d608a++){_0x2d608a===0x0?_0x54771a[_0x1b715(0xa0)](_0x5f1b98[_0x2d608a][0x0],_0x5f1b98[_0x2d608a][0x1]):_0x54771a[_0x1b715(0xae)](_0x5f1b98[_0x2d608a][0x0],_0x5f1b98[_0x2d608a][0x1]);}_0x54771a[_0x1b715(0xb3)]=getColor(_0x59e62c['color'],_0x59e62c[_0x1b715(0xb1)]),_0x54771a[_0x1b715(0xc1)]=_0x45eb7d,_0x54771a[_0x1b715(0x8c)]=_0x1b715(0xaa),_0x54771a['stroke'](),_0x1935d0=_0x39f8a3+_0x4bae83,_0x35f8e9=_0x35bfc7+_0x458900,_0x54771a['moveTo'](_0x1935d0,_0x35f8e9),_0x54771a[_0x1b715(0xae)](_0x39f8a3,_0x35bfc7),_0x1935d0=_0x39f8a3+_0x13a17b,_0x35f8e9=_0x35bfc7+_0x5f5d9b,_0x54771a[_0x1b715(0xae)](_0x1935d0,_0x35f8e9),_0x54771a[_0x1b715(0x8c)]=_0x1b715(0xaa),_0x54771a[_0x1b715(0xb2)](),_0x54771a['restore']();});_0x59e62c['lineType']===_0x1a8515(0x96)&&_0x106651[_0x1a8515(0x99)]((_0x356b95,_0x2351de)=>{const _0x149514=_0x1a8515;let _0x48424a=_0x2351de[_0x149514(0x94)];_0x48424a[_0x149514(0xbf)]();for(let _0x3f05c8=0x0;_0x3f05c8<0x4;_0x3f05c8++){let _0x27e445=_0x59e62c[_0x149514(0x92)]/0xa*(_0x59e62c[_0x149514(0xa6)]===0x0?0x1:_0x59e62c[_0x149514(0xa6)]);_0x48424a[_0x149514(0x8d)]=getColor(_0x59e62c[_0x149514(0xaf)],_0x59e62c['opacity']),_0x48424a['shadowBlur']=_0x59e62c['width']/0x5*0x2,_0x48424a[_0x149514(0xbd)]();for(let _0x54fc18=0x0;_0x54fc18<_0x356b95[_0x149514(0x98)];_0x54fc18++){_0x54fc18===0x0?_0x48424a['moveTo'](_0x356b95[_0x54fc18][0x0],_0x356b95[_0x54fc18][0x1]):_0x48424a['lineTo'](_0x356b95[_0x54fc18][0x0],_0x356b95[_0x54fc18][0x1]);}_0x48424a['lineCap']=_0x149514(0xaa),_0x48424a[_0x149514(0xc1)]=_0x27e445,_0x48424a[_0x149514(0xb3)]=getColor(_0x149514(0xa9),_0x59e62c['opacity']),_0x48424a['stroke']();}_0x48424a[_0x149514(0x93)]();});_0x59e62c[_0x1a8515(0x9d)]===_0x1a8515(0xba)&&_0x106651['setRenderer']((_0x5c2aa6,_0x488c7f)=>{const _0x59bfee=_0x1a8515;let _0x5350a3=_0x488c7f['context'];_0x5350a3[_0x59bfee(0xbf)](),_0x5350a3[_0x59bfee(0xbd)]();for(let _0x388459=0x0;_0x388459<_0x5c2aa6[_0x59bfee(0x98)];_0x388459++){_0x388459===0x0?_0x5350a3[_0x59bfee(0xa0)](_0x5c2aa6[_0x388459][0x0],_0x5c2aa6[_0x388459][0x1]):_0x5350a3[_0x59bfee(0xae)](_0x5c2aa6[_0x388459][0x0],_0x5c2aa6[_0x388459][0x1]);}_0x5350a3[_0x59bfee(0x8c)]=_0x59bfee(0xaa),_0x5350a3['lineWidth']=_0x59e62c['width'],_0x5350a3['strokeStyle']=getColor(_0x59e62c['outlineColor'],_0x59e62c[_0x59bfee(0xb1)]),_0x5350a3[_0x59bfee(0xb2)](),_0x5350a3[_0x59bfee(0xbd)]();for(let _0x4ff983=0x0;_0x4ff983<_0x5c2aa6[_0x59bfee(0x98)];_0x4ff983++){_0x4ff983===0x0?_0x5350a3[_0x59bfee(0xa0)](_0x5c2aa6[_0x4ff983][0x0],_0x5c2aa6[_0x4ff983][0x1]):_0x5350a3[_0x59bfee(0xae)](_0x5c2aa6[_0x4ff983][0x0],_0x5c2aa6[_0x4ff983][0x1]);}_0x5350a3['lineCap']=_0x59bfee(0xaa),_0x59e62c[_0x59bfee(0xb6)]>=_0x59e62c[_0x59bfee(0x92)]&&(_0x59e62c[_0x59bfee(0xb6)]=_0x59e62c[_0x59bfee(0x92)]-0x1),_0x5350a3[_0x59bfee(0xc1)]=_0x59e62c[_0x59bfee(0x92)]-_0x59e62c['outlineWidth'],_0x5350a3[_0x59bfee(0xb3)]=getColor(_0x59e62c[_0x59bfee(0xaf)],_0x59e62c[_0x59bfee(0xb1)]),_0x5350a3[_0x59bfee(0xb2)](),_0x5350a3['restore']();});let _0x54030a=getImageOlStyle(_0x59e62c[_0x1a8515(0x8e)],_0x2dc018,_0x4def3f,_0x40c41a);_0x54030a&&(_0x54030a['setGeometry'](_0x17acd1),_0x324488['push'](_0x54030a));if(_0x59e62c[_0x1a8515(0xbe)]&&_0x59e62c[_0x1a8515(0xbe)][_0x1a8515(0xb8)]!==![]){let _0x33fb38=new Style({'geometry':_0x17acd1,'text':createTextStyle(_0x59e62c[_0x1a8515(0xbe)],_0x1f6528,_0x4def3f,_0x40c41a),'zIndex':Number(_0x2dc018)+0x1});_0x324488[_0x1a8515(0xbc)](_0x33fb38);}return _0x324488;}function a57_0x2313(){const _0x492444=['zIndex','MultiLineString','glowPower','arrow','getFirstCoordinate','white','butt','cos','LineString','9132860sfhduI','lineTo','color','sin','opacity','stroke','strokeStyle','getType','3285fspAom','outlineWidth','16664RDPjTB','show','22555bKhzat','outline','45NLzOyM','push','beginPath','label','save','29589bNflvM','lineWidth','toString','pow','outlineColor','lineCap','shadowColor','billboard','6437450GmIWXU','getGeometry','getFlatMidpoint','width','restore','context','getCoordinates','glow','dash','length','setRenderer','atan2','324KmvXIu','concat','lineType','936104dRvmjB','1GQcTTo','moveTo','closed','outlineOpacity','20656nBEyil'];a57_0x2313=function(){return _0x492444;};return a57_0x2313();}function _getRealPolyline(_0x253359,_0x5a884b){const _0x407c50=a57_0x12fa;if(!(_0x5a884b===null||_0x5a884b===void 0x0?void 0x0:_0x5a884b[_0x407c50(0xa1)]))return _0x253359;else{if(_0x253359[_0x407c50(0xb4)]()===_0x407c50(0xa5)){let _0x155e7b=_0x253359['getCoordinates']();for(let _0x3f226a in _0x155e7b){let _0x4206fd=_0x155e7b[_0x3f226a];_0x155e7b[_0x3f226a]=_0x4206fd[_0x407c50(0x9c)]([_0x4206fd[0x0]]);}return new MultiLineString(_0x155e7b);}else return new LineString(_0x253359[_0x407c50(0x95)]()['concat']([_0x253359[_0x407c50(0xa8)]()]));}}
|
package/style/StyleManager.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a58_0x1e2a(_0x39bc22,_0x2dcacf){const _0x3ffdec=a58_0x3ffd();return a58_0x1e2a=function(_0x1e2a28,_0x263de0){_0x1e2a28=_0x1e2a28-0xa9;let _0x3de8e6=_0x3ffdec[_0x1e2a28];return _0x3de8e6;},a58_0x1e2a(_0x39bc22,_0x2dcacf);}(function(_0x5cb184,_0x3fd182){const _0x2f86d5=a58_0x1e2a,_0x22fcb6=_0x5cb184();while(!![]){try{const _0x3138e2=parseInt(_0x2f86d5(0xbc))/0x1+parseInt(_0x2f86d5(0xba))/0x2*(-parseInt(_0x2f86d5(0xb8))/0x3)+parseInt(_0x2f86d5(0xb7))/0x4+-parseInt(_0x2f86d5(0xaf))/0x5*(-parseInt(_0x2f86d5(0xb9))/0x6)+-parseInt(_0x2f86d5(0xbf))/0x7*(parseInt(_0x2f86d5(0xac))/0x8)+parseInt(_0x2f86d5(0xb3))/0x9*(parseInt(_0x2f86d5(0xab))/0xa)+parseInt(_0x2f86d5(0xa9))/0xb;if(_0x3138e2===_0x3fd182)break;else _0x22fcb6['push'](_0x22fcb6['shift']());}catch(_0x18520a){_0x22fcb6['push'](_0x22fcb6['shift']());}}}(a58_0x3ffd,0xd3b95));import a58_0x4a5886 from'ol/style/Circle';function a58_0x3ffd(){const _0x157645=['2438458xxgGNL','rgba(0,\x20255,0,\x201)','10FohweN','8aOyoRR','rgba(0,\x20255,0,\x200)','rgba(121,\x20243,\x20238,\x200.3)','5OWsKBC','rgba(121,\x20243,\x20238,\x201)','text','color','2268657wLJWDo','outlineColor','setFill','fill','1590696cexJtC','24INJJBx','1740084JmusPi','51594NRzkMs','setStroke','520947kPdfmB','opacity','outlineWidth','4261523NvuyYH'];a58_0x3ffd=function(){return _0x157645;};return a58_0x3ffd();}import a58_0x55230b from'ol/style/Fill';import a58_0xdc30d2 from'ol/style/Stroke';import a58_0x4b67e4 from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x2de698=a58_0x1e2a;return new a58_0x4b67e4({'image':new a58_0x4a5886({'radius':0x5,'fill':new a58_0x55230b({'color':_0x2de698(0xb0)}),'stroke':new a58_0xdc30d2({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectCancePointStyle(){return new a58_0x4b67e4({'image':new a58_0x4a5886({'radius':0x5,'fill':new a58_0x55230b({'color':'rgba(121,\x20243,\x20238,\x200)'}),'stroke':new a58_0xdc30d2({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectLineStyle(){const _0x295e7b=a58_0x1e2a;return new a58_0x4b67e4({'stroke':new a58_0xdc30d2({'color':_0x295e7b(0xb0),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x207773=a58_0x1e2a;return new a58_0x4b67e4({'stroke':new a58_0xdc30d2({'color':_0x207773(0xaa),'width':0x2})});}export function getSelectPolygonStyle(){const _0x216607=a58_0x1e2a;return new a58_0x4b67e4({'stroke':new a58_0xdc30d2({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2}),'fill':new a58_0x55230b({'color':_0x216607(0xae)})});}export function getSelectCancelPolygonStyle(){const _0x24a8ba=a58_0x1e2a;return new a58_0x4b67e4({'stroke':new a58_0xdc30d2({'color':_0x24a8ba(0xaa),'width':0x2}),'fill':new a58_0x55230b({'color':_0x24a8ba(0xad)})});}export function getStyle(_0x4e7a5c){const _0x5ae837=a58_0x1e2a;if(_0x4e7a5c){if(_0x4e7a5c[_0x5ae837(0xb1)])return new a58_0x4b67e4({'text':createTextStyle(_0x4e7a5c,_0x4e7a5c[_0x5ae837(0xb1)]),'zIndex':0x1});else{const _0xf92f7d=new a58_0x4b67e4();return _0x4e7a5c[_0x5ae837(0xb4)]&&_0xf92f7d[_0x5ae837(0xbb)](new a58_0xdc30d2({'color':getColor(_0x4e7a5c[_0x5ae837(0xb4)],_0x4e7a5c['outlineOpacity']),'width':_0x4e7a5c[_0x5ae837(0xbe)]||0x1})),_0x4e7a5c[_0x5ae837(0xb2)]&&_0xf92f7d[_0x5ae837(0xb5)](new a58_0x55230b({'color':getColor(_0x4e7a5c[_0x5ae837(0xb6)],_0x4e7a5c[_0x5ae837(0xbd)])})),_0xf92f7d;}}return new a58_0x4b67e4({'stroke':new a58_0xdc30d2({'color':_0x5ae837(0xb0),'width':0x2}),'fill':new a58_0x55230b({'color':_0x5ae837(0xae)})});}
|
package/style/common.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x559326,_0x58ae0e){const _0x32ef87=a54_0x1713,_0x572474=_0x559326();while(!![]){try{const _0x362530=-parseInt(_0x32ef87(0x13c))/0x1*(parseInt(_0x32ef87(0x165))/0x2)+parseInt(_0x32ef87(0x15e))/0x3+parseInt(_0x32ef87(0x150))/0x4+parseInt(_0x32ef87(0x137))/0x5*(-parseInt(_0x32ef87(0x14c))/0x6)+-parseInt(_0x32ef87(0x146))/0x7*(parseInt(_0x32ef87(0x15c))/0x8)+parseInt(_0x32ef87(0x15b))/0x9+parseInt(_0x32ef87(0x162))/0xa*(-parseInt(_0x32ef87(0x148))/0xb);if(_0x362530===_0x58ae0e)break;else _0x572474['push'](_0x572474['shift']());}catch(_0x55bb89){_0x572474['push'](_0x572474['shift']());}}}(a54_0x258c,0x67aad));import a54_0x1d4b90 from'color';function a54_0x1713(_0x3d4688,_0xd66ec9){const _0x258cea=a54_0x258c();return a54_0x1713=function(_0x1713eb,_0x20fb64){_0x1713eb=_0x1713eb-0x137;let _0x55b7e5=_0x258cea[_0x1713eb];return _0x55b7e5;},a54_0x1713(_0x3d4688,_0xd66ec9);}import{Fill,Icon,Stroke,Text}from'ol/style';import a54_0x1be1ce from'../utils/plug/canvas/PinIcon';import a54_0xbd703a from'ol/ImageState';export function isShowStyle(_0x507375,_0x25ab63,_0x56ee85){const _0x335729=a54_0x1713;let _0x266c9f=!![];if(_0x25ab63==undefined||_0x56ee85==undefined)return _0x266c9f;if(_0x507375&&typeof _0x507375['distanceDisplayFar']!=undefined&&typeof _0x507375[_0x335729(0x140)]!=undefined){if(_0x507375[_0x335729(0x13f)]&&_0x56ee85){_0x266c9f=![];let _0x367f77=getLevel(_0x507375[_0x335729(0x13f)]),_0x2cd979=_0x56ee85[_0x335729(0x138)]()[_0x335729(0x160)](_0x367f77);_0x25ab63<_0x2cd979&&(_0x266c9f=!![]);}if(_0x266c9f&&_0x507375[_0x335729(0x140)]&&_0x56ee85){_0x266c9f=![];let _0x4e175b=getLevel(_0x507375[_0x335729(0x140)]),_0x1f1831=_0x56ee85[_0x335729(0x138)]()['getResolutionForZoom'](_0x4e175b);_0x25ab63>_0x1f1831&&(_0x266c9f=!![]);}}return _0x266c9f;}export function getLevel(_0xb7db6f){const _0x2ede3d=a54_0x1713,_0x4f839a=3252.745,_0xcea5f1=0.0009198301,_0x6be020=52977.61,_0x18b01e=-3228.107;return _0x18b01e+(_0x4f839a-_0x18b01e)/(0x1+Math[_0x2ede3d(0x153)](_0xb7db6f/_0x6be020,_0xcea5f1));}export function toRadians(_0x49731d){if(_0x49731d)return-(_0x49731d*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x4a0523,_0x259a81,_0x1394b6,_0x1a26cb){const _0xdba419=a54_0x1713;if(_0x4a0523){let _0xce0da4=isShowStyle(_0x4a0523,_0x1394b6,_0x1a26cb);if(_0xce0da4===![])return undefined;else{const _0x51439c=_0x4a0523[_0xdba419(0x142)],_0x1be713=(_0x51439c===null||_0x51439c===void 0x0?void 0x0:_0x51439c[_0xdba419(0x159)])?'italic':_0xdba419(0x158),_0x291a6f=(_0x51439c===null||_0x51439c===void 0x0?void 0x0:_0x51439c['weight'])?_0xdba419(0x15d):_0xdba419(0x158),_0x10734f=(_0x51439c===null||_0x51439c===void 0x0?void 0x0:_0x51439c[_0xdba419(0x14a)])||'25',_0x21d201=(_0x51439c===null||_0x51439c===void 0x0?void 0x0:_0x51439c[_0xdba419(0x139)])||'楷体';let _0x1bb38a=_0x1be713+_0xdba419(0x155)+_0x291a6f+'\x20'+_0x10734f+'px\x20'+_0x21d201,_0x5cfeef=(_0x51439c===null||_0x51439c===void 0x0?void 0x0:_0x51439c['offsetX'])||0x0,_0x3ffa30=(_0x51439c===null||_0x51439c===void 0x0?void 0x0:_0x51439c[_0xdba419(0x154)])||0x0,_0x36b1bd=(_0x51439c===null||_0x51439c===void 0x0?void 0x0:_0x51439c[_0xdba419(0x143)])||'middle',_0x5f5dd1=(_0x51439c===null||_0x51439c===void 0x0?void 0x0:_0x51439c[_0xdba419(0x14d)])||_0xdba419(0x149);const _0x486f40=_0x4a0523[_0xdba419(0x15a)]||0x1;return new Text({'text':_0x259a81,'font':_0x1bb38a,'offsetX':_0x5cfeef,'offsetY':_0x3ffa30,'textAlign':_0x5f5dd1,'textBaseline':_0x36b1bd,'fill':new Fill({'color':getColor(_0x4a0523[_0xdba419(0x14b)],_0x486f40)}),'stroke':_getLabelStroke(_0x4a0523),'backgroundFill':_0x4a0523['fill']?new Fill({'color':getColor(_0x4a0523[_0xdba419(0x144)]||_0xdba419(0x14f),_0x486f40)}):undefined});}}else return undefined;}function a54_0x258c(){const _0x5ed2c3=['LOADED','getImageState','pow','offsetY','\x20normal\x20','outlineColor','border_width','normal','italic','opacity','6212997uCeAQE','8DVlgrZ','bold','1411536ySFkOE','markerColor','getResolutionForZoom','target','730oETGaM','ERROR','border','1536hNxbaz','142695RZcEcK','getView','family','border_color','alpha','343TObPRp','getImage','IDLE','distanceDisplayFar','distanceDisplayNear','listenImageChange','font','textBaseline','fill','hexa','940275aQWoEZ','outline','80685ifSSfX','center','size','color','30ychoRZ','textAlign','load','#2A2A2A','1358700VjFgjA'];a54_0x258c=function(){return _0x5ed2c3;};return a54_0x258c();}export function getColor(_0x715148,_0xe5f772){const _0x29e347=a54_0x1713;return a54_0x1d4b90(_0x715148)[_0x29e347(0x13b)](_0xe5f772!=undefined?_0xe5f772:0x1)[_0x29e347(0x145)]();}function _getLabelStroke(_0x5d278e){const _0x54e488=a54_0x1713;if(_0x5d278e[_0x54e488(0x164)])return new Stroke({'color':getColor(_0x5d278e[_0x54e488(0x13a)],_0x5d278e[_0x54e488(0x15a)]),'width':_0x5d278e[_0x54e488(0x157)]});if(_0x5d278e[_0x54e488(0x147)])return new Stroke({'color':getColor(_0x5d278e[_0x54e488(0x156)],_0x5d278e[_0x54e488(0x15a)]),'width':_0x5d278e['outlineWidth']});}export function preLoadImageRenderFunction(_0x3f486a,_0x107e16,_0x4c0485,_0x5ae756,_0x4aa7a4){const _0x15407e=a54_0x1713;let _0x2126a8;_0x3f486a[_0x15407e(0x15f)]?_0x2126a8=new a54_0x1be1ce(_0x3f486a):_0x2126a8=new Icon({'src':_0x3f486a['image']});let _0x35c64c=_0x2126a8[_0x15407e(0x152)]();_0x35c64c===a54_0xbd703a[_0x15407e(0x151)]||_0x35c64c===a54_0xbd703a[_0x15407e(0x163)]?_0x4aa7a4(_0x3f486a,_0x107e16,_0x4c0485,_0x5ae756,_0x2126a8[_0x15407e(0x13d)](0x60)):(_0x35c64c===a54_0xbd703a[_0x15407e(0x13e)]&&_0x2126a8[_0x15407e(0x14e)](),_0x2126a8[_0x15407e(0x141)](_0x11455a=>{const _0x2c7022=_0x15407e;_0x35c64c=_0x11455a[_0x2c7022(0x161)][_0x2c7022(0x152)](),(_0x35c64c===a54_0xbd703a[_0x2c7022(0x151)]||_0x35c64c===a54_0xbd703a[_0x2c7022(0x163)])&&_0x4aa7a4(_0x3f486a,_0x107e16,_0x4c0485,_0x5ae756,_0x2126a8[_0x2c7022(0x13d)](0x60));}));}
|
package/utils/ArrayUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x60cd6b,_0x5d9d01){const _0x3086d6=a59_0x529c,_0x5bb55f=_0x60cd6b();while(!![]){try{const _0x38b6c6=parseInt(_0x3086d6(0x1d9))/0x1+parseInt(_0x3086d6(0x1e0))/0x2+-parseInt(_0x3086d6(0x1d8))/0x3*(-parseInt(_0x3086d6(0x1df))/0x4)+parseInt(_0x3086d6(0x1d5))/0x5*(-parseInt(_0x3086d6(0x1de))/0x6)+-parseInt(_0x3086d6(0x1e1))/0x7+-parseInt(_0x3086d6(0x1d7))/0x8*(parseInt(_0x3086d6(0x1d6))/0x9)+parseInt(_0x3086d6(0x1dc))/0xa;if(_0x38b6c6===_0x5d9d01)break;else _0x5bb55f['push'](_0x5bb55f['shift']());}catch(_0x24904c){_0x5bb55f['push'](_0x5bb55f['shift']());}}}(a59_0x2d1e,0x5b0d5));export function getDeepth(_0x4a84c4){function _0x3953f9(_0x51c9ec,_0x39df57){return _0x51c9ec['reduce'](function(_0x45feb1,_0x4d41db){var _0x57d9e7;return Array['isArray'](_0x4d41db)&&(_0x57d9e7=_0x3953f9(_0x4d41db,_0x39df57+0x1)),_0x57d9e7>_0x45feb1?_0x57d9e7:_0x45feb1;},_0x39df57);}return _0x3953f9(_0x4a84c4,0x1);}export function compareArray(_0x2a6a34,_0x2009ca){const _0x54de64=a59_0x529c;if(_0x2a6a34[_0x54de64(0x1dd)]!==_0x2009ca['length'])return![];const _0x4c695d=_0x2a6a34[_0x54de64(0x1dd)];for(let _0x412806=0x0;_0x412806<_0x4c695d;_0x412806++){if(!compare(_0x2a6a34[_0x412806],_0x2009ca[_0x412806]))return![];}return!![];}function a59_0x2d1e(){const _0x3f23ff=['length','474rEEXif','366224EhqXay','99004xNgoAK','1667491YGENPU','every','isArray','15505ZwTziU','2516427OJhhIx','8yeLRDw','6GfgTun','451343BinEPl','keys','object','4517870nUYCYK'];a59_0x2d1e=function(){return _0x3f23ff;};return a59_0x2d1e();}export function compare(_0x292654,_0x5c13e9){const _0x245a6c=a59_0x529c;if(_0x292654===_0x5c13e9)return!![];if(typeof _0x292654!==typeof _0x5c13e9||_0x292654===null||_0x5c13e9===null)return![];if(Array[_0x245a6c(0x1d4)](_0x292654)){if(!Array[_0x245a6c(0x1d4)](_0x5c13e9))return![];return compareArray(_0x292654,_0x5c13e9);}if(typeof _0x292654===_0x245a6c(0x1db))return compareObject(_0x292654,_0x5c13e9);return![];}function a59_0x529c(_0x97d80d,_0x580440){const _0x2d1ecc=a59_0x2d1e();return a59_0x529c=function(_0x529cf2,_0x5ad551){_0x529cf2=_0x529cf2-0x1d3;let _0x459d35=_0x2d1ecc[_0x529cf2];return _0x459d35;},a59_0x529c(_0x97d80d,_0x580440);}export function compareObject(_0x12ad1c,_0x3cd837){const _0x54cd5f=a59_0x529c,_0xd6d3a4=Object[_0x54cd5f(0x1da)](_0x12ad1c),_0x5498ef=Object['keys'](_0x3cd837);if(_0xd6d3a4[_0x54cd5f(0x1dd)]!==_0x5498ef[_0x54cd5f(0x1dd)])return![];return _0xd6d3a4[_0x54cd5f(0x1d3)](_0x3b329b=>{if(!compare(_0x12ad1c[_0x3b329b],_0x3cd837[_0x3b329b]))return![];return!![];});}
|
package/utils/AxiosUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a60_0x121f9e=a60_0x3600;(function(_0x20f717,_0x3b7ccc){const _0x584c92=a60_0x3600,_0x4c2b0d=_0x20f717();while(!![]){try{const _0x157ecb=parseInt(_0x584c92(0x108))/0x1*(parseInt(_0x584c92(0x10e))/0x2)+parseInt(_0x584c92(0x109))/0x3*(parseInt(_0x584c92(0x113))/0x4)+parseInt(_0x584c92(0x10f))/0x5+-parseInt(_0x584c92(0x107))/0x6+parseInt(_0x584c92(0x110))/0x7+parseInt(_0x584c92(0x103))/0x8+parseInt(_0x584c92(0x10c))/0x9*(-parseInt(_0x584c92(0x105))/0xa);if(_0x157ecb===_0x3b7ccc)break;else _0x4c2b0d['push'](_0x4c2b0d['shift']());}catch(_0x1c7843){_0x4c2b0d['push'](_0x4c2b0d['shift']());}}}(a60_0x5b35,0x9158d));function a60_0x5b35(){const _0x2e8551=['4919615jldwKu','188146MViHkA','constructor','append','1236HrubTT','8722800qvEllW','ajax','23273530HrSQpu','stringify','6657816QiYfRm','2HQjpFH','11427NVNSxj','get','forEach','9gjbskU','create','754198VcKCLZ'];a60_0x5b35=function(){return _0x2e8551;};return a60_0x5b35();}import a60_0x2282b5 from'axios';import a60_0xc37958 from'jquery';const request=a60_0x2282b5[a60_0x121f9e(0x10d)]({'timeout':0xb4*0x3e8});export function jsonp(_0x5f1b6d){return new Promise((_0x25d514,_0x4c9e7f)=>{const _0xc415b1=a60_0x3600;a60_0xc37958[_0xc415b1(0x104)]({'url':_0x5f1b6d,'type':_0xc415b1(0x10a),'dataType':'jsonp','success':_0x40197e=>{_0x25d514(_0x40197e);},'error':_0xa15be9=>{_0x4c9e7f(_0xa15be9);}});});}export function stringify(_0x28b8a7){const _0x4d31c8=a60_0x121f9e,_0x18eede=new FormData();for(const _0x25a377 in _0x28b8a7){if(_0x28b8a7['hasOwnProperty'](_0x25a377)){if(_0x28b8a7[_0x25a377]){if(_0x28b8a7[_0x25a377][_0x4d31c8(0x111)]===Array)_0x28b8a7[_0x25a377][0x0]?_0x28b8a7[_0x25a377][0x0][_0x4d31c8(0x111)]===Object?_0x18eede[_0x4d31c8(0x112)](_0x25a377,JSON['stringify'](_0x28b8a7[_0x25a377])):_0x28b8a7[_0x25a377][_0x4d31c8(0x10b)]((_0x391fc4,_0x43df35)=>{const _0x5a9a03=_0x4d31c8;_0x18eede[_0x5a9a03(0x112)](_0x25a377+('['+_0x43df35+']'),_0x391fc4);}):_0x18eede[_0x4d31c8(0x112)](_0x25a377+'[]','');else _0x28b8a7[_0x25a377][_0x4d31c8(0x111)]===Object?_0x18eede[_0x4d31c8(0x112)](_0x25a377,JSON[_0x4d31c8(0x106)](_0x28b8a7[_0x25a377])):_0x18eede[_0x4d31c8(0x112)](_0x25a377,_0x28b8a7[_0x25a377]);}else _0x28b8a7[_0x25a377]===0x0?_0x18eede[_0x4d31c8(0x112)](_0x25a377,'0'):_0x18eede[_0x4d31c8(0x112)](_0x25a377,'');}}return _0x18eede;}function a60_0x3600(_0x567bb8,_0x34aa88){const _0x5b355c=a60_0x5b35();return a60_0x3600=function(_0x36004e,_0x59c4a9){_0x36004e=_0x36004e-0x103;let _0x56ed27=_0x5b355c[_0x36004e];return _0x56ed27;},a60_0x3600(_0x567bb8,_0x34aa88);}export default request;
|
package/utils/EsriUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a61_0x5151(){const _0x3a50f6=['347847HAAQec','227195ZlLLIg','replace','indexOf','1642TFCzgJ','1577ddwSIf','40bzAXsd','10114160agYCgJ','11553288UElFbK','toUpperCase','8937297oAwtsf','1432400WyULBH','EPSG:','114gZmrOZ'];a61_0x5151=function(){return _0x3a50f6;};return a61_0x5151();}function a61_0x1ebc(_0x1663bc,_0x370d5d){const _0x51516a=a61_0x5151();return a61_0x1ebc=function(_0x1ebcce,_0x362cb2){_0x1ebcce=_0x1ebcce-0x1b6;let _0x7d4c2f=_0x51516a[_0x1ebcce];return _0x7d4c2f;},a61_0x1ebc(_0x1663bc,_0x370d5d);}(function(_0x3af2b1,_0x39f690){const _0x876d33=a61_0x1ebc,_0x38a613=_0x3af2b1();while(!![]){try{const _0x1221ac=-parseInt(_0x876d33(0x1bf))/0x1*(-parseInt(_0x876d33(0x1be))/0x2)+parseInt(_0x876d33(0x1ba))/0x3*(parseInt(_0x876d33(0x1c0))/0x4)+-parseInt(_0x876d33(0x1bb))/0x5*(parseInt(_0x876d33(0x1b9))/0x6)+parseInt(_0x876d33(0x1c1))/0x7+-parseInt(_0x876d33(0x1c2))/0x8+-parseInt(_0x876d33(0x1b6))/0x9+parseInt(_0x876d33(0x1b7))/0xa;if(_0x1221ac===_0x39f690)break;else _0x38a613['push'](_0x38a613['shift']());}catch(_0x3bb46e){_0x38a613['push'](_0x38a613['shift']());}}}(a61_0x5151,0xb51a0));export function getEsriSpatialReference(_0x487f91){const _0x13b506=a61_0x1ebc;let _0x213565;if(_0x487f91){let _0x5e7f74=_0x487f91[_0x13b506(0x1c3)]();_0x5e7f74[_0x13b506(0x1bd)](_0x13b506(0x1b8))===0x0?_0x213565=_0x487f91[_0x13b506(0x1bc)](_0x13b506(0x1b8),''):_0x213565=_0x487f91;}return _0x213565;}
|
package/utils/GeometryUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a64_0xe9def3=a64_0x138f;(function(_0x191b1c,_0xa3db71){const _0x5d47b1=a64_0x138f,_0x203630=_0x191b1c();while(!![]){try{const _0x40060d=-parseInt(_0x5d47b1(0xc8))/0x1*(-parseInt(_0x5d47b1(0xe2))/0x2)+parseInt(_0x5d47b1(0xd4))/0x3*(parseInt(_0x5d47b1(0xc4))/0x4)+-parseInt(_0x5d47b1(0xe1))/0x5*(-parseInt(_0x5d47b1(0xdf))/0x6)+-parseInt(_0x5d47b1(0xbf))/0x7*(-parseInt(_0x5d47b1(0xd7))/0x8)+-parseInt(_0x5d47b1(0xd6))/0x9+parseInt(_0x5d47b1(0xd0))/0xa+-parseInt(_0x5d47b1(0xe3))/0xb;if(_0x40060d===_0xa3db71)break;else _0x203630['push'](_0x203630['shift']());}catch(_0x5e05cc){_0x203630['push'](_0x203630['shift']());}}}(a64_0x4303,0xabc0d));import a64_0x10acd0 from'ol/proj/Projection';import{distance as a64_0x99b437}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getArea as a64_0x271554}from'ol/sphere';import a64_0x51ddbe from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a64_0x53d45e from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a64_0x184a5d from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a64_0x199f84 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a64_0x4ca1a1 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a64_0x2ce365 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a64_0x1fff43 from'ol/format/GeoJSON';import{LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import a64_0x3c429a from'ol/format/WKT';import a64_0xd72c1d from'ol/format/EsriJSON';const _parser=new a64_0x199f84(undefined,undefined);_parser[a64_0xe9def3(0xdd)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x494610,_0x1fa620,_0x1d7f56=![]){const _0x3acb50=a64_0xe9def3;if(!_0x494610)return 0x0;const _0x5cff3b=isSpheroid(_0x1fa620);if(_0x1d7f56)return a64_0x271554(_0x494610,{'projection':_0x1fa620});else{if(_0x5cff3b){const _0x408690=getGeoProjection(_0x494610,_0x1fa620);return _0x494610['clone']()[_0x3acb50(0xde)](_0x1fa620,_0x408690)[_0x3acb50(0xcb)]();}return _0x494610[_0x3acb50(0xcb)]();}}export function bufferOp(_0x2c64ca,_0x68ea21){const _0x472a57=a64_0xe9def3,_0x381d22=_parser[_0x472a57(0xcc)](_0x2c64ca),_0x7c084b=a64_0x51ddbe[_0x472a57(0xda)](_0x381d22,_0x68ea21);return _parser[_0x472a57(0xd2)](_0x7c084b);}export function bufferPixel(_0x5dc182,_0x3d4aa0,_0x1b722c){const _0x1ebc71=a64_0xe9def3,_0x34f94e=_0x1b722c['getPixelFromCoordinate'](_0x5dc182['getCoordinates']()),_0x597553=_0x1b722c[_0x1ebc71(0xca)]([_0x34f94e[0x0]+_0x3d4aa0,_0x34f94e[0x1]]),_0x1d3f97=a64_0x99b437(_0x5dc182['getCoordinates'](),_0x597553),_0xe48789=bufferOp(_0x5dc182,_0x1d3f97);return _0xe48789;}export function contains(_0x3a7596,_0x469443){const _0x49b521=a64_0xe9def3,_0x20fe7f=_parser['read'](_0x3a7596),_0x2f9610=_parser[_0x49b521(0xcc)](_0x469443);return a64_0x53d45e[_0x49b521(0xc0)](_0x20fe7f,_0x2f9610);}export function crosses(_0xaf769a,_0x5cc8af){const _0x592ef1=_parser['read'](_0xaf769a),_0x509e18=_parser['read'](_0x5cc8af);return a64_0x53d45e['crosses'](_0x592ef1,_0x509e18);}export function intersects(_0x46326d,_0x37b7dc){const _0xdc8952=a64_0xe9def3,_0x2aed97=_parser[_0xdc8952(0xcc)](_0x46326d),_0x509ce4=_parser[_0xdc8952(0xcc)](_0x37b7dc);return a64_0x53d45e[_0xdc8952(0xc6)](_0x2aed97,_0x509ce4);}export function intersection(_0x1310f2,_0x1f3781){const _0x31129c=a64_0xe9def3,_0xa17867=_parser[_0x31129c(0xcc)](_0x1310f2),_0x5e3243=_parser[_0x31129c(0xcc)](_0x1f3781);return _parser['write'](a64_0x184a5d[_0x31129c(0xd1)](_0xa17867,_0x5e3243));}export function union(_0x47a3a2,_0x4dfbde){const _0x456774=a64_0xe9def3,_0x30c0ac=_parser[_0x456774(0xcc)](_0x47a3a2),_0x187c20=_parser[_0x456774(0xcc)](_0x4dfbde);return _parser['write'](a64_0x184a5d[_0x456774(0xc9)](_0x30c0ac,_0x187c20));}export function difference(_0x1a1ba8,_0x79a669){const _0x549573=a64_0xe9def3,_0x401ef8=_parser[_0x549573(0xcc)](_0x1a1ba8),_0x2f8b9d=_parser[_0x549573(0xcc)](_0x79a669);return _parser[_0x549573(0xd2)](a64_0x184a5d[_0x549573(0xe0)](_0x401ef8,_0x2f8b9d));}function a64_0x138f(_0x516958,_0x167d8e){const _0x4303d7=a64_0x4303();return a64_0x138f=function(_0x138f5e,_0x3f1e0e){_0x138f5e=_0x138f5e-0xbf;let _0x57448a=_0x4303d7[_0x138f5e];return _0x57448a;},a64_0x138f(_0x516958,_0x167d8e);}export function distance(_0x156d33,_0x17a70f){const _0x15a132=a64_0xe9def3,_0x2d1ddf=_parser[_0x15a132(0xcc)](_0x156d33),_0x388b65=_parser[_0x15a132(0xcc)](_0x17a70f);return _parser[_0x15a132(0xd2)](a64_0x2ce365[_0x15a132(0xce)](_0x2d1ddf,_0x388b65));}export function jstlSplit(_0x918fcf,_0x3ea165){const _0x5d3513=a64_0xe9def3,_0x115532=_parser[_0x5d3513(0xcc)](_0x918fcf),_0x38f01f=_parser[_0x5d3513(0xcc)](_0x3ea165),_0x5c3786=_0x115532[_0x5d3513(0xc1)]();let _0xc430f8=[];function _0x5bb984(_0x2c484e,_0x24de7){const _0x85d5b1=_0x5d3513;let _0xc4404b=_0x2c484e['_holes'],_0x485be5=_0x2c484e[_0x85d5b1(0xdc)]()[_0x85d5b1(0xc9)](_0x24de7),_0x5ee758=new a64_0x4ca1a1();_0x5ee758[_0x85d5b1(0xc7)](_0x485be5);let _0x57e188=_0x5ee758['getPolygons']();_0x57e188[_0x85d5b1(0xc2)][_0x85d5b1(0xd5)]==0x2&&_0x57e188['array'][_0x85d5b1(0xcd)](_0x198db0=>{const _0x64cc48=_0x85d5b1;_0xc4404b[_0x64cc48(0xcd)](_0x1f8f59=>{const _0x4507d7=_0x64cc48;let _0x2c5d79=[];for(let _0x3f7440 in _0x1f8f59[_0x4507d7(0xd8)]()){_0x2c5d79[_0x4507d7(0xd9)]([_0x1f8f59[_0x4507d7(0xd8)]()[_0x3f7440]['x'],_0x1f8f59['getCoordinates']()[_0x3f7440]['y']]);}_0x1f8f59=_parser[_0x4507d7(0xcc)]({'coordinates':[_0x2c5d79],'type':_0x4507d7(0xc3)}),_0x198db0=_0x198db0['difference'](_0x1f8f59);}),_0xc430f8[_0x64cc48(0xd9)](_parser[_0x64cc48(0xd2)](_0x198db0));});}if(_0x5c3786===_0x5d3513(0xc3))_0x5bb984(_0x115532,_0x38f01f);else{if(_0x5c3786===_0x5d3513(0xd3))_0x115532[_0x5d3513(0xc5)][_0x5d3513(0xcd)]((_0x4423b3,_0x25d717)=>{_0x5bb984(_0x4423b3,_0x38f01f);});else throw new Error('无法识别的数据类型');}return _0xc430f8;}export function fromWKT(_0x1c1b60,_0x999994,_0x272968){const _0x6bb354=a64_0xe9def3,_0x23d4c8=new a64_0x3c429a();_0x999994&®isterProj(_0x999994);_0x272968&®isterProj(_0x272968);const _0x2c6001=_0x23d4c8[_0x6bb354(0xdb)](_0x1c1b60);return _0x999994&&_0x272968?_0x2c6001[_0x6bb354(0xde)](new a64_0x10acd0({'code':_0x999994}),new a64_0x10acd0({'code':_0x272968})):_0x2c6001;}export function fromWKTs(_0x38d94c,_0x13ae27,_0x3bfd6d){const _0x180860=a64_0xe9def3,_0x265556=new a64_0x3c429a();let _0x2c495c=[];_0x13ae27&®isterProj(_0x13ae27);_0x3bfd6d&®isterProj(_0x3bfd6d);let _0x28cc34,_0x169389;_0x13ae27&&_0x3bfd6d&&(_0x28cc34=new a64_0x10acd0({'code':_0x13ae27}),_0x169389=new a64_0x10acd0({'code':_0x3bfd6d}));for(let _0x3fa357=0x0;_0x3fa357<_0x38d94c[_0x180860(0xd5)];_0x3fa357++){_0x28cc34&&_0x169389?_0x2c495c[_0x180860(0xd9)](_0x265556[_0x180860(0xdb)](_0x38d94c[_0x3fa357])['transform'](_0x28cc34,_0x169389)):_0x2c495c[_0x180860(0xd9)](_0x265556[_0x180860(0xdb)](_0x38d94c[_0x3fa357]));}return _0x2c495c;}export function toWKT(_0x52e580){const _0x3fe6e9=a64_0xe9def3,_0x386042=new a64_0x3c429a();return _0x386042[_0x3fe6e9(0xcf)](_0x52e580);}function a64_0x4303(){const _0xfc6c28=['23262PZwDqq','difference','1080FHjFPN','14iPbOYB','40173595fHnRRu','463274bmZNiT','contains','getGeometryType','array','Polygon','4ftewVQ','_geometries','intersects','add','100237ymErfz','union','getCoordinateFromPixel','getArea','read','forEach','distance','writeGeometry','11349070kQKfJv','intersection','write','MultiPolygon','2502057EvCFCB','length','1901547fMdCVd','128nSUyES','getCoordinates','push','bufferOp','readGeometry','getExteriorRing','inject','transform'];a64_0x4303=function(){return _0xfc6c28;};return a64_0x4303();}export function toGeoJSON(_0x178c90){const _0xe1cc91=a64_0xe9def3,_0x512daf=new a64_0x1fff43();return _0x512daf[_0xe1cc91(0xcf)](_0x178c90);}export function fromGeoJSON(_0x142fd3){const _0x5abecd=new a64_0x1fff43();return _0x5abecd['readGeometry'](_0x142fd3);}export function toEsriJSON(_0x4790f4){const _0x4225bb=a64_0xe9def3,_0x21ffcf=new a64_0xd72c1d();return _0x21ffcf[_0x4225bb(0xcf)](_0x4790f4);}export function fromEsriJSON(_0x14b6c9){const _0x116e43=a64_0xe9def3,_0x1789a5=new a64_0xd72c1d();return _0x1789a5[_0x116e43(0xdb)](_0x14b6c9);}export function expandExtent(_0x54b146,_0x32cdb9){const _0x265180=_0x54b146[0x0],_0x3b7694=_0x54b146[0x1],_0x2b3bac=_0x54b146[0x2],_0x2ade75=_0x54b146[0x3],_0x55bf54=(_0x265180+_0x2b3bac)/0x2,_0x49522b=(_0x3b7694+_0x2ade75)/0x2,_0x320c38=_0x2b3bac-_0x265180,_0x5ac4f6=_0x2ade75-_0x3b7694,_0x1fe95b=_0x320c38*_0x32cdb9,_0x5a5b98=_0x5ac4f6*_0x32cdb9,_0x4187af=_0x55bf54-_0x1fe95b/0x2,_0x3c3bcc=_0x55bf54+_0x1fe95b/0x2,_0x4a2224=_0x49522b-_0x5a5b98/0x2,_0x2be3ad=_0x49522b+_0x5a5b98/0x2;return[_0x4187af,_0x4a2224,_0x3c3bcc,_0x2be3ad];}
|
package/utils/LayerUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x51afe3,_0x270c29){const _0x2eaf3a=a65_0x46e3,_0x1100f4=_0x51afe3();while(!![]){try{const _0x4a311d=parseInt(_0x2eaf3a(0x11e))/0x1+parseInt(_0x2eaf3a(0x118))/0x2+-parseInt(_0x2eaf3a(0x113))/0x3+parseInt(_0x2eaf3a(0x11c))/0x4+-parseInt(_0x2eaf3a(0x116))/0x5+-parseInt(_0x2eaf3a(0x11a))/0x6+-parseInt(_0x2eaf3a(0x11b))/0x7*(parseInt(_0x2eaf3a(0x120))/0x8);if(_0x4a311d===_0x270c29)break;else _0x1100f4['push'](_0x1100f4['shift']());}catch(_0x3f2ab3){_0x1100f4['push'](_0x1100f4['shift']());}}}(a65_0x31e1,0x51e41));export function mapServiceTreeTransform(_0x2dbccf){const _0x12ced2=a65_0x46e3;let _0x2e36da=[];return _0x2dbccf&&_0x2dbccf[_0x12ced2(0x11d)]>0x0&&(_0x2dbccf[_0x12ced2(0x11f)](_0x1f17ae=>{const _0x365766=_0x12ced2;(!_0x1f17ae[_0x365766(0x112)]||_0x1f17ae[_0x365766(0x112)]=='')&&_0x2e36da[_0x365766(0x119)](Object['assign']({},_0x1f17ae));}),_0x2e36da=_0x2e36da[_0x12ced2(0x114)]((_0x2a06c5,_0x59c2eb)=>{const _0x374220=_0x12ced2;return(_0x2a06c5[_0x374220(0x117)]?_0x2a06c5[_0x374220(0x117)]:0x0)-(_0x59c2eb[_0x374220(0x117)]?_0x59c2eb[_0x374220(0x117)]:0x0);}),_0x2e36da[_0x12ced2(0x11f)](_0x35c4e2=>{const _0x20074a=_0x12ced2;_0x35c4e2[_0x20074a(0x121)]=setChildren(_0x35c4e2['id'],_0x2dbccf);})),_0x2e36da;}function setChildren(_0x174e0a,_0x15e1f9){const _0x1245d3=a65_0x46e3;let _0x32ad66=[];return _0x15e1f9['forEach'](_0x58f3fd=>{const _0x21f77f=a65_0x46e3;_0x174e0a===(_0x58f3fd[_0x21f77f(0x112)]==null?'':_0x58f3fd[_0x21f77f(0x112)])&&_0x32ad66[_0x21f77f(0x119)](Object[_0x21f77f(0x115)]({},_0x58f3fd));}),_0x32ad66=_0x32ad66[_0x1245d3(0x114)]((_0x430608,_0x1c9c03)=>{const _0x31c3f5=_0x1245d3;return(_0x430608[_0x31c3f5(0x117)]?_0x430608[_0x31c3f5(0x117)]:0x0)-(_0x1c9c03[_0x31c3f5(0x117)]?_0x1c9c03[_0x31c3f5(0x117)]:0x0);}),_0x32ad66['length']>0x0&&_0x32ad66[_0x1245d3(0x11f)](_0x2d3cd9=>{_0x2d3cd9['children']=setChildren(_0x2d3cd9['id'],_0x15e1f9);}),_0x32ad66;}function a65_0x46e3(_0x4a5eca,_0x4aaa28){const _0x31e1b7=a65_0x31e1();return a65_0x46e3=function(_0x46e356,_0x533bf6){_0x46e356=_0x46e356-0x112;let _0x113c90=_0x31e1b7[_0x46e356];return _0x113c90;},a65_0x46e3(_0x4a5eca,_0x4aaa28);}function a65_0x31e1(){const _0x599f25=['621867rbnTLN','forEach','13384NYlkaV','children','parentId','29628YNpaap','sort','assign','1194020FhyAUZ','showIndex','295940NNDwhp','push','3080880KJxmBJ','1267bXjqpd','2522244HUcYZI','length'];a65_0x31e1=function(){return _0x599f25;};return a65_0x31e1();}
|