ym-gis-2d 1.0.11 → 1.0.13
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/assets/main.css +12 -0
- package/capabilities/index.d.ts.map +1 -1
- package/capabilities/index.js +1 -1
- package/capabilities/index.js.map +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/LegendControl.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/feature/FeatureManager.js.map +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.d.ts +8 -7
- package/mapView/Map.d.ts.map +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/Map.js.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/style.css +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(_0x1901d5,_0x4eb12c){const _0x3b5048=a63_0x3eea,_0x324dd7=_0x1901d5();while(!![]){try{const _0x21639c=-parseInt(_0x3b5048(0x20d))/0x1+-parseInt(_0x3b5048(0x1e7))/0x2*(-parseInt(_0x3b5048(0x1dc))/0x3)+-parseInt(_0x3b5048(0x1e8))/0x4+-parseInt(_0x3b5048(0x1ed))/0x5*(parseInt(_0x3b5048(0x1d5))/0x6)+parseInt(_0x3b5048(0x1e9))/0x7+-parseInt(_0x3b5048(0x1f1))/0x8+parseInt(_0x3b5048(0x1ef))/0x9;if(_0x21639c===_0x4eb12c)break;else _0x324dd7['push'](_0x324dd7['shift']());}catch(_0x5ea8bc){_0x324dd7['push'](_0x324dd7['shift']());}}}(a63_0x19f7,0xebbc2));import{parseImage}from'../utils/UrlUtil';function a63_0x3eea(_0x127602,_0x45ad96){const _0x19f781=a63_0x19f7();return a63_0x3eea=function(_0x3eeac6,_0x4fc7a1){_0x3eeac6=_0x3eeac6-0x1ca;let _0xb9a838=_0x19f781[_0x3eeac6];return _0xb9a838;},a63_0x3eea(_0x127602,_0x45ad96);}import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x37ec31 from'ol/style/Style';import a63_0x2a6ad3 from'ol/style/Circle';import a63_0xff49c4 from'ol/style/Fill';import a63_0x41cae8 from'ol/style/Stroke';function getMainStyle(_0x431f9d,_0x1043f1=0x0,_0x4c6fe9){const _0x55a75b=a63_0x3eea;let _0x53c86f;return _0x431f9d[_0x55a75b(0x201)]||_0x431f9d[_0x55a75b(0x1f3)]?_0x53c86f=new a63_0x37ec31({'renderer':(_0x1c3926,_0xf2f6bd)=>{preLoadImageRenderFunction(_0x431f9d,_0x1c3926,_0xf2f6bd,_0x4c6fe9,_rendererFunction);},'zIndex':Number(_0x1043f1)}):_0x53c86f=new a63_0x37ec31({'image':new a63_0x2a6ad3({'radius':_0x431f9d['radius']?_0x431f9d[_0x55a75b(0x1ce)]:_0x431f9d[_0x55a75b(0x200)],'fill':new a63_0xff49c4({'color':getColor(_0x431f9d[_0x55a75b(0x1fa)],_0x431f9d['opacity'])}),'stroke':_0x431f9d[_0x55a75b(0x1e6)]&&_0x431f9d[_0x55a75b(0x1fd)]?new a63_0x41cae8({'color':getColor(_0x431f9d['outlineColor'],_0x431f9d['outlineOpacity']),'width':_0x431f9d[_0x55a75b(0x20c)]}):undefined}),'zIndex':Number(_0x1043f1)}),_0x53c86f;}function _rendererFunction(_0x364f7e,_0x1ec6a8,_0x50323d,_0x120ed5,_0x44e962){const _0x4902ab=a63_0x3eea;if(!_0x44e962||_0x44e962[_0x4902ab(0x1cf)]===0x0){let _0x24ec57=new Image();_0x24ec57['src']=_0x364f7e[_0x4902ab(0x201)];}if(_0x364f7e[_0x4902ab(0x209)]&&_0x364f7e[_0x4902ab(0x1fa)]!==''){let _0x1e6e1a=_0x364f7e[_0x4902ab(0x1eb)]||0x1,_0x26cc0b=_0x364f7e[_0x4902ab(0x1cf)]||_0x44e962[_0x4902ab(0x1cf)]*_0x1e6e1a,_0x3908bf=_0x364f7e[_0x4902ab(0x1f5)]||_0x44e962[_0x4902ab(0x1f5)]*_0x1e6e1a;_0x26cc0b=_0x26cc0b*_0x50323d[_0x4902ab(0x1f6)],_0x3908bf=_0x3908bf*_0x50323d['pixelRatio'];const _0xa22ad6=document['createElement'](_0x4902ab(0x1d3));_0xa22ad6[_0x4902ab(0x1cf)]=_0x26cc0b,_0xa22ad6[_0x4902ab(0x1f5)]=_0x3908bf;const _0x416082=_0xa22ad6[_0x4902ab(0x1d6)]('2d');_0x416082===null||_0x416082===void 0x0?void 0x0:_0x416082['drawImage'](_0x44e962,0x0,0x0,_0x26cc0b,_0x3908bf);let _0x243276=_0x416082===null||_0x416082===void 0x0?void 0x0:_0x416082[_0x4902ab(0x1ea)](0x0,0x0,_0x26cc0b,_0x3908bf),_0xd42a26=_0x243276===null||_0x243276===void 0x0?void 0x0:_0x243276[_0x4902ab(0x1f9)];_0x44e962=_0xa22ad6;let _0x1e3226=HexToRgb(_0x364f7e[_0x4902ab(0x1fa)]);if(_0xd42a26&&_0x1e3226)for(var _0x5823b9=0x0;_0x5823b9<_0xd42a26[_0x4902ab(0x1d1)];_0x5823b9+=0x4){_0xd42a26[_0x5823b9]=_0x1e3226[0x0],_0xd42a26[_0x5823b9+0x1]=_0x1e3226[0x1],_0xd42a26[_0x5823b9+0x2]=_0x1e3226[0x2];}_0x243276&&(_0x416082===null||_0x416082===void 0x0?void 0x0:_0x416082['putImageData'](_0x243276,0x0,0x0));}let _0x195b94=_0x50323d[_0x4902ab(0x1d4)],_0x5b5690=_0x50323d[_0x4902ab(0x1f6)],_0x854b5d=_0x195b94[_0x4902ab(0x20f)](),_0x15e165=_0x195b94['getType'](),_0x393a42=[];switch(_0x15e165){case _0x4902ab(0x1fe):_0x393a42=_0x195b94[_0x4902ab(0x1cb)]();break;case _0x4902ab(0x1da):_0x393a42=_0x195b94['getFlatMidpoints'](),_0x854b5d=0x2;break;case _0x4902ab(0x1e4):_0x393a42=_0x195b94[_0x4902ab(0x208)](),_0x854b5d=0x3;break;case _0x4902ab(0x1db):{let _0x366a0c=_0x195b94[_0x4902ab(0x1e1)]();_0x393a42=[];for(let _0x13a56d=0x0,_0xa52747=_0x366a0c[_0x4902ab(0x1d1)];_0x13a56d<_0xa52747;_0x13a56d+=0x3){_0x393a42['push'](_0x366a0c[_0x13a56d],_0x366a0c[_0x13a56d+0x1]);}if(_0x393a42[_0x4902ab(0x1d1)]===0x0)return;_0x854b5d=0x2;break;}}if(_0x393a42[_0x4902ab(0x1d1)]>0x0&&_0x120ed5)for(let _0x497276=0x0,_0x36e881=_0x393a42[_0x4902ab(0x1d1)];_0x497276<_0x36e881;_0x497276+=_0x854b5d){let _0x47477a=[_0x393a42[_0x497276],_0x393a42[_0x497276+0x1]],_0x4c8dba=_0x120ed5[_0x4902ab(0x202)](_0x47477a);_0x4c8dba=[_0x4c8dba[0x0]*_0x5b5690,_0x4c8dba[0x1]*_0x5b5690],drawImage(_0x364f7e,_0x4c8dba,_0x50323d,_0x44e962);}else{if(_0x15e165===_0x4902ab(0x1d0))for(let _0x3b7e5d of _0x1ec6a8){drawImage(_0x364f7e,_0x3b7e5d,_0x50323d,_0x44e962);}else drawImage(_0x364f7e,_0x1ec6a8,_0x50323d,_0x44e962);}}function HexToRgb(_0x432d2b){const _0x33c594=a63_0x3eea;_0x432d2b=_0x432d2b[_0x33c594(0x1d8)]('#','');let _0x58932d=_0x432d2b[_0x33c594(0x1f2)](/../g);if(_0x58932d){for(let _0x4e5d74=0x0;_0x4e5d74<0x3;_0x4e5d74++)_0x58932d[_0x4e5d74]=parseInt(_0x58932d[_0x4e5d74],0x10);}return _0x58932d;}export function getImageOlStyle(_0x426136,_0x4c7602,_0x4b9d5c,_0x240c34){const _0x1dbb2a=a63_0x3eea;var _0x42700e;if(_0x426136&&_0x426136['show']!==![]){_0x426136=JSON[_0x1dbb2a(0x203)](JSON[_0x1dbb2a(0x1ec)](_0x426136)),_0x4c7602=(_0x42700e=_0x426136[_0x1dbb2a(0x1f7)])!==null&&_0x42700e!==void 0x0?_0x42700e:_0x4c7602;let _0x165666=isShowStyle(_0x426136,_0x4b9d5c,_0x240c34);if(_0x165666)return _0x426136[_0x1dbb2a(0x201)]=parseImage(_0x426136[_0x1dbb2a(0x201)]),getMainStyle(_0x426136,_0x4c7602,_0x240c34);}}export function getPointStyle(_0x5e7b72,_0x4e5bb0,_0x66b59,_0x481673){const _0x2409e5=a63_0x3eea;var _0x4ca472,_0x372753;_0x5e7b72=JSON[_0x2409e5(0x203)](JSON[_0x2409e5(0x1ec)](_0x5e7b72));let _0x5628b6=(_0x4ca472=_0x5e7b72[_0x2409e5(0x1f7)])!==null&&_0x4ca472!==void 0x0?_0x4ca472:0x0,_0x404dcf=[],_0x56d554=getImageOlStyle(_0x5e7b72,_0x5628b6,_0x66b59,_0x481673);_0x56d554&&_0x404dcf[_0x2409e5(0x205)](_0x56d554);let _0x3e96f5=getImageOlStyle(_0x5e7b72[_0x2409e5(0x1f4)],_0x5628b6,_0x66b59,_0x481673);_0x3e96f5&&_0x404dcf['push'](_0x3e96f5);if(_0x5e7b72[_0x2409e5(0x1ff)]&&_0x5e7b72[_0x2409e5(0x1ff)][_0x2409e5(0x1e0)]!==![]){let _0x158fe4=isShowStyle(_0x5e7b72[_0x2409e5(0x1ff)],_0x66b59,_0x481673);if(_0x158fe4){let _0x34f028=(_0x372753=_0x5e7b72[_0x2409e5(0x1ff)][_0x2409e5(0x1f7)])!==null&&_0x372753!==void 0x0?_0x372753:_0x5628b6,_0x46f5ad=_0x5e7b72[_0x2409e5(0x1ff)][_0x2409e5(0x1e3)]||_0x2409e5(0x1cc)+_0x5e7b72[_0x2409e5(0x1ff)][_0x2409e5(0x1d9)]+_0x2409e5(0x1cd);_0x5e7b72[_0x2409e5(0x1eb)]=0x1,_0x5e7b72[_0x2409e5(0x1cf)]=0x30,_0x5e7b72[_0x2409e5(0x1f5)]=0x30,_0x5e7b72['verticalOrigin']=_0x2409e5(0x1d2),_0x404dcf[_0x2409e5(0x205)](getMainStyle(_0x5e7b72[_0x2409e5(0x1ff)],_0x34f028,_0x481673));}}if(_0x5e7b72[_0x2409e5(0x1ee)]&&_0x5e7b72[_0x2409e5(0x1ee)][_0x2409e5(0x1e0)]!==![]){let _0x1d86f2=new a63_0x37ec31({'text':createTextStyle(_0x5e7b72[_0x2409e5(0x1ee)],_0x4e5bb0,_0x66b59,_0x481673),'zIndex':Number(_0x5628b6)+0x1});_0x404dcf[_0x2409e5(0x205)](_0x1d86f2);}return _0x404dcf;}export function getPointSingleStyle(_0x438013,_0xc1a764,_0x6cafd7,_0x3926d3){const _0x294a20=a63_0x3eea;_0xc1a764=JSON[_0x294a20(0x203)](JSON[_0x294a20(0x1ec)](_0xc1a764));let _0x2698d9=_0xc1a764[_0x294a20(0x1ee)],_0x59c54f;_0x2698d9&&(_0x59c54f=_0x2698d9['text']?_0x2698d9[_0x294a20(0x20a)]:'');if(_0x438013===_0x294a20(0x1f4))return _0xc1a764['image']=parseImage(_0xc1a764[_0x294a20(0x201)]),getPointStyle(_0xc1a764,_0x59c54f,_0x6cafd7,_0x3926d3);else{if(_0x438013===_0x294a20(0x1ff)){let _0x1c1268=_0xc1a764[_0x294a20(0x1e3)]||_0x294a20(0x1cc)+_0xc1a764[_0x294a20(0x1d9)]+_0x294a20(0x1cd);return _0xc1a764[_0x294a20(0x1eb)]=0x1,_0xc1a764[_0x294a20(0x1cf)]=0x30,_0xc1a764[_0x294a20(0x1f5)]=0x30,_0xc1a764[_0x294a20(0x1f8)]=_0x294a20(0x1d2),getPointStyle(_0xc1a764,_0x59c54f,_0x6cafd7,_0x3926d3);}else{if(_0x438013===_0x294a20(0x1fb))return getPointStyle(_0xc1a764,_0x59c54f,_0x6cafd7,_0x3926d3);else{if(_0x438013===_0x294a20(0x1d7))return getPointStyle(_0xc1a764,_0x59c54f,_0x6cafd7,_0x3926d3);else return _0x438013===_0x294a20(0x1ee)?new a63_0x37ec31({'text':createTextStyle(_0xc1a764,_0xc1a764[_0x294a20(0x20a)],_0x6cafd7,_0x3926d3),'zIndex':_0xc1a764[_0x294a20(0x1f7)]}):getPointStyle(_0xc1a764,_0x59c54f,_0x6cafd7,_0x3926d3);}}}}function drawImage(_0x575192,_0x13e9c7,_0x1a0698,_0x5f0931){const _0x2f1764=a63_0x3eea;var _0x5bf00c,_0x1df59d,_0xa9c018,_0x33916a;let _0x3550af=_0x1a0698[_0x2f1764(0x20b)];try{_0x3550af['save']();let _0x1d0daa=Number(_0x575192[_0x2f1764(0x204)]||((_0x5bf00c=_0x575192['pixelOffset'])===null||_0x5bf00c===void 0x0?void 0x0:_0x5bf00c[0x0])||0x0),_0x2725f3=Number(_0x575192['pixelOffsetY']||((_0x1df59d=_0x575192[_0x2f1764(0x1df)])===null||_0x1df59d===void 0x0?void 0x0:_0x1df59d[0x1])||0x0);_0x3550af['translate'](_0x13e9c7[0x0]+_0x1d0daa,_0x13e9c7[0x1]+_0x2725f3);if(_0x575192[_0x2f1764(0x1e5)])_0x3550af[_0x2f1764(0x20e)](toRadians(_0x575192[_0x2f1764(0x1e5)]));_0x3550af['globalAlpha']=_0x575192[_0x2f1764(0x1ca)]!=null?_0x575192[_0x2f1764(0x1ca)]:0x1;if(_0x5f0931[_0x2f1764(0x1cf)]>0x0){let _0x31f28e=_0x575192[_0x2f1764(0x1eb)]||0x1,_0x1b4047=_0x575192['width']||_0x5f0931[_0x2f1764(0x1cf)]*_0x31f28e,_0x610041=_0x575192['height']||_0x5f0931['height']*_0x31f28e;_0x1b4047=_0x1b4047*_0x1a0698['pixelRatio'],_0x610041=_0x610041*_0x1a0698[_0x2f1764(0x1f6)];_0x575192[_0x2f1764(0x209)]&&(_0x1b4047=_0x5f0931[_0x2f1764(0x1cf)],_0x610041=_0x5f0931[_0x2f1764(0x1f5)]);let _0x27d18c;switch((_0xa9c018=_0x575192[_0x2f1764(0x207)])===null||_0xa9c018===void 0x0?void 0x0:_0xa9c018[_0x2f1764(0x1de)]()){default:case'CENTER':_0x27d18c=-_0x1b4047/0x2;break;case _0x2f1764(0x1f0):_0x27d18c=0x0;break;case _0x2f1764(0x211):_0x27d18c=-_0x1b4047;break;}let _0x47f3cd;switch((_0x33916a=_0x575192[_0x2f1764(0x1f8)])===null||_0x33916a===void 0x0?void 0x0:_0x33916a[_0x2f1764(0x1de)]()){default:case _0x2f1764(0x206):_0x47f3cd=-_0x610041;break;case _0x2f1764(0x1d2):_0x47f3cd=-_0x610041/0x2;break;case _0x2f1764(0x210):_0x47f3cd=0x0;break;}_0x3550af['drawImage'](_0x5f0931,_0x27d18c,_0x47f3cd,_0x1b4047,_0x610041);}else _0x3550af[_0x2f1764(0x1e2)](_0x5f0931,0x0,0x0);_0x3550af[_0x2f1764(0x1fc)]();}catch(_0x495d85){_0x3550af[_0x2f1764(0x1fc)](),console[_0x2f1764(0x1dd)](_0x495d85);}}function a63_0x19f7(){const _0x47508b=['getPixelFromCoordinate','parse','pixelOffsetX','push','BOTTOM','horizontalOrigin','getFlatInteriorPoint','changeColor','text','context','outlineWidth','718789mMvWze','rotate','getStride','TOP','RIGHT','opacity','getFlatMidpoint','model/','.png','radius','width','MultiPoint','length','CENTER','canvas','geometry','4805094GXCKFv','getContext','point','replace','modelKind','MultiLineString','MultiPolygon','9Sqenln','warn','toUpperCase','pixelOffset','show','getFlatInteriorPoints','drawImage','imgUrl','Polygon','rotation','outline','1053758KKbneu','6697476JtMpmN','10240426HiOXQD','getImageData','scale','stringify','5aCaIdt','label','26478819jQXwRd','LEFT','14608552oMDRRi','match','markerColor','billboard','height','pixelRatio','zIndex','verticalOrigin','data','color','cloud','restore','outlineColor','LineString','model','pixelSize','image'];a63_0x19f7=function(){return _0x47508b;};return a63_0x19f7();}
|
|
1
|
+
(function(_0x5b3cd9,_0x34bb3a){const _0x53844f=a63_0x1178,_0x23a593=_0x5b3cd9();while(!![]){try{const _0x2f583e=parseInt(_0x53844f(0x182))/0x1*(-parseInt(_0x53844f(0x1b1))/0x2)+-parseInt(_0x53844f(0x19c))/0x3*(parseInt(_0x53844f(0x183))/0x4)+-parseInt(_0x53844f(0x184))/0x5*(-parseInt(_0x53844f(0x1ad))/0x6)+parseInt(_0x53844f(0x17b))/0x7*(parseInt(_0x53844f(0x186))/0x8)+-parseInt(_0x53844f(0x1bb))/0x9*(-parseInt(_0x53844f(0x1c3))/0xa)+parseInt(_0x53844f(0x188))/0xb*(parseInt(_0x53844f(0x196))/0xc)+-parseInt(_0x53844f(0x199))/0xd*(parseInt(_0x53844f(0x195))/0xe);if(_0x2f583e===_0x34bb3a)break;else _0x23a593['push'](_0x23a593['shift']());}catch(_0x3dbe72){_0x23a593['push'](_0x23a593['shift']());}}}(a63_0x2b2c,0xd3d8a));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x5602a2 from'ol/style/Style';import a63_0x4a2ac6 from'ol/style/Circle';import a63_0x5eed1c from'ol/style/Fill';import a63_0xab0c15 from'ol/style/Stroke';function getMainStyle(_0xe77af2,_0x560c32=0x0,_0x42668d){const _0x5ee335=a63_0x1178;let _0x75357f;return _0xe77af2[_0x5ee335(0x1a9)]||_0xe77af2[_0x5ee335(0x1c0)]?_0x75357f=new a63_0x5602a2({'renderer':(_0x43a61b,_0x398b28)=>{preLoadImageRenderFunction(_0xe77af2,_0x43a61b,_0x398b28,_0x42668d,_rendererFunction);},'zIndex':Number(_0x560c32)}):_0x75357f=new a63_0x5602a2({'image':new a63_0x4a2ac6({'radius':_0xe77af2['radius']?_0xe77af2[_0x5ee335(0x1b7)]:_0xe77af2[_0x5ee335(0x1a0)],'fill':new a63_0x5eed1c({'color':getColor(_0xe77af2[_0x5ee335(0x191)],_0xe77af2[_0x5ee335(0x181)])}),'stroke':_0xe77af2[_0x5ee335(0x1c1)]&&_0xe77af2[_0x5ee335(0x1a1)]?new a63_0xab0c15({'color':getColor(_0xe77af2[_0x5ee335(0x1a1)],_0xe77af2[_0x5ee335(0x1b0)]),'width':_0xe77af2['outlineWidth']}):undefined}),'zIndex':Number(_0x560c32)}),_0x75357f;}function a63_0x1178(_0x41c1e1,_0x30dd41){const _0x2b2cf1=a63_0x2b2c();return a63_0x1178=function(_0x1178e8,_0x5b7ff9){_0x1178e8=_0x1178e8-0x177;let _0x3758dd=_0x2b2cf1[_0x1178e8];return _0x3758dd;},a63_0x1178(_0x41c1e1,_0x30dd41);}function _rendererFunction(_0x1e98d6,_0x167296,_0x2bd6cd,_0xf80b3d,_0x5e5f27){const _0x46967f=a63_0x1178;if(!_0x5e5f27||_0x5e5f27[_0x46967f(0x1b8)]===0x0){let _0x2b3eab=new Image();_0x2b3eab['src']=_0x1e98d6[_0x46967f(0x1a9)];}if(_0x1e98d6[_0x46967f(0x1c5)]&&_0x1e98d6[_0x46967f(0x191)]!==''){let _0x525b2b=_0x1e98d6[_0x46967f(0x19d)]||0x1,_0x423792=_0x1e98d6[_0x46967f(0x1b8)]||_0x5e5f27[_0x46967f(0x1b8)]*_0x525b2b,_0x391430=_0x1e98d6[_0x46967f(0x17e)]||_0x5e5f27[_0x46967f(0x17e)]*_0x525b2b;_0x423792=_0x423792*_0x2bd6cd[_0x46967f(0x1a8)],_0x391430=_0x391430*_0x2bd6cd[_0x46967f(0x1a8)];const _0x51f909=document[_0x46967f(0x1a7)](_0x46967f(0x17d));_0x51f909['width']=_0x423792,_0x51f909[_0x46967f(0x17e)]=_0x391430;const _0x403495=_0x51f909[_0x46967f(0x1be)]('2d');_0x403495===null||_0x403495===void 0x0?void 0x0:_0x403495[_0x46967f(0x18f)](_0x5e5f27,0x0,0x0,_0x423792,_0x391430);let _0x5173cc=_0x403495===null||_0x403495===void 0x0?void 0x0:_0x403495[_0x46967f(0x193)](0x0,0x0,_0x423792,_0x391430),_0x553850=_0x5173cc===null||_0x5173cc===void 0x0?void 0x0:_0x5173cc[_0x46967f(0x18a)];_0x5e5f27=_0x51f909;let _0x3eff50=HexToRgb(_0x1e98d6[_0x46967f(0x191)]);if(_0x553850&&_0x3eff50)for(var _0x2d8fc5=0x0;_0x2d8fc5<_0x553850[_0x46967f(0x19e)];_0x2d8fc5+=0x4){_0x553850[_0x2d8fc5]=_0x3eff50[0x0],_0x553850[_0x2d8fc5+0x1]=_0x3eff50[0x1],_0x553850[_0x2d8fc5+0x2]=_0x3eff50[0x2];}_0x5173cc&&(_0x403495===null||_0x403495===void 0x0?void 0x0:_0x403495[_0x46967f(0x198)](_0x5173cc,0x0,0x0));}let _0x472a9c=_0x2bd6cd[_0x46967f(0x178)],_0x1cd32b=_0x2bd6cd[_0x46967f(0x1a8)],_0x2bbbf1=_0x472a9c[_0x46967f(0x1bc)](),_0x43ba49=_0x472a9c['getType'](),_0x3f7f3b=[];switch(_0x43ba49){case _0x46967f(0x1c2):_0x3f7f3b=_0x472a9c[_0x46967f(0x185)]();break;case _0x46967f(0x1a6):_0x3f7f3b=_0x472a9c['getFlatMidpoints'](),_0x2bbbf1=0x2;break;case _0x46967f(0x17f):_0x3f7f3b=_0x472a9c[_0x46967f(0x1a4)](),_0x2bbbf1=0x3;break;case _0x46967f(0x18b):{let _0x1736a3=_0x472a9c[_0x46967f(0x1b3)]();_0x3f7f3b=[];for(let _0x2a3d56=0x0,_0x492dcf=_0x1736a3[_0x46967f(0x19e)];_0x2a3d56<_0x492dcf;_0x2a3d56+=0x3){_0x3f7f3b[_0x46967f(0x177)](_0x1736a3[_0x2a3d56],_0x1736a3[_0x2a3d56+0x1]);}if(_0x3f7f3b[_0x46967f(0x19e)]===0x0)return;_0x2bbbf1=0x2;break;}}if(_0x3f7f3b[_0x46967f(0x19e)]>0x0&&_0xf80b3d)for(let _0x338fef=0x0,_0x332817=_0x3f7f3b[_0x46967f(0x19e)];_0x338fef<_0x332817;_0x338fef+=_0x2bbbf1){let _0x3ad147=[_0x3f7f3b[_0x338fef],_0x3f7f3b[_0x338fef+0x1]],_0x5f056a=_0xf80b3d[_0x46967f(0x1af)](_0x3ad147);_0x5f056a=[_0x5f056a[0x0]*_0x1cd32b,_0x5f056a[0x1]*_0x1cd32b],drawImage(_0x1e98d6,_0x5f056a,_0x2bd6cd,_0x5e5f27);}else{if(_0x43ba49===_0x46967f(0x17a))for(let _0x1a5dcc of _0x167296){drawImage(_0x1e98d6,_0x1a5dcc,_0x2bd6cd,_0x5e5f27);}else drawImage(_0x1e98d6,_0x167296,_0x2bd6cd,_0x5e5f27);}}function HexToRgb(_0x1ea9a9){const _0x3acc6e=a63_0x1178;_0x1ea9a9=_0x1ea9a9[_0x3acc6e(0x187)]('#','');let _0x2a3d37=_0x1ea9a9[_0x3acc6e(0x1b2)](/../g);if(_0x2a3d37){for(let _0x458931=0x0;_0x458931<0x3;_0x458931++)_0x2a3d37[_0x458931]=parseInt(_0x2a3d37[_0x458931],0x10);}return _0x2a3d37;}function a63_0x2b2c(){const _0x31f4dc=['length','pixelOffset','pixelSize','outlineColor','billboard','model','getFlatInteriorPoint','TOP','MultiLineString','createElement','pixelRatio','image','verticalOrigin','stringify','zIndex','1518bHEawi','imgUrl','getPixelFromCoordinate','outlineOpacity','596870eByQTv','match','getFlatInteriorPoints','text','.png','rotation','radius','width','modelKind','pixelOffsetX','9FDgbLs','getStride','BOTTOM','getContext','point','markerColor','outline','LineString','16754230zCWBQC','restore','changeColor','parse','push','geometry','model/','MultiPoint','2940KxAjjW','label','canvas','height','Polygon','cloud','opacity','5Yjizkw','104fniXRg','25535ejNYnr','getFlatMidpoint','22904WHqxaf','replace','17750183GlQERE','pixelOffsetY','data','MultiPolygon','LEFT','save','globalAlpha','drawImage','horizontalOrigin','color','CENTER','getImageData','show','50316ffFfsM','12nVmZSR','warn','putImageData','7163dnFbFN','rotate','toUpperCase','166548hWORhX','scale'];a63_0x2b2c=function(){return _0x31f4dc;};return a63_0x2b2c();}export function getImageOlStyle(_0x1c7408,_0x399687,_0xe34a38,_0x3bd5d0){const _0x1c2fc2=a63_0x1178;var _0x137190;if(_0x1c7408&&_0x1c7408[_0x1c2fc2(0x194)]!==![]){_0x1c7408=JSON[_0x1c2fc2(0x1c6)](JSON[_0x1c2fc2(0x1ab)](_0x1c7408)),_0x399687=(_0x137190=_0x1c7408[_0x1c2fc2(0x1ac)])!==null&&_0x137190!==void 0x0?_0x137190:_0x399687;let _0x151803=isShowStyle(_0x1c7408,_0xe34a38,_0x3bd5d0);if(_0x151803)return _0x1c7408[_0x1c2fc2(0x1a9)]=parseImage(_0x1c7408['image']),getMainStyle(_0x1c7408,_0x399687,_0x3bd5d0);}}export function getPointStyle(_0xcf5c54,_0x58dd34,_0x36a7dd,_0x1dda4e){const _0x154b8b=a63_0x1178;var _0x4c495c,_0x2f55f5;_0xcf5c54=JSON[_0x154b8b(0x1c6)](JSON[_0x154b8b(0x1ab)](_0xcf5c54));let _0x500b12=(_0x4c495c=_0xcf5c54['zIndex'])!==null&&_0x4c495c!==void 0x0?_0x4c495c:0x0,_0x113e7d=[],_0x2d2cb9=getImageOlStyle(_0xcf5c54,_0x500b12,_0x36a7dd,_0x1dda4e);_0x2d2cb9&&_0x113e7d['push'](_0x2d2cb9);let _0x5a5627=getImageOlStyle(_0xcf5c54[_0x154b8b(0x1a2)],_0x500b12,_0x36a7dd,_0x1dda4e);_0x5a5627&&_0x113e7d[_0x154b8b(0x177)](_0x5a5627);if(_0xcf5c54[_0x154b8b(0x1a3)]&&_0xcf5c54[_0x154b8b(0x1a3)][_0x154b8b(0x194)]!==![]){let _0x510ac5=isShowStyle(_0xcf5c54[_0x154b8b(0x1a3)],_0x36a7dd,_0x1dda4e);if(_0x510ac5){let _0x198011=(_0x2f55f5=_0xcf5c54[_0x154b8b(0x1a3)][_0x154b8b(0x1ac)])!==null&&_0x2f55f5!==void 0x0?_0x2f55f5:_0x500b12,_0x183c6b=_0xcf5c54[_0x154b8b(0x1a3)]['imgUrl']||_0x154b8b(0x179)+_0xcf5c54['model'][_0x154b8b(0x1b9)]+_0x154b8b(0x1b5);_0xcf5c54[_0x154b8b(0x19d)]=0x1,_0xcf5c54['width']=0x30,_0xcf5c54[_0x154b8b(0x17e)]=0x30,_0xcf5c54['verticalOrigin']=_0x154b8b(0x192),_0x113e7d[_0x154b8b(0x177)](getMainStyle(_0xcf5c54[_0x154b8b(0x1a3)],_0x198011,_0x1dda4e));}}if(_0xcf5c54[_0x154b8b(0x17c)]&&_0xcf5c54[_0x154b8b(0x17c)][_0x154b8b(0x194)]!==![]){let _0x11e55b=new a63_0x5602a2({'text':createTextStyle(_0xcf5c54[_0x154b8b(0x17c)],_0x58dd34,_0x36a7dd,_0x1dda4e),'zIndex':Number(_0x500b12)+0x1});_0x113e7d[_0x154b8b(0x177)](_0x11e55b);}return _0x113e7d;}export function getPointSingleStyle(_0x128bc5,_0x2f2383,_0x5b5e88,_0x2db757){const _0x1577e8=a63_0x1178;_0x2f2383=JSON['parse'](JSON[_0x1577e8(0x1ab)](_0x2f2383));let _0x3c7e6f=_0x2f2383[_0x1577e8(0x17c)],_0x5bce07;_0x3c7e6f&&(_0x5bce07=_0x3c7e6f[_0x1577e8(0x1b4)]?_0x3c7e6f[_0x1577e8(0x1b4)]:'');if(_0x128bc5===_0x1577e8(0x1a2))return _0x2f2383['image']=parseImage(_0x2f2383[_0x1577e8(0x1a9)]),getPointStyle(_0x2f2383,_0x5bce07,_0x5b5e88,_0x2db757);else{if(_0x128bc5===_0x1577e8(0x1a3)){let _0x3a7414=_0x2f2383[_0x1577e8(0x1ae)]||_0x1577e8(0x179)+_0x2f2383[_0x1577e8(0x1b9)]+_0x1577e8(0x1b5);return _0x2f2383[_0x1577e8(0x19d)]=0x1,_0x2f2383['width']=0x30,_0x2f2383[_0x1577e8(0x17e)]=0x30,_0x2f2383[_0x1577e8(0x1aa)]=_0x1577e8(0x192),getPointStyle(_0x2f2383,_0x5bce07,_0x5b5e88,_0x2db757);}else{if(_0x128bc5===_0x1577e8(0x180))return getPointStyle(_0x2f2383,_0x5bce07,_0x5b5e88,_0x2db757);else{if(_0x128bc5===_0x1577e8(0x1bf))return getPointStyle(_0x2f2383,_0x5bce07,_0x5b5e88,_0x2db757);else return _0x128bc5==='label'?new a63_0x5602a2({'text':createTextStyle(_0x2f2383,_0x2f2383[_0x1577e8(0x1b4)],_0x5b5e88,_0x2db757),'zIndex':_0x2f2383[_0x1577e8(0x1ac)]}):getPointStyle(_0x2f2383,_0x5bce07,_0x5b5e88,_0x2db757);}}}}function drawImage(_0x32d123,_0x52738d,_0x267d5e,_0x30004f){const _0x51472c=a63_0x1178;var _0x3acbe4,_0x571231,_0x330d5e,_0x28c347;let _0x3d0c8f=_0x267d5e['context'];try{_0x3d0c8f[_0x51472c(0x18d)]();let _0x530366=Number(_0x32d123[_0x51472c(0x1ba)]||((_0x3acbe4=_0x32d123[_0x51472c(0x19f)])===null||_0x3acbe4===void 0x0?void 0x0:_0x3acbe4[0x0])||0x0),_0x24e4e7=Number(_0x32d123[_0x51472c(0x189)]||((_0x571231=_0x32d123[_0x51472c(0x19f)])===null||_0x571231===void 0x0?void 0x0:_0x571231[0x1])||0x0);_0x3d0c8f['translate'](_0x52738d[0x0]+_0x530366,_0x52738d[0x1]+_0x24e4e7);if(_0x32d123[_0x51472c(0x1b6)])_0x3d0c8f[_0x51472c(0x19a)](toRadians(_0x32d123[_0x51472c(0x1b6)]));_0x3d0c8f[_0x51472c(0x18e)]=_0x32d123[_0x51472c(0x181)]!=null?_0x32d123['opacity']:0x1;if(_0x30004f[_0x51472c(0x1b8)]>0x0){let _0x4469ab=_0x32d123[_0x51472c(0x19d)]||0x1,_0x1453f9=_0x32d123[_0x51472c(0x1b8)]||_0x30004f['width']*_0x4469ab,_0x40d3f=_0x32d123[_0x51472c(0x17e)]||_0x30004f[_0x51472c(0x17e)]*_0x4469ab;_0x1453f9=_0x1453f9*_0x267d5e[_0x51472c(0x1a8)],_0x40d3f=_0x40d3f*_0x267d5e[_0x51472c(0x1a8)];_0x32d123[_0x51472c(0x1c5)]&&(_0x1453f9=_0x30004f[_0x51472c(0x1b8)],_0x40d3f=_0x30004f[_0x51472c(0x17e)]);let _0x32756d;switch((_0x330d5e=_0x32d123[_0x51472c(0x190)])===null||_0x330d5e===void 0x0?void 0x0:_0x330d5e[_0x51472c(0x19b)]()){default:case _0x51472c(0x192):_0x32756d=-_0x1453f9/0x2;break;case _0x51472c(0x18c):_0x32756d=0x0;break;case'RIGHT':_0x32756d=-_0x1453f9;break;}let _0xa69433;switch((_0x28c347=_0x32d123['verticalOrigin'])===null||_0x28c347===void 0x0?void 0x0:_0x28c347[_0x51472c(0x19b)]()){default:case _0x51472c(0x1bd):_0xa69433=-_0x40d3f;break;case'CENTER':_0xa69433=-_0x40d3f/0x2;break;case _0x51472c(0x1a5):_0xa69433=0x0;break;}_0x3d0c8f['drawImage'](_0x30004f,_0x32756d,_0xa69433,_0x1453f9,_0x40d3f);}else _0x3d0c8f['drawImage'](_0x30004f,0x0,0x0);_0x3d0c8f[_0x51472c(0x1c4)]();}catch(_0x52bb76){_0x3d0c8f[_0x51472c(0x1c4)](),console[_0x51472c(0x197)](_0x52bb76);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x200e8d,_0x342f70){const _0x5926d7=a64_0x3154,_0x166781=_0x200e8d();while(!![]){try{const _0x4627fe=-parseInt(_0x5926d7(0x138))/0x1*(parseInt(_0x5926d7(0x12a))/0x2)+parseInt(_0x5926d7(0x13e))/0x3*(parseInt(_0x5926d7(0x116))/0x4)+parseInt(_0x5926d7(0x146))/0x5*(-parseInt(_0x5926d7(0x13f))/0x6)+-parseInt(_0x5926d7(0x10c))/0x7*(parseInt(_0x5926d7(0x11d))/0x8)+parseInt(_0x5926d7(0x11f))/0x9*(-parseInt(_0x5926d7(0x13a))/0xa)+-parseInt(_0x5926d7(0x113))/0xb+-parseInt(_0x5926d7(0x148))/0xc*(-parseInt(_0x5926d7(0x126))/0xd);if(_0x4627fe===_0x342f70)break;else _0x166781['push'](_0x166781['shift']());}catch(_0x3d1746){_0x166781['push'](_0x166781['shift']());}}}(a64_0x1456,0xda451));function a64_0x1456(){const _0x3f70c1=['769788GuqfeC','grid','show','lineTo','warn','setRenderer','strokeStyle','src','canvas','stripe','stripe_oddcolor','moveTo','stroke','context','4BuzqsS','setFill','1737940JbeXDG','fill','rgba(0,0,0,0)','rgba(0,0,0,0.01)','1194jWecuo','6OXhWmB','repeatX','opacity','outlineWidth','grid_lineThickness','fillType','CENTER','8424875YmWpuJ','closePath','10696236jsvXNZ','max','outline','save','restore','globalAlpha','color','rgba(0,0,0,0.0)','checkerboard_repeat','billboard','5558sGjnFD','label','stripe_repeat','beginPath','fillStyle','checkerboard','width','11032923pPAOAh','height','createPattern','128PZinnZ','repeat','setStroke','getContext','repeatY','outlineColor','image','17096NhriqX','oddColor','63tQHqHy','lineWidth','verticalOrigin','createElement','zIndex','grid_lineCount','translate','117GizclJ','push','setZIndex','length'];a64_0x1456=function(){return _0x3f70c1;};return a64_0x1456();}import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x5217c0,_0x4ded2e,_0x3469da,_0x254a40){const _0x204551=a64_0x3154;var _0x30e8ae;let _0x14bec=(_0x30e8ae=_0x5217c0[_0x204551(0x123)])!==null&&_0x30e8ae!==void 0x0?_0x30e8ae:0x0,_0x2f703d=new Style();_0x2f703d[_0x204551(0x128)](_0x14bec),_0x2f703d[_0x204551(0x139)](new Fill({'color':_0x204551(0x13c)}));if(_0x5217c0[_0x204551(0x13b)]!==![]){if(!_0x5217c0[_0x204551(0x144)]||_0x5217c0[_0x204551(0x144)]==='color')_0x2f703d[_0x204551(0x139)](new Fill({'color':getColor(_0x5217c0[_0x204551(0x14e)],_0x5217c0[_0x204551(0x141)])}));else{if(_0x5217c0[_0x204551(0x144)]===_0x204551(0x11c))_0x2f703d['setRenderer']((_0x554d64,_0x326f8b)=>{preLoadImageRenderFunction(_0x5217c0,_0x554d64,_0x326f8b,_0x254a40,_rendererFunction);});else _0x5217c0[_0x204551(0x144)]===_0x204551(0x12b)||_0x5217c0[_0x204551(0x144)]===_0x204551(0x133)||_0x5217c0[_0x204551(0x144)]==='checkerboard'?_0x2f703d[_0x204551(0x12f)]((_0x8a9fbd,_0x361494)=>{_rendererFunction(_0x5217c0,_0x8a9fbd,_0x361494,_0x254a40,null);}):_0x2f703d[_0x204551(0x139)](new Fill({'color':getColor(_0x5217c0[_0x204551(0x14e)],_0x5217c0[_0x204551(0x141)])}));}}_0x5217c0['outline']!==![]&&_0x2f703d[_0x204551(0x118)](new Stroke({'color':getColor(_0x5217c0[_0x204551(0x11b)],_0x5217c0['outlineOpacity']),'width':_0x5217c0[_0x204551(0x142)]}));let _0x3d3008=[_0x2f703d];_0x5217c0[_0x204551(0x10b)]&&!_0x5217c0[_0x204551(0x10b)][_0x204551(0x121)]&&(_0x5217c0[_0x204551(0x10b)]['verticalOrigin']='CENTER');let _0x258d89=getImageOlStyle(_0x5217c0['billboard'],_0x14bec,_0x3469da,_0x254a40);_0x258d89&&_0x3d3008[_0x204551(0x127)](_0x258d89);if(_0x5217c0[_0x204551(0x10d)]&&_0x5217c0[_0x204551(0x10d)][_0x204551(0x12c)]!==![]){!_0x5217c0[_0x204551(0x10d)]['verticalOrigin']&&(_0x5217c0[_0x204551(0x10d)]['verticalOrigin']=_0x204551(0x145));let _0x3c2da1=new Style({'text':createTextStyle(_0x5217c0['label'],_0x4ded2e,_0x3469da,_0x254a40),'zIndex':Number(_0x14bec)+0x1});_0x3d3008[_0x204551(0x127)](_0x3c2da1);}return _0x3d3008;}function _rendererFunction(_0x2f0c93,_0x5c84d7,_0x211b2d,_0x4d8a0e,_0xc154ce){const _0x57b765=a64_0x3154;try{var _0x4c0c05=_0x211b2d[_0x57b765(0x137)];for(var _0x30cafd=0x0,_0x3be119=_0x5c84d7[_0x57b765(0x129)];_0x30cafd<_0x3be119;_0x30cafd++){_0x4c0c05[_0x57b765(0x14b)](),_0x4c0c05[_0x57b765(0x10f)]();var _0x12c3fc=_0x5c84d7[_0x30cafd];let _0x2e23c9=boundingExtent(_0x12c3fc);_0x4c0c05[_0x57b765(0x125)](_0x2e23c9[0x0],_0x2e23c9[0x1]);let _0xd00c35;switch(_0x2f0c93[_0x57b765(0x144)]){case _0x57b765(0x11c):_0xd00c35=_getImagePattern(_0x4c0c05,_0x2e23c9,_0x2f0c93,_0xc154ce);break;case _0x57b765(0x12b):_0xd00c35=_getGridPattern(_0x4c0c05,_0x2e23c9,_0x2f0c93);break;case _0x57b765(0x133):_0xd00c35=_getStripePattern(_0x4c0c05,_0x2e23c9,_0x2f0c93);break;case _0x57b765(0x111):_0xd00c35=_getCheckerBoardPattern(_0x4c0c05,_0x2e23c9,_0x2f0c93);break;default:_0xd00c35=_0x57b765(0x13d);break;}for(var _0x37e1a5=0x0,_0x299f28=_0x12c3fc[_0x57b765(0x129)];_0x37e1a5<_0x299f28;_0x37e1a5++){var _0x15a4b4=_0x12c3fc[_0x37e1a5];_0x37e1a5===0x0?_0x4c0c05['moveTo'](_0x15a4b4[0x0]-_0x2e23c9[0x0],_0x15a4b4[0x1]-_0x2e23c9[0x1]):_0x4c0c05[_0x57b765(0x12d)](_0x15a4b4[0x0]-_0x2e23c9[0x0],_0x15a4b4[0x1]-_0x2e23c9[0x1]);}_0x4c0c05[_0x57b765(0x147)](),_0x4c0c05['fillStyle']='rgba(0,0,0,0.01)',_0x4c0c05[_0x57b765(0x13b)](),_0x4c0c05[_0x57b765(0x110)]=_0xd00c35,_0x4c0c05['fill'](),_0x2f0c93[_0x57b765(0x14a)]?(_0x4c0c05['strokeStyle']=getColor(_0x2f0c93[_0x57b765(0x11b)],_0x2f0c93['outlineOpacity']),_0x4c0c05[_0x57b765(0x120)]=_0x2f0c93[_0x57b765(0x142)]):_0x4c0c05[_0x57b765(0x130)]=_0x57b765(0x14f),_0x4c0c05[_0x57b765(0x136)](),_0x4c0c05[_0x57b765(0x14c)]();}}catch(_0x73c15b){_0x4c0c05['restore'](),console[_0x57b765(0x12e)](_0x73c15b);}}function _getImagePattern(_0x14ece2,_0x4487b4,_0xfd7537,_0x382a29){const _0x53fc8d=a64_0x3154;if(!_0x382a29||_0x382a29[_0x53fc8d(0x112)]===0x0){let _0x479525=new Image();_0x479525[_0x53fc8d(0x131)]=_0xfd7537[_0x53fc8d(0x11c)];}var _0x472d29=getSize(_0x4487b4);const _0x416bfa=document['createElement'](_0x53fc8d(0x132)),_0x50feea=_0x416bfa[_0x53fc8d(0x119)]('2d');return _0x416bfa[_0x53fc8d(0x112)]=Math[_0x53fc8d(0x149)](_0x472d29[0x0]/_0xfd7537[_0x53fc8d(0x140)],0x1),_0x416bfa[_0x53fc8d(0x114)]=Math[_0x53fc8d(0x149)](_0x472d29[0x1]/_0xfd7537[_0x53fc8d(0x11a)],0x1),_0x50feea&&(_0x50feea[_0x53fc8d(0x14d)]=_0xfd7537['opacity'],_0x50feea['drawImage'](_0x382a29,0x0,0x0,_0x416bfa[_0x53fc8d(0x112)],_0x416bfa[_0x53fc8d(0x114)])),_0x14ece2[_0x53fc8d(0x115)](_0x416bfa,_0x53fc8d(0x117));}function _getGridPattern(_0x47ca24,_0x2bc30e,_0xf024b6){const _0x52eac7=a64_0x3154;var _0x21c2f3=getSize(_0x2bc30e);const _0x13e3cb=document['createElement'](_0x52eac7(0x132)),_0x4cfdb4=_0x13e3cb[_0x52eac7(0x119)]('2d');return _0x13e3cb['width']=Math[_0x52eac7(0x149)](_0x21c2f3[0x0]/_0xf024b6[_0x52eac7(0x124)],0x1),_0x13e3cb[_0x52eac7(0x114)]=Math[_0x52eac7(0x149)](_0x21c2f3[0x1]/_0xf024b6[_0x52eac7(0x124)],0x1),_0x4cfdb4&&(_0x4cfdb4['strokeStyle']=getColor(_0xf024b6[_0x52eac7(0x14e)],_0xf024b6[_0x52eac7(0x141)]),_0x4cfdb4[_0x52eac7(0x120)]=_0xf024b6[_0x52eac7(0x143)]*0x4,_0x4cfdb4['beginPath'](),_0x4cfdb4['moveTo'](0x0,_0x13e3cb[_0x52eac7(0x114)]),_0x4cfdb4[_0x52eac7(0x12d)](_0x13e3cb[_0x52eac7(0x112)],_0x13e3cb[_0x52eac7(0x114)]),_0x4cfdb4['moveTo'](_0x13e3cb[_0x52eac7(0x112)],0x0),_0x4cfdb4['lineTo'](_0x13e3cb[_0x52eac7(0x112)],_0x13e3cb[_0x52eac7(0x114)]),_0x4cfdb4[_0x52eac7(0x136)]()),_0x47ca24[_0x52eac7(0x115)](_0x13e3cb,'repeat');}function a64_0x3154(_0x276f0c,_0x40d989){const _0x145665=a64_0x1456();return a64_0x3154=function(_0x315434,_0x5e092b){_0x315434=_0x315434-0x10b;let _0x2e81d0=_0x145665[_0x315434];return _0x2e81d0;},a64_0x3154(_0x276f0c,_0x40d989);}function _getStripePattern(_0x13d3b2,_0xc85a03,_0x19a469){const _0x3ea69d=a64_0x3154;var _0x55c5b9=getSize(_0xc85a03);const _0x589054=document['createElement'](_0x3ea69d(0x132)),_0x3faf39=_0x589054['getContext']('2d');let _0x15d3d2=Math['max'](_0x55c5b9[0x1]/_0x19a469[_0x3ea69d(0x10e)],0x1);return _0x589054[_0x3ea69d(0x112)]=_0x55c5b9[0x0],_0x589054['height']=_0x15d3d2*0x2,_0x3faf39&&(_0x3faf39[_0x3ea69d(0x10f)](),_0x3faf39[_0x3ea69d(0x135)](0x0,0x0),_0x3faf39['lineTo'](_0x589054[_0x3ea69d(0x112)],0x0),_0x3faf39['lineTo'](_0x589054[_0x3ea69d(0x112)],_0x15d3d2),_0x3faf39['lineTo'](0x0,_0x15d3d2),_0x3faf39[_0x3ea69d(0x147)](),_0x3faf39[_0x3ea69d(0x110)]=getColor(_0x19a469[_0x3ea69d(0x134)],_0x19a469[_0x3ea69d(0x141)]),_0x3faf39['fill'](),_0x3faf39[_0x3ea69d(0x10f)](),_0x3faf39['moveTo'](0x0,_0x15d3d2),_0x3faf39['lineTo'](_0x589054['width'],_0x15d3d2),_0x3faf39[_0x3ea69d(0x12d)](_0x589054[_0x3ea69d(0x112)],_0x15d3d2*0x2),_0x3faf39[_0x3ea69d(0x12d)](0x0,_0x15d3d2*0x2),_0x3faf39[_0x3ea69d(0x147)](),_0x3faf39[_0x3ea69d(0x110)]=getColor(_0x19a469[_0x3ea69d(0x14e)],_0x19a469[_0x3ea69d(0x141)]),_0x3faf39[_0x3ea69d(0x13b)]()),_0x13d3b2['createPattern'](_0x589054,_0x3ea69d(0x117));}function _getCheckerBoardPattern(_0x3f8cbc,_0x63f436,_0x2adc26){const _0x3a206a=a64_0x3154;var _0x5919af=getSize(_0x63f436);const _0xaef0d5=document[_0x3a206a(0x122)]('canvas'),_0x20e918=_0xaef0d5['getContext']('2d');let _0x5c6178=Math['max'](_0x5919af[0x0]/_0x2adc26[_0x3a206a(0x150)],0x1),_0x1323ac=Math[_0x3a206a(0x149)](_0x5919af[0x1]/_0x2adc26[_0x3a206a(0x150)],0x1);return _0xaef0d5[_0x3a206a(0x112)]=_0x5c6178*0x2,_0xaef0d5['height']=_0x1323ac*0x2,_0x20e918&&(_0x20e918[_0x3a206a(0x10f)](),_0x20e918[_0x3a206a(0x135)](0x0,0x0),_0x20e918[_0x3a206a(0x12d)](_0x5c6178,0x0),_0x20e918[_0x3a206a(0x12d)](_0x5c6178,_0x1323ac),_0x20e918[_0x3a206a(0x12d)](0x0,_0x1323ac),_0x20e918[_0x3a206a(0x147)](),_0x20e918[_0x3a206a(0x110)]=getColor(_0x2adc26[_0x3a206a(0x11e)],_0x2adc26[_0x3a206a(0x141)]),_0x20e918['fill'](),_0x20e918['beginPath'](),_0x20e918[_0x3a206a(0x135)](_0x5c6178,0x0),_0x20e918['lineTo'](_0xaef0d5[_0x3a206a(0x112)],0x0),_0x20e918['lineTo'](_0xaef0d5[_0x3a206a(0x112)],_0x1323ac),_0x20e918[_0x3a206a(0x12d)](_0x5c6178,_0x1323ac),_0x20e918[_0x3a206a(0x147)](),_0x20e918[_0x3a206a(0x110)]=getColor(_0x2adc26[_0x3a206a(0x14e)],_0x2adc26['opacity']),_0x20e918['fill'](),_0x20e918[_0x3a206a(0x10f)](),_0x20e918[_0x3a206a(0x135)](0x0,_0x1323ac),_0x20e918['lineTo'](_0x5c6178,_0x1323ac),_0x20e918[_0x3a206a(0x12d)](_0x5c6178,_0xaef0d5[_0x3a206a(0x114)]),_0x20e918[_0x3a206a(0x12d)](0x0,_0xaef0d5['height']),_0x20e918[_0x3a206a(0x147)](),_0x20e918[_0x3a206a(0x110)]=getColor(_0x2adc26['color'],_0x2adc26[_0x3a206a(0x141)]),_0x20e918[_0x3a206a(0x13b)](),_0x20e918[_0x3a206a(0x10f)](),_0x20e918[_0x3a206a(0x135)](_0x5c6178,_0x1323ac),_0x20e918['lineTo'](_0xaef0d5['width'],_0x1323ac),_0x20e918[_0x3a206a(0x12d)](_0xaef0d5[_0x3a206a(0x112)],_0xaef0d5[_0x3a206a(0x114)]),_0x20e918[_0x3a206a(0x12d)](_0x5c6178,_0xaef0d5[_0x3a206a(0x114)]),_0x20e918[_0x3a206a(0x147)](),_0x20e918[_0x3a206a(0x110)]=getColor(_0x2adc26[_0x3a206a(0x11e)],_0x2adc26['opacity']),_0x20e918[_0x3a206a(0x13b)]()),_0x3f8cbc[_0x3a206a(0x115)](_0xaef0d5,'repeat');}
|
|
1
|
+
(function(_0xdd32b,_0x16a807){const _0x47d9a7=a64_0x129e,_0x1e0c9a=_0xdd32b();while(!![]){try{const _0x391341=parseInt(_0x47d9a7(0x13d))/0x1*(-parseInt(_0x47d9a7(0x13b))/0x2)+-parseInt(_0x47d9a7(0x149))/0x3+parseInt(_0x47d9a7(0x15a))/0x4+-parseInt(_0x47d9a7(0x176))/0x5*(parseInt(_0x47d9a7(0x14b))/0x6)+parseInt(_0x47d9a7(0x152))/0x7+parseInt(_0x47d9a7(0x163))/0x8+-parseInt(_0x47d9a7(0x172))/0x9;if(_0x391341===_0x16a807)break;else _0x1e0c9a['push'](_0x1e0c9a['shift']());}catch(_0x2aaf2c){_0x1e0c9a['push'](_0x1e0c9a['shift']());}}}(a64_0x5647,0x91da9));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';function a64_0x5647(){const _0x560c0b=['verticalOrigin','outlineWidth','push','billboard','strokeStyle','createPattern','length','max','3129840atjotW','grid_lineThickness','createElement','closePath','repeatX','fill','lineWidth','width','repeat','canvas','color','drawImage','stroke','outlineOpacity','checkerboard','3759282myCeiQ','setRenderer','beginPath','height','13820UUWQkg','repeatY','stripe_repeat','setFill','30Tvmuwp','fillType','28669vOkwxQ','lineTo','CENTER','stripe_oddcolor','setZIndex','opacity','translate','outlineColor','src','grid','checkerboard_repeat','rgba(0,0,0,0.01)','103014sxcJxX','grid_lineCount','402KGyxAA','context','show','stripe','image','restore','save','5321757CmIcgz','moveTo','oddColor','fillStyle','label','getContext','outline','rgba(0,0,0,0.0)','2052780BHaUaW'];a64_0x5647=function(){return _0x560c0b;};return a64_0x5647();}import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x5d3bb3,_0x207ee3,_0x1938c4,_0x36cf9b){const _0x16cc94=a64_0x129e;var _0x4789a8;let _0x5e012b=(_0x4789a8=_0x5d3bb3['zIndex'])!==null&&_0x4789a8!==void 0x0?_0x4789a8:0x0,_0x15b5e4=new Style();_0x15b5e4[_0x16cc94(0x141)](_0x5e012b),_0x15b5e4['setFill'](new Fill({'color':'rgba(0,0,0,0)'}));if(_0x5d3bb3[_0x16cc94(0x168)]!==![]){if(!_0x5d3bb3['fillType']||_0x5d3bb3[_0x16cc94(0x13c)]===_0x16cc94(0x16d))_0x15b5e4[_0x16cc94(0x13a)](new Fill({'color':getColor(_0x5d3bb3[_0x16cc94(0x16d)],_0x5d3bb3[_0x16cc94(0x142)])}));else{if(_0x5d3bb3[_0x16cc94(0x13c)]===_0x16cc94(0x14f))_0x15b5e4[_0x16cc94(0x173)]((_0x3acb84,_0x1c5a76)=>{preLoadImageRenderFunction(_0x5d3bb3,_0x3acb84,_0x1c5a76,_0x36cf9b,_rendererFunction);});else _0x5d3bb3[_0x16cc94(0x13c)]===_0x16cc94(0x146)||_0x5d3bb3[_0x16cc94(0x13c)]===_0x16cc94(0x14e)||_0x5d3bb3[_0x16cc94(0x13c)]===_0x16cc94(0x171)?_0x15b5e4['setRenderer']((_0x4a1cca,_0x32c131)=>{_rendererFunction(_0x5d3bb3,_0x4a1cca,_0x32c131,_0x36cf9b,null);}):_0x15b5e4[_0x16cc94(0x13a)](new Fill({'color':getColor(_0x5d3bb3[_0x16cc94(0x16d)],_0x5d3bb3[_0x16cc94(0x142)])}));}}_0x5d3bb3[_0x16cc94(0x158)]!==![]&&_0x15b5e4['setStroke'](new Stroke({'color':getColor(_0x5d3bb3[_0x16cc94(0x144)],_0x5d3bb3[_0x16cc94(0x170)]),'width':_0x5d3bb3['outlineWidth']}));let _0x4fd7cb=[_0x15b5e4];_0x5d3bb3[_0x16cc94(0x15e)]&&!_0x5d3bb3[_0x16cc94(0x15e)][_0x16cc94(0x15b)]&&(_0x5d3bb3[_0x16cc94(0x15e)][_0x16cc94(0x15b)]=_0x16cc94(0x13f));let _0x37c1a6=getImageOlStyle(_0x5d3bb3[_0x16cc94(0x15e)],_0x5e012b,_0x1938c4,_0x36cf9b);_0x37c1a6&&_0x4fd7cb[_0x16cc94(0x15d)](_0x37c1a6);if(_0x5d3bb3['label']&&_0x5d3bb3[_0x16cc94(0x156)][_0x16cc94(0x14d)]!==![]){!_0x5d3bb3[_0x16cc94(0x156)][_0x16cc94(0x15b)]&&(_0x5d3bb3[_0x16cc94(0x156)][_0x16cc94(0x15b)]=_0x16cc94(0x13f));let _0x115f61=new Style({'text':createTextStyle(_0x5d3bb3[_0x16cc94(0x156)],_0x207ee3,_0x1938c4,_0x36cf9b),'zIndex':Number(_0x5e012b)+0x1});_0x4fd7cb[_0x16cc94(0x15d)](_0x115f61);}return _0x4fd7cb;}function _rendererFunction(_0x5aabe9,_0x3fe1a5,_0x432ec9,_0x511681,_0x4ffeeb){const _0x2fa0a5=a64_0x129e;try{var _0x83fffc=_0x432ec9[_0x2fa0a5(0x14c)];for(var _0x5a95d4=0x0,_0x4ff62d=_0x3fe1a5[_0x2fa0a5(0x161)];_0x5a95d4<_0x4ff62d;_0x5a95d4++){_0x83fffc[_0x2fa0a5(0x151)](),_0x83fffc[_0x2fa0a5(0x174)]();var _0xae46ab=_0x3fe1a5[_0x5a95d4];let _0x21455c=boundingExtent(_0xae46ab);_0x83fffc[_0x2fa0a5(0x143)](_0x21455c[0x0],_0x21455c[0x1]);let _0x3938d5;switch(_0x5aabe9[_0x2fa0a5(0x13c)]){case'image':_0x3938d5=_getImagePattern(_0x83fffc,_0x21455c,_0x5aabe9,_0x4ffeeb);break;case _0x2fa0a5(0x146):_0x3938d5=_getGridPattern(_0x83fffc,_0x21455c,_0x5aabe9);break;case _0x2fa0a5(0x14e):_0x3938d5=_getStripePattern(_0x83fffc,_0x21455c,_0x5aabe9);break;case _0x2fa0a5(0x171):_0x3938d5=_getCheckerBoardPattern(_0x83fffc,_0x21455c,_0x5aabe9);break;default:_0x3938d5=_0x2fa0a5(0x148);break;}for(var _0x1109e1=0x0,_0x177998=_0xae46ab[_0x2fa0a5(0x161)];_0x1109e1<_0x177998;_0x1109e1++){var _0x39c253=_0xae46ab[_0x1109e1];_0x1109e1===0x0?_0x83fffc['moveTo'](_0x39c253[0x0]-_0x21455c[0x0],_0x39c253[0x1]-_0x21455c[0x1]):_0x83fffc[_0x2fa0a5(0x13e)](_0x39c253[0x0]-_0x21455c[0x0],_0x39c253[0x1]-_0x21455c[0x1]);}_0x83fffc[_0x2fa0a5(0x166)](),_0x83fffc[_0x2fa0a5(0x155)]=_0x2fa0a5(0x148),_0x83fffc[_0x2fa0a5(0x168)](),_0x83fffc[_0x2fa0a5(0x155)]=_0x3938d5,_0x83fffc['fill'](),_0x5aabe9[_0x2fa0a5(0x158)]?(_0x83fffc[_0x2fa0a5(0x15f)]=getColor(_0x5aabe9[_0x2fa0a5(0x144)],_0x5aabe9[_0x2fa0a5(0x170)]),_0x83fffc['lineWidth']=_0x5aabe9[_0x2fa0a5(0x15c)]):_0x83fffc[_0x2fa0a5(0x15f)]=_0x2fa0a5(0x159),_0x83fffc[_0x2fa0a5(0x16f)](),_0x83fffc[_0x2fa0a5(0x150)]();}}catch(_0x5951d8){_0x83fffc[_0x2fa0a5(0x150)](),console['warn'](_0x5951d8);}}function _getImagePattern(_0x4d4ed4,_0x4a824f,_0x1cd280,_0x1d8c18){const _0x193605=a64_0x129e;if(!_0x1d8c18||_0x1d8c18[_0x193605(0x16a)]===0x0){let _0x17a57d=new Image();_0x17a57d[_0x193605(0x145)]=_0x1cd280[_0x193605(0x14f)];}var _0x13d16d=getSize(_0x4a824f);const _0xf8ddec=document['createElement']('canvas'),_0x515987=_0xf8ddec['getContext']('2d');return _0xf8ddec[_0x193605(0x16a)]=Math[_0x193605(0x162)](_0x13d16d[0x0]/_0x1cd280[_0x193605(0x167)],0x1),_0xf8ddec[_0x193605(0x175)]=Math[_0x193605(0x162)](_0x13d16d[0x1]/_0x1cd280[_0x193605(0x177)],0x1),_0x515987&&(_0x515987['globalAlpha']=_0x1cd280[_0x193605(0x142)],_0x515987[_0x193605(0x16e)](_0x1d8c18,0x0,0x0,_0xf8ddec[_0x193605(0x16a)],_0xf8ddec[_0x193605(0x175)])),_0x4d4ed4[_0x193605(0x160)](_0xf8ddec,_0x193605(0x16b));}function a64_0x129e(_0x4092af,_0x1cf93a){const _0x564726=a64_0x5647();return a64_0x129e=function(_0x129e10,_0x3d1737){_0x129e10=_0x129e10-0x139;let _0x1c9bf3=_0x564726[_0x129e10];return _0x1c9bf3;},a64_0x129e(_0x4092af,_0x1cf93a);}function _getGridPattern(_0x34a72c,_0x8d49cb,_0x2befa6){const _0x10d6c6=a64_0x129e;var _0x59a879=getSize(_0x8d49cb);const _0x32f3aa=document[_0x10d6c6(0x165)](_0x10d6c6(0x16c)),_0x44b10f=_0x32f3aa['getContext']('2d');return _0x32f3aa[_0x10d6c6(0x16a)]=Math['max'](_0x59a879[0x0]/_0x2befa6['grid_lineCount'],0x1),_0x32f3aa['height']=Math[_0x10d6c6(0x162)](_0x59a879[0x1]/_0x2befa6[_0x10d6c6(0x14a)],0x1),_0x44b10f&&(_0x44b10f['strokeStyle']=getColor(_0x2befa6[_0x10d6c6(0x16d)],_0x2befa6[_0x10d6c6(0x142)]),_0x44b10f[_0x10d6c6(0x169)]=_0x2befa6[_0x10d6c6(0x164)]*0x4,_0x44b10f['beginPath'](),_0x44b10f['moveTo'](0x0,_0x32f3aa[_0x10d6c6(0x175)]),_0x44b10f[_0x10d6c6(0x13e)](_0x32f3aa['width'],_0x32f3aa['height']),_0x44b10f[_0x10d6c6(0x153)](_0x32f3aa[_0x10d6c6(0x16a)],0x0),_0x44b10f[_0x10d6c6(0x13e)](_0x32f3aa['width'],_0x32f3aa['height']),_0x44b10f['stroke']()),_0x34a72c[_0x10d6c6(0x160)](_0x32f3aa,_0x10d6c6(0x16b));}function _getStripePattern(_0x3f1a7f,_0x2d2792,_0x4e4020){const _0x8397e9=a64_0x129e;var _0x512e0f=getSize(_0x2d2792);const _0x86475f=document['createElement'](_0x8397e9(0x16c)),_0x31271f=_0x86475f['getContext']('2d');let _0x558f29=Math[_0x8397e9(0x162)](_0x512e0f[0x1]/_0x4e4020[_0x8397e9(0x139)],0x1);return _0x86475f[_0x8397e9(0x16a)]=_0x512e0f[0x0],_0x86475f['height']=_0x558f29*0x2,_0x31271f&&(_0x31271f[_0x8397e9(0x174)](),_0x31271f['moveTo'](0x0,0x0),_0x31271f[_0x8397e9(0x13e)](_0x86475f[_0x8397e9(0x16a)],0x0),_0x31271f['lineTo'](_0x86475f['width'],_0x558f29),_0x31271f[_0x8397e9(0x13e)](0x0,_0x558f29),_0x31271f['closePath'](),_0x31271f['fillStyle']=getColor(_0x4e4020[_0x8397e9(0x140)],_0x4e4020[_0x8397e9(0x142)]),_0x31271f[_0x8397e9(0x168)](),_0x31271f[_0x8397e9(0x174)](),_0x31271f['moveTo'](0x0,_0x558f29),_0x31271f[_0x8397e9(0x13e)](_0x86475f[_0x8397e9(0x16a)],_0x558f29),_0x31271f['lineTo'](_0x86475f[_0x8397e9(0x16a)],_0x558f29*0x2),_0x31271f[_0x8397e9(0x13e)](0x0,_0x558f29*0x2),_0x31271f[_0x8397e9(0x166)](),_0x31271f['fillStyle']=getColor(_0x4e4020[_0x8397e9(0x16d)],_0x4e4020['opacity']),_0x31271f[_0x8397e9(0x168)]()),_0x3f1a7f[_0x8397e9(0x160)](_0x86475f,'repeat');}function _getCheckerBoardPattern(_0x5d1d0d,_0x4d6286,_0x428577){const _0x3e5787=a64_0x129e;var _0x423368=getSize(_0x4d6286);const _0x454e56=document[_0x3e5787(0x165)](_0x3e5787(0x16c)),_0x4c5a8b=_0x454e56[_0x3e5787(0x157)]('2d');let _0x1858be=Math[_0x3e5787(0x162)](_0x423368[0x0]/_0x428577[_0x3e5787(0x147)],0x1),_0x53d580=Math['max'](_0x423368[0x1]/_0x428577[_0x3e5787(0x147)],0x1);return _0x454e56[_0x3e5787(0x16a)]=_0x1858be*0x2,_0x454e56[_0x3e5787(0x175)]=_0x53d580*0x2,_0x4c5a8b&&(_0x4c5a8b['beginPath'](),_0x4c5a8b['moveTo'](0x0,0x0),_0x4c5a8b['lineTo'](_0x1858be,0x0),_0x4c5a8b[_0x3e5787(0x13e)](_0x1858be,_0x53d580),_0x4c5a8b[_0x3e5787(0x13e)](0x0,_0x53d580),_0x4c5a8b['closePath'](),_0x4c5a8b[_0x3e5787(0x155)]=getColor(_0x428577[_0x3e5787(0x154)],_0x428577[_0x3e5787(0x142)]),_0x4c5a8b[_0x3e5787(0x168)](),_0x4c5a8b['beginPath'](),_0x4c5a8b['moveTo'](_0x1858be,0x0),_0x4c5a8b[_0x3e5787(0x13e)](_0x454e56[_0x3e5787(0x16a)],0x0),_0x4c5a8b[_0x3e5787(0x13e)](_0x454e56[_0x3e5787(0x16a)],_0x53d580),_0x4c5a8b[_0x3e5787(0x13e)](_0x1858be,_0x53d580),_0x4c5a8b[_0x3e5787(0x166)](),_0x4c5a8b[_0x3e5787(0x155)]=getColor(_0x428577['color'],_0x428577[_0x3e5787(0x142)]),_0x4c5a8b['fill'](),_0x4c5a8b[_0x3e5787(0x174)](),_0x4c5a8b[_0x3e5787(0x153)](0x0,_0x53d580),_0x4c5a8b[_0x3e5787(0x13e)](_0x1858be,_0x53d580),_0x4c5a8b[_0x3e5787(0x13e)](_0x1858be,_0x454e56[_0x3e5787(0x175)]),_0x4c5a8b[_0x3e5787(0x13e)](0x0,_0x454e56[_0x3e5787(0x175)]),_0x4c5a8b[_0x3e5787(0x166)](),_0x4c5a8b['fillStyle']=getColor(_0x428577[_0x3e5787(0x16d)],_0x428577['opacity']),_0x4c5a8b[_0x3e5787(0x168)](),_0x4c5a8b[_0x3e5787(0x174)](),_0x4c5a8b[_0x3e5787(0x153)](_0x1858be,_0x53d580),_0x4c5a8b[_0x3e5787(0x13e)](_0x454e56['width'],_0x53d580),_0x4c5a8b['lineTo'](_0x454e56['width'],_0x454e56['height']),_0x4c5a8b['lineTo'](_0x1858be,_0x454e56[_0x3e5787(0x175)]),_0x4c5a8b['closePath'](),_0x4c5a8b[_0x3e5787(0x155)]=getColor(_0x428577[_0x3e5787(0x154)],_0x428577[_0x3e5787(0x142)]),_0x4c5a8b[_0x3e5787(0x168)]()),_0x5d1d0d['createPattern'](_0x454e56,_0x3e5787(0x16b));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2e1a85,_0x17c713){const _0x3512f6=a65_0x3c02,_0x4db3de=_0x2e1a85();while(!![]){try{const _0x5bcb68=parseInt(_0x3512f6(0xad))/0x1*(parseInt(_0x3512f6(0xc8))/0x2)+parseInt(_0x3512f6(0xa9))/0x3*(-parseInt(_0x3512f6(0xba))/0x4)+-parseInt(_0x3512f6(0xb6))/0x5*(parseInt(_0x3512f6(0xbd))/0x6)+parseInt(_0x3512f6(0xa3))/0x7*(-parseInt(_0x3512f6(0x97))/0x8)+-parseInt(_0x3512f6(0xce))/0x9*(-parseInt(_0x3512f6(0xa7))/0xa)+-parseInt(_0x3512f6(0xa1))/0xb+parseInt(_0x3512f6(0x94))/0xc;if(_0x5bcb68===_0x17c713)break;else _0x4db3de['push'](_0x4db3de['shift']());}catch(_0x5023b5){_0x4db3de['push'](_0x4db3de['shift']());}}}(a65_0x4ce4,0x24ec5));function a65_0x3c02(_0x22a12a,_0x46eb58){const _0x4ce49d=a65_0x4ce4();return a65_0x3c02=function(_0x3c02c6,_0x4eb514){_0x3c02c6=_0x3c02c6-0x94;let _0x13178c=_0x4ce49d[_0x3c02c6];return _0x13178c;},a65_0x3c02(_0x22a12a,_0x46eb58);}import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';function a65_0x4ce4(){const _0x5dc90b=['show','8gDPqbK','sqrt','beginPath','save','arrow','MultiLineString','LineString','outlineOpacity','cos','535kUAuLg','color','push','setRenderer','32QshcaP','glowPower','outline','6432FbiEmc','lineTo','lineCap','lineWidth','length','stroke','getCoordinates','butt','getType','getFlatMidpoint','pow','46346fkwhiu','toString','closed','billboard','getGeometry','setGeometry','34479KbHZKT','5043420IyLNXi','white','sin','23232qDgWoj','outlineWidth','context','restore','shadowColor','outlineColor','width','strokeStyle','opacity','getFlatMidpoints','1822282yadQMA','getFirstCoordinate','7escjDP','glow','concat','moveTo','20PzZqqJ','label','67059ETNbro','shadowBlur','lineType'];a65_0x4ce4=function(){return _0x5dc90b;};return a65_0x4ce4();}import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x3f1428,_0x3fb2b6,_0x26641b,_0x319672){const _0x5900ce=a65_0x3c02;var _0x4e7ac8,_0x2f5b5d,_0x4bb699;let _0x36e9e2=(_0x4e7ac8=_0x3f1428['zIndex'])!==null&&_0x4e7ac8!==void 0x0?_0x4e7ac8:0x0;const _0xb4ca4e=_0x2efd50=>{const _0x4b99ad=a65_0x3c02;var _0x512853=_0x2efd50[_0x4b99ad(0xcc)]();if(_0x512853)return _getRealPolyline(_0x512853,_0x3f1428);return _0x512853;},_0x528985=_0x4af66a=>{const _0xe14198=a65_0x3c02;var _0x97b946=_0x4af66a['getGeometry']();let _0x4912cb=_0x97b946;_0x97b946&&(_0x4912cb=_getRealPolyline(_0x97b946,_0x3f1428));if(_0x4912cb&&_0x4912cb['getType']()===_0xe14198(0xb3))return new Point(_0x4912cb[_0xe14198(0xc6)]());else{let _0x590426=_0x4912cb[_0xe14198(0xa0)](),_0x3b35b8=0x2,_0x3750b1=[];for(let _0x455827=0x0,_0x343b81=_0x590426[_0xe14198(0xc1)];_0x455827<_0x343b81;_0x455827+=_0x3b35b8){let _0x1d4d95=[_0x590426[_0x455827],_0x590426[_0x455827+0x1]];_0x3750b1[_0xe14198(0xb8)](_0x1d4d95);}return new MultiPoint(_0x3750b1);}};let _0x3cb8be=new Style({'geometry':_0xb4ca4e,'stroke':new Stroke({'color':getColor(_0x3f1428['color'],_0x3f1428[_0x5900ce(0x9f)]),'width':_0x3f1428['width']}),'zIndex':_0x36e9e2}),_0x5ca386=[_0x3cb8be];if(_0x3f1428[_0x5900ce(0xab)]==='dash'){let _0x4bbf35=_0x3f1428[_0x5900ce(0x98)]/0x2,_0x4bbdff=new Style({'geometry':_0xb4ca4e,'zIndex':_0x36e9e2,'stroke':new Stroke({'color':getColor(_0x3f1428['color'],_0x3f1428[_0x5900ce(0x9f)]),'width':_0x3f1428[_0x5900ce(0x9d)],'lineCap':'butt','lineDash':[_0x4bbf35,_0x4bbf35]})}),_0x532107=new Style({'geometry':_0xb4ca4e,'zIndex':_0x36e9e2+0.5,'stroke':new Stroke({'color':getColor(_0x3f1428[_0x5900ce(0x9c)],Number((_0x4bb699=(_0x2f5b5d=_0x3f1428[_0x5900ce(0xb4)])!==null&&_0x2f5b5d!==void 0x0?_0x2f5b5d:_0x3f1428['opacity'])!==null&&_0x4bb699!==void 0x0?_0x4bb699:0x1)),'width':_0x3f1428[_0x5900ce(0x9d)],'lineCap':'butt','lineDash':[_0x4bbf35,_0x4bbf35],'lineDashOffset':_0x4bbf35})});_0x5ca386=[_0x4bbdff,_0x532107];}_0x3f1428[_0x5900ce(0xab)]===_0x5900ce(0xb1)&&_0x3cb8be[_0x5900ce(0xb9)]((_0x564482,_0x24be76)=>{const _0x24678d=_0x5900ce;let _0x1a4a43=_0x24be76[_0x24678d(0x99)],_0x101024=parseInt((_0x3f1428[_0x24678d(0x9d)]/0x4)[_0x24678d(0xc9)]()),_0x1fdd21=0xa,_0x21876a=Math[_0x24678d(0xae)](Math[_0x24678d(0xc7)](_0x1fdd21,0x2)+Math['pow'](_0x3f1428[_0x24678d(0x9d)]/0x2,0x2)),_0x205186=0x2d,_0x4b19a5=_0x564482[_0x564482[_0x24678d(0xc1)]-0x2][0x0],_0x214c90=_0x564482[_0x564482[_0x24678d(0xc1)]-0x2][0x1],_0xd1e2c1=_0x564482[_0x564482[_0x24678d(0xc1)]-0x1][0x0],_0x8db6a9=_0x564482[_0x564482['length']-0x1][0x1],_0x14a384=Math['atan2'](_0x214c90-_0x8db6a9,_0x4b19a5-_0xd1e2c1)*0xb4/Math['PI'],_0x1be7ff=(_0x14a384+_0x205186)*Math['PI']/0xb4,_0x161796=(_0x14a384-_0x205186)*Math['PI']/0xb4,_0xfb6e94=_0x21876a*Math['cos'](_0x1be7ff),_0x21cd0b=_0x21876a*Math[_0x24678d(0x96)](_0x1be7ff),_0x59208b=_0x21876a*Math[_0x24678d(0xb5)](_0x161796),_0x2f3f46=_0x21876a*Math[_0x24678d(0x96)](_0x161796);_0x1a4a43[_0x24678d(0xb0)](),_0x1a4a43[_0x24678d(0xaf)]();let _0x1463b7,_0x52099d;for(let _0x42cdc6=0x0;_0x42cdc6<_0x564482[_0x24678d(0xc1)];_0x42cdc6++){_0x42cdc6===0x0?_0x1a4a43[_0x24678d(0xa6)](_0x564482[_0x42cdc6][0x0],_0x564482[_0x42cdc6][0x1]):_0x1a4a43[_0x24678d(0xbe)](_0x564482[_0x42cdc6][0x0],_0x564482[_0x42cdc6][0x1]);}_0x1a4a43['strokeStyle']=getColor(_0x3f1428['color'],_0x3f1428[_0x24678d(0x9f)]),_0x1a4a43['lineWidth']=_0x101024,_0x1a4a43[_0x24678d(0xbf)]=_0x24678d(0xc4),_0x1a4a43[_0x24678d(0xc2)](),_0x1463b7=_0xd1e2c1+_0xfb6e94,_0x52099d=_0x8db6a9+_0x21cd0b,_0x1a4a43[_0x24678d(0xa6)](_0x1463b7,_0x52099d),_0x1a4a43[_0x24678d(0xbe)](_0xd1e2c1,_0x8db6a9),_0x1463b7=_0xd1e2c1+_0x59208b,_0x52099d=_0x8db6a9+_0x2f3f46,_0x1a4a43['lineTo'](_0x1463b7,_0x52099d),_0x1a4a43['lineCap']=_0x24678d(0xc4),_0x1a4a43[_0x24678d(0xc2)](),_0x1a4a43[_0x24678d(0x9a)]();});_0x3f1428[_0x5900ce(0xab)]===_0x5900ce(0xa4)&&_0x3cb8be[_0x5900ce(0xb9)]((_0x32a98c,_0x6ee1bb)=>{const _0x18277c=_0x5900ce;let _0x26096e=_0x6ee1bb[_0x18277c(0x99)];_0x26096e[_0x18277c(0xb0)]();for(let _0x3bd99b=0x0;_0x3bd99b<0x4;_0x3bd99b++){let _0x2d7d31=_0x3f1428[_0x18277c(0x9d)]/0xa*(_0x3f1428[_0x18277c(0xbb)]===0x0?0x1:_0x3f1428[_0x18277c(0xbb)]);_0x26096e[_0x18277c(0x9b)]=getColor(_0x3f1428[_0x18277c(0xb7)],_0x3f1428[_0x18277c(0x9f)]),_0x26096e[_0x18277c(0xaa)]=_0x3f1428[_0x18277c(0x9d)]/0x5*0x2,_0x26096e[_0x18277c(0xaf)]();for(let _0x4e9080=0x0;_0x4e9080<_0x32a98c[_0x18277c(0xc1)];_0x4e9080++){_0x4e9080===0x0?_0x26096e[_0x18277c(0xa6)](_0x32a98c[_0x4e9080][0x0],_0x32a98c[_0x4e9080][0x1]):_0x26096e[_0x18277c(0xbe)](_0x32a98c[_0x4e9080][0x0],_0x32a98c[_0x4e9080][0x1]);}_0x26096e['lineCap']=_0x18277c(0xc4),_0x26096e[_0x18277c(0xc0)]=_0x2d7d31,_0x26096e['strokeStyle']=getColor(_0x18277c(0x95),_0x3f1428[_0x18277c(0x9f)]),_0x26096e[_0x18277c(0xc2)]();}_0x26096e[_0x18277c(0x9a)]();});_0x3f1428['lineType']===_0x5900ce(0xbc)&&_0x3cb8be[_0x5900ce(0xb9)]((_0x5baf49,_0x47c5af)=>{const _0x15662d=_0x5900ce;let _0x3db97a=_0x47c5af[_0x15662d(0x99)];_0x3db97a[_0x15662d(0xb0)](),_0x3db97a[_0x15662d(0xaf)]();for(let _0x13ff99=0x0;_0x13ff99<_0x5baf49[_0x15662d(0xc1)];_0x13ff99++){_0x13ff99===0x0?_0x3db97a[_0x15662d(0xa6)](_0x5baf49[_0x13ff99][0x0],_0x5baf49[_0x13ff99][0x1]):_0x3db97a[_0x15662d(0xbe)](_0x5baf49[_0x13ff99][0x0],_0x5baf49[_0x13ff99][0x1]);}_0x3db97a[_0x15662d(0xbf)]=_0x15662d(0xc4),_0x3db97a[_0x15662d(0xc0)]=_0x3f1428[_0x15662d(0x9d)],_0x3db97a[_0x15662d(0x9e)]=getColor(_0x3f1428[_0x15662d(0x9c)],_0x3f1428[_0x15662d(0x9f)]),_0x3db97a[_0x15662d(0xc2)](),_0x3db97a['beginPath']();for(let _0x387c1b=0x0;_0x387c1b<_0x5baf49[_0x15662d(0xc1)];_0x387c1b++){_0x387c1b===0x0?_0x3db97a[_0x15662d(0xa6)](_0x5baf49[_0x387c1b][0x0],_0x5baf49[_0x387c1b][0x1]):_0x3db97a[_0x15662d(0xbe)](_0x5baf49[_0x387c1b][0x0],_0x5baf49[_0x387c1b][0x1]);}_0x3db97a[_0x15662d(0xbf)]=_0x15662d(0xc4),_0x3f1428['outlineWidth']>=_0x3f1428[_0x15662d(0x9d)]&&(_0x3f1428[_0x15662d(0x98)]=_0x3f1428[_0x15662d(0x9d)]-0x1),_0x3db97a[_0x15662d(0xc0)]=_0x3f1428[_0x15662d(0x9d)]-_0x3f1428[_0x15662d(0x98)],_0x3db97a[_0x15662d(0x9e)]=getColor(_0x3f1428[_0x15662d(0xb7)],_0x3f1428[_0x15662d(0x9f)]),_0x3db97a[_0x15662d(0xc2)](),_0x3db97a[_0x15662d(0x9a)]();});let _0x48d364=getImageOlStyle(_0x3f1428[_0x5900ce(0xcb)],_0x36e9e2,_0x26641b,_0x319672);_0x48d364&&(_0x48d364[_0x5900ce(0xcd)](_0x528985),_0x5ca386[_0x5900ce(0xb8)](_0x48d364));if(_0x3f1428['label']&&_0x3f1428[_0x5900ce(0xa8)][_0x5900ce(0xac)]!==![]){let _0x4096f9=new Style({'geometry':_0x528985,'text':createTextStyle(_0x3f1428[_0x5900ce(0xa8)],_0x3fb2b6,_0x26641b,_0x319672),'zIndex':Number(_0x36e9e2)+0x1});_0x5ca386[_0x5900ce(0xb8)](_0x4096f9);}return _0x5ca386;}function _getRealPolyline(_0x4169b8,_0x5d5748){const _0x2317f4=a65_0x3c02;if(!(_0x5d5748===null||_0x5d5748===void 0x0?void 0x0:_0x5d5748[_0x2317f4(0xca)]))return _0x4169b8;else{if(_0x4169b8[_0x2317f4(0xc5)]()===_0x2317f4(0xb2)){let _0x2fa8e2=_0x4169b8[_0x2317f4(0xc3)]();for(let _0x2891a7 in _0x2fa8e2){let _0x552e85=_0x2fa8e2[_0x2891a7];_0x2fa8e2[_0x2891a7]=_0x552e85[_0x2317f4(0xa5)]([_0x552e85[0x0]]);}return new MultiLineString(_0x2fa8e2);}else return new LineString(_0x4169b8[_0x2317f4(0xc3)]()[_0x2317f4(0xa5)]([_0x4169b8[_0x2317f4(0xa2)]()]));}}
|
package/style/StyleManager.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x53525d,_0x39cd1e){const _0x38a0f3=a66_0x5bab,_0x252fd8=_0x53525d();while(!![]){try{const _0x214347=-parseInt(_0x38a0f3(0x130))/0x1*(parseInt(_0x38a0f3(0x138))/0x2)+parseInt(_0x38a0f3(0x128))/0x3*(parseInt(_0x38a0f3(0x12f))/0x4)+-parseInt(_0x38a0f3(0x122))/0x5*(parseInt(_0x38a0f3(0x132))/0x6)+-parseInt(_0x38a0f3(0x137))/0x7*(parseInt(_0x38a0f3(0x136))/0x8)+-parseInt(_0x38a0f3(0x139))/0x9+-parseInt(_0x38a0f3(0x12c))/0xa+parseInt(_0x38a0f3(0x12a))/0xb*(parseInt(_0x38a0f3(0x124))/0xc);if(_0x214347===_0x39cd1e)break;else _0x252fd8['push'](_0x252fd8['shift']());}catch(_0x3afac6){_0x252fd8['push'](_0x252fd8['shift']());}}}(a66_0x68cf,0xb5890));function a66_0x68cf(){const _0xd2ae10=['rgba(0,\x20255,0,\x200)','11865172HDxlbp','rgba(121,\x20243,\x20238,\x200.3)','14157360TLCLqv','setFill','rgba(121,\x20243,\x20238,\x201)','606444CdEAdY','3YAhujc','fill','3482994UNFnEE','outlineOpacity','text','color','8FgXNCP','8910293PlOfOE','735292TttqLb','6592077CMtACw','rgba(0,\x20255,0,\x201)','5oDEdne','rgba(121,\x20243,\x20238,\x200)','60lmViSb','opacity','outlineWidth','outlineColor','9mgkZpv'];a66_0x68cf=function(){return _0xd2ae10;};return a66_0x68cf();}import a66_0x288199 from'ol/style/Circle';import a66_0xa77f6a from'ol/style/Fill';function a66_0x5bab(_0x1388fc,_0x4becfc){const _0x68cf7c=a66_0x68cf();return a66_0x5bab=function(_0x5bab13,_0x98b6a2){_0x5bab13=_0x5bab13-0x122;let _0x480aea=_0x68cf7c[_0x5bab13];return _0x480aea;},a66_0x5bab(_0x1388fc,_0x4becfc);}import a66_0x23dac4 from'ol/style/Stroke';import a66_0x270db0 from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x21ee3c=a66_0x5bab;return new a66_0x270db0({'image':new a66_0x288199({'radius':0x5,'fill':new a66_0xa77f6a({'color':_0x21ee3c(0x12e)}),'stroke':new a66_0x23dac4({'color':_0x21ee3c(0x12e),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x406453=a66_0x5bab;return new a66_0x270db0({'image':new a66_0x288199({'radius':0x5,'fill':new a66_0xa77f6a({'color':_0x406453(0x123)}),'stroke':new a66_0x23dac4({'color':_0x406453(0x12e),'width':0x1})})});}export function getSelectLineStyle(){const _0x1fd92c=a66_0x5bab;return new a66_0x270db0({'stroke':new a66_0x23dac4({'color':_0x1fd92c(0x12e),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x498e46=a66_0x5bab;return new a66_0x270db0({'stroke':new a66_0x23dac4({'color':_0x498e46(0x13a),'width':0x2})});}export function getSelectPolygonStyle(){const _0x1e0c40=a66_0x5bab;return new a66_0x270db0({'stroke':new a66_0x23dac4({'color':_0x1e0c40(0x12e),'width':0x2}),'fill':new a66_0xa77f6a({'color':_0x1e0c40(0x12b)})});}export function getSelectCancelPolygonStyle(){const _0x26bc87=a66_0x5bab;return new a66_0x270db0({'stroke':new a66_0x23dac4({'color':'rgba(0,\x20255,0,\x201)','width':0x2}),'fill':new a66_0xa77f6a({'color':_0x26bc87(0x129)})});}export function getStyle(_0xf37bfa){const _0x299f91=a66_0x5bab;if(_0xf37bfa){if(_0xf37bfa[_0x299f91(0x134)])return new a66_0x270db0({'text':createTextStyle(_0xf37bfa,_0xf37bfa[_0x299f91(0x134)]),'zIndex':0x1});else{const _0x5295d4=new a66_0x270db0();return _0xf37bfa[_0x299f91(0x127)]&&_0x5295d4['setStroke'](new a66_0x23dac4({'color':getColor(_0xf37bfa[_0x299f91(0x127)],_0xf37bfa[_0x299f91(0x133)]),'width':_0xf37bfa[_0x299f91(0x126)]||0x1})),_0xf37bfa[_0x299f91(0x135)]&&_0x5295d4[_0x299f91(0x12d)](new a66_0xa77f6a({'color':getColor(_0xf37bfa[_0x299f91(0x131)],_0xf37bfa[_0x299f91(0x125)])})),_0x5295d4;}}return new a66_0x270db0({'stroke':new a66_0x23dac4({'color':_0x299f91(0x12e),'width':0x2}),'fill':new a66_0xa77f6a({'color':_0x299f91(0x12b)})});}
|
package/style/common.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a62_0x5c79(){const _0x36d2f7=['LOADED','target','fill','italic','2vIqRKk','47198mVPPOv','opacity','border','offsetY','size','getResolutionForZoom','markerColor','bold','weight','border_width','font','\x20normal\x20','948924TGPsuf','family','#2A2A2A','border_color','color','getImageState','px\x20','ERROR','distanceDisplayNear','1234740Gakwvk','getImage','listenImageChange','outlineWidth','2711187JJtvYU','1635785UzqNOd','getView','load','textBaseline','IDLE','hexa','textAlign','pow','51006fjTxvc','175320TTHGVV','image','7cYoSVo','offsetX'];a62_0x5c79=function(){return _0x36d2f7;};return a62_0x5c79();}(function(_0x11b043,_0x457f41){const _0x5e25aa=a62_0x3a3c,_0x47cbb6=_0x11b043();while(!![]){try{const _0x1d4c62=-parseInt(_0x5e25aa(0x1bf))/0x1*(-parseInt(_0x5e25aa(0x1c0))/0x2)+-parseInt(_0x5e25aa(0x1e2))/0x3+-parseInt(_0x5e25aa(0x1d5))/0x4+parseInt(_0x5e25aa(0x1da))/0x5+-parseInt(_0x5e25aa(0x1cc))/0x6+parseInt(_0x5e25aa(0x1e5))/0x7*(parseInt(_0x5e25aa(0x1e3))/0x8)+parseInt(_0x5e25aa(0x1d9))/0x9;if(_0x1d4c62===_0x457f41)break;else _0x47cbb6['push'](_0x47cbb6['shift']());}catch(_0x42cfd5){_0x47cbb6['push'](_0x47cbb6['shift']());}}}(a62_0x5c79,0x342a8));import a62_0x2dfe31 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a62_0x152bba from'../utils/plug/canvas/PinIcon';import a62_0x2275fa from'ol/ImageState';export function isShowStyle(_0x1b4eb2,_0x4e76f4,_0x1daf6c){const _0x5dd236=a62_0x3a3c;let _0x18be32=!![];if(_0x4e76f4==undefined||_0x1daf6c==undefined)return _0x18be32;if(_0x1b4eb2&&typeof _0x1b4eb2['distanceDisplayFar']!=undefined&&typeof _0x1b4eb2[_0x5dd236(0x1d4)]!=undefined){if(_0x1b4eb2['distanceDisplayFar']&&_0x1daf6c){_0x18be32=![];let _0x5d6fed=getLevel(_0x1b4eb2['distanceDisplayFar']),_0x27d16d=_0x1daf6c[_0x5dd236(0x1db)]()[_0x5dd236(0x1c5)](_0x5d6fed);_0x4e76f4<_0x27d16d&&(_0x18be32=!![]);}if(_0x18be32&&_0x1b4eb2[_0x5dd236(0x1d4)]&&_0x1daf6c){_0x18be32=![];let _0xbf899e=getLevel(_0x1b4eb2['distanceDisplayNear']),_0x471ae2=_0x1daf6c['getView']()[_0x5dd236(0x1c5)](_0xbf899e);_0x4e76f4>_0x471ae2&&(_0x18be32=!![]);}}return _0x18be32;}export function getLevel(_0x3d4c77){const _0x5d229a=a62_0x3a3c,_0x98f87c=3252.745,_0x75524=0.0009198301,_0x2ce6d6=52977.61,_0x43c476=-3228.107;return _0x43c476+(_0x98f87c-_0x43c476)/(0x1+Math[_0x5d229a(0x1e1)](_0x3d4c77/_0x2ce6d6,_0x75524));}export function toRadians(_0x4924c6){if(_0x4924c6)return-(_0x4924c6*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x165904,_0x2fa0fd,_0x5809e7,_0x21f603){const _0x1e677f=a62_0x3a3c;if(_0x165904){let _0x37abc2=isShowStyle(_0x165904,_0x5809e7,_0x21f603);if(_0x37abc2===![])return undefined;else{const _0x485257=_0x165904[_0x1e677f(0x1ca)],_0x29f007=(_0x485257===null||_0x485257===void 0x0?void 0x0:_0x485257[_0x1e677f(0x1be)])?_0x1e677f(0x1be):'normal',_0x146686=(_0x485257===null||_0x485257===void 0x0?void 0x0:_0x485257[_0x1e677f(0x1c8)])?_0x1e677f(0x1c7):'normal',_0x46df5b=(_0x485257===null||_0x485257===void 0x0?void 0x0:_0x485257[_0x1e677f(0x1c4)])||'25',_0x118ed9=(_0x485257===null||_0x485257===void 0x0?void 0x0:_0x485257[_0x1e677f(0x1cd)])||'楷体';let _0x35565e=_0x29f007+_0x1e677f(0x1cb)+_0x146686+'\x20'+_0x46df5b+_0x1e677f(0x1d2)+_0x118ed9,_0x1b0bfc=(_0x485257===null||_0x485257===void 0x0?void 0x0:_0x485257[_0x1e677f(0x1e6)])||0x0,_0x4e4f5d=(_0x485257===null||_0x485257===void 0x0?void 0x0:_0x485257[_0x1e677f(0x1c3)])||0x0,_0x4f84a6=(_0x485257===null||_0x485257===void 0x0?void 0x0:_0x485257[_0x1e677f(0x1dd)])||'middle',_0x1e9dd2=(_0x485257===null||_0x485257===void 0x0?void 0x0:_0x485257[_0x1e677f(0x1e0)])||'center';const _0x345194=_0x165904[_0x1e677f(0x1c1)]||0x1;return new Text({'text':_0x2fa0fd,'font':_0x35565e,'offsetX':_0x1b0bfc,'offsetY':_0x4e4f5d,'textAlign':_0x1e9dd2,'textBaseline':_0x4f84a6,'fill':new Fill({'color':getColor(_0x165904[_0x1e677f(0x1d0)],_0x345194)}),'stroke':_getLabelStroke(_0x165904),'backgroundFill':_0x165904['fill']?new Fill({'color':getColor(_0x165904[_0x1e677f(0x1bd)]||_0x1e677f(0x1ce),_0x345194)}):undefined});}}else return undefined;}export function getColor(_0x4ee71d,_0x1b07dc){const _0x454873=a62_0x3a3c;return a62_0x2dfe31(_0x4ee71d)['alpha'](_0x1b07dc!=undefined?_0x1b07dc:0x1)[_0x454873(0x1df)]();}function _getLabelStroke(_0x7fa8b6){const _0x4f6935=a62_0x3a3c;if(_0x7fa8b6[_0x4f6935(0x1c2)])return new Stroke({'color':getColor(_0x7fa8b6[_0x4f6935(0x1cf)],_0x7fa8b6['opacity']),'width':_0x7fa8b6[_0x4f6935(0x1c9)]});if(_0x7fa8b6['outline'])return new Stroke({'color':getColor(_0x7fa8b6['outlineColor'],_0x7fa8b6['opacity']),'width':_0x7fa8b6[_0x4f6935(0x1d8)]});}function a62_0x3a3c(_0x47ee43,_0x1be733){const _0x5c7985=a62_0x5c79();return a62_0x3a3c=function(_0x3a3c12,_0x397332){_0x3a3c12=_0x3a3c12-0x1bc;let _0x43646c=_0x5c7985[_0x3a3c12];return _0x43646c;},a62_0x3a3c(_0x47ee43,_0x1be733);}export function preLoadImageRenderFunction(_0x158f26,_0x4be1f5,_0xfafea5,_0x23833b,_0x518f75){const _0x3b095b=a62_0x3a3c;let _0x523fc4;_0x158f26[_0x3b095b(0x1c6)]?_0x523fc4=new a62_0x152bba(_0x158f26):_0x523fc4=new Icon({'src':_0x158f26[_0x3b095b(0x1e4)]});let _0x779a8d=_0x523fc4[_0x3b095b(0x1d1)]();_0x779a8d===a62_0x2275fa[_0x3b095b(0x1e7)]||_0x779a8d===a62_0x2275fa[_0x3b095b(0x1d3)]?_0x518f75(_0x158f26,_0x4be1f5,_0xfafea5,_0x23833b,_0x523fc4[_0x3b095b(0x1d6)](0x60)):(_0x779a8d===a62_0x2275fa[_0x3b095b(0x1de)]&&_0x523fc4[_0x3b095b(0x1dc)](),_0x523fc4[_0x3b095b(0x1d7)](_0x323e90=>{const _0x415d64=_0x3b095b;_0x779a8d=_0x323e90[_0x415d64(0x1bc)]['getImageState'](),(_0x779a8d===a62_0x2275fa[_0x415d64(0x1e7)]||_0x779a8d===a62_0x2275fa[_0x415d64(0x1d3)])&&_0x518f75(_0x158f26,_0x4be1f5,_0xfafea5,_0x23833b,_0x523fc4[_0x415d64(0x1d6)](0x60));}));}
|
package/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:pan-x pan-y}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.ol-scroll-layer{position:absolute;z-index:882128;background:#000}.ol-scroll-layer-vertical{width:1px;cursor:col-resize;left:50%;top:0;bottom:0}input[type=range]{margin-top:8px;outline:none;-webkit-appearance:none;width:99%!important;background:-webkit-linear-gradient(#61bd12,#61bd12) no-repeat,#ddd;background-size:100% 100%;height:0px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;height:32px;width:32px;background:#fff;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAABlBMVEV9fX3///+Kct39AAAAAnRSTlP/AOW3MEoAAAA9SURBVFjD7dehDQAwDANBZ/+l2wmKoiqR7pHRcaeaCxAIBAL/g7k9JxAIBAKBQCAQCAQC14H+MhAIBE4CD3fOFvGVBzhZAAAAAElFTkSuQmCC);background-size:100% 100%;border-radius:50%;border:solid 1px #e1e1e1;background-position:left}.ol-legend-item{display:flex;align-items:center}.ol-legend-icon-size{width:16px;height:16px;margin-right:5px}
|
|
1
|
+
:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:pan-x pan-y}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.ol-scroll-layer{position:absolute;z-index:882128;background:#000}.ol-scroll-layer-vertical{width:1px;cursor:col-resize;left:50%;top:0;bottom:0}input[type=range]{margin-top:8px;outline:none;-webkit-appearance:none;width:99%!important;background:-webkit-linear-gradient(#61bd12,#61bd12) no-repeat,#ddd;background-size:100% 100%;height:0px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;height:32px;width:32px;background:#fff;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAABlBMVEV9fX3///+Kct39AAAAAnRSTlP/AOW3MEoAAAA9SURBVFjD7dehDQAwDANBZ/+l2wmKoiqR7pHRcaeaCxAIBAL/g7k9JxAIBAKBQCAQCAQC14H+MhAIBE4CD3fOFvGVBzhZAAAAAElFTkSuQmCC);background-size:100% 100%;border-radius:50%;border:solid 1px #e1e1e1;background-position:left}.ol-legend-layer{margin-top:7px}.ol-legend-title{font-weight:700;text-align:center;margin-bottom:5px}.legend-layer-title{font-weight:700}.ol-legend-item{display:flex;align-items:center;margin:4px 0}.ol-legend-icon-size{width:16px;height:16px;margin-right:5px}
|
package/utils/ArrayUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xebadfa,_0x4bbc65){const _0x5e4eda=a67_0x5d97,_0x20ad6d=_0xebadfa();while(!![]){try{const _0x313ed0=-parseInt(_0x5e4eda(0x14e))/0x1+-parseInt(_0x5e4eda(0x14a))/0x2*(parseInt(_0x5e4eda(0x14b))/0x3)+-parseInt(_0x5e4eda(0x14d))/0x4+parseInt(_0x5e4eda(0x147))/0x5*(parseInt(_0x5e4eda(0x154))/0x6)+parseInt(_0x5e4eda(0x14f))/0x7+-parseInt(_0x5e4eda(0x146))/0x8*(parseInt(_0x5e4eda(0x150))/0x9)+parseInt(_0x5e4eda(0x145))/0xa;if(_0x313ed0===_0x4bbc65)break;else _0x20ad6d['push'](_0x20ad6d['shift']());}catch(_0x5e8907){_0x20ad6d['push'](_0x20ad6d['shift']());}}}(a67_0x1e93,0x81f1c));export function getDeepth(_0x1163ce){function _0x13e35b(_0x42308c,_0x3eb170){const _0x5427df=a67_0x5d97;return _0x42308c[_0x5427df(0x148)](function(_0x3d9434,_0x3994c1){const _0x1a1003=_0x5427df;var _0xc9ed6b;return Array[_0x1a1003(0x14c)](_0x3994c1)&&(_0xc9ed6b=_0x13e35b(_0x3994c1,_0x3eb170+0x1)),_0xc9ed6b>_0x3d9434?_0xc9ed6b:_0x3d9434;},_0x3eb170);}return _0x13e35b(_0x1163ce,0x1);}function a67_0x5d97(_0x1b0377,_0x37cacc){const _0x1e9308=a67_0x1e93();return a67_0x5d97=function(_0x5d97c5,_0x5cb08a){_0x5d97c5=_0x5d97c5-0x145;let _0xb8791b=_0x1e9308[_0x5d97c5];return _0xb8791b;},a67_0x5d97(_0x1b0377,_0x37cacc);}export function compareArray(_0x45e0f9,_0x548161){const _0x438caa=a67_0x5d97;if(_0x45e0f9[_0x438caa(0x152)]!==_0x548161[_0x438caa(0x152)])return![];const _0x3bf026=_0x45e0f9[_0x438caa(0x152)];for(let _0x315988=0x0;_0x315988<_0x3bf026;_0x315988++){if(!compare(_0x45e0f9[_0x315988],_0x548161[_0x315988]))return![];}return!![];}function a67_0x1e93(){const _0x3dddc6=['length','every','202260aqMcLi','16983570itXRUx','1419208ZrmhOu','90amRvQl','reduce','object','2FhsLSl','2339979kuKVfu','isArray','349472dMcFyp','861507lWzutd','933688YANmyv','9fSLDsO','keys'];a67_0x1e93=function(){return _0x3dddc6;};return a67_0x1e93();}export function compare(_0x4105c9,_0x146df5){const _0x4ca1da=a67_0x5d97;if(_0x4105c9===_0x146df5)return!![];if(typeof _0x4105c9!==typeof _0x146df5||_0x4105c9===null||_0x146df5===null)return![];if(Array['isArray'](_0x4105c9)){if(!Array[_0x4ca1da(0x14c)](_0x146df5))return![];return compareArray(_0x4105c9,_0x146df5);}if(typeof _0x4105c9===_0x4ca1da(0x149))return compareObject(_0x4105c9,_0x146df5);return![];}export function compareObject(_0x13f053,_0x297507){const _0x49a694=a67_0x5d97,_0x7ff855=Object[_0x49a694(0x151)](_0x13f053),_0x35135c=Object[_0x49a694(0x151)](_0x297507);if(_0x7ff855['length']!==_0x35135c[_0x49a694(0x152)])return![];return _0x7ff855[_0x49a694(0x153)](_0x206997=>{if(!compare(_0x13f053[_0x206997],_0x297507[_0x206997]))return![];return!![];});}
|
package/utils/AxiosUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a68_0x49b3(_0x7152fb,_0x50eceb){const _0x486705=a68_0x4867();return a68_0x49b3=function(_0x49b3a5,_0x399728){_0x49b3a5=_0x49b3a5-0x13c;let _0x3e524a=_0x486705[_0x49b3a5];return _0x3e524a;},a68_0x49b3(_0x7152fb,_0x50eceb);}function a68_0x4867(){const _0x45f083=['1233jQxKBh','hasOwnProperty','1197320RUIAib','constructor','2001835mRCIol','create','19192IMFzvm','20vygDkY','stringify','1QVcLIQ','1391262LkKSQl','61122DYveUu','append','538929jIzMAk','387090xdOHyw','567LfPTMn','get'];a68_0x4867=function(){return _0x45f083;};return a68_0x4867();}const a68_0x4c231f=a68_0x49b3;(function(_0x135a3d,_0x3b44d9){const _0x27fef1=a68_0x49b3,_0x4d91ba=_0x135a3d();while(!![]){try{const _0x17df5f=-parseInt(_0x27fef1(0x144))/0x1*(-parseInt(_0x27fef1(0x145))/0x2)+parseInt(_0x27fef1(0x148))/0x3*(parseInt(_0x27fef1(0x142))/0x4)+parseInt(_0x27fef1(0x149))/0x5+parseInt(_0x27fef1(0x146))/0x6*(-parseInt(_0x27fef1(0x14a))/0x7)+parseInt(_0x27fef1(0x141))/0x8*(-parseInt(_0x27fef1(0x14c))/0x9)+parseInt(_0x27fef1(0x13d))/0xa+-parseInt(_0x27fef1(0x13f))/0xb;if(_0x17df5f===_0x3b44d9)break;else _0x4d91ba['push'](_0x4d91ba['shift']());}catch(_0x55ccf6){_0x4d91ba['push'](_0x4d91ba['shift']());}}}(a68_0x4867,0x6f221));import a68_0x3dd3d4 from'axios';import a68_0x1e9a3a from'jquery';const request=a68_0x3dd3d4[a68_0x4c231f(0x140)]({'timeout':0xb4*0x3e8});export function jsonp(_0x32fa3a){return new Promise((_0x30024c,_0x703d49)=>{const _0x2fd1aa=a68_0x49b3;a68_0x1e9a3a['ajax']({'url':_0x32fa3a,'type':_0x2fd1aa(0x14b),'dataType':'jsonp','success':_0x4d2341=>{_0x30024c(_0x4d2341);},'error':_0x5b51f4=>{_0x703d49(_0x5b51f4);}});});}export function stringify(_0x102a9){const _0x4b6647=a68_0x4c231f,_0x2171a7=new FormData();for(const _0x4a11f3 in _0x102a9){if(_0x102a9[_0x4b6647(0x13c)](_0x4a11f3)){if(_0x102a9[_0x4a11f3]){if(_0x102a9[_0x4a11f3][_0x4b6647(0x13e)]===Array)_0x102a9[_0x4a11f3][0x0]?_0x102a9[_0x4a11f3][0x0][_0x4b6647(0x13e)]===Object?_0x2171a7[_0x4b6647(0x147)](_0x4a11f3,JSON[_0x4b6647(0x143)](_0x102a9[_0x4a11f3])):_0x102a9[_0x4a11f3]['forEach']((_0x22a229,_0x58a537)=>{_0x2171a7['append'](_0x4a11f3+('['+_0x58a537+']'),_0x22a229);}):_0x2171a7[_0x4b6647(0x147)](_0x4a11f3+'[]','');else _0x102a9[_0x4a11f3][_0x4b6647(0x13e)]===Object?_0x2171a7[_0x4b6647(0x147)](_0x4a11f3,JSON[_0x4b6647(0x143)](_0x102a9[_0x4a11f3])):_0x2171a7[_0x4b6647(0x147)](_0x4a11f3,_0x102a9[_0x4a11f3]);}else _0x102a9[_0x4a11f3]===0x0?_0x2171a7[_0x4b6647(0x147)](_0x4a11f3,'0'):_0x2171a7[_0x4b6647(0x147)](_0x4a11f3,'');}}return _0x2171a7;}export default request;
|
package/utils/EsriUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a69_0x4b90(_0x2ba560,_0x3aab7e){const _0x523542=a69_0x5235();return a69_0x4b90=function(_0x4b9052,_0x28cbdf){_0x4b9052=_0x4b9052-0x10c;let _0x447086=_0x523542[_0x4b9052];return _0x447086;},a69_0x4b90(_0x2ba560,_0x3aab7e);}(function(_0x465b7a,_0x5c2ad4){const _0x19c9b6=a69_0x4b90,_0xe6e4ed=_0x465b7a();while(!![]){try{const _0x53c635=parseInt(_0x19c9b6(0x11b))/0x1*(parseInt(_0x19c9b6(0x116))/0x2)+-parseInt(_0x19c9b6(0x117))/0x3*(-parseInt(_0x19c9b6(0x10d))/0x4)+-parseInt(_0x19c9b6(0x10f))/0x5+parseInt(_0x19c9b6(0x113))/0x6*(-parseInt(_0x19c9b6(0x115))/0x7)+-parseInt(_0x19c9b6(0x118))/0x8*(parseInt(_0x19c9b6(0x11a))/0x9)+parseInt(_0x19c9b6(0x112))/0xa*(-parseInt(_0x19c9b6(0x10e))/0xb)+parseInt(_0x19c9b6(0x119))/0xc;if(_0x53c635===_0x5c2ad4)break;else _0xe6e4ed['push'](_0xe6e4ed['shift']());}catch(_0x2faeff){_0xe6e4ed['push'](_0xe6e4ed['shift']());}}}(a69_0x5235,0xbb5c8));function a69_0x5235(){const _0x381c15=['EPSG:','7QvAcXw','2NNJHGH','9IIvrAz','2944GwOEyW','24065592rzfVuR','27468VzwkQn','1201947YFDzNY','indexOf','1517420ZndZNd','33USdEcy','2768715yytIAI','toUpperCase','replace','3665170BDeVvF','4809696UeEUZe'];a69_0x5235=function(){return _0x381c15;};return a69_0x5235();}export function getEsriSpatialReference(_0x270c2e){const _0x49e646=a69_0x4b90;let _0xf8197e;if(_0x270c2e){let _0x21ffe5=_0x270c2e[_0x49e646(0x110)]();_0x21ffe5[_0x49e646(0x10c)](_0x49e646(0x114))===0x0?_0xf8197e=_0x270c2e[_0x49e646(0x111)](_0x49e646(0x114),''):_0xf8197e=_0x270c2e;}return _0xf8197e;}
|
package/utils/GeometryUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a72_0x142c02=a72_0x4301;(function(_0x7425f3,_0x513572){const _0x29bdc0=a72_0x4301,_0x47dcc5=_0x7425f3();while(!![]){try{const _0x56b469=parseInt(_0x29bdc0(0xe8))/0x1*(-parseInt(_0x29bdc0(0xf7))/0x2)+-parseInt(_0x29bdc0(0xe4))/0x3+-parseInt(_0x29bdc0(0xec))/0x4+-parseInt(_0x29bdc0(0xf9))/0x5*(parseInt(_0x29bdc0(0xfa))/0x6)+-parseInt(_0x29bdc0(0xda))/0x7*(-parseInt(_0x29bdc0(0xf1))/0x8)+-parseInt(_0x29bdc0(0xd3))/0x9*(parseInt(_0x29bdc0(0xe2))/0xa)+parseInt(_0x29bdc0(0xd5))/0xb;if(_0x56b469===_0x513572)break;else _0x47dcc5['push'](_0x47dcc5['shift']());}catch(_0x522178){_0x47dcc5['push'](_0x47dcc5['shift']());}}}(a72_0x3756,0x77314));import a72_0x12eac4 from'ol/proj/Projection';function a72_0x4301(_0x2fdbb5,_0x4a66f8){const _0x3756ca=a72_0x3756();return a72_0x4301=function(_0x4301f9,_0x19b676){_0x4301f9=_0x4301f9-0xd3;let _0x4cbc42=_0x3756ca[_0x4301f9];return _0x4cbc42;},a72_0x4301(_0x2fdbb5,_0x4a66f8);}import{distance as a72_0x4bf3fd}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getArea as a72_0x1f6ec7}from'ol/sphere';import a72_0x35bea0 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a72_0xcc87ad from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a72_0x1de867 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';function a72_0x3756(){const _0x109dfe=['write','distance','contains','419317Otzrxb','crosses','clone','array','639584eTZvdZ','add','getArea','getGeometryType','getCoordinateFromPixel','8nvYBAa','readGeometry','getPolygons','getPixelFromCoordinate','inject','_geometries','2vuOzgZ','_holes','20IGLUqG','1020366GDMcDT','length','transform','9uaZBzO','intersects','28285202WpeuaK','difference','writeGeometry','getCoordinates','push','2224047kholtN','无法识别的数据类型','forEach','union','MultiPolygon','read','bufferOp','getExteriorRing','4412420STuXgj','Polygon','2100576CaoiDf'];a72_0x3756=function(){return _0x109dfe;};return a72_0x3756();}import a72_0x63048f from'jsts/org/locationtech/jts/io/OL3Parser.js';import a72_0x599399 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a72_0x117425 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a72_0x1eeae9 from'ol/format/GeoJSON';import{LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import a72_0x9eaef2 from'ol/format/WKT';import a72_0x463bca from'ol/format/EsriJSON';const _parser=new a72_0x63048f(undefined,undefined);_parser[a72_0x142c02(0xf5)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x3003b7,_0x3f41b1,_0x21b0d1=![]){const _0x150f47=a72_0x142c02;if(!_0x3003b7)return 0x0;const _0x23abc9=isSpheroid(_0x3f41b1);if(_0x21b0d1)return a72_0x1f6ec7(_0x3003b7,{'projection':_0x3f41b1});else{if(_0x23abc9){const _0x320607=getGeoProjection(_0x3003b7,_0x3f41b1);return _0x3003b7[_0x150f47(0xea)]()[_0x150f47(0xfc)](_0x3f41b1,_0x320607)[_0x150f47(0xee)]();}return _0x3003b7[_0x150f47(0xee)]();}}export function bufferOp(_0x3e8d44,_0x583c5c){const _0x35c00c=a72_0x142c02,_0x5cd723=_parser['read'](_0x3e8d44),_0x3f31f5=a72_0x35bea0[_0x35c00c(0xe0)](_0x5cd723,_0x583c5c);return _parser['write'](_0x3f31f5);}export function bufferPixel(_0x2da444,_0x1a549c,_0x5be303){const _0x3a6de3=a72_0x142c02,_0x90ba84=_0x5be303[_0x3a6de3(0xf4)](_0x2da444['getCoordinates']()),_0x429ac1=_0x5be303[_0x3a6de3(0xf0)]([_0x90ba84[0x0]+_0x1a549c,_0x90ba84[0x1]]),_0x2a5e4d=a72_0x4bf3fd(_0x2da444[_0x3a6de3(0xd8)](),_0x429ac1),_0x7f654d=bufferOp(_0x2da444,_0x2a5e4d);return _0x7f654d;}export function contains(_0xf097e1,_0x57d23c){const _0x65c614=a72_0x142c02,_0x481318=_parser[_0x65c614(0xdf)](_0xf097e1),_0x393039=_parser['read'](_0x57d23c);return a72_0xcc87ad[_0x65c614(0xe7)](_0x481318,_0x393039);}export function crosses(_0x49b25a,_0x305875){const _0x4b14e8=a72_0x142c02,_0x993a89=_parser[_0x4b14e8(0xdf)](_0x49b25a),_0x4ea6ab=_parser['read'](_0x305875);return a72_0xcc87ad[_0x4b14e8(0xe9)](_0x993a89,_0x4ea6ab);}export function intersects(_0x389ea9,_0x478c7f){const _0x1eb2b5=a72_0x142c02,_0x61e0fa=_parser[_0x1eb2b5(0xdf)](_0x389ea9),_0x3398de=_parser[_0x1eb2b5(0xdf)](_0x478c7f);return a72_0xcc87ad[_0x1eb2b5(0xd4)](_0x61e0fa,_0x3398de);}export function intersection(_0x154c6a,_0x38241f){const _0x531b38=a72_0x142c02,_0x501abd=_parser[_0x531b38(0xdf)](_0x154c6a),_0x210f31=_parser[_0x531b38(0xdf)](_0x38241f);return _parser[_0x531b38(0xe5)](a72_0x1de867['intersection'](_0x501abd,_0x210f31));}export function union(_0x186177,_0x3c1f13){const _0x173e80=a72_0x142c02,_0x40963e=_parser[_0x173e80(0xdf)](_0x186177),_0x21761c=_parser[_0x173e80(0xdf)](_0x3c1f13);return _parser[_0x173e80(0xe5)](a72_0x1de867[_0x173e80(0xdd)](_0x40963e,_0x21761c));}export function difference(_0x5b0b6b,_0x146016){const _0x2ae52b=a72_0x142c02,_0x304bab=_parser[_0x2ae52b(0xdf)](_0x5b0b6b),_0x554dc8=_parser[_0x2ae52b(0xdf)](_0x146016);return _parser[_0x2ae52b(0xe5)](a72_0x1de867[_0x2ae52b(0xd6)](_0x304bab,_0x554dc8));}export function distance(_0xe6cee3,_0x183fbc){const _0x165c9a=a72_0x142c02,_0x3588f3=_parser['read'](_0xe6cee3),_0x166d03=_parser[_0x165c9a(0xdf)](_0x183fbc);return _parser[_0x165c9a(0xe5)](a72_0x117425[_0x165c9a(0xe6)](_0x3588f3,_0x166d03));}export function jstlSplit(_0x2b0866,_0x54087f){const _0x46eafd=a72_0x142c02,_0x5f57db=_parser[_0x46eafd(0xdf)](_0x2b0866),_0xd425a=_parser[_0x46eafd(0xdf)](_0x54087f),_0x458998=_0x5f57db[_0x46eafd(0xef)]();let _0x5663ad=[];function _0x453c20(_0x1fb0b6,_0x51eaca){const _0x357466=_0x46eafd;let _0x209bc7=_0x1fb0b6[_0x357466(0xf8)],_0x638e1e=_0x1fb0b6[_0x357466(0xe1)]()[_0x357466(0xdd)](_0x51eaca),_0x483a88=new a72_0x599399();_0x483a88[_0x357466(0xed)](_0x638e1e);let _0x218552=_0x483a88[_0x357466(0xf3)]();_0x218552[_0x357466(0xeb)][_0x357466(0xfb)]==0x2&&_0x218552[_0x357466(0xeb)][_0x357466(0xdc)](_0x55dc5d=>{const _0x8f666c=_0x357466;_0x209bc7[_0x8f666c(0xdc)](_0x1c09c1=>{const _0x4fcc23=_0x8f666c;let _0x1ceadc=[];for(let _0x4f9d93 in _0x1c09c1['getCoordinates']()){_0x1ceadc[_0x4fcc23(0xd9)]([_0x1c09c1['getCoordinates']()[_0x4f9d93]['x'],_0x1c09c1[_0x4fcc23(0xd8)]()[_0x4f9d93]['y']]);}_0x1c09c1=_parser[_0x4fcc23(0xdf)]({'coordinates':[_0x1ceadc],'type':_0x4fcc23(0xe3)}),_0x55dc5d=_0x55dc5d[_0x4fcc23(0xd6)](_0x1c09c1);}),_0x5663ad[_0x8f666c(0xd9)](_parser['write'](_0x55dc5d));});}if(_0x458998===_0x46eafd(0xe3))_0x453c20(_0x5f57db,_0xd425a);else{if(_0x458998===_0x46eafd(0xde))_0x5f57db[_0x46eafd(0xf6)][_0x46eafd(0xdc)]((_0x25994c,_0xbf1a43)=>{_0x453c20(_0x25994c,_0xd425a);});else throw new Error(_0x46eafd(0xdb));}return _0x5663ad;}export function fromWKT(_0x2f5a97,_0xfce6d9,_0x565f0f){const _0x5f51ff=a72_0x142c02,_0x242690=new a72_0x9eaef2();_0xfce6d9&®isterProj(_0xfce6d9);_0x565f0f&®isterProj(_0x565f0f);const _0x2bddb8=_0x242690[_0x5f51ff(0xf2)](_0x2f5a97);return _0xfce6d9&&_0x565f0f?_0x2bddb8[_0x5f51ff(0xfc)](new a72_0x12eac4({'code':_0xfce6d9}),new a72_0x12eac4({'code':_0x565f0f})):_0x2bddb8;}export function fromWKTs(_0x318d1b,_0x2cfedd,_0x4d72bb){const _0x133995=a72_0x142c02,_0x23fb2f=new a72_0x9eaef2();let _0x25e4bc=[];_0x2cfedd&®isterProj(_0x2cfedd);_0x4d72bb&®isterProj(_0x4d72bb);let _0x13605c,_0x4a2506;_0x2cfedd&&_0x4d72bb&&(_0x13605c=new a72_0x12eac4({'code':_0x2cfedd}),_0x4a2506=new a72_0x12eac4({'code':_0x4d72bb}));for(let _0x314a59=0x0;_0x314a59<_0x318d1b[_0x133995(0xfb)];_0x314a59++){_0x13605c&&_0x4a2506?_0x25e4bc[_0x133995(0xd9)](_0x23fb2f['readGeometry'](_0x318d1b[_0x314a59])[_0x133995(0xfc)](_0x13605c,_0x4a2506)):_0x25e4bc[_0x133995(0xd9)](_0x23fb2f[_0x133995(0xf2)](_0x318d1b[_0x314a59]));}return _0x25e4bc;}export function toWKT(_0x40b041){const _0x443520=a72_0x142c02,_0x3e1b60=new a72_0x9eaef2();return _0x3e1b60[_0x443520(0xd7)](_0x40b041);}export function toGeoJSON(_0x159915){const _0x39b0fb=a72_0x142c02,_0x1e511c=new a72_0x1eeae9();return _0x1e511c[_0x39b0fb(0xd7)](_0x159915);}export function fromGeoJSON(_0x2a15be){const _0x29ae2f=a72_0x142c02,_0x2f7798=new a72_0x1eeae9();return _0x2f7798[_0x29ae2f(0xf2)](_0x2a15be);}export function toEsriJSON(_0x11acf2){const _0x139e71=a72_0x142c02,_0x1fd758=new a72_0x463bca();return _0x1fd758[_0x139e71(0xd7)](_0x11acf2);}export function fromEsriJSON(_0x2a9495){const _0x5e8b5a=new a72_0x463bca();return _0x5e8b5a['readGeometry'](_0x2a9495);}export function expandExtent(_0x189b76,_0x4ef1e1){const _0x2a4c8b=_0x189b76[0x0],_0x2b9de2=_0x189b76[0x1],_0x3723cc=_0x189b76[0x2],_0x608e39=_0x189b76[0x3],_0xb7285b=(_0x2a4c8b+_0x3723cc)/0x2,_0xc1c004=(_0x2b9de2+_0x608e39)/0x2,_0x4c52e7=_0x3723cc-_0x2a4c8b,_0x4ee1cd=_0x608e39-_0x2b9de2,_0x32e6b7=_0x4c52e7*_0x4ef1e1,_0xe08fa4=_0x4ee1cd*_0x4ef1e1,_0x1df402=_0xb7285b-_0x32e6b7/0x2,_0x44e21d=_0xb7285b+_0x32e6b7/0x2,_0x469940=_0xc1c004-_0xe08fa4/0x2,_0x411446=_0xc1c004+_0xe08fa4/0x2;return[_0x1df402,_0x469940,_0x44e21d,_0x411446];}
|
package/utils/LayerUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4fb06a,_0x16e34e){const _0x5d3e35=a73_0x30de,_0x321f75=_0x4fb06a();while(!![]){try{const _0x4ef128=-parseInt(_0x5d3e35(0x14d))/0x1*(parseInt(_0x5d3e35(0x144))/0x2)+-parseInt(_0x5d3e35(0x146))/0x3*(-parseInt(_0x5d3e35(0x149))/0x4)+-parseInt(_0x5d3e35(0x13b))/0x5*(-parseInt(_0x5d3e35(0x15b))/0x6)+-parseInt(_0x5d3e35(0x15a))/0x7+parseInt(_0x5d3e35(0x14f))/0x8+parseInt(_0x5d3e35(0x142))/0x9*(-parseInt(_0x5d3e35(0x155))/0xa)+parseInt(_0x5d3e35(0x14e))/0xb*(-parseInt(_0x5d3e35(0x156))/0xc);if(_0x4ef128===_0x16e34e)break;else _0x321f75['push'](_0x321f75['shift']());}catch(_0x9644c7){_0x321f75['push'](_0x321f75['shift']());}}}(a73_0x774f,0x5d253));import a73_0xf3af6b from'../utils/AxiosUtil';function a73_0x774f(){const _0x34ab3b=['11635XTxeWy','1013111cqmghF','2267344jIWOmd','data','parentId','&format=application/json','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','assign','10URHxQU','12nraOzB','url','sort','sublayers','3987396vSeuSo','11178eFNnZN','&format=image/png','includes','get','title','1860atebqe','&width=','push','Legend','wms','showIndex','gwc/service/wmts','613215YgYwcA','indexOf','2YAyEyF','geoserver','36642JHoGTp','&height=','forEach','48yVVJWt','replace','length','children'];a73_0x774f=function(){return _0x34ab3b;};return a73_0x774f();}function a73_0x30de(_0x318158,_0x4bdd02){const _0x774f3b=a73_0x774f();return a73_0x30de=function(_0x30de9b,_0x487178){_0x30de9b=_0x30de9b-0x13b;let _0x473617=_0x774f3b[_0x30de9b];return _0x473617;},a73_0x30de(_0x318158,_0x4bdd02);}export function mapServiceTreeTransform(_0x57e59b){const _0x8ece48=a73_0x30de;let _0x546c21=[];return _0x57e59b&&_0x57e59b[_0x8ece48(0x14b)]>0x0&&(_0x57e59b['forEach'](_0x55eee1=>{const _0x2bed8c=_0x8ece48;(!_0x55eee1[_0x2bed8c(0x151)]||_0x55eee1[_0x2bed8c(0x151)]=='')&&_0x546c21[_0x2bed8c(0x13d)](Object[_0x2bed8c(0x154)]({},_0x55eee1));}),_0x546c21=_0x546c21[_0x8ece48(0x158)]((_0x11f5d2,_0xa62f72)=>{const _0x205f54=_0x8ece48;return(_0x11f5d2[_0x205f54(0x140)]?_0x11f5d2[_0x205f54(0x140)]:0x0)-(_0xa62f72['showIndex']?_0xa62f72[_0x205f54(0x140)]:0x0);}),_0x546c21[_0x8ece48(0x148)](_0x2391d5=>{const _0x3b1fcf=_0x8ece48;_0x2391d5[_0x3b1fcf(0x14c)]=setChildren(_0x2391d5['id'],_0x57e59b);})),_0x546c21;}function setChildren(_0x235d05,_0x30a94a){const _0x40476e=a73_0x30de;let _0x437e27=[];return _0x30a94a[_0x40476e(0x148)](_0x5ae94f=>{const _0x5243ec=_0x40476e;_0x235d05===(_0x5ae94f['parentId']==null?'':_0x5ae94f['parentId'])&&_0x437e27['push'](Object[_0x5243ec(0x154)]({},_0x5ae94f));}),_0x437e27=_0x437e27[_0x40476e(0x158)]((_0x45e22c,_0x2dc0a2)=>{const _0x3abc31=_0x40476e;return(_0x45e22c['showIndex']?_0x45e22c[_0x3abc31(0x140)]:0x0)-(_0x2dc0a2[_0x3abc31(0x140)]?_0x2dc0a2['showIndex']:0x0);}),_0x437e27[_0x40476e(0x14b)]>0x0&&_0x437e27[_0x40476e(0x148)](_0x3cc352=>{const _0x410574=_0x40476e;_0x3cc352[_0x410574(0x14c)]=setChildren(_0x3cc352['id'],_0x30a94a);}),_0x437e27;}export async function getLayerLegend(_0x25e458,_0x4580f2){const _0x24bcca=a73_0x30de;if(!_0x25e458||!_0x25e458['url']||!_0x25e458[_0x24bcca(0x159)]||_0x25e458[_0x24bcca(0x159)][_0x24bcca(0x14b)]==0x0||!_0x25e458['layerType'])return;if(_0x25e458['layerType'][_0x24bcca(0x143)](_0x24bcca(0x145))>-0x1)return await getGeoServerLayerLegend(_0x25e458,_0x4580f2);return;}export async function getGeoServerLayerLegend(_0x220627,_0x1e7e8a){const _0x54558a=a73_0x30de;if(!_0x220627||!_0x220627[_0x54558a(0x157)]||!_0x220627[_0x54558a(0x159)]||_0x220627[_0x54558a(0x159)]['length']==0x0)return;let _0x2db9bc=_0x220627['url'];const _0x48ac18=_0x220627['sublayers'];_0x2db9bc=_0x2db9bc[_0x54558a(0x14a)](_0x54558a(0x141),_0x54558a(0x13f));const _0x2448af=[];for(let _0x1c8627=0x0;_0x1c8627<_0x48ac18[_0x54558a(0x14b)];_0x1c8627++){const _0x3821bb=_0x48ac18[_0x1c8627];let _0x2511da=_0x54558a(0x153)+_0x3821bb+_0x54558a(0x152);const _0x419cb9=_0x2db9bc[_0x54558a(0x15d)]('?')?_0x2db9bc+'&'+_0x2511da:_0x2db9bc+'?'+_0x2511da,_0x5c151f=await a73_0xf3af6b[_0x54558a(0x15e)](_0x419cb9);if(_0x5c151f[_0x54558a(0x150)]&&_0x5c151f[_0x54558a(0x150)]['Legend']&&_0x5c151f[_0x54558a(0x150)][_0x54558a(0x13e)]['length']>0x0)_0x2448af[_0x54558a(0x13d)](_0x5c151f[_0x54558a(0x150)][_0x54558a(0x13e)][0x0]);else{let _0x273dfa=_0x1e7e8a?_0x1e7e8a:0x10,_0x5029dd=_0x54558a(0x153)+_0x3821bb+_0x54558a(0x13c)+_0x273dfa+_0x54558a(0x147)+_0x273dfa+_0x54558a(0x15c);const _0x4e4aa9=_0x2db9bc[_0x54558a(0x15d)]('?')?_0x2db9bc+'&'+_0x5029dd:_0x2db9bc+'?'+_0x5029dd;_0x2448af['push']({'title':_0x220627[_0x54558a(0x15f)],'url':_0x4e4aa9});}}return _0x2448af;}
|