ym-gis-2d 1.0.31 → 1.0.32

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.
Files changed (74) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/entity/measure/AreaMeasureUnits.js +1 -1
  12. package/feature/FeatureManager.d.ts.map +1 -1
  13. package/feature/FeatureManager.js +1 -1
  14. package/feature/FeatureManager.js.map +1 -1
  15. package/index.js +1 -1
  16. package/interaction/AreaMeasure.js +1 -1
  17. package/interaction/Draw.js +1 -1
  18. package/interaction/InteractionManager.js +1 -1
  19. package/interaction/Select.js +1 -1
  20. package/interaction/Split.d.ts +58 -0
  21. package/interaction/Split.d.ts.map +1 -0
  22. package/interaction/Split.js +1 -0
  23. package/interaction/Split.js.map +1 -0
  24. package/layers/ArcgisDynamicLayer.js +1 -1
  25. package/layers/ArcgisFeatureLayer.js +1 -1
  26. package/layers/ArcgisTileLayer.js +1 -1
  27. package/layers/ArcgisWMSLayer.js +1 -1
  28. package/layers/ArcgisWMTSLayer.js +1 -1
  29. package/layers/GeoserverVectorTile.js +1 -1
  30. package/layers/GeoserverWFSLayer.js +1 -1
  31. package/layers/GeoserverWMSLayer.js +1 -1
  32. package/layers/GeoserverWMTSLayer.js +1 -1
  33. package/layers/LayerManager.js +1 -1
  34. package/layers/TDTLayer.js +1 -1
  35. package/mapView/Map.js +1 -1
  36. package/mapView/View.js +1 -1
  37. package/package.json +1 -1
  38. package/plot/Plot.js +1 -1
  39. package/plot/geometry/point/Point.js +1 -1
  40. package/plot/geometry/polygon/BasePolygon.js +1 -1
  41. package/plot/geometry/polygon/Circle.js +1 -1
  42. package/plot/geometry/polygon/Polygon.js +1 -1
  43. package/plot/geometry/polygon/RectAngle.js +1 -1
  44. package/plot/geometry/polyline/BaseLine.js +1 -1
  45. package/plot/geometry/polyline/Polyline.js +1 -1
  46. package/style/PointStyleFormat.js +1 -1
  47. package/style/PolygonStyleFormat.js +1 -1
  48. package/style/PolylineStyleFormat.js +1 -1
  49. package/style/StyleManager.js +1 -1
  50. package/style/common.js +1 -1
  51. package/utils/ArrayUtil.js +1 -1
  52. package/utils/AxiosUtil.js +1 -1
  53. package/utils/EsriUtil.js +1 -1
  54. package/utils/GeometryUtil.js +1 -1
  55. package/utils/LayerUtil.js +1 -1
  56. package/utils/RegisterProjUtil.js +1 -1
  57. package/utils/ResolutionUtil.js +1 -1
  58. package/utils/StringUtil.js +1 -1
  59. package/utils/StyleUtil.js +1 -1
  60. package/utils/UrlUtil.js +1 -1
  61. package/utils/XmlUtil.js +1 -1
  62. package/utils/format/CQL.js +1 -1
  63. package/utils/format/IsMatchCql.js +1 -1
  64. package/utils/plug/canvas/ImageCache.js +1 -1
  65. package/utils/plug/canvas/PinBuilder.js +1 -1
  66. package/utils/plug/canvas/PinIcon.js +1 -1
  67. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  68. package/utils/tasks/esri/Identify.js +1 -1
  69. package/utils/tasks/esri/Query.js +1 -1
  70. package/utils/tasks/esri/Task.js +1 -1
  71. package/utils/tasks/geoserver/QueryTask.js +1 -1
  72. package/utils/tasks/index.js +1 -1
  73. package/ym-gis-2d.es.js +1 -1
  74. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a52_0x1120ba=a52_0x3ee0;function a52_0x3ee0(_0x28fa8d,_0x180e8d){const _0x3b384f=a52_0x3b38();return a52_0x3ee0=function(_0x3ee03b,_0x5f32b5){_0x3ee03b=_0x3ee03b-0xe7;let _0x49e8a1=_0x3b384f[_0x3ee03b];return _0x49e8a1;},a52_0x3ee0(_0x28fa8d,_0x180e8d);}(function(_0x2000e2,_0x4970ec){const _0x5b9889=a52_0x3ee0,_0x2b7d08=_0x2000e2();while(!![]){try{const _0x1d591a=-parseInt(_0x5b9889(0x100))/0x1+parseInt(_0x5b9889(0xfe))/0x2+parseInt(_0x5b9889(0xf2))/0x3*(-parseInt(_0x5b9889(0xeb))/0x4)+-parseInt(_0x5b9889(0xfb))/0x5*(parseInt(_0x5b9889(0xf4))/0x6)+parseInt(_0x5b9889(0xfd))/0x7*(parseInt(_0x5b9889(0xe9))/0x8)+-parseInt(_0x5b9889(0xff))/0x9*(-parseInt(_0x5b9889(0x101))/0xa)+-parseInt(_0x5b9889(0xf5))/0xb*(-parseInt(_0x5b9889(0xe7))/0xc);if(_0x1d591a===_0x4970ec)break;else _0x2b7d08['push'](_0x2b7d08['shift']());}catch(_0x4db764){_0x2b7d08['push'](_0x2b7d08['shift']());}}}(a52_0x3b38,0xc5736));import{ImageWMS as a52_0x2b8691}from'ol/source';import{Image as a52_0x265f95}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a52_0x265f95{constructor(_0x265cb1,_0x54753f){const _0x208f37=a52_0x3ee0;var _0x44cf90;let _0x293a48=registerProj(_0x208f37(0xef)+_0x54753f[_0x208f37(0xea)],undefined),_0x2eda10={'LAYERS':(_0x44cf90=_0x265cb1['sublayers'])===null||_0x44cf90===void 0x0?void 0x0:_0x44cf90[_0x208f37(0xec)](','),'VERSION':_0x208f37(0xee)};_0x265cb1['loadFilter']&&(_0x2eda10[_0x208f37(0xf7)]=_0x265cb1[_0x208f37(0xf3)]),super({'opacity':_0x265cb1[_0x208f37(0xf9)],'zIndex':_0x265cb1[_0x208f37(0xf0)],'source':new a52_0x2b8691({'crossOrigin':_0x208f37(0xe8),'url':_0x265cb1[_0x208f37(0xfc)],'params':_0x2eda10})}),this['id']=_0x265cb1['id'],this[_0x208f37(0xf1)]=_0x54753f[_0x208f37(0xf8)],this['projection']=_0x293a48,this[_0x208f37(0xfa)]=_0x265cb1;}['refresh'](){}[a52_0x1120ba(0xf6)](_0x53b263){const _0x3a1b91=a52_0x1120ba;var _0x342924;(_0x342924=this['getSource']())===null||_0x342924===void 0x0?void 0x0:_0x342924[_0x3a1b91(0xed)]({'CQL_FILTER':_0x53b263});}}function a52_0x3b38(){const _0x11d04e=['1109432exNuEd','wkid','20PaqKuJ','join','updateParams','1.1.0','EPSG:','mapIndex','initialExtent','898071IjVPxd','loadFilter','372StpWHq','77oQAfdV','setFilter','CQL_FILTER','initExtent','opacity','layerInfo','93680fOvZaA','url','35NIAOth','298928STkpZb','62973DjaqYk','1609992COUgef','1070mtSAeA','5975364rlQuTS','anonymous'];a52_0x3b38=function(){return _0x11d04e;};return a52_0x3b38();}
1
+ function a53_0x4740(_0xf1d04f,_0x5e6bc6){const _0x3fc508=a53_0x3fc5();return a53_0x4740=function(_0x474073,_0x37a5c6){_0x474073=_0x474073-0x15d;let _0x424f98=_0x3fc508[_0x474073];return _0x424f98;},a53_0x4740(_0xf1d04f,_0x5e6bc6);}const a53_0x2d0c80=a53_0x4740;function a53_0x3fc5(){const _0x3714d5=['loadFilter','11QnwGhq','42gazhgr','anonymous','90461tzVfOE','740172wInhVO','CQL_FILTER','8KBcVdt','133195AvdYNb','12IqhUWl','refresh','1.1.0','updateParams','4134370ZkIrPY','mapIndex','wkid','getSource','setFilter','initialExtent','sublayers','2746dqiyPr','842265SagSdW','165601ZhMHJs','projection','initExtent'];a53_0x3fc5=function(){return _0x3714d5;};return a53_0x3fc5();}(function(_0x489960,_0x24c82b){const _0x5a19a7=a53_0x4740,_0x202d8e=_0x489960();while(!![]){try{const _0x5ae5a9=-parseInt(_0x5a19a7(0x162))/0x1+parseInt(_0x5a19a7(0x160))/0x2*(parseInt(_0x5a19a7(0x167))/0x3)+-parseInt(_0x5a19a7(0x16a))/0x4+parseInt(_0x5a19a7(0x16d))/0x5*(-parseInt(_0x5a19a7(0x16e))/0x6)+-parseInt(_0x5a19a7(0x169))/0x7*(parseInt(_0x5a19a7(0x16c))/0x8)+parseInt(_0x5a19a7(0x161))/0x9+-parseInt(_0x5a19a7(0x172))/0xa*(-parseInt(_0x5a19a7(0x166))/0xb);if(_0x5ae5a9===_0x24c82b)break;else _0x202d8e['push'](_0x202d8e['shift']());}catch(_0x3a7c6b){_0x202d8e['push'](_0x202d8e['shift']());}}}(a53_0x3fc5,0x1ab57));import{ImageWMS as a53_0x484fbd}from'ol/source';import{Image as a53_0x15661f}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a53_0x15661f{constructor(_0x40e28c,_0x2bdb45){const _0x3d954b=a53_0x4740;var _0x340e9d;let _0x9b3fa=registerProj('EPSG:'+_0x2bdb45[_0x3d954b(0x174)],undefined),_0x46618b={'LAYERS':(_0x340e9d=_0x40e28c[_0x3d954b(0x15f)])===null||_0x340e9d===void 0x0?void 0x0:_0x340e9d['join'](','),'VERSION':_0x3d954b(0x170)};_0x40e28c[_0x3d954b(0x165)]&&(_0x46618b[_0x3d954b(0x16b)]=_0x40e28c[_0x3d954b(0x165)]),super({'opacity':_0x40e28c['opacity'],'zIndex':_0x40e28c[_0x3d954b(0x173)],'source':new a53_0x484fbd({'crossOrigin':_0x3d954b(0x168),'url':_0x40e28c['url'],'params':_0x46618b})}),this['id']=_0x40e28c['id'],this[_0x3d954b(0x15e)]=_0x2bdb45[_0x3d954b(0x164)],this[_0x3d954b(0x163)]=_0x9b3fa,this['layerInfo']=_0x40e28c;}[a53_0x2d0c80(0x16f)](){}[a53_0x2d0c80(0x15d)](_0x195ce1){const _0x93503f=a53_0x2d0c80;var _0x429bbe;(_0x429bbe=this[_0x93503f(0x175)]())===null||_0x429bbe===void 0x0?void 0x0:_0x429bbe[_0x93503f(0x171)]({'CQL_FILTER':_0x195ce1});}}
@@ -1 +1 @@
1
- (function(_0x2fd484,_0x2d7526){const _0x5bb8f4=a53_0x2c7a,_0x21e7ef=_0x2fd484();while(!![]){try{const _0x37836f=-parseInt(_0x5bb8f4(0xe7))/0x1+parseInt(_0x5bb8f4(0xe0))/0x2+parseInt(_0x5bb8f4(0xd7))/0x3*(-parseInt(_0x5bb8f4(0xe5))/0x4)+parseInt(_0x5bb8f4(0xc7))/0x5+-parseInt(_0x5bb8f4(0xe2))/0x6+parseInt(_0x5bb8f4(0xca))/0x7*(parseInt(_0x5bb8f4(0xd0))/0x8)+-parseInt(_0x5bb8f4(0xce))/0x9*(parseInt(_0x5bb8f4(0xe6))/0xa);if(_0x37836f===_0x2d7526)break;else _0x21e7ef['push'](_0x21e7ef['shift']());}catch(_0xe2ee9){_0x21e7ef['push'](_0x21e7ef['shift']());}}}(a53_0x3cea,0xdbb79));function a53_0x3cea(){const _0x2fb386=['getMatrixIds','indexOf','origins_','6565155TYhAdS','src','projection','21nndIeH','join','EPSG:','value','5502582ByjSQA','matrixSet','1751752tGnvtV','requestEncoding','sublayers','mapIndex','getResolutions','style','length','105801fEtDtU','name','token','format','url','tileMatrixSet','wkid','tileGrid','opacity','1286692KSmjxG','initialExtent','5201064VpNixK','boundingBoxExtent','getImage','24lKxXly','10qjbvPE','23479UunlCX'];a53_0x3cea=function(){return _0x2fb386;};return a53_0x3cea();}import a53_0x1b641c from'ol/layer/Tile';import a53_0x542419,{optionsFromCapabilities}from'ol/source/WMTS.js';function a53_0x2c7a(_0x1f64ec,_0x5bf6fc){const _0x3ceab5=a53_0x3cea();return a53_0x2c7a=function(_0x2c7ac0,_0x451b84){_0x2c7ac0=_0x2c7ac0-0xc5;let _0x1b9853=_0x3ceab5[_0x2c7ac0];return _0x1b9853;},a53_0x2c7a(_0x1f64ec,_0x5bf6fc);}import a53_0x15c1e4 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a53_0x1b641c{constructor(_0x4b5c18,_0x121565){const _0x596bdb=a53_0x2c7a;var _0x31cc77;let _0x23d15b='';_0x4b5c18[_0x596bdb(0xd2)]&&_0x4b5c18[_0x596bdb(0xd2)][_0x596bdb(0xd6)]>0x0&&(_0x23d15b=_0x4b5c18['sublayers'][_0x596bdb(0xcb)](','));const _0x4a45a5=_0x596bdb(0xcc)+_0x121565[_0x596bdb(0xdd)];let _0xcb8eb9=registerProj(_0x4a45a5);const _0x459044=optionsFromCapabilities(_0x121565['sourceXml'],{'layer':(_0x31cc77=_0x4b5c18[_0x596bdb(0xd2)])===null||_0x31cc77===void 0x0?void 0x0:_0x31cc77[0x0],'matrixSet':_0x121565[_0x596bdb(0xdc)],'format':'image/png'});let _0x54f1f3=_0x459044['tileGrid'][_0x596bdb(0xc6)][0x0];_0x54f1f3[0x0]===0x5a&&_0x54f1f3[0x1]===-0xb4&&(_0x54f1f3=[_0x54f1f3[0x1],_0x54f1f3[0x0]]),super({'opacity':_0x4b5c18[_0x596bdb(0xdf)],'zIndex':_0x4b5c18[_0x596bdb(0xd3)],'source':new a53_0x542419({'urls':_0x459044['urls'],'requestEncoding':_0x459044[_0x596bdb(0xd1)],'layer':_0x459044['layer'],'tileLoadFunction':function(_0xd5699a,_0x4279e6){const _0x253f6d=_0x596bdb,_0x29555a=_0x4b5c18[_0x253f6d(0xdb)]?_0x4b5c18[_0x253f6d(0xdb)]:'';let _0x159bf0=getUrlParams(_0x29555a);if((_0x159bf0===null||_0x159bf0===void 0x0?void 0x0:_0x159bf0[_0x253f6d(0xd6)])>0x0)for(let _0x4a19e1 of _0x159bf0){_0x4279e6=addArgument(_0x4279e6,_0x4a19e1[_0x253f6d(0xd8)],_0x4a19e1[_0x253f6d(0xcd)]);}let _0x2668c7=_0x4279e6[_0x253f6d(0xc5)]('?http');_0x2668c7!==-0x1?_0x4279e6['indexOf'](_0x253f6d(0xd9))===-0x1&&_0x4279e6[_0x253f6d(0xc5)]('tk')===-0x1?_0xd5699a[_0x253f6d(0xe4)]()[_0x253f6d(0xc8)]=_0x4279e6['replace']('&','?'):_0xd5699a[_0x253f6d(0xe4)]()[_0x253f6d(0xc8)]=_0x4279e6:_0xd5699a[_0x253f6d(0xe4)]()[_0x253f6d(0xc8)]=_0x4279e6;},'matrixSet':_0x459044[_0x596bdb(0xcf)],'format':_0x459044[_0x596bdb(0xda)],'projection':_0x459044[_0x596bdb(0xc9)],'tileGrid':new a53_0x15c1e4({'origin':_0x54f1f3,'resolutions':_0x459044[_0x596bdb(0xde)][_0x596bdb(0xd4)](),'matrixIds':_0x459044[_0x596bdb(0xde)][_0x596bdb(0xe8)](),'extent':_0x121565[_0x596bdb(0xe3)]}),'style':_0x121565[_0x596bdb(0xd5)],'wrapX':!![]})}),this['id']=_0x4b5c18['id'],this[_0x596bdb(0xe1)]=_0x121565[_0x596bdb(0xe3)],this[_0x596bdb(0xc9)]=_0xcb8eb9,this['layerInfo']=_0x4b5c18;}}
1
+ (function(_0x57d3db,_0x39d9f6){const _0xfe2ac4=a54_0x5e76,_0xfa0010=_0x57d3db();while(!![]){try{const _0x624ec0=parseInt(_0xfe2ac4(0x166))/0x1*(-parseInt(_0xfe2ac4(0x17f))/0x2)+parseInt(_0xfe2ac4(0x169))/0x3*(-parseInt(_0xfe2ac4(0x162))/0x4)+parseInt(_0xfe2ac4(0x15e))/0x5*(parseInt(_0xfe2ac4(0x173))/0x6)+-parseInt(_0xfe2ac4(0x15f))/0x7+parseInt(_0xfe2ac4(0x175))/0x8*(-parseInt(_0xfe2ac4(0x179))/0x9)+-parseInt(_0xfe2ac4(0x171))/0xa*(-parseInt(_0xfe2ac4(0x161))/0xb)+parseInt(_0xfe2ac4(0x168))/0xc;if(_0x624ec0===_0x39d9f6)break;else _0xfa0010['push'](_0xfa0010['shift']());}catch(_0x492849){_0xfa0010['push'](_0xfa0010['shift']());}}}(a54_0x34de,0x8e836));import a54_0x35e593 from'ol/layer/Tile';import a54_0x5124e6,{optionsFromCapabilities}from'ol/source/WMTS.js';import a54_0x52268a from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a54_0x35e593{constructor(_0x28fb6b,_0x12a891){const _0x2d80da=a54_0x5e76;var _0x1b7c6a;let _0x4c2418='';_0x28fb6b[_0x2d80da(0x167)]&&_0x28fb6b[_0x2d80da(0x167)][_0x2d80da(0x178)]>0x0&&(_0x4c2418=_0x28fb6b[_0x2d80da(0x167)][_0x2d80da(0x15d)](','));const _0x2c106d='EPSG:'+_0x12a891[_0x2d80da(0x164)];let _0x188a4d=registerProj(_0x2c106d);const _0x4b1904=optionsFromCapabilities(_0x12a891[_0x2d80da(0x176)],{'layer':(_0x1b7c6a=_0x28fb6b[_0x2d80da(0x167)])===null||_0x1b7c6a===void 0x0?void 0x0:_0x1b7c6a[0x0],'matrixSet':_0x12a891[_0x2d80da(0x182)],'format':_0x2d80da(0x17b)});let _0x4717af=_0x4b1904[_0x2d80da(0x17e)][_0x2d80da(0x15c)][0x0];_0x4717af[0x0]===0x5a&&_0x4717af[0x1]===-0xb4&&(_0x4717af=[_0x4717af[0x1],_0x4717af[0x0]]),super({'opacity':_0x28fb6b[_0x2d80da(0x16d)],'zIndex':_0x28fb6b[_0x2d80da(0x16a)],'source':new a54_0x5124e6({'urls':_0x4b1904['urls'],'requestEncoding':_0x4b1904[_0x2d80da(0x177)],'layer':_0x4b1904[_0x2d80da(0x181)],'tileLoadFunction':function(_0x406c2c,_0x2e5f98){const _0x1fed95=_0x2d80da,_0x31d6cf=_0x28fb6b['url']?_0x28fb6b[_0x1fed95(0x180)]:'';let _0x44bbc1=getUrlParams(_0x31d6cf);if((_0x44bbc1===null||_0x44bbc1===void 0x0?void 0x0:_0x44bbc1['length'])>0x0)for(let _0x319080 of _0x44bbc1){_0x2e5f98=addArgument(_0x2e5f98,_0x319080['name'],_0x319080[_0x1fed95(0x16c)]);}let _0x4d280f=_0x2e5f98[_0x1fed95(0x172)](_0x1fed95(0x163));_0x4d280f!==-0x1?_0x2e5f98[_0x1fed95(0x172)](_0x1fed95(0x165))===-0x1&&_0x2e5f98[_0x1fed95(0x172)]('tk')===-0x1?_0x406c2c['getImage']()[_0x1fed95(0x170)]=_0x2e5f98[_0x1fed95(0x16b)]('&','?'):_0x406c2c['getImage']()[_0x1fed95(0x170)]=_0x2e5f98:_0x406c2c['getImage']()[_0x1fed95(0x170)]=_0x2e5f98;},'matrixSet':_0x4b1904['matrixSet'],'format':_0x4b1904[_0x2d80da(0x17c)],'projection':_0x4b1904[_0x2d80da(0x16f)],'tileGrid':new a54_0x52268a({'origin':_0x4717af,'resolutions':_0x4b1904[_0x2d80da(0x17e)][_0x2d80da(0x17d)](),'matrixIds':_0x4b1904[_0x2d80da(0x17e)][_0x2d80da(0x160)](),'extent':_0x12a891[_0x2d80da(0x16e)]}),'style':_0x12a891[_0x2d80da(0x174)],'wrapX':!![]})}),this['id']=_0x28fb6b['id'],this[_0x2d80da(0x17a)]=_0x12a891[_0x2d80da(0x16e)],this[_0x2d80da(0x16f)]=_0x188a4d,this['layerInfo']=_0x28fb6b;}}function a54_0x5e76(_0x249221,_0x57f75e){const _0x34de52=a54_0x34de();return a54_0x5e76=function(_0x5e7603,_0x3e053e){_0x5e7603=_0x5e7603-0x15c;let _0x3c5ef7=_0x34de52[_0x5e7603];return _0x3c5ef7;},a54_0x5e76(_0x249221,_0x57f75e);}function a54_0x34de(){const _0x577bae=['wkid','token','212391DIZGlY','sublayers','22462920RmyetB','2400oLEtth','mapIndex','replace','value','opacity','boundingBoxExtent','projection','src','2900220ESlRkv','indexOf','30pRHAED','style','40DnPQMz','sourceXml','requestEncoding','length','330282TKXPEG','initialExtent','image/png','format','getResolutions','tileGrid','6LhUWtO','url','layer','tileMatrixSet','origins_','join','55990eRxjEf','1517075MPtVKJ','getMatrixIds','11iqgdif','2984tIrjEs','?http'];a54_0x34de=function(){return _0x577bae;};return a54_0x34de();}
@@ -1 +1 @@
1
- (function(_0xf0138e,_0x1963a7){const _0x494b6f=a54_0x1d0c,_0x11319c=_0xf0138e();while(!![]){try{const _0x2a16c0=parseInt(_0x494b6f(0x163))/0x1*(-parseInt(_0x494b6f(0x173))/0x2)+parseInt(_0x494b6f(0x169))/0x3+parseInt(_0x494b6f(0x160))/0x4+parseInt(_0x494b6f(0x15f))/0x5*(-parseInt(_0x494b6f(0x172))/0x6)+-parseInt(_0x494b6f(0x161))/0x7+-parseInt(_0x494b6f(0x164))/0x8*(-parseInt(_0x494b6f(0x17e))/0x9)+parseInt(_0x494b6f(0x17c))/0xa*(parseInt(_0x494b6f(0x16b))/0xb);if(_0x2a16c0===_0x1963a7)break;else _0x11319c['push'](_0x11319c['shift']());}catch(_0x163c14){_0x11319c['push'](_0x11319c['shift']());}}}(a54_0x48b8,0xbef44));import a54_0x58d847 from'ol/layer/VectorTile';import a54_0x539ef2 from'ol/source/VectorTile';import a54_0x254bae from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';function a54_0x48b8(){const _0x10d3d3=['WMTS','sourceXml','tileSizes_','5SDJuQT','291732eXNwEY','5900258QqXoWn','wkid','25RxHxxK','192eKMMAd','style','length','image/png',':{z}','3302793YyrIJY','getResolutions','400752mQswtQ','url','{y}','GetTile','tileMatrixSet','tileGrid','origins_','514002EfmLAY','103702yVUZyC','boundingBoxExtent','opacity','mapIndex','{x}','sublayers','getMatrixIds','application/vnd.mapbox-vector-tile','1.0.0','250ZjEHja','toString','345870nBqlSS'];a54_0x48b8=function(){return _0x10d3d3;};return a54_0x48b8();}import a54_0x127beb from'ol/tilegrid/WMTS';function a54_0x1d0c(_0x37c75a,_0x33a3db){const _0x48b8f2=a54_0x48b8();return a54_0x1d0c=function(_0x1d0c71,_0x5dac3f){_0x1d0c71=_0x1d0c71-0x15c;let _0x735b1=_0x48b8f2[_0x1d0c71];return _0x735b1;},a54_0x1d0c(_0x37c75a,_0x33a3db);}import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a54_0x58d847{constructor(_0x2b39a2,_0x57d4bb){const _0x19afe7=a54_0x1d0c;var _0x5a952d;let _0x104682=registerProj('EPSG:'+_0x57d4bb[_0x19afe7(0x162)]);const _0x28c6b3=optionsFromCapabilities(_0x57d4bb[_0x19afe7(0x15d)],{'layer':(_0x5a952d=_0x2b39a2[_0x19afe7(0x178)])===null||_0x5a952d===void 0x0?void 0x0:_0x5a952d[0x0],'matrixSet':_0x57d4bb['tileMatrixSet'],'format':_0x19afe7(0x167)});let _0x4428c8=_0x2b39a2[_0x19afe7(0x178)]&&_0x2b39a2[_0x19afe7(0x178)][_0x19afe7(0x166)]>0x0?_0x2b39a2['sublayers'][0x0]:'';const _0x4ced89={'REQUEST':_0x19afe7(0x16e),'SERVICE':_0x19afe7(0x15c),'VERSION':_0x19afe7(0x17b),'LAYER':_0x4428c8,'STYLE':_0x57d4bb[_0x19afe7(0x165)][_0x19afe7(0x17d)](),'TILEMATRIX':_0x57d4bb[_0x19afe7(0x16f)]+_0x19afe7(0x168),'TILEMATRIXSET':_0x57d4bb[_0x19afe7(0x16f)][_0x19afe7(0x17d)](),'FORMAT':_0x19afe7(0x17a),'TILECOL':_0x19afe7(0x177),'TILEROW':_0x19afe7(0x16d)};let _0x4a55ae=_0x2b39a2[_0x19afe7(0x16c)]?_0x2b39a2[_0x19afe7(0x16c)]:'';for(const _0xc35c7f in _0x4ced89){_0x4a55ae=addArgument(_0x4a55ae,_0xc35c7f,_0x4ced89[_0xc35c7f]);}super({'opacity':_0x2b39a2[_0x19afe7(0x175)],'zIndex':_0x2b39a2[_0x19afe7(0x176)],'declutter':!![],'source':new a54_0x539ef2({'projection':'EPSG:'+_0x57d4bb[_0x19afe7(0x162)],'format':new a54_0x254bae(),'wrapX':!![],'extent':_0x57d4bb['boundingBoxExtent'],'tileGrid':new a54_0x127beb({'tileSize':_0x28c6b3[_0x19afe7(0x170)][_0x19afe7(0x15e)][0x0],'origin':_0x28c6b3['tileGrid'][_0x19afe7(0x171)][0x0],'resolutions':_0x28c6b3[_0x19afe7(0x170)][_0x19afe7(0x16a)](),'matrixIds':_0x28c6b3[_0x19afe7(0x170)][_0x19afe7(0x179)]()}),'url':_0x4a55ae})}),this['id']=_0x2b39a2['id'],this['initialExtent']=_0x57d4bb[_0x19afe7(0x174)],this['projection']=_0x104682,this['layerInfo']=_0x2b39a2;}}
1
+ (function(_0xd85a54,_0x3fd9a8){const _0xb1eb8c=a55_0x14ec,_0x256a17=_0xd85a54();while(!![]){try{const _0x5a3f1b=-parseInt(_0xb1eb8c(0x131))/0x1+-parseInt(_0xb1eb8c(0x121))/0x2*(-parseInt(_0xb1eb8c(0x13c))/0x3)+parseInt(_0xb1eb8c(0x11e))/0x4+-parseInt(_0xb1eb8c(0x130))/0x5*(-parseInt(_0xb1eb8c(0x12e))/0x6)+-parseInt(_0xb1eb8c(0x136))/0x7*(-parseInt(_0xb1eb8c(0x12a))/0x8)+parseInt(_0xb1eb8c(0x132))/0x9*(-parseInt(_0xb1eb8c(0x13d))/0xa)+-parseInt(_0xb1eb8c(0x137))/0xb*(-parseInt(_0xb1eb8c(0x122))/0xc);if(_0x5a3f1b===_0x3fd9a8)break;else _0x256a17['push'](_0x256a17['shift']());}catch(_0x27a15f){_0x256a17['push'](_0x256a17['shift']());}}}(a55_0x51bc,0x67276));import a55_0x120503 from'ol/layer/VectorTile';function a55_0x51bc(){const _0x54adeb=['3pOGGwi','50bqROdy','getResolutions','sourceXml','wkid','1192492dbuvaP','url','sublayers','377826gXPZYo','8519136LSttaD','layerInfo','GetTile','length','application/vnd.mapbox-vector-tile','projection','mapIndex','style','115664OyYVww','1.0.0','tileMatrixSet','initialExtent','17994NZycKF','tileGrid','610zohWsu','826161YKGBRQ','1059957kItKJc','EPSG:','{x}','{y}','133BEDJAE','11EYAseS','getMatrixIds','origins_','opacity','boundingBoxExtent'];a55_0x51bc=function(){return _0x54adeb;};return a55_0x51bc();}import a55_0x2b86b1 from'ol/source/VectorTile';import a55_0x12289b from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a55_0x324638 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';function a55_0x14ec(_0x5da22d,_0x5c58c1){const _0x51bc60=a55_0x51bc();return a55_0x14ec=function(_0x14ec35,_0x41f32c){_0x14ec35=_0x14ec35-0x11b;let _0x404f15=_0x51bc60[_0x14ec35];return _0x404f15;},a55_0x14ec(_0x5da22d,_0x5c58c1);}export default class GeoserverVectorTileLayer extends a55_0x120503{constructor(_0x122022,_0x56ce5f){const _0x5dafa6=a55_0x14ec;var _0x361622;let _0x36a716=registerProj(_0x5dafa6(0x133)+_0x56ce5f[_0x5dafa6(0x11d)]);const _0xb0b120=optionsFromCapabilities(_0x56ce5f[_0x5dafa6(0x11c)],{'layer':(_0x361622=_0x122022['sublayers'])===null||_0x361622===void 0x0?void 0x0:_0x361622[0x0],'matrixSet':_0x56ce5f['tileMatrixSet'],'format':'image/png'});let _0x1d709f=_0x122022[_0x5dafa6(0x120)]&&_0x122022[_0x5dafa6(0x120)][_0x5dafa6(0x125)]>0x0?_0x122022['sublayers'][0x0]:'';const _0x3b42be={'REQUEST':_0x5dafa6(0x124),'SERVICE':'WMTS','VERSION':_0x5dafa6(0x12b),'LAYER':_0x1d709f,'STYLE':_0x56ce5f[_0x5dafa6(0x129)]['toString'](),'TILEMATRIX':_0x56ce5f[_0x5dafa6(0x12c)]+':{z}','TILEMATRIXSET':_0x56ce5f['tileMatrixSet']['toString'](),'FORMAT':_0x5dafa6(0x126),'TILECOL':_0x5dafa6(0x134),'TILEROW':_0x5dafa6(0x135)};let _0x5e7160=_0x122022[_0x5dafa6(0x11f)]?_0x122022[_0x5dafa6(0x11f)]:'';for(const _0x39cc95 in _0x3b42be){_0x5e7160=addArgument(_0x5e7160,_0x39cc95,_0x3b42be[_0x39cc95]);}super({'opacity':_0x122022[_0x5dafa6(0x13a)],'zIndex':_0x122022[_0x5dafa6(0x128)],'declutter':!![],'source':new a55_0x2b86b1({'projection':_0x5dafa6(0x133)+_0x56ce5f[_0x5dafa6(0x11d)],'format':new a55_0x12289b(),'wrapX':!![],'extent':_0x56ce5f[_0x5dafa6(0x13b)],'tileGrid':new a55_0x324638({'tileSize':_0xb0b120[_0x5dafa6(0x12f)]['tileSizes_'][0x0],'origin':_0xb0b120[_0x5dafa6(0x12f)][_0x5dafa6(0x139)][0x0],'resolutions':_0xb0b120[_0x5dafa6(0x12f)][_0x5dafa6(0x11b)](),'matrixIds':_0xb0b120['tileGrid'][_0x5dafa6(0x138)]()}),'url':_0x5e7160})}),this['id']=_0x122022['id'],this[_0x5dafa6(0x12d)]=_0x56ce5f[_0x5dafa6(0x13b)],this[_0x5dafa6(0x127)]=_0x36a716,this[_0x5dafa6(0x123)]=_0x122022;}}
@@ -1 +1 @@
1
- (function(_0x402140,_0xdec148){const _0x4e38e3=a55_0x1a63,_0x152e1d=_0x402140();while(!![]){try{const _0xa4e613=parseInt(_0x4e38e3(0x1d2))/0x1+-parseInt(_0x4e38e3(0x1e1))/0x2+parseInt(_0x4e38e3(0x1fb))/0x3*(parseInt(_0x4e38e3(0x1d8))/0x4)+-parseInt(_0x4e38e3(0x1f2))/0x5+parseInt(_0x4e38e3(0x1e9))/0x6+-parseInt(_0x4e38e3(0x1df))/0x7*(parseInt(_0x4e38e3(0x1fa))/0x8)+parseInt(_0x4e38e3(0x1fc))/0x9;if(_0xa4e613===_0xdec148)break;else _0x152e1d['push'](_0x152e1d['shift']());}catch(_0x586484){_0x152e1d['push'](_0x152e1d['shift']());}}}(a55_0x5d76,0xe07a2));import a55_0x343fd9 from'ol/source/Vector';function a55_0x1a63(_0x56cc2d,_0x2e2bc2){const _0x5d7665=a55_0x5d76();return a55_0x1a63=function(_0x1a634e,_0x3f62bf){_0x1a634e=_0x1a634e-0x1d0;let _0x54c99d=_0x5d7665[_0x1a634e];return _0x54c99d;},a55_0x1a63(_0x56cc2d,_0x2e2bc2);}function a55_0x5d76(){const _0x538477=['catch','read','readFeatures','param字段不存在','notEqualTo','writeGetFeature','406zizYks','removeLoadedExtent','2078796Njwtyh','initExtent','param','!==','projection','url','greaterThan','find','8857734Zgdzng','push','lessThan','name','string','getSource','wkid','layerInfo','type','7014885dgHhDW','parseFilter','mapIndex','POST','between','warn','length','EPSG:','55040GcroDp','48255cidaWn','973593VwkNdz','apply','then','and','358802oXCltX','filter','type字段不存在','initialExtent','not','lessThanOrEqualTo','452LWlrnb'];a55_0x5d76=function(){return _0x538477;};return a55_0x5d76();}import a55_0x40361c from'ol/format/GeoJSON';import{Vector as a55_0x3c8c8e}from'ol/layer';import a55_0x143f3c from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a55_0x6213dc from'../utils/format/CQL';import*as a55_0x5528d3 from'ol/format/filter';export default class GeoserverWFSLayer extends a55_0x3c8c8e{constructor(_0x30036e,_0x85289f){const _0x4a48a2=a55_0x1a63;let _0x4261c2=registerProj(_0x4a48a2(0x1f9)+_0x85289f[_0x4a48a2(0x1ef)]);const _0x338230=_0x85289f['layerFields'][_0x4a48a2(0x1e8)](_0xbea7fe=>_0xbea7fe['fieldType']==0x6);super({'zIndex':_0x30036e[_0x4a48a2(0x1f4)],'source':new a55_0x343fd9({'format':new a55_0x40361c(),'loader':(_0x241c24,_0x471600,_0x9c02d3,_0x26bbea,_0x44faed)=>{const _0x1976ed=_0x4a48a2;let _0x48d408=_0x30036e['loadFilter'],_0x1e0915={'srsName':_0x9c02d3['getCode'](),'featureTypes':_0x30036e['sublayers'],'bbox':_0x241c24,'geometryName':_0x338230?_0x338230[_0x1976ed(0x1ec)]:'','outputFormat':'application/json'};_0x48d408&&(typeof _0x48d408===_0x1976ed(0x1ed)?_0x1e0915[_0x1976ed(0x1d3)]=new a55_0x6213dc()[_0x1976ed(0x1da)](_0x48d408):_0x1e0915['filter']=this[_0x1976ed(0x1f3)](_0x48d408));var _0x3d5216=new a55_0x143f3c()[_0x1976ed(0x1de)](_0x1e0915);let _0x265ee4=_0x30036e['url']?_0x30036e[_0x1976ed(0x1e6)]:'';fetch(_0x265ee4,{'method':_0x1976ed(0x1f5),'body':new XMLSerializer()['serializeToString'](_0x3d5216)})[_0x1976ed(0x1d0)](_0x2f80b1=>{return _0x2f80b1['json']();})[_0x1976ed(0x1d0)](_0x2f92f9=>{const _0x231a20=_0x1976ed,_0x24f9f2=new a55_0x40361c()[_0x231a20(0x1db)](_0x2f92f9);let _0x57225b=this[_0x231a20(0x1ee)]();_0x57225b&&_0x57225b['addFeatures'](_0x24f9f2);if(_0x26bbea)_0x26bbea(_0x24f9f2);})[_0x1976ed(0x1d9)](()=>{const _0x3e406e=_0x1976ed;let _0x3eae6c=this['getSource']();_0x3eae6c&&_0x3eae6c[_0x3e406e(0x1e0)](_0x241c24);if(_0x44faed)_0x44faed();});},'strategy':bbox})}),this['id']=_0x30036e['id'],this[_0x4a48a2(0x1d5)]=_0x85289f[_0x4a48a2(0x1e2)],this[_0x4a48a2(0x1e5)]=_0x4261c2,this[_0x4a48a2(0x1f0)]=_0x30036e;}['parseFilter'](_0x12e3c8){const _0x2a9236=a55_0x1a63;if(!_0x12e3c8['type']){console[_0x2a9236(0x1f7)](_0x2a9236(0x1d4));return;}if(!_0x12e3c8[_0x2a9236(0x1e3)]){console[_0x2a9236(0x1f7)](_0x2a9236(0x1dc));return;}let _0x414814=[];switch(_0x12e3c8[_0x2a9236(0x1f1)]['toLowerCase']()){case'and':for(let _0x14b4ff=0x0;_0x14b4ff<_0x12e3c8[_0x2a9236(0x1e3)][_0x2a9236(0x1f8)];_0x14b4ff++){let _0x2106bb=this[_0x2a9236(0x1f3)](_0x12e3c8['param'][_0x14b4ff]);_0x414814[_0x2a9236(0x1ea)](_0x2106bb);}return a55_0x5528d3[_0x2a9236(0x1d1)]['apply'](null,_0x414814);case'or':for(let _0x6bdf8=0x0;_0x6bdf8<_0x12e3c8[_0x2a9236(0x1e3)][_0x2a9236(0x1f8)];_0x6bdf8++){let _0x2ab1a5=this[_0x2a9236(0x1f3)](_0x12e3c8[_0x2a9236(0x1e3)][_0x6bdf8]);_0x414814[_0x2a9236(0x1ea)](_0x2ab1a5);}return a55_0x5528d3['or'][_0x2a9236(0x1fd)](null,_0x414814);case _0x2a9236(0x1d6):for(let _0x2a06ab=0x0;_0x2a06ab<_0x12e3c8[_0x2a9236(0x1e3)]['length'];_0x2a06ab++){let _0xfac9a2=this[_0x2a9236(0x1f3)](_0x12e3c8[_0x2a9236(0x1e3)][_0x2a06ab]);_0x414814[_0x2a9236(0x1ea)](_0xfac9a2);}return a55_0x5528d3[_0x2a9236(0x1d6)][_0x2a9236(0x1fd)](null,_0x414814);case'=':return a55_0x5528d3['equalTo'](_0x12e3c8['param'][0x0],_0x12e3c8['param'][0x1]);case _0x2a9236(0x1e4):return a55_0x5528d3[_0x2a9236(0x1dd)](_0x12e3c8['param'][0x0],_0x12e3c8['param'][0x1]);case'>':return a55_0x5528d3[_0x2a9236(0x1e7)](_0x12e3c8[_0x2a9236(0x1e3)][0x0],_0x12e3c8[_0x2a9236(0x1e3)][0x1]);case'<':return a55_0x5528d3[_0x2a9236(0x1eb)](_0x12e3c8[_0x2a9236(0x1e3)][0x0],_0x12e3c8[_0x2a9236(0x1e3)][0x1]);case'>=':return a55_0x5528d3['greaterThanOrEqualTo'](_0x12e3c8['param'][0x0],_0x12e3c8[_0x2a9236(0x1e3)][0x1]);case'<=':return a55_0x5528d3[_0x2a9236(0x1d7)](_0x12e3c8[_0x2a9236(0x1e3)][0x0],_0x12e3c8[_0x2a9236(0x1e3)][0x1]);case _0x2a9236(0x1f6):return a55_0x5528d3[_0x2a9236(0x1f6)](_0x12e3c8[_0x2a9236(0x1e3)][0x0],_0x12e3c8[_0x2a9236(0x1e3)][0x1],_0x12e3c8['param'][0x2]);}}}
1
+ const a56_0x3276c8=a56_0x3be7;(function(_0x4909c6,_0x21952b){const _0x1e3130=a56_0x3be7,_0x13576c=_0x4909c6();while(!![]){try{const _0x1497d8=-parseInt(_0x1e3130(0x18b))/0x1+-parseInt(_0x1e3130(0x189))/0x2*(-parseInt(_0x1e3130(0x17a))/0x3)+parseInt(_0x1e3130(0x17b))/0x4+-parseInt(_0x1e3130(0x18a))/0x5*(-parseInt(_0x1e3130(0x170))/0x6)+parseInt(_0x1e3130(0x178))/0x7+parseInt(_0x1e3130(0x174))/0x8*(-parseInt(_0x1e3130(0x16f))/0x9)+parseInt(_0x1e3130(0x17c))/0xa*(-parseInt(_0x1e3130(0x172))/0xb);if(_0x1497d8===_0x21952b)break;else _0x13576c['push'](_0x13576c['shift']());}catch(_0x27c957){_0x13576c['push'](_0x13576c['shift']());}}}(a56_0x5262,0x767c5));import a56_0x3c87ab from'ol/source/Vector';import a56_0x5df3d2 from'ol/format/GeoJSON';import{Vector as a56_0x322940}from'ol/layer';function a56_0x5262(){const _0x2a32ef=['serializeToString','length','loadFilter','getCode','read','greaterThan','projection','getSource','json','not','string','lessThanOrEqualTo','apply','catch','addFeatures','find','greaterThanOrEqualTo','18pWpftH','2190wSzdKb','layerFields','2079VhzpMR','parseFilter','1667368NFNCoK','initialExtent','lessThan','layerInfo','5496568YdkCNq','and','3fBjMPb','276404Ciddai','42990drHLlG','application/json','type','EPSG:','removeLoadedExtent','then','param','filter','type字段不存在','POST','between','sublayers','notEqualTo','1213982tTpZHb','5900GmxcMU','177346jOQnjj','push','toLowerCase','warn','writeGetFeature','mapIndex','!=='];a56_0x5262=function(){return _0x2a32ef;};return a56_0x5262();}import a56_0x2bcee0 from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a56_0x1d5949 from'../utils/format/CQL';function a56_0x3be7(_0x1b7368,_0x3c7e95){const _0x526283=a56_0x5262();return a56_0x3be7=function(_0x3be797,_0x1b445c){_0x3be797=_0x3be797-0x15c;let _0x33bc95=_0x526283[_0x3be797];return _0x33bc95;},a56_0x3be7(_0x1b7368,_0x3c7e95);}import*as a56_0x219db8 from'ol/format/filter';export default class GeoserverWFSLayer extends a56_0x322940{constructor(_0x4e6005,_0x3f1367){const _0x48bbda=a56_0x3be7;let _0x1b84b3=registerProj(_0x48bbda(0x17f)+_0x3f1367['wkid']);const _0x441961=_0x3f1367[_0x48bbda(0x171)][_0x48bbda(0x16d)](_0x12faf5=>_0x12faf5['fieldType']==0x6);super({'zIndex':_0x4e6005[_0x48bbda(0x15c)],'source':new a56_0x3c87ab({'format':new a56_0x5df3d2(),'loader':(_0x4eb55e,_0x27c99f,_0x4c9a2c,_0x15fde3,_0x5f1bf1)=>{const _0x5e2a39=_0x48bbda;let _0x3674c6=_0x4e6005[_0x5e2a39(0x160)],_0x286917={'srsName':_0x4c9a2c[_0x5e2a39(0x161)](),'featureTypes':_0x4e6005[_0x5e2a39(0x187)],'bbox':_0x4eb55e,'geometryName':_0x441961?_0x441961['name']:'','outputFormat':_0x5e2a39(0x17d)};_0x3674c6&&(typeof _0x3674c6===_0x5e2a39(0x168)?_0x286917[_0x5e2a39(0x183)]=new a56_0x1d5949()[_0x5e2a39(0x162)](_0x3674c6):_0x286917[_0x5e2a39(0x183)]=this['parseFilter'](_0x3674c6));var _0x200cbf=new a56_0x2bcee0()[_0x5e2a39(0x18f)](_0x286917);let _0x52649a=_0x4e6005['url']?_0x4e6005['url']:'';fetch(_0x52649a,{'method':_0x5e2a39(0x185),'body':new XMLSerializer()[_0x5e2a39(0x15e)](_0x200cbf)})['then'](_0x216c33=>{const _0x49a058=_0x5e2a39;return _0x216c33[_0x49a058(0x166)]();})[_0x5e2a39(0x181)](_0x468102=>{const _0x55f251=_0x5e2a39,_0x287a1e=new a56_0x5df3d2()['readFeatures'](_0x468102);let _0x37132d=this['getSource']();_0x37132d&&_0x37132d[_0x55f251(0x16c)](_0x287a1e);if(_0x15fde3)_0x15fde3(_0x287a1e);})[_0x5e2a39(0x16b)](()=>{const _0x2ccc85=_0x5e2a39;let _0x7b1243=this[_0x2ccc85(0x165)]();_0x7b1243&&_0x7b1243[_0x2ccc85(0x180)](_0x4eb55e);if(_0x5f1bf1)_0x5f1bf1();});},'strategy':bbox})}),this['id']=_0x4e6005['id'],this[_0x48bbda(0x175)]=_0x3f1367['initExtent'],this[_0x48bbda(0x164)]=_0x1b84b3,this[_0x48bbda(0x177)]=_0x4e6005;}[a56_0x3276c8(0x173)](_0x2e9303){const _0x53499f=a56_0x3276c8;if(!_0x2e9303[_0x53499f(0x17e)]){console['warn'](_0x53499f(0x184));return;}if(!_0x2e9303[_0x53499f(0x182)]){console[_0x53499f(0x18e)]('param字段不存在');return;}let _0x5b4196=[];switch(_0x2e9303[_0x53499f(0x17e)][_0x53499f(0x18d)]()){case'and':for(let _0x3619af=0x0;_0x3619af<_0x2e9303['param'][_0x53499f(0x15f)];_0x3619af++){let _0x4a83b9=this[_0x53499f(0x173)](_0x2e9303[_0x53499f(0x182)][_0x3619af]);_0x5b4196[_0x53499f(0x18c)](_0x4a83b9);}return a56_0x219db8[_0x53499f(0x179)][_0x53499f(0x16a)](null,_0x5b4196);case'or':for(let _0x59dd31=0x0;_0x59dd31<_0x2e9303[_0x53499f(0x182)][_0x53499f(0x15f)];_0x59dd31++){let _0x41e947=this[_0x53499f(0x173)](_0x2e9303['param'][_0x59dd31]);_0x5b4196[_0x53499f(0x18c)](_0x41e947);}return a56_0x219db8['or'][_0x53499f(0x16a)](null,_0x5b4196);case'not':for(let _0x2c2b3a=0x0;_0x2c2b3a<_0x2e9303[_0x53499f(0x182)]['length'];_0x2c2b3a++){let _0x4b6de2=this[_0x53499f(0x173)](_0x2e9303['param'][_0x2c2b3a]);_0x5b4196['push'](_0x4b6de2);}return a56_0x219db8[_0x53499f(0x167)][_0x53499f(0x16a)](null,_0x5b4196);case'=':return a56_0x219db8['equalTo'](_0x2e9303['param'][0x0],_0x2e9303[_0x53499f(0x182)][0x1]);case _0x53499f(0x15d):return a56_0x219db8[_0x53499f(0x188)](_0x2e9303[_0x53499f(0x182)][0x0],_0x2e9303[_0x53499f(0x182)][0x1]);case'>':return a56_0x219db8[_0x53499f(0x163)](_0x2e9303[_0x53499f(0x182)][0x0],_0x2e9303[_0x53499f(0x182)][0x1]);case'<':return a56_0x219db8[_0x53499f(0x176)](_0x2e9303[_0x53499f(0x182)][0x0],_0x2e9303['param'][0x1]);case'>=':return a56_0x219db8[_0x53499f(0x16e)](_0x2e9303[_0x53499f(0x182)][0x0],_0x2e9303[_0x53499f(0x182)][0x1]);case'<=':return a56_0x219db8[_0x53499f(0x169)](_0x2e9303['param'][0x0],_0x2e9303[_0x53499f(0x182)][0x1]);case'between':return a56_0x219db8[_0x53499f(0x186)](_0x2e9303[_0x53499f(0x182)][0x0],_0x2e9303[_0x53499f(0x182)][0x1],_0x2e9303[_0x53499f(0x182)][0x2]);}}}
@@ -1 +1 @@
1
- const a56_0x59c0da=a56_0x3aeb;function a56_0x9454(){const _0x2a6043=['initialExtent','anonymous','5TsnJeD','EPSG:','wkid','1508384CwgtEP','396951zSleLV','3276333AxwanZ','25WbwewE','sublayers','projection','loadFilter','3697098mhxeLD','opacity','url','getSource','join','1872731CILkZF','13958EAnvrh','2468324AYzGRI','refresh','mapIndex','initExtent','setFilter'];a56_0x9454=function(){return _0x2a6043;};return a56_0x9454();}(function(_0x5a11e4,_0xeeda1b){const _0x4a2fda=a56_0x3aeb,_0x4b6dcd=_0x5a11e4();while(!![]){try{const _0x5044bd=-parseInt(_0x4a2fda(0x184))/0x1*(-parseInt(_0x4a2fda(0x18e))/0x2)+-parseInt(_0x4a2fda(0x182))/0x3+parseInt(_0x4a2fda(0x18f))/0x4*(-parseInt(_0x4a2fda(0x196))/0x5)+parseInt(_0x4a2fda(0x188))/0x6+-parseInt(_0x4a2fda(0x18d))/0x7+parseInt(_0x4a2fda(0x181))/0x8+parseInt(_0x4a2fda(0x183))/0x9;if(_0x5044bd===_0xeeda1b)break;else _0x4b6dcd['push'](_0x4b6dcd['shift']());}catch(_0x2d6fca){_0x4b6dcd['push'](_0x4b6dcd['shift']());}}}(a56_0x9454,0x4faa8));function a56_0x3aeb(_0x9c448c,_0x29a15d){const _0x9454c2=a56_0x9454();return a56_0x3aeb=function(_0x3aeb07,_0x26c2a3){_0x3aeb07=_0x3aeb07-0x17f;let _0x27e49d=_0x9454c2[_0x3aeb07];return _0x27e49d;},a56_0x3aeb(_0x9c448c,_0x29a15d);}import{ImageWMS as a56_0x122190}from'ol/source';import{Image as a56_0x8f113f}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a56_0x8f113f{constructor(_0x27af68,_0x1f35f9){const _0xfed3dc=a56_0x3aeb;var _0x51d4ab;let _0x31e15e=registerProj(_0xfed3dc(0x17f)+_0x1f35f9[_0xfed3dc(0x180)]),_0xc44dc3={'LAYERS':(_0x51d4ab=_0x27af68[_0xfed3dc(0x185)])===null||_0x51d4ab===void 0x0?void 0x0:_0x51d4ab[_0xfed3dc(0x18c)](','),'VERSION':'1.1.0'};_0x27af68['loadFilter']&&(_0xc44dc3['CQL_FILTER']=_0x27af68[_0xfed3dc(0x187)]),super({'opacity':_0x27af68[_0xfed3dc(0x189)],'zIndex':_0x27af68[_0xfed3dc(0x191)],'source':new a56_0x122190({'crossOrigin':_0xfed3dc(0x195),'url':_0x27af68[_0xfed3dc(0x18a)],'params':_0xc44dc3})}),this['id']=_0x27af68['id'],this[_0xfed3dc(0x194)]=_0x1f35f9[_0xfed3dc(0x192)],this[_0xfed3dc(0x186)]=_0x31e15e,this['layerInfo']=_0x27af68;}[a56_0x59c0da(0x190)](){}[a56_0x59c0da(0x193)](_0x3a4758){const _0x572184=a56_0x59c0da;var _0x402c92;(_0x402c92=this[_0x572184(0x18b)]())===null||_0x402c92===void 0x0?void 0x0:_0x402c92['updateParams']({'CQL_FILTER':_0x3a4758});}}
1
+ const a57_0x5f2024=a57_0x23d3;(function(_0x32e24e,_0x42566e){const _0x36d616=a57_0x23d3,_0x12de6d=_0x32e24e();while(!![]){try{const _0x7b0fcb=parseInt(_0x36d616(0x1e5))/0x1+parseInt(_0x36d616(0x1ee))/0x2+parseInt(_0x36d616(0x1f6))/0x3+-parseInt(_0x36d616(0x1f0))/0x4*(parseInt(_0x36d616(0x1e9))/0x5)+-parseInt(_0x36d616(0x1f2))/0x6+parseInt(_0x36d616(0x1e8))/0x7*(-parseInt(_0x36d616(0x1fb))/0x8)+-parseInt(_0x36d616(0x1f1))/0x9*(parseInt(_0x36d616(0x1f3))/0xa);if(_0x7b0fcb===_0x42566e)break;else _0x12de6d['push'](_0x12de6d['shift']());}catch(_0x44cf9b){_0x12de6d['push'](_0x12de6d['shift']());}}}(a57_0x15e1,0x9abdb));function a57_0x15e1(){const _0x355db9=['opacity','1480BtNoWX','wkid','39584PuAuaB','url','setFilter','22372sbYrIE','10ckdleG','EPSG:','getSource','initExtent','sublayers','1660172GOrAVM','loadFilter','495332IMVmjv','63207sjEYFL','341442YgHbNp','150xOviBX','layerInfo','updateParams','2295981ZoTnAa','1.1.0','anonymous','CQL_FILTER'];a57_0x15e1=function(){return _0x355db9;};return a57_0x15e1();}import{ImageWMS as a57_0x1ebe52}from'ol/source';function a57_0x23d3(_0x264e69,_0x3121ea){const _0x15e119=a57_0x15e1();return a57_0x23d3=function(_0x23d372,_0x436337){_0x23d372=_0x23d372-0x1e5;let _0x6e52f5=_0x15e119[_0x23d372];return _0x6e52f5;},a57_0x23d3(_0x264e69,_0x3121ea);}import{Image as a57_0x43a299}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a57_0x43a299{constructor(_0x45a738,_0x508fd8){const _0x498ebf=a57_0x23d3;var _0x429b4a;let _0x9d1542=registerProj(_0x498ebf(0x1ea)+_0x508fd8[_0x498ebf(0x1fc)]),_0x2a3622={'LAYERS':(_0x429b4a=_0x45a738[_0x498ebf(0x1ed)])===null||_0x429b4a===void 0x0?void 0x0:_0x429b4a['join'](','),'VERSION':_0x498ebf(0x1f7)};_0x45a738[_0x498ebf(0x1ef)]&&(_0x2a3622[_0x498ebf(0x1f9)]=_0x45a738[_0x498ebf(0x1ef)]),super({'opacity':_0x45a738[_0x498ebf(0x1fa)],'zIndex':_0x45a738['mapIndex'],'source':new a57_0x1ebe52({'crossOrigin':_0x498ebf(0x1f8),'url':_0x45a738[_0x498ebf(0x1e6)],'params':_0x2a3622})}),this['id']=_0x45a738['id'],this['initialExtent']=_0x508fd8[_0x498ebf(0x1ec)],this['projection']=_0x9d1542,this[_0x498ebf(0x1f4)]=_0x45a738;}['refresh'](){}[a57_0x5f2024(0x1e7)](_0x128fb9){const _0x2f7579=a57_0x5f2024;var _0x30a57e;(_0x30a57e=this[_0x2f7579(0x1eb)]())===null||_0x30a57e===void 0x0?void 0x0:_0x30a57e[_0x2f7579(0x1f5)]({'CQL_FILTER':_0x128fb9});}}
@@ -1 +1 @@
1
- (function(_0x3c88c2,_0x330737){const _0x1bda0d=a57_0xe48c,_0x29c85f=_0x3c88c2();while(!![]){try{const _0xfc0321=parseInt(_0x1bda0d(0x164))/0x1*(-parseInt(_0x1bda0d(0x156))/0x2)+-parseInt(_0x1bda0d(0x15a))/0x3+-parseInt(_0x1bda0d(0x15f))/0x4*(-parseInt(_0x1bda0d(0x161))/0x5)+parseInt(_0x1bda0d(0x168))/0x6+-parseInt(_0x1bda0d(0x162))/0x7+parseInt(_0x1bda0d(0x15c))/0x8*(parseInt(_0x1bda0d(0x169))/0x9)+parseInt(_0x1bda0d(0x166))/0xa;if(_0xfc0321===_0x330737)break;else _0x29c85f['push'](_0x29c85f['shift']());}catch(_0x11ffef){_0x29c85f['push'](_0x29c85f['shift']());}}}(a57_0x38b7,0xe5fd7));import a57_0x5d5f95 from'ol/layer/Tile';import a57_0x50e1c4,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a57_0x5d5f95{constructor(_0x5e76d7,_0x253b04){const _0x16889d=a57_0xe48c;var _0x686d1f;const _0x12fde0=_0x16889d(0x159)+_0x253b04[_0x16889d(0x157)];let _0x146b4f=registerProj(_0x12fde0);if(!_0x146b4f)throw new Error(_0x16889d(0x15d));const _0x5eb57a=optionsFromCapabilities(_0x253b04[_0x16889d(0x16a)],{'layer':(_0x686d1f=_0x5e76d7[_0x16889d(0x163)])===null||_0x686d1f===void 0x0?void 0x0:_0x686d1f[0x0],'matrixSet':_0x253b04['tileMatrixSet'],'format':'image/png'});if(!_0x5eb57a)throw new Error(_0x16889d(0x158));super({'opacity':_0x5e76d7[_0x16889d(0x167)],'zIndex':_0x5e76d7[_0x16889d(0x15e)],'source':new a57_0x50e1c4(_0x5eb57a)}),this['id']=_0x5e76d7['id'],this[_0x16889d(0x15b)]=_0x253b04[_0x16889d(0x160)],this[_0x16889d(0x165)]=_0x146b4f,this[_0x16889d(0x16b)]=_0x5e76d7;}}function a57_0xe48c(_0x2d7491,_0x2d8273){const _0x38b7b3=a57_0x38b7();return a57_0xe48c=function(_0xe48cbe,_0x559437){_0xe48cbe=_0xe48cbe-0x156;let _0x2e7305=_0x38b7b3[_0xe48cbe];return _0x2e7305;},a57_0xe48c(_0x2d7491,_0x2d8273);}function a57_0x38b7(){const _0x3179d3=['32172640rqiQsG','opacity','3943740FcDExu','5013FbQSdZ','sourceXml','layerInfo','3367460hSZQIt','wkid','解析元数据失败','EPSG:','3689616atuRnA','initialExtent','15832sCufVM','未找到投影信息','mapIndex','8JtHfSI','boundingBoxExtent','1196190ntsBmu','11197844EsoGse','sublayers','1kmCGVt','projection'];a57_0x38b7=function(){return _0x3179d3;};return a57_0x38b7();}
1
+ function a58_0x5388(){const _0x1ef404=['269643SHRYaf','729024VfWidU','image/png','sourceXml','EPSG:','1305ORIhrb','16806087udWexo','layerInfo','636ysYoYJ','21tISxrO','sublayers','wkid','1529920qVuRWR','tileMatrixSet','1826545QBhsyb','mapIndex','opacity','projection','解析元数据失败','982072bxVqZj','10NQUOhl'];a58_0x5388=function(){return _0x1ef404;};return a58_0x5388();}function a58_0x19ec(_0x466783,_0x5deb20){const _0x5388d5=a58_0x5388();return a58_0x19ec=function(_0x19ec6e,_0x3b5ec7){_0x19ec6e=_0x19ec6e-0x1c4;let _0x5bb751=_0x5388d5[_0x19ec6e];return _0x5bb751;},a58_0x19ec(_0x466783,_0x5deb20);}(function(_0x449781,_0xd07753){const _0x150f3c=a58_0x19ec,_0x2a7d02=_0x449781();while(!![]){try{const _0x2802b8=-parseInt(_0x150f3c(0x1c7))/0x1+parseInt(_0x150f3c(0x1cf))/0x2*(-parseInt(_0x150f3c(0x1cc))/0x3)+-parseInt(_0x150f3c(0x1d3))/0x4+-parseInt(_0x150f3c(0x1d5))/0x5+-parseInt(_0x150f3c(0x1c8))/0x6+parseInt(_0x150f3c(0x1d0))/0x7*(-parseInt(_0x150f3c(0x1c5))/0x8)+-parseInt(_0x150f3c(0x1cd))/0x9*(-parseInt(_0x150f3c(0x1c6))/0xa);if(_0x2802b8===_0xd07753)break;else _0x2a7d02['push'](_0x2a7d02['shift']());}catch(_0x569c51){_0x2a7d02['push'](_0x2a7d02['shift']());}}}(a58_0x5388,0x36268));import a58_0x3f02a1 from'ol/layer/Tile';import a58_0x5d06f4,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a58_0x3f02a1{constructor(_0x2bb4bd,_0x12b9e2){const _0x211e9a=a58_0x19ec;var _0x58b7c5;const _0x19ef77=_0x211e9a(0x1cb)+_0x12b9e2[_0x211e9a(0x1d2)];let _0x180e15=registerProj(_0x19ef77);if(!_0x180e15)throw new Error('未找到投影信息');const _0x18090d=optionsFromCapabilities(_0x12b9e2[_0x211e9a(0x1ca)],{'layer':(_0x58b7c5=_0x2bb4bd[_0x211e9a(0x1d1)])===null||_0x58b7c5===void 0x0?void 0x0:_0x58b7c5[0x0],'matrixSet':_0x12b9e2[_0x211e9a(0x1d4)],'format':_0x211e9a(0x1c9)});if(!_0x18090d)throw new Error(_0x211e9a(0x1c4));super({'opacity':_0x2bb4bd[_0x211e9a(0x1d7)],'zIndex':_0x2bb4bd[_0x211e9a(0x1d6)],'source':new a58_0x5d06f4(_0x18090d)}),this['id']=_0x2bb4bd['id'],this['initialExtent']=_0x12b9e2['boundingBoxExtent'],this[_0x211e9a(0x1d8)]=_0x180e15,this[_0x211e9a(0x1ce)]=_0x2bb4bd;}}
@@ -1 +1 @@
1
- const a59_0x459fdc=a59_0x5b24;(function(_0x248323,_0x42689b){const _0x4abda9=a59_0x5b24,_0x314462=_0x248323();while(!![]){try{const _0x35af1c=parseInt(_0x4abda9(0x7f))/0x1+parseInt(_0x4abda9(0x75))/0x2+-parseInt(_0x4abda9(0x71))/0x3+parseInt(_0x4abda9(0x77))/0x4*(parseInt(_0x4abda9(0x80))/0x5)+parseInt(_0x4abda9(0x72))/0x6+-parseInt(_0x4abda9(0x70))/0x7*(parseInt(_0x4abda9(0x7b))/0x8)+parseInt(_0x4abda9(0x7a))/0x9;if(_0x35af1c===_0x42689b)break;else _0x314462['push'](_0x314462['shift']());}catch(_0xd6b9d3){_0x314462['push'](_0x314462['shift']());}}}(a59_0x25d2,0xb2ff7));import a59_0x290e25 from'./ArcgisDynamicLayer';import a59_0x57abbc from'./ArcgisFeatureLayer';function a59_0x5b24(_0x19a1bb,_0x3f20d9){const _0x25d26=a59_0x25d2();return a59_0x5b24=function(_0x5b2488,_0x3cc7d6){_0x5b2488=_0x5b2488-0x70;let _0x347b27=_0x25d26[_0x5b2488];return _0x347b27;},a59_0x5b24(_0x19a1bb,_0x3f20d9);}import a59_0x1ffccb from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a59_0x289583 from'./ArcgisTileLayer';import a59_0x4b81bf from'./GeoserverWMSLayer';import a59_0xf052dd from'./GeoserverWMTSLayer';import a59_0x21107a from'./ArcgisWMSLayer';import a59_0x1d4092 from'./ArcgisWMTSLayer';function a59_0x25d2(){const _0x18ebad=['getGeoserverWmsLayer','url','210PeBCwy','1392426btuQer','1489398LOJgTF','getArcgisFeatureLayer','getGeoserverWMTSLayer','2205780vpZDgD','getArcgisWmsLayer','148328OGWpvx','sublayers','getTDTLayer','7134138GvcUsw','318368rMlYuE','push','getGeoserverVectorTileLayer','length','99064DoMDXp','20GeFUAA'];a59_0x25d2=function(){return _0x18ebad;};return a59_0x25d2();}import a59_0x5f5e02 from'./GeoserverWFSLayer';import a59_0xc60483 from'./GeoserverVectorTile';export default class LayerManagement{static async['getDynamicLayer'](_0x549ea6){const _0x482a3d=await getDynamicLayerInfo(_0x549ea6['url']?_0x549ea6['url']:'');let _0x563547=new a59_0x290e25(_0x549ea6,_0x482a3d);return _0x563547;}static async['getArcgisTileLayer'](_0x6e90c7){const _0x8c6daa=a59_0x5b24,_0x47e4eb=await getDynamicLayerInfo(_0x6e90c7['url']?_0x6e90c7[_0x8c6daa(0x82)]:'');let _0x3c4569=new a59_0x289583(_0x6e90c7,_0x47e4eb);return _0x3c4569;}static async[a59_0x459fdc(0x73)](_0x2d65d8){const _0x44ca77=a59_0x459fdc,_0x20b4e0=await getDynamicLayerInfo(_0x2d65d8[_0x44ca77(0x82)]?_0x2d65d8[_0x44ca77(0x82)]:'');let _0x57f7b0=[];if(_0x2d65d8[_0x44ca77(0x78)])for(let _0x54998c=0x0;_0x54998c<_0x2d65d8[_0x44ca77(0x78)][_0x44ca77(0x7e)];_0x54998c++){const _0x5028b4=_0x2d65d8['sublayers'][_0x54998c];_0x57f7b0[_0x44ca77(0x7c)](await getFeatureLayerInfo(_0x2d65d8[_0x44ca77(0x82)]?_0x2d65d8[_0x44ca77(0x82)]:'',_0x5028b4));}let _0x2b901f=new a59_0x57abbc(_0x2d65d8,_0x20b4e0,_0x57f7b0);return _0x2b901f;}static async[a59_0x459fdc(0x76)](_0x5318b3){const _0xdc8b98=a59_0x459fdc;var _0x3ef5fe;const _0xb1ee9e=(_0x3ef5fe=_0x5318b3[_0xdc8b98(0x78)])===null||_0x3ef5fe===void 0x0?void 0x0:_0x3ef5fe[0x0],_0x118361=await getWMSLayerCapabilities(_0x5318b3[_0xdc8b98(0x82)]?_0x5318b3[_0xdc8b98(0x82)]:'',_0xb1ee9e==null?'':_0xb1ee9e);let _0x470dde=new a59_0x21107a(_0x5318b3,_0x118361);return _0x470dde;}static async['getArcgisWMTSLayer'](_0x23c0ce){const _0x259eb3=a59_0x459fdc;var _0x1ff96d;const _0x2512a2=(_0x1ff96d=_0x23c0ce[_0x259eb3(0x78)])===null||_0x1ff96d===void 0x0?void 0x0:_0x1ff96d[0x0],_0xd678f9=await getWMTSLayerCapabilities(_0x23c0ce['url']?_0x23c0ce[_0x259eb3(0x82)]:'',_0x2512a2==null?'':_0x2512a2);let _0x1d2acf=new a59_0x1d4092(_0x23c0ce,_0xd678f9);return _0x1d2acf;}static async[a59_0x459fdc(0x81)](_0x5224a5){const _0x515c13=a59_0x459fdc;var _0x4f5cbf;const _0x5f4c37=(_0x4f5cbf=_0x5224a5[_0x515c13(0x78)])===null||_0x4f5cbf===void 0x0?void 0x0:_0x4f5cbf[0x0],_0x50100b=await getWMSLayerCapabilities(_0x5224a5[_0x515c13(0x82)]?_0x5224a5[_0x515c13(0x82)]:'',_0x5f4c37==null?'':_0x5f4c37);let _0x178780=new a59_0x4b81bf(_0x5224a5,_0x50100b);return _0x178780;}static async[a59_0x459fdc(0x74)](_0x117075){const _0x2e4a9d=a59_0x459fdc;var _0x26b9c6;const _0x589aa0=(_0x26b9c6=_0x117075[_0x2e4a9d(0x78)])===null||_0x26b9c6===void 0x0?void 0x0:_0x26b9c6[0x0],_0x345a56=await getWMTSLayerCapabilities(_0x117075[_0x2e4a9d(0x82)]?_0x117075[_0x2e4a9d(0x82)]:'',_0x589aa0==null?'':_0x589aa0);let _0x5513c6=new a59_0xf052dd(_0x117075,_0x345a56);return _0x5513c6;}static async['getGeoserverWFSLayer'](_0x270c9d){const _0x2f6018=a59_0x459fdc;var _0x6e24b4;const _0x553e28=(_0x6e24b4=_0x270c9d[_0x2f6018(0x78)])===null||_0x6e24b4===void 0x0?void 0x0:_0x6e24b4[0x0],_0x554f6b=await getWFSLayerCapabilities(_0x270c9d[_0x2f6018(0x82)]?_0x270c9d[_0x2f6018(0x82)]:'',_0x553e28==null?'':_0x553e28);let _0x4e1150=new a59_0x5f5e02(_0x270c9d,_0x554f6b);return _0x4e1150;}static async[a59_0x459fdc(0x7d)](_0xacd403){const _0x491256=a59_0x459fdc;var _0x5e3e2f;const _0x457799=(_0x5e3e2f=_0xacd403[_0x491256(0x78)])===null||_0x5e3e2f===void 0x0?void 0x0:_0x5e3e2f[0x0],_0x42754f=await getWMTSLayerCapabilities(_0xacd403['url']?_0xacd403[_0x491256(0x82)]:'',_0x457799==null?'':_0x457799);let _0x991f9e=new a59_0xc60483(_0xacd403,_0x42754f);return _0x991f9e;}static async[a59_0x459fdc(0x79)](_0x18eb2a){const _0x2e4fd3=a59_0x459fdc;var _0xdf328;const _0x2d010a=(_0xdf328=_0x18eb2a[_0x2e4fd3(0x78)])===null||_0xdf328===void 0x0?void 0x0:_0xdf328[0x0],_0x19be43=await getWMTSLayerCapabilities(_0x18eb2a[_0x2e4fd3(0x82)]?_0x18eb2a[_0x2e4fd3(0x82)]:'',_0x2d010a==null?'':_0x2d010a);let _0xb8ba93=new a59_0x1ffccb(_0x18eb2a,_0x19be43);return _0xb8ba93;}}
1
+ const a60_0x233d74=a60_0x25f2;(function(_0x26732b,_0x4b0c30){const _0x59b19a=a60_0x25f2,_0x4f28ea=_0x26732b();while(!![]){try{const _0x28ce80=-parseInt(_0x59b19a(0x12d))/0x1*(parseInt(_0x59b19a(0x12e))/0x2)+parseInt(_0x59b19a(0x135))/0x3*(-parseInt(_0x59b19a(0x136))/0x4)+parseInt(_0x59b19a(0x12f))/0x5+-parseInt(_0x59b19a(0x132))/0x6+-parseInt(_0x59b19a(0x127))/0x7+parseInt(_0x59b19a(0x138))/0x8*(-parseInt(_0x59b19a(0x131))/0x9)+parseInt(_0x59b19a(0x126))/0xa*(parseInt(_0x59b19a(0x123))/0xb);if(_0x28ce80===_0x4b0c30)break;else _0x4f28ea['push'](_0x4f28ea['shift']());}catch(_0xeefc93){_0x4f28ea['push'](_0x4f28ea['shift']());}}}(a60_0x550c,0x35fbe));import a60_0xe87a3c from'./ArcgisDynamicLayer';import a60_0x4b66c8 from'./ArcgisFeatureLayer';import a60_0x416d1c from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a60_0x1139e9 from'./ArcgisTileLayer';import a60_0x36443a from'./GeoserverWMSLayer';import a60_0x39e4da from'./GeoserverWMTSLayer';import a60_0x2caa1e from'./ArcgisWMSLayer';import a60_0x59de49 from'./ArcgisWMTSLayer';import a60_0x401343 from'./GeoserverWFSLayer';import a60_0x460b91 from'./GeoserverVectorTile';export default class LayerManagement{static async[a60_0x233d74(0x12c)](_0x5142e9){const _0x397f4d=a60_0x233d74,_0x4549ee=await getDynamicLayerInfo(_0x5142e9[_0x397f4d(0x12a)]?_0x5142e9['url']:'');let _0xc7fac0=new a60_0xe87a3c(_0x5142e9,_0x4549ee);return _0xc7fac0;}static async[a60_0x233d74(0x137)](_0x42d91c){const _0x398ddb=a60_0x233d74,_0x9d5635=await getDynamicLayerInfo(_0x42d91c[_0x398ddb(0x12a)]?_0x42d91c[_0x398ddb(0x12a)]:'');let _0x261114=new a60_0x1139e9(_0x42d91c,_0x9d5635);return _0x261114;}static async[a60_0x233d74(0x130)](_0x47f85b){const _0x2d70f0=a60_0x233d74,_0x39b6ae=await getDynamicLayerInfo(_0x47f85b[_0x2d70f0(0x12a)]?_0x47f85b[_0x2d70f0(0x12a)]:'');let _0x32e4b8=[];if(_0x47f85b[_0x2d70f0(0x125)])for(let _0x1ec8b2=0x0;_0x1ec8b2<_0x47f85b[_0x2d70f0(0x125)][_0x2d70f0(0x12b)];_0x1ec8b2++){const _0x5bc9b3=_0x47f85b[_0x2d70f0(0x125)][_0x1ec8b2];_0x32e4b8['push'](await getFeatureLayerInfo(_0x47f85b[_0x2d70f0(0x12a)]?_0x47f85b['url']:'',_0x5bc9b3));}let _0xbc06a7=new a60_0x4b66c8(_0x47f85b,_0x39b6ae,_0x32e4b8);return _0xbc06a7;}static async[a60_0x233d74(0x134)](_0xaf0836){const _0x4b0b76=a60_0x233d74;var _0x2a4820;const _0x1ae70a=(_0x2a4820=_0xaf0836[_0x4b0b76(0x125)])===null||_0x2a4820===void 0x0?void 0x0:_0x2a4820[0x0],_0xa1d375=await getWMSLayerCapabilities(_0xaf0836[_0x4b0b76(0x12a)]?_0xaf0836['url']:'',_0x1ae70a==null?'':_0x1ae70a);let _0x5430ea=new a60_0x2caa1e(_0xaf0836,_0xa1d375);return _0x5430ea;}static async['getArcgisWMTSLayer'](_0xf34556){const _0x504de8=a60_0x233d74;var _0x566856;const _0x46f539=(_0x566856=_0xf34556[_0x504de8(0x125)])===null||_0x566856===void 0x0?void 0x0:_0x566856[0x0],_0x237374=await getWMTSLayerCapabilities(_0xf34556[_0x504de8(0x12a)]?_0xf34556[_0x504de8(0x12a)]:'',_0x46f539==null?'':_0x46f539);let _0x10018e=new a60_0x59de49(_0xf34556,_0x237374);return _0x10018e;}static async[a60_0x233d74(0x133)](_0x6bf982){const _0x9b0f2=a60_0x233d74;var _0x2aeaf1;const _0x3529ba=(_0x2aeaf1=_0x6bf982['sublayers'])===null||_0x2aeaf1===void 0x0?void 0x0:_0x2aeaf1[0x0],_0x3929a1=await getWMSLayerCapabilities(_0x6bf982['url']?_0x6bf982[_0x9b0f2(0x12a)]:'',_0x3529ba==null?'':_0x3529ba);let _0x31f763=new a60_0x36443a(_0x6bf982,_0x3929a1);return _0x31f763;}static async[a60_0x233d74(0x139)](_0x2284e2){const _0x178314=a60_0x233d74;var _0x19d2f1;const _0x10db0e=(_0x19d2f1=_0x2284e2['sublayers'])===null||_0x19d2f1===void 0x0?void 0x0:_0x19d2f1[0x0],_0x4374e8=await getWMTSLayerCapabilities(_0x2284e2[_0x178314(0x12a)]?_0x2284e2[_0x178314(0x12a)]:'',_0x10db0e==null?'':_0x10db0e);let _0x5a3a04=new a60_0x39e4da(_0x2284e2,_0x4374e8);return _0x5a3a04;}static async[a60_0x233d74(0x129)](_0x42050f){const _0x347476=a60_0x233d74;var _0x337fbe;const _0x447e54=(_0x337fbe=_0x42050f[_0x347476(0x125)])===null||_0x337fbe===void 0x0?void 0x0:_0x337fbe[0x0],_0x1633cd=await getWFSLayerCapabilities(_0x42050f[_0x347476(0x12a)]?_0x42050f[_0x347476(0x12a)]:'',_0x447e54==null?'':_0x447e54);let _0x29cc17=new a60_0x401343(_0x42050f,_0x1633cd);return _0x29cc17;}static async[a60_0x233d74(0x128)](_0xabcfa2){const _0x57c15f=a60_0x233d74;var _0x486ff7;const _0x34650f=(_0x486ff7=_0xabcfa2['sublayers'])===null||_0x486ff7===void 0x0?void 0x0:_0x486ff7[0x0],_0x11fe6c=await getWMTSLayerCapabilities(_0xabcfa2['url']?_0xabcfa2[_0x57c15f(0x12a)]:'',_0x34650f==null?'':_0x34650f);let _0x27b451=new a60_0x460b91(_0xabcfa2,_0x11fe6c);return _0x27b451;}static async[a60_0x233d74(0x124)](_0x543497){const _0x23c376=a60_0x233d74;var _0x44d69b;const _0x3711ce=(_0x44d69b=_0x543497['sublayers'])===null||_0x44d69b===void 0x0?void 0x0:_0x44d69b[0x0],_0x4fb0cd=await getWMTSLayerCapabilities(_0x543497[_0x23c376(0x12a)]?_0x543497['url']:'',_0x3711ce==null?'':_0x3711ce);let _0x2163df=new a60_0x416d1c(_0x543497,_0x4fb0cd);return _0x2163df;}}function a60_0x25f2(_0x420842,_0x55afd9){const _0x550c72=a60_0x550c();return a60_0x25f2=function(_0x25f281,_0x3941b2){_0x25f281=_0x25f281-0x123;let _0x5e106d=_0x550c72[_0x25f281];return _0x5e106d;},a60_0x25f2(_0x420842,_0x55afd9);}function a60_0x550c(){const _0x4d1ec4=['7101PSsZPp','1663200xVfbTn','getGeoserverWmsLayer','getArcgisWmsLayer','84aruIMQ','24268bsaazv','getArcgisTileLayer','3664RTQqLl','getGeoserverWMTSLayer','13146749IVOhXk','getTDTLayer','sublayers','10HnmtHO','480844pqVQMe','getGeoserverVectorTileLayer','getGeoserverWFSLayer','url','length','getDynamicLayer','811srDEsj','274ZefHzm','70980OtKwsc','getArcgisFeatureLayer'];a60_0x550c=function(){return _0x4d1ec4;};return a60_0x550c();}
@@ -1 +1 @@
1
- (function(_0x334c6a,_0x37244f){const _0x60b281=a60_0x37e0,_0x3273ab=_0x334c6a();while(!![]){try{const _0x305709=parseInt(_0x60b281(0x89))/0x1+-parseInt(_0x60b281(0x84))/0x2*(-parseInt(_0x60b281(0x95))/0x3)+-parseInt(_0x60b281(0x88))/0x4+parseInt(_0x60b281(0x87))/0x5+-parseInt(_0x60b281(0x8b))/0x6*(-parseInt(_0x60b281(0x91))/0x7)+parseInt(_0x60b281(0x90))/0x8*(parseInt(_0x60b281(0x86))/0x9)+-parseInt(_0x60b281(0x94))/0xa;if(_0x305709===_0x37244f)break;else _0x3273ab['push'](_0x3273ab['shift']());}catch(_0x30b1d3){_0x3273ab['push'](_0x3273ab['shift']());}}}(a60_0x12e3,0x9964c));function a60_0x37e0(_0x27e50e,_0x29cae0){const _0x12e3f3=a60_0x12e3();return a60_0x37e0=function(_0x37e07a,_0x505028){_0x37e07a=_0x37e07a-0x81;let _0x4660e4=_0x12e3f3[_0x37e07a];return _0x4660e4;},a60_0x37e0(_0x27e50e,_0x29cae0);}import a60_0x39aca0 from'ol/layer/Tile';import{WMTS as a60_0x5a8a91}from'ol/source';import a60_0x30db2b from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';function a60_0x12e3(){const _0x4df40e=['initialExtent','281234ocBMUo','opacity','9deucrp','3311990nyQELD','4102340eDAshE','1186196PxTqxA','EPSG:4490','3504wmsdFv','1.0.0','length','join','tileMatrixSet','6629344nhEFaF','7476wqUDFN','sublayers','pow','19283230YxnAPX','6PuaYnn','projection','mapIndex','boundingBoxExtent','layerInfo'];a60_0x12e3=function(){return _0x4df40e;};return a60_0x12e3();}import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a60_0x39aca0{constructor(_0x3ed0e9,_0x3c0b6e){const _0x19a1fd=a60_0x37e0;let _0x1029f4='';_0x3ed0e9[_0x19a1fd(0x92)]&&_0x3ed0e9[_0x19a1fd(0x92)][_0x19a1fd(0x8d)]>0x0&&(_0x1029f4=_0x3ed0e9[_0x19a1fd(0x92)][_0x19a1fd(0x8e)](','));const _0x300257=_0x19a1fd(0x8a);let _0x4c37d7=registerProj(_0x300257);const _0x5b7ce6=[],_0x429c4b=[];for(let _0x932442=0x1;_0x932442<0x13;_0x932442++){_0x5b7ce6[_0x932442]=getWidth(_0x3c0b6e['boundingBoxExtent'])/(0x100*Math[_0x19a1fd(0x93)](0x2,_0x932442)),_0x429c4b[_0x932442]=_0x932442+'';}super({'opacity':_0x3ed0e9[_0x19a1fd(0x85)],'zIndex':_0x3ed0e9[_0x19a1fd(0x97)],'source':new a60_0x5a8a91({'style':_0x3c0b6e['style'],'url':_0x3ed0e9['url'],'tileGrid':new a60_0x30db2b({'origin':getTopLeft(_0x3c0b6e[_0x19a1fd(0x81)]),'resolutions':_0x5b7ce6,'matrixIds':_0x429c4b}),'layer':_0x1029f4,'matrixSet':_0x3c0b6e[_0x19a1fd(0x8f)],'version':_0x19a1fd(0x8c),'format':_0x3c0b6e['format'][0x0],'projection':_0x300257,'requestEncoding':'KVP'})}),this['id']=_0x3ed0e9['id'],this[_0x19a1fd(0x83)]=_0x3c0b6e[_0x19a1fd(0x81)],this[_0x19a1fd(0x96)]=_0x4c37d7,this[_0x19a1fd(0x82)]=_0x3ed0e9;}}
1
+ (function(_0xeccdb3,_0x423122){const _0x1d09af=a61_0x3326,_0x3b0707=_0xeccdb3();while(!![]){try{const _0x56efd1=-parseInt(_0x1d09af(0x1ef))/0x1*(-parseInt(_0x1d09af(0x1f6))/0x2)+parseInt(_0x1d09af(0x1f5))/0x3*(parseInt(_0x1d09af(0x1ee))/0x4)+parseInt(_0x1d09af(0x1e7))/0x5*(-parseInt(_0x1d09af(0x1ed))/0x6)+parseInt(_0x1d09af(0x1e9))/0x7+-parseInt(_0x1d09af(0x1e3))/0x8+parseInt(_0x1d09af(0x1ea))/0x9+-parseInt(_0x1d09af(0x1f3))/0xa*(parseInt(_0x1d09af(0x1e8))/0xb);if(_0x56efd1===_0x423122)break;else _0x3b0707['push'](_0x3b0707['shift']());}catch(_0x194980){_0x3b0707['push'](_0x3b0707['shift']());}}}(a61_0x1103,0x20a49));import a61_0x352fb9 from'ol/layer/Tile';import{WMTS as a61_0x2d7189}from'ol/source';import a61_0x2e12cf from'ol/tilegrid/WMTS';function a61_0x3326(_0x7ee755,_0x2e6adc){const _0x110349=a61_0x1103();return a61_0x3326=function(_0x3326e0,_0x455336){_0x3326e0=_0x3326e0-0x1e1;let _0x9efb74=_0x110349[_0x3326e0];return _0x9efb74;},a61_0x3326(_0x7ee755,_0x2e6adc);}import{registerProj}from'../utils/RegisterProjUtil';function a61_0x1103(){const _0x3fc2fb=['length','boundingBoxExtent','1103208UbkHgB','join','opacity','mapIndex','25arwKBC','6113272mUExBG','1690507DCdJbI','2331675fuTdIA','EPSG:4490','projection','142338BSixcy','928352QYZHnP','519KUATgf','sublayers','KVP','style','10CFCvJM','pow','3TkpVvI','822UIgduO'];a61_0x1103=function(){return _0x3fc2fb;};return a61_0x1103();}import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a61_0x352fb9{constructor(_0x39e812,_0x5931f5){const _0x487a87=a61_0x3326;let _0x14d973='';_0x39e812[_0x487a87(0x1f0)]&&_0x39e812[_0x487a87(0x1f0)][_0x487a87(0x1e1)]>0x0&&(_0x14d973=_0x39e812[_0x487a87(0x1f0)][_0x487a87(0x1e4)](','));const _0x30fc10=_0x487a87(0x1eb);let _0x49b68c=registerProj(_0x30fc10);const _0x1da6d0=[],_0x3964f8=[];for(let _0x1cb100=0x1;_0x1cb100<0x13;_0x1cb100++){_0x1da6d0[_0x1cb100]=getWidth(_0x5931f5[_0x487a87(0x1e2)])/(0x100*Math[_0x487a87(0x1f4)](0x2,_0x1cb100)),_0x3964f8[_0x1cb100]=_0x1cb100+'';}super({'opacity':_0x39e812[_0x487a87(0x1e5)],'zIndex':_0x39e812[_0x487a87(0x1e6)],'source':new a61_0x2d7189({'style':_0x5931f5[_0x487a87(0x1f2)],'url':_0x39e812['url'],'tileGrid':new a61_0x2e12cf({'origin':getTopLeft(_0x5931f5['boundingBoxExtent']),'resolutions':_0x1da6d0,'matrixIds':_0x3964f8}),'layer':_0x14d973,'matrixSet':_0x5931f5['tileMatrixSet'],'version':'1.0.0','format':_0x5931f5['format'][0x0],'projection':_0x30fc10,'requestEncoding':_0x487a87(0x1f1)})}),this['id']=_0x39e812['id'],this['initialExtent']=_0x5931f5[_0x487a87(0x1e2)],this[_0x487a87(0x1ec)]=_0x49b68c,this['layerInfo']=_0x39e812;}}
package/mapView/Map.js CHANGED
@@ -1 +1 @@
1
- const a61_0x256296=a61_0x2ac9;(function(_0x2ce887,_0x52a6a5){const _0x329659=a61_0x2ac9,_0x100ea5=_0x2ce887();while(!![]){try{const _0x5e010e=-parseInt(_0x329659(0x17f))/0x1+parseInt(_0x329659(0x166))/0x2*(-parseInt(_0x329659(0x199))/0x3)+parseInt(_0x329659(0x183))/0x4+-parseInt(_0x329659(0x186))/0x5*(-parseInt(_0x329659(0x1c2))/0x6)+parseInt(_0x329659(0x192))/0x7+parseInt(_0x329659(0x193))/0x8+-parseInt(_0x329659(0x15c))/0x9*(parseInt(_0x329659(0x179))/0xa);if(_0x5e010e===_0x52a6a5)break;else _0x100ea5['push'](_0x100ea5['shift']());}catch(_0x24586e){_0x100ea5['push'](_0x100ea5['shift']());}}}(a61_0x8a40,0x366ac));import'ol/ol.css';import'../assets/main.css';import a61_0xb77b6c from'ol/Map';import a61_0x555982 from'ol/events/Event';function a61_0x8a40(){const _0x2a1fce=['39462UKVauS','filter','changetype','sortTemLayer','insertAt','setProjection','getMinZoom','polygonTempLayer','getLayerById','_options','Polygon','addMapLayer','getSource','maxResolution','arcgis-wms','length','push','minZoom','fitLayer','locationWKT','locationGeometry','minResolution','remove','getArray','getTempLayerByGeoType','includes','getLineTempLayer','geoserver-wms','add','setMinResolution','setStyle','interactionManager','getSize','maxScale','getMetersPerUnit','getPointTempLayer','addLayer','getTempLayerById','addMapLayers','isSelected','arcgis-dynamic','6jGQhAW','setProperties','layerTag','changelayer','extent','getElementById','getExtent','locationGeometrys','rgba(255,\x200,\x200,\x200.2)','getType','lineTempLayer','fitLayerById','9WYGnaJ','fit','zoom','Point','GeometryCollection','constrainResolution','resetViewProjection','oncontextmenu','MultiLineString','addFeatures','62iplFpb','dispatchEvent','addWKTs','getProjection','MultiPoint','layerInfo','LineString','geoserver-vector-tile','getLayers','getArcgisFeatureLayer','tag','getCoordinates','center','transform','layerType','maxZoom','fromType','controlManager','arcgis-feature','308340BFEMAZ','getLayerByLayerTag','flashGeometrys','arcgis-wmts','import','projection','196885kZCZUD','getCode','setMaxResolution','pointTempLayer','113140aEpoQT','setCenter','EPSG:4490','1342420znrtmw','getZIndex','calculateExtent','getGeoserverVectorTileLayer','getPolygonTempLayer','rgba(255,\x200,\x200,\x201)','getLength','addFeature','getTarget','geoserver-wfs','MultiPolygon','arcgis-tile','1287076jcNRID','3021984jIJDdN','removeLayer','getView','minScale','】服务类型','setGeometry'];a61_0x8a40=function(){return _0x2a1fce;};return a61_0x8a40();}import{defaults as a61_0x34a648}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a61_0x50e332 from'../layers/LayerManager';import a61_0x26872e from'ol/layer/Vector';import a61_0x52db89 from'ol/source/Vector';import a61_0x384f01 from'../controls/ControlManager';import a61_0x37265e from'../entity/Feature';import a61_0x41cc18 from'../interaction/InteractionManager';import a61_0x75ccdd from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a61_0xe71266 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';function a61_0x2ac9(_0x5c737e,_0x47bb9d){const _0x8a4056=a61_0x8a40();return a61_0x2ac9=function(_0x2ac94d,_0x504f0c){_0x2ac94d=_0x2ac94d-0x153;let _0x4deff2=_0x8a4056[_0x2ac94d];return _0x4deff2;},a61_0x2ac9(_0x5c737e,_0x47bb9d);}export class ChangeLayerEvent extends a61_0x555982{constructor(_0x2655f5,_0xaa7fbe,_0x2f08a3){const _0x16f9e1=a61_0x2ac9;super(_0x2655f5),this['layerIds']=_0xaa7fbe,this[_0x16f9e1(0x19b)]=_0x2f08a3;}}export default class OLMap extends a61_0xb77b6c{constructor(_0x5ac2e4,_0x443531,_0x3da1b0){const _0x5d8eab=a61_0x2ac9;_0x443531=_0x443531?_0x443531:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x1fd921=_0x443531[_0x5d8eab(0x17e)]?'EPSG:'+_0x443531[_0x5d8eab(0x17e)]:_0x5d8eab(0x185);_0x443531[_0x5d8eab(0x15e)]=_0x443531[_0x5d8eab(0x15e)]?_0x443531[_0x5d8eab(0x15e)]:0xa,_0x443531[_0x5d8eab(0x1aa)]=_0x443531[_0x5d8eab(0x1aa)]?_0x443531['minZoom']:0x0,_0x443531[_0x5d8eab(0x175)]=_0x443531[_0x5d8eab(0x175)]?_0x443531[_0x5d8eab(0x175)]:0x1c,_0x443531[_0x5d8eab(0x161)]=_0x443531[_0x5d8eab(0x161)]?_0x443531[_0x5d8eab(0x161)]:![],_0x443531[_0x5d8eab(0x172)]=_0x443531[_0x5d8eab(0x172)]?_0x443531[_0x5d8eab(0x172)]:[117.22718,31.820386],registerProj(_0x1fd921);const _0x31d633={'target':_0x5ac2e4,'view':_0x3da1b0?_0x3da1b0:new a61_0x75ccdd({'center':_0x443531[_0x5d8eab(0x172)],'zoom':_0x443531['zoom'],'projection':_0x1fd921,'minZoom':_0x443531['minZoom'],'maxZoom':_0x443531[_0x5d8eab(0x175)],'minResolution':_0x443531[_0x5d8eab(0x1ae)],'maxResolution':_0x443531[_0x5d8eab(0x1a6)],'constrainResolution':_0x443531[_0x5d8eab(0x161)]}),'controls':a61_0x34a648({'zoom':![]})};super(_0x31d633);_0x443531[_0x5d8eab(0x154)]&&this[_0x5d8eab(0x195)]()[_0x5d8eab(0x15d)](_0x443531[_0x5d8eab(0x154)]);const _0x7b77b7=this[_0x5d8eab(0x18e)]();if(_0x7b77b7 instanceof HTMLElement)_0x7b77b7['oncontextmenu']=function(_0x12fc72){return![];};else{const _0x9ccd9e=document[_0x5d8eab(0x155)](_0x7b77b7);_0x9ccd9e&&(_0x9ccd9e[_0x5d8eab(0x163)]=function(_0x1dc74f){return![];});}this[_0x5d8eab(0x1b8)]=new a61_0x41cc18(this),this[_0x5d8eab(0x177)]=new a61_0x384f01(this),this[_0x5d8eab(0x1a2)]=_0x443531;}['getView'](){const _0x3e7109=a61_0x2ac9;return super[_0x3e7109(0x195)]();}[a61_0x256296(0x1ab)](_0x3947ea){const _0xaad286=a61_0x256296;var _0x101827;this[_0xaad286(0x195)]()[_0xaad286(0x15d)](transformExtent(_0x3947ea['initialExtent'],(_0x101827=_0x3947ea['projection'])===null||_0x101827===void 0x0?void 0x0:_0x101827['getCode'](),this[_0xaad286(0x195)]()['getProjection']()[_0xaad286(0x180)]()));}[a61_0x256296(0x15b)](_0x36df94){const _0x501d15=a61_0x256296;let _0x5a4658=this[_0x501d15(0x1a1)](_0x36df94);_0x5a4658&&this[_0x501d15(0x1ab)](_0x5a4658);}async[a61_0x256296(0x1a4)](_0x145d0f){const _0x740c05=a61_0x256296;let _0x12b123;switch(_0x145d0f[_0x740c05(0x174)]){case _0x740c05(0x178):_0x12b123=await a61_0x50e332[_0x740c05(0x16f)](_0x145d0f);break;case _0x740c05(0x1c1):_0x12b123=await a61_0x50e332['getDynamicLayer'](_0x145d0f);break;case _0x740c05(0x191):_0x12b123=await a61_0x50e332['getArcgisTileLayer'](_0x145d0f);break;case _0x740c05(0x1a7):_0x12b123=await a61_0x50e332['getArcgisWmsLayer'](_0x145d0f);break;case _0x740c05(0x17c):_0x12b123=await a61_0x50e332['getArcgisWMTSLayer'](_0x145d0f);break;case _0x740c05(0x1b4):_0x12b123=await a61_0x50e332['getGeoserverWmsLayer'](_0x145d0f);break;case _0x740c05(0x18f):_0x12b123=await a61_0x50e332['getGeoserverWFSLayer'](_0x145d0f);break;case'geoserver-wmts':_0x12b123=await a61_0x50e332['getGeoserverWMTSLayer'](_0x145d0f);break;case _0x740c05(0x16d):_0x12b123=await a61_0x50e332[_0x740c05(0x189)](_0x145d0f);break;case'tdt-c':_0x12b123=await a61_0x50e332['getTDTLayer'](_0x145d0f);break;default:throw new Error('暂不支持【'+_0x145d0f['layerType']+_0x740c05(0x197));}return this[_0x740c05(0x1bd)](_0x12b123),this[_0x740c05(0x167)](new ChangeLayerEvent(_0x740c05(0x153),[_0x145d0f['id']],'add')),_0x12b123;}async[a61_0x256296(0x1bf)](_0x2f3bac){const _0x4df852=a61_0x256296;let _0x3aa64c=[];const _0x3063fc=[];for(let _0x3e987b=0x0;_0x3e987b<_0x2f3bac[_0x4df852(0x1a8)];_0x3e987b++){const _0x2075c4=_0x2f3bac[_0x3e987b];_0x3063fc[_0x4df852(0x1a9)](_0x2075c4['id']),_0x3aa64c['push'](this[_0x4df852(0x1a4)](_0x2075c4));}const _0x539c69=await Promise['all'](_0x3aa64c);return this[_0x4df852(0x167)](new ChangeLayerEvent(_0x4df852(0x153),_0x3063fc,_0x4df852(0x1b5))),_0x539c69;}[a61_0x256296(0x1bd)](_0x285c6d,_0x357ad6=![]){const _0x278c06=a61_0x256296,_0x2571bc=_0x285c6d,_0x319257=this['getLayerById'](_0x2571bc['id']);if(_0x319257==null){const _0xfa8a22=_0x2571bc['layerInfo']==undefined||_0x2571bc['layerInfo'][_0x278c06(0x196)]==undefined||_0x2571bc['layerInfo'][_0x278c06(0x196)]<0x0?undefined:calculateResolution(_0x2571bc[_0x278c06(0x16b)][_0x278c06(0x196)],this[_0x278c06(0x195)]()[_0x278c06(0x169)]()[_0x278c06(0x1bb)]()||0x0);_0x285c6d[_0x278c06(0x1b6)](_0xfa8a22);const _0x21a217=_0x2571bc['layerInfo']==undefined||_0x2571bc[_0x278c06(0x16b)][_0x278c06(0x1ba)]==undefined||_0x2571bc[_0x278c06(0x16b)]['maxScale']<0x0?undefined:calculateResolution(_0x2571bc[_0x278c06(0x16b)][_0x278c06(0x1ba)],this[_0x278c06(0x195)]()[_0x278c06(0x169)]()['getMetersPerUnit']()||0x0);_0x285c6d[_0x278c06(0x181)](_0x21a217);const _0x552773=this[_0x278c06(0x16e)]()[_0x278c06(0x1b0)]()['length'];if(!this[_0x278c06(0x1a2)]['projection']&&_0x552773==0x0&&_0x2571bc['projection']&&_0x2571bc[_0x278c06(0x17e)][_0x278c06(0x180)]()!=this['getView']()[_0x278c06(0x169)]()[_0x278c06(0x180)]()){}let _0x5583d5=_0x285c6d[_0x278c06(0x187)]();_0x5583d5!=undefined&&_0x5583d5>_0x552773&&(_0x5583d5=_0x552773),this[_0x278c06(0x16e)]()[_0x278c06(0x19d)](_0x5583d5==undefined?_0x552773:_0x5583d5,_0x285c6d),_0x357ad6&&this[_0x278c06(0x1ab)](_0x2571bc);}}['removeLayerById'](_0x160354){const _0x7b290b=a61_0x256296,_0x4def71=this['getLayerById'](_0x160354);_0x4def71&&(this[_0x7b290b(0x194)](_0x4def71),this[_0x7b290b(0x167)](new ChangeLayerEvent(_0x7b290b(0x153),[_0x160354],_0x7b290b(0x1af))));}[a61_0x256296(0x1a1)](_0x3d4f4f){const _0x10442c=a61_0x256296;let _0x155212,_0x442b92=this[_0x10442c(0x16e)]()['getArray']();for(let _0x1c9eb3=0x0;_0x1c9eb3<_0x442b92[_0x10442c(0x1a8)];_0x1c9eb3++){let _0x52fbbe=_0x442b92[_0x1c9eb3]['id'];if(_0x3d4f4f==_0x52fbbe){_0x155212=_0x442b92[_0x1c9eb3];break;}}return _0x155212;}[a61_0x256296(0x17a)](_0x3bd006){const _0x50ff6e=a61_0x256296;let _0x3f19e8,_0x574b90=this[_0x50ff6e(0x16e)]()[_0x50ff6e(0x1b0)]();for(let _0x5bf116=0x0;_0x5bf116<_0x574b90[_0x50ff6e(0x1a8)];_0x5bf116++){const _0x475dc7=_0x574b90[_0x5bf116][_0x50ff6e(0x16b)];if(!_0x475dc7)continue;let _0xf8496b=_0x475dc7[_0x50ff6e(0x1c4)];if(_0xf8496b==_0x3bd006){_0x3f19e8=_0x574b90[_0x5bf116];break;}}return _0x3f19e8;}['getLayersByIds'](_0x6ee83e){const _0x3044ba=a61_0x256296;let _0x587a86=this[_0x3044ba(0x16e)]()[_0x3044ba(0x1b0)]();return _0x587a86[_0x3044ba(0x19a)](_0x8bd19=>_0x6ee83e[_0x3044ba(0x1b2)](_0x8bd19['id']));}['getTempLayerById'](_0x9353af){const _0x2a164a=a61_0x256296;let _0x26adc9,_0x4308c3=this['getLayers']()['getArray']();for(let _0xde18c2=0x0;_0xde18c2<_0x4308c3['length'];_0xde18c2++){const _0x2881b0=_0x4308c3[_0xde18c2];if(_0x2881b0['id']===_0x9353af){_0x26adc9=_0x2881b0;break;}}if(!_0x26adc9){_0x26adc9=new a61_0x26872e({'zIndex':0x270f,'source':new a61_0x52db89()}),_0x26adc9['id']=_0x9353af;const _0x30a5df=this['getLayers']()[_0x2a164a(0x18c)]();switch(_0x9353af){case _0x2a164a(0x15a):this[_0x2a164a(0x16e)]()[_0x2a164a(0x19d)](_0x30a5df-0x1>-0x1?_0x30a5df-0x1:0x0,_0x26adc9);break;case _0x2a164a(0x1a0):this[_0x2a164a(0x16e)]()['insertAt'](_0x30a5df-0x2>-0x1?_0x30a5df-0x2:0x0,_0x26adc9);break;case _0x2a164a(0x182):this[_0x2a164a(0x16e)]()[_0x2a164a(0x19d)](_0x30a5df,_0x26adc9);break;default:break;}}return _0x26adc9;}[a61_0x256296(0x1bc)](){const _0x55e69b=a61_0x256296;return this['getTempLayerById'](_0x55e69b(0x182));}[a61_0x256296(0x1b3)](){const _0x267752=a61_0x256296;return this[_0x267752(0x1be)](_0x267752(0x15a));}['getPolygonTempLayer'](){return this['getTempLayerById']('polygonTempLayer');}[a61_0x256296(0x1b1)](_0x1e18a5){const _0x417abe=a61_0x256296;let _0x4afcba=this['getPointTempLayer']();switch(_0x1e18a5){case'Point':case _0x417abe(0x16a):_0x4afcba=this[_0x417abe(0x1bc)]();case _0x417abe(0x16c):case _0x417abe(0x164):_0x4afcba=this['getLineTempLayer']();case _0x417abe(0x1a3):case _0x417abe(0x190):_0x4afcba=this[_0x417abe(0x18a)]();}return _0x4afcba;}[a61_0x256296(0x162)](_0x3beb5b){const _0x3259a9=a61_0x256296;let _0x4588b9=this['getView']()[_0x3259a9(0x19f)](),_0x4ffe89=this[_0x3259a9(0x195)]()['getMaxZoom']();registerProj(_0x3beb5b),this[_0x3259a9(0x195)]()[_0x3259a9(0x19e)](_0x3beb5b);}[a61_0x256296(0x19c)](){const _0x32aa52=a61_0x256296;let _0x39a483=[];_0x39a483[_0x32aa52(0x1a9)](this[_0x32aa52(0x1bc)]()),_0x39a483[_0x32aa52(0x1a9)](this[_0x32aa52(0x1b3)]()),_0x39a483[_0x32aa52(0x1a9)](this['getPolygonTempLayer']());const _0x5dba92=this[_0x32aa52(0x16e)]()[_0x32aa52(0x1b0)]()['length'];for(let _0x17c91a=0x0;_0x17c91a<_0x39a483[_0x32aa52(0x1a8)];_0x17c91a++){const _0x17169a=_0x39a483[_0x17c91a];this[_0x32aa52(0x16e)]()[_0x32aa52(0x19d)](_0x5dba92-_0x17c91a-0x1,_0x17169a);}}[a61_0x256296(0x156)](){const _0x227569=a61_0x256296;return this[_0x227569(0x195)]()[_0x227569(0x188)](this[_0x227569(0x1b9)]());}['addWKT'](_0x1bb72a,_0x22a34b,_0x36805e,_0x17583f=!![],_0x470ed7,_0x53b1df={'color':a61_0x256296(0x158),'opacity':0.2,'outlineColor':a61_0x256296(0x18b),'outlineWidth':0x2}){const _0x3bc621=a61_0x256296;var _0x971292;const _0x55de96=fromWKT(_0x1bb72a,_0x22a34b,this[_0x3bc621(0x195)]()['getProjection']()['getCode']());if(!_0x55de96)return;const _0x282e74=this['getTempLayerByGeoType'](_0x55de96[_0x3bc621(0x159)]()),_0x4ee428=getStyle(_0x53b1df),_0x16a6d3=new a61_0x37265e();return _0x16a6d3[_0x3bc621(0x198)](_0x55de96),_0x16a6d3[_0x3bc621(0x1b7)](_0x4ee428),_0x470ed7?_0x16a6d3['setProperties'](_0x470ed7):_0x16a6d3[_0x3bc621(0x1c3)]({}),_0x16a6d3[_0x3bc621(0x170)]=_0x36805e,(_0x971292=_0x282e74[_0x3bc621(0x1a5)]())===null||_0x971292===void 0x0?void 0x0:_0x971292[_0x3bc621(0x18d)](_0x16a6d3),_0x17583f&&this[_0x3bc621(0x1ad)](_0x55de96,undefined,1.2,![]),_0x16a6d3;}[a61_0x256296(0x168)](_0xa0df5d,_0x19ffd7,_0x17872f,_0x4b671f=!![],_0x4fd6d1={'color':'rgba(255,\x200,\x200,\x200.2)','opacity':0.2,'outlineColor':a61_0x256296(0x18b),'outlineWidth':0x2},_0x5234b5){const _0x21014a=a61_0x256296;var _0x110fcb;const _0x5a8ad2=fromWKTs(_0xa0df5d,_0x19ffd7,this[_0x21014a(0x195)]()['getProjection']()['getCode']());if(!_0x5a8ad2||_0x5a8ad2['length']==0x0)return;const _0x20034b=this['getTempLayerByGeoType'](_0x5a8ad2[0x0]['getType']()),_0x5e84ec=getStyle(_0x4fd6d1);let _0x532200=[];for(const _0xee4cd1 of _0x5a8ad2){const _0xac9f67=new a61_0x37265e();_0xac9f67['setGeometry'](_0xee4cd1),_0xac9f67[_0x21014a(0x1b7)](_0x5e84ec),_0x5234b5?_0xac9f67[_0x21014a(0x1c3)](_0x5234b5):_0xac9f67[_0x21014a(0x1c3)]({}),_0xac9f67[_0x21014a(0x176)]=_0x21014a(0x17d),_0xac9f67[_0x21014a(0x1c0)]=!![],_0xac9f67[_0x21014a(0x170)]=_0x17872f,_0x532200[_0x21014a(0x1a9)](_0xac9f67);}return(_0x110fcb=_0x20034b[_0x21014a(0x1a5)]())===null||_0x110fcb===void 0x0?void 0x0:_0x110fcb[_0x21014a(0x165)](_0x532200),_0x4b671f&&this[_0x21014a(0x157)](_0x5a8ad2,undefined,1.2,![]),_0x532200;}[a61_0x256296(0x1ac)](_0x2754c8,_0x343578,_0x5af250=1.2,_0x533ded=!![]){const _0xdfbaff=a61_0x256296;if(!_0x2754c8)return;let _0x2d64c4=fromWKT(_0x2754c8,_0x343578,this[_0xdfbaff(0x195)]()['getProjection']()['getCode']());if(!_0x2d64c4)return;this['locationGeometry'](_0x2d64c4,_0x343578,_0x5af250,_0x533ded);}['locationWKTs'](_0x332add,_0x9200a0,_0x484978=1.2,_0x36283f=!![]){const _0x4a5ec7=a61_0x256296;if(!_0x332add||_0x332add[_0x4a5ec7(0x1a8)]===0x0)return;const _0x273949=[];for(let _0x4ad52c=0x0;_0x4ad52c<_0x332add[_0x4a5ec7(0x1a8)];_0x4ad52c++){let _0x21dce8=_0x332add[_0x4ad52c],_0x561415=fromWKT(_0x21dce8,_0x9200a0,this[_0x4a5ec7(0x195)]()['getProjection']()['getCode']());if(!_0x561415)continue;_0x273949[_0x4a5ec7(0x1a9)](_0x561415);}this[_0x4a5ec7(0x157)](_0x273949,_0x9200a0,_0x484978,_0x36283f);}['locationGeometry'](_0x5f421b,_0x356614,_0x2dc452=1.2,_0x192b34=!![]){const _0xa0000a=a61_0x256296;if(!_0x5f421b)return;let _0x8a9008=_0x5f421b;_0x356614&&(_0x8a9008=_0x5f421b[_0xa0000a(0x173)](_0x356614,this[_0xa0000a(0x195)]()[_0xa0000a(0x169)]()));switch(_0x8a9008['getType']()){case _0xa0000a(0x15f):this[_0xa0000a(0x195)]()[_0xa0000a(0x184)](_0x8a9008[_0xa0000a(0x171)]());break;case _0xa0000a(0x1a3):case'MultiPoint':case _0xa0000a(0x164):case _0xa0000a(0x190):case _0xa0000a(0x160):this[_0xa0000a(0x195)]()['fit'](expandExtent(_0x8a9008[_0xa0000a(0x156)](),_0x2dc452));break;}if(_0x192b34){const _0x241848=new a61_0xe71266(this);_0x241848[_0xa0000a(0x17b)]([_0x8a9008],0x3);}}[a61_0x256296(0x157)](_0x1da5ed,_0x5105ef,_0x38b175=1.2,_0x13229f=!![]){const _0x41b0e1=a61_0x256296;if(!_0x1da5ed||_0x1da5ed[_0x41b0e1(0x1a8)]===0x0)return;let _0x2fd160=null;for(const _0x1ddfb4 of _0x1da5ed){_0x2fd160?_0x2fd160=union(_0x2fd160,_0x1ddfb4):_0x2fd160=_0x1ddfb4;}_0x2fd160&&this[_0x41b0e1(0x1ad)](_0x2fd160,_0x5105ef,_0x38b175,![]);if(_0x13229f){const _0x10de17=new a61_0xe71266(this);_0x10de17['flashGeometrys'](_0x1da5ed,0x3);}}}
1
+ const a62_0x5638d2=a62_0x2e46;(function(_0x4d13eb,_0x54f66b){const _0x59cdb6=a62_0x2e46,_0x3d8eab=_0x4d13eb();while(!![]){try{const _0x5178bf=-parseInt(_0x59cdb6(0x88))/0x1+-parseInt(_0x59cdb6(0xc2))/0x2+parseInt(_0x59cdb6(0xb8))/0x3+-parseInt(_0x59cdb6(0x97))/0x4*(-parseInt(_0x59cdb6(0xb2))/0x5)+-parseInt(_0x59cdb6(0xd8))/0x6*(-parseInt(_0x59cdb6(0xdd))/0x7)+-parseInt(_0x59cdb6(0xac))/0x8*(-parseInt(_0x59cdb6(0xeb))/0x9)+parseInt(_0x59cdb6(0xe2))/0xa;if(_0x5178bf===_0x54f66b)break;else _0x3d8eab['push'](_0x3d8eab['shift']());}catch(_0x213b7a){_0x3d8eab['push'](_0x3d8eab['shift']());}}}(a62_0x579c,0xcde4c));import'ol/ol.css';import'../assets/main.css';import a62_0x522ee5 from'ol/Map';import a62_0x464d8c from'ol/events/Event';function a62_0x2e46(_0x1dad91,_0x1b0840){const _0x579c3e=a62_0x579c();return a62_0x2e46=function(_0x2e46cd,_0x396d0d){_0x2e46cd=_0x2e46cd-0x87;let _0x58965d=_0x579c3e[_0x2e46cd];return _0x58965d;},a62_0x2e46(_0x1dad91,_0x1b0840);}import{defaults as a62_0x5b7a2a}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a62_0x2fc491 from'../layers/LayerManager';import a62_0x2ecbba from'ol/layer/Vector';function a62_0x579c(){const _0x3ab0c2=['getMaxZoom','addLayer','1940790ecObiq','EPSG:4490','locationGeometrys','setProjection','arcgis-wmts','locationGeometry','setCenter','rgba(255,\x200,\x200,\x201)','push','MultiPolygon','3027824nCMHDh','getDynamicLayer','getArcgisFeatureLayer','lineTempLayer','sortTemLayer','changelayer','minZoom','all','includes','fitLayerById','resetViewProjection','minResolution','constrainResolution','remove','tdt-c','pointTempLayer','getTempLayerById','getSize','setGeometry','fromType','isSelected','calculateExtent','1410852URlRea','dispatchEvent','locationWKTs','getLayers','getArcgisTileLayer','14opKBqu','Polygon','removeLayerById','getCoordinates','extent','13290150ESHhPN','layerInfo','getTDTLayer','getTarget','zoom','center','getLineTempLayer','MultiLineString','arcgis-wms','567iICaUR','arcgis-feature','removeLayer','getLayerByLayerTag','minScale','getLength','getElementById','length','geoserver-wfs','geoserver-wms','暂不支持【','getArcgisWmsLayer','projection','getZIndex','layerIds','filter','addFeature','getSource','getTempLayerByGeoType','950241qGNdnm','setProperties','setMaxResolution','EPSG:','getArray','getView','getMinZoom','getGeoserverWMTSLayer','setMinResolution','locationWKT','layerType','tag','rgba(255,\x200,\x200,\x200.2)','getCode','addWKT','233796dPbxrL','MultiPoint','getType','initialExtent','polygonTempLayer','getProjection','layerTag','getGeoserverWFSLayer','getLayerById','insertAt','getMetersPerUnit','maxZoom','flashGeometrys','geoserver-wmts','getGeoserverVectorTileLayer','import','maxScale','fitLayer','_options','interactionManager','】服务类型','42568qBoxbu','addMapLayer','addMapLayers','getPolygonTempLayer','fit','Point','45glQPFO','getExtent','geoserver-vector-tile','oncontextmenu'];a62_0x579c=function(){return _0x3ab0c2;};return a62_0x579c();}import a62_0x495e20 from'ol/source/Vector';import a62_0x34d857 from'../controls/ControlManager';import a62_0x3868ee from'../entity/Feature';import a62_0x1bfc99 from'../interaction/InteractionManager';import a62_0x36b44b from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a62_0x1b1528 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a62_0x464d8c{constructor(_0x4507d0,_0x2b832a,_0x596122){const _0x39e482=a62_0x2e46;super(_0x4507d0),this[_0x39e482(0xf9)]=_0x2b832a,this['changetype']=_0x596122;}}export default class OLMap extends a62_0x522ee5{constructor(_0x5b220e,_0x3ed6a8,_0x5ef8d8){const _0x2b5ced=a62_0x2e46;_0x3ed6a8=_0x3ed6a8?_0x3ed6a8:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x510a5a=_0x3ed6a8[_0x2b5ced(0xf7)]?_0x2b5ced(0x8b)+_0x3ed6a8[_0x2b5ced(0xf7)]:_0x2b5ced(0xb9);_0x3ed6a8['zoom']=_0x3ed6a8[_0x2b5ced(0xe6)]?_0x3ed6a8['zoom']:0xa,_0x3ed6a8['minZoom']=_0x3ed6a8[_0x2b5ced(0xc8)]?_0x3ed6a8[_0x2b5ced(0xc8)]:0x0,_0x3ed6a8['maxZoom']=_0x3ed6a8[_0x2b5ced(0xa2)]?_0x3ed6a8[_0x2b5ced(0xa2)]:0x1c,_0x3ed6a8[_0x2b5ced(0xce)]=_0x3ed6a8[_0x2b5ced(0xce)]?_0x3ed6a8[_0x2b5ced(0xce)]:![],_0x3ed6a8['center']=_0x3ed6a8[_0x2b5ced(0xe7)]?_0x3ed6a8[_0x2b5ced(0xe7)]:[117.22718,31.820386],registerProj(_0x510a5a);const _0x2ac6f4={'target':_0x5b220e,'view':_0x5ef8d8?_0x5ef8d8:new a62_0x36b44b({'center':_0x3ed6a8[_0x2b5ced(0xe7)],'zoom':_0x3ed6a8[_0x2b5ced(0xe6)],'projection':_0x510a5a,'minZoom':_0x3ed6a8[_0x2b5ced(0xc8)],'maxZoom':_0x3ed6a8[_0x2b5ced(0xa2)],'minResolution':_0x3ed6a8[_0x2b5ced(0xcd)],'maxResolution':_0x3ed6a8['maxResolution'],'constrainResolution':_0x3ed6a8[_0x2b5ced(0xce)]}),'controls':a62_0x5b7a2a({'zoom':![]})};super(_0x2ac6f4);_0x3ed6a8[_0x2b5ced(0xe1)]&&this['getView']()[_0x2b5ced(0xb0)](_0x3ed6a8[_0x2b5ced(0xe1)]);const _0x167930=this[_0x2b5ced(0xe5)]();if(_0x167930 instanceof HTMLElement)_0x167930[_0x2b5ced(0xb5)]=function(_0x3f9644){return![];};else{const _0x5879fd=document[_0x2b5ced(0xf1)](_0x167930);_0x5879fd&&(_0x5879fd[_0x2b5ced(0xb5)]=function(_0x49ffd9){return![];});}this[_0x2b5ced(0xaa)]=new a62_0x1bfc99(this),this['controlManager']=new a62_0x34d857(this),this[_0x2b5ced(0xa9)]=_0x3ed6a8;}[a62_0x5638d2(0x8d)](){return super['getView']();}[a62_0x5638d2(0xa8)](_0x4f6682){const _0x18c758=a62_0x5638d2;var _0x472946;this['getView']()[_0x18c758(0xb0)](transformExtent(_0x4f6682[_0x18c758(0x9a)],(_0x472946=_0x4f6682['projection'])===null||_0x472946===void 0x0?void 0x0:_0x472946['getCode'](),this[_0x18c758(0x8d)]()[_0x18c758(0x9c)]()[_0x18c758(0x95)]()));}[a62_0x5638d2(0xcb)](_0x2b6dc6){let _0x54e9ee=this['getLayerById'](_0x2b6dc6);_0x54e9ee&&this['fitLayer'](_0x54e9ee);}async[a62_0x5638d2(0xad)](_0x52208e){const _0x2ced7f=a62_0x5638d2;let _0x25a545;switch(_0x52208e[_0x2ced7f(0x92)]){case _0x2ced7f(0xec):_0x25a545=await a62_0x2fc491[_0x2ced7f(0xc4)](_0x52208e);break;case'arcgis-dynamic':_0x25a545=await a62_0x2fc491[_0x2ced7f(0xc3)](_0x52208e);break;case'arcgis-tile':_0x25a545=await a62_0x2fc491[_0x2ced7f(0xdc)](_0x52208e);break;case _0x2ced7f(0xea):_0x25a545=await a62_0x2fc491[_0x2ced7f(0xf6)](_0x52208e);break;case _0x2ced7f(0xbc):_0x25a545=await a62_0x2fc491['getArcgisWMTSLayer'](_0x52208e);break;case _0x2ced7f(0xf4):_0x25a545=await a62_0x2fc491['getGeoserverWmsLayer'](_0x52208e);break;case _0x2ced7f(0xf3):_0x25a545=await a62_0x2fc491[_0x2ced7f(0x9e)](_0x52208e);break;case _0x2ced7f(0xa4):_0x25a545=await a62_0x2fc491[_0x2ced7f(0x8f)](_0x52208e);break;case _0x2ced7f(0xb4):_0x25a545=await a62_0x2fc491[_0x2ced7f(0xa5)](_0x52208e);break;case _0x2ced7f(0xd0):_0x25a545=await a62_0x2fc491[_0x2ced7f(0xe4)](_0x52208e);break;default:throw new Error(_0x2ced7f(0xf5)+_0x52208e[_0x2ced7f(0x92)]+_0x2ced7f(0xab));}return this['addLayer'](_0x25a545),this[_0x2ced7f(0xd9)](new ChangeLayerEvent(_0x2ced7f(0xc7),[_0x52208e['id']],'add')),_0x25a545;}async[a62_0x5638d2(0xae)](_0x293482){const _0x399877=a62_0x5638d2;let _0x206795=[];const _0x4c6419=[];for(let _0x2f5a75=0x0;_0x2f5a75<_0x293482[_0x399877(0xf2)];_0x2f5a75++){const _0x21d1b8=_0x293482[_0x2f5a75];_0x4c6419[_0x399877(0xc0)](_0x21d1b8['id']),_0x206795['push'](this['addMapLayer'](_0x21d1b8));}const _0x570947=await Promise[_0x399877(0xc9)](_0x206795);return this[_0x399877(0xd9)](new ChangeLayerEvent(_0x399877(0xc7),_0x4c6419,'add')),_0x570947;}[a62_0x5638d2(0xb7)](_0x127531,_0x23cf31=![]){const _0x120346=a62_0x5638d2,_0x59049a=_0x127531,_0x4e53aa=this[_0x120346(0x9f)](_0x59049a['id']);if(_0x4e53aa==null){const _0x179785=_0x59049a['layerInfo']==undefined||_0x59049a['layerInfo'][_0x120346(0xef)]==undefined||_0x59049a['layerInfo']['minScale']<0x0?undefined:calculateResolution(_0x59049a[_0x120346(0xe3)][_0x120346(0xef)],this[_0x120346(0x8d)]()[_0x120346(0x9c)]()['getMetersPerUnit']()||0x0);_0x127531[_0x120346(0x90)](_0x179785);const _0x310df8=_0x59049a[_0x120346(0xe3)]==undefined||_0x59049a['layerInfo'][_0x120346(0xa7)]==undefined||_0x59049a[_0x120346(0xe3)][_0x120346(0xa7)]<0x0?undefined:calculateResolution(_0x59049a[_0x120346(0xe3)][_0x120346(0xa7)],this[_0x120346(0x8d)]()['getProjection']()[_0x120346(0xa1)]()||0x0);_0x127531[_0x120346(0x8a)](_0x310df8);const _0x46ddb9=this[_0x120346(0xdb)]()[_0x120346(0x8c)]()[_0x120346(0xf2)];if(!this['_options'][_0x120346(0xf7)]&&_0x46ddb9==0x0&&_0x59049a['projection']&&_0x59049a[_0x120346(0xf7)][_0x120346(0x95)]()!=this[_0x120346(0x8d)]()[_0x120346(0x9c)]()['getCode']()){}let _0x1cb725=_0x127531[_0x120346(0xf8)]();_0x1cb725!=undefined&&_0x1cb725>_0x46ddb9&&(_0x1cb725=_0x46ddb9),this['getLayers']()[_0x120346(0xa0)](_0x1cb725==undefined?_0x46ddb9:_0x1cb725,_0x127531),_0x23cf31&&this[_0x120346(0xa8)](_0x59049a);}}[a62_0x5638d2(0xdf)](_0xab3633){const _0x481505=a62_0x5638d2,_0x45fbfa=this[_0x481505(0x9f)](_0xab3633);_0x45fbfa&&(this[_0x481505(0xed)](_0x45fbfa),this['dispatchEvent'](new ChangeLayerEvent(_0x481505(0xc7),[_0xab3633],_0x481505(0xcf))));}[a62_0x5638d2(0x9f)](_0x299d2b){const _0xa6dc50=a62_0x5638d2;let _0x2d5ce6,_0x182502=this[_0xa6dc50(0xdb)]()[_0xa6dc50(0x8c)]();for(let _0x4e67d6=0x0;_0x4e67d6<_0x182502[_0xa6dc50(0xf2)];_0x4e67d6++){let _0x733f5e=_0x182502[_0x4e67d6]['id'];if(_0x299d2b==_0x733f5e){_0x2d5ce6=_0x182502[_0x4e67d6];break;}}return _0x2d5ce6;}[a62_0x5638d2(0xee)](_0x10bf44){const _0x138ab0=a62_0x5638d2;let _0x9af325,_0x5ead0d=this[_0x138ab0(0xdb)]()[_0x138ab0(0x8c)]();for(let _0x308747=0x0;_0x308747<_0x5ead0d[_0x138ab0(0xf2)];_0x308747++){const _0x441477=_0x5ead0d[_0x308747]['layerInfo'];if(!_0x441477)continue;let _0x42758a=_0x441477[_0x138ab0(0x9d)];if(_0x42758a==_0x10bf44){_0x9af325=_0x5ead0d[_0x308747];break;}}return _0x9af325;}['getLayersByIds'](_0x100abc){const _0xe03103=a62_0x5638d2;let _0x485358=this[_0xe03103(0xdb)]()[_0xe03103(0x8c)]();return _0x485358[_0xe03103(0xfa)](_0x41b3ce=>_0x100abc[_0xe03103(0xca)](_0x41b3ce['id']));}[a62_0x5638d2(0xd2)](_0x52ea91){const _0x578b97=a62_0x5638d2;let _0x424dbd,_0x449b22=this['getLayers']()[_0x578b97(0x8c)]();for(let _0x3deae0=0x0;_0x3deae0<_0x449b22['length'];_0x3deae0++){const _0x3e5257=_0x449b22[_0x3deae0];if(_0x3e5257['id']===_0x52ea91){_0x424dbd=_0x3e5257;break;}}if(!_0x424dbd){_0x424dbd=new a62_0x2ecbba({'zIndex':0x270f,'source':new a62_0x495e20()}),_0x424dbd['id']=_0x52ea91;const _0x53ea6f=this[_0x578b97(0xdb)]()[_0x578b97(0xf0)]();switch(_0x52ea91){case _0x578b97(0xc5):this[_0x578b97(0xdb)]()['insertAt'](_0x53ea6f-0x1>-0x1?_0x53ea6f-0x1:0x0,_0x424dbd);break;case'polygonTempLayer':this['getLayers']()[_0x578b97(0xa0)](_0x53ea6f-0x2>-0x1?_0x53ea6f-0x2:0x0,_0x424dbd);break;case _0x578b97(0xd1):this['getLayers']()[_0x578b97(0xa0)](_0x53ea6f,_0x424dbd);break;default:break;}}return _0x424dbd;}['getPointTempLayer'](){const _0x53c1c8=a62_0x5638d2;return this[_0x53c1c8(0xd2)](_0x53c1c8(0xd1));}[a62_0x5638d2(0xe8)](){const _0x22ccdf=a62_0x5638d2;return this['getTempLayerById'](_0x22ccdf(0xc5));}[a62_0x5638d2(0xaf)](){const _0x120c01=a62_0x5638d2;return this[_0x120c01(0xd2)](_0x120c01(0x9b));}[a62_0x5638d2(0x87)](_0x2b127c){const _0x59db5c=a62_0x5638d2;let _0x5e6d37=this['getPointTempLayer']();switch(_0x2b127c){case _0x59db5c(0xb1):case _0x59db5c(0x98):_0x5e6d37=this['getPointTempLayer']();case'LineString':case _0x59db5c(0xe9):_0x5e6d37=this[_0x59db5c(0xe8)]();case _0x59db5c(0xde):case _0x59db5c(0xc1):_0x5e6d37=this['getPolygonTempLayer']();}return _0x5e6d37;}[a62_0x5638d2(0xcc)](_0x5a44ba){const _0x460bf6=a62_0x5638d2;let _0x377640=this[_0x460bf6(0x8d)]()[_0x460bf6(0x8e)](),_0x367a17=this[_0x460bf6(0x8d)]()[_0x460bf6(0xb6)]();registerProj(_0x5a44ba),this[_0x460bf6(0x8d)]()[_0x460bf6(0xbb)](_0x5a44ba);}[a62_0x5638d2(0xc6)](){const _0x220740=a62_0x5638d2;let _0x4e4237=[];_0x4e4237[_0x220740(0xc0)](this['getPointTempLayer']()),_0x4e4237[_0x220740(0xc0)](this[_0x220740(0xe8)]()),_0x4e4237[_0x220740(0xc0)](this['getPolygonTempLayer']());const _0x33352d=this[_0x220740(0xdb)]()['getArray']()[_0x220740(0xf2)];for(let _0x302087=0x0;_0x302087<_0x4e4237['length'];_0x302087++){const _0x4749d1=_0x4e4237[_0x302087];this[_0x220740(0xdb)]()[_0x220740(0xa0)](_0x33352d-_0x302087-0x1,_0x4749d1);}}[a62_0x5638d2(0xb3)](){const _0x26a0e3=a62_0x5638d2;return this[_0x26a0e3(0x8d)]()[_0x26a0e3(0xd7)](this[_0x26a0e3(0xd3)]());}[a62_0x5638d2(0x96)](_0x5682ff,_0x13a504,_0x154feb,_0x2eb613=!![],_0x2cd01,_0x5a9ab2={'color':a62_0x5638d2(0x94),'opacity':0.2,'outlineColor':a62_0x5638d2(0xbf),'outlineWidth':0x2}){const _0x1f0a73=a62_0x5638d2;var _0x16f86a;const _0x4800ec=fromWKT(_0x5682ff,_0x13a504,this[_0x1f0a73(0x8d)]()[_0x1f0a73(0x9c)]()[_0x1f0a73(0x95)]());if(!_0x4800ec)return;const _0x37e227=this['getTempLayerByGeoType'](_0x4800ec['getType']()),_0x14c537=getStyle(_0x5a9ab2),_0x399e49=new a62_0x3868ee();return _0x399e49[_0x1f0a73(0xd4)](_0x4800ec),_0x399e49['setStyle'](_0x14c537),_0x2cd01?_0x399e49[_0x1f0a73(0x89)](_0x2cd01):_0x399e49[_0x1f0a73(0x89)]({}),_0x399e49[_0x1f0a73(0x93)]=_0x154feb,(_0x16f86a=_0x37e227[_0x1f0a73(0xfc)]())===null||_0x16f86a===void 0x0?void 0x0:_0x16f86a[_0x1f0a73(0xfb)](_0x399e49),_0x2eb613&&this[_0x1f0a73(0xbd)](_0x4800ec,undefined,1.2,![]),_0x399e49;}['addWKTs'](_0x6a72d8,_0x6f1745,_0x476c3c,_0x204851=!![],_0x44057a={'color':'rgba(255,\x200,\x200,\x200.2)','opacity':0.2,'outlineColor':a62_0x5638d2(0xbf),'outlineWidth':0x2},_0x559521){const _0xe9bb53=a62_0x5638d2;var _0x5817e2;const _0x2d67e1=fromWKTs(_0x6a72d8,_0x6f1745,this[_0xe9bb53(0x8d)]()[_0xe9bb53(0x9c)]()[_0xe9bb53(0x95)]());if(!_0x2d67e1||_0x2d67e1[_0xe9bb53(0xf2)]==0x0)return;const _0xccde3b=this[_0xe9bb53(0x87)](_0x2d67e1[0x0][_0xe9bb53(0x99)]()),_0x28c77b=getStyle(_0x44057a);let _0x96503d=[];for(const _0x39b416 of _0x2d67e1){const _0x4e7e74=new a62_0x3868ee();_0x4e7e74[_0xe9bb53(0xd4)](_0x39b416),_0x4e7e74['setStyle'](_0x28c77b),_0x559521?_0x4e7e74[_0xe9bb53(0x89)](_0x559521):_0x4e7e74['setProperties']({}),_0x4e7e74[_0xe9bb53(0xd5)]=_0xe9bb53(0xa6),_0x4e7e74[_0xe9bb53(0xd6)]=!![],_0x4e7e74['tag']=_0x476c3c,_0x96503d[_0xe9bb53(0xc0)](_0x4e7e74);}return(_0x5817e2=_0xccde3b[_0xe9bb53(0xfc)]())===null||_0x5817e2===void 0x0?void 0x0:_0x5817e2['addFeatures'](_0x96503d),_0x204851&&this[_0xe9bb53(0xba)](_0x2d67e1,undefined,1.2,![]),_0x96503d;}[a62_0x5638d2(0x91)](_0x4cd804,_0x2ebc44,_0x46adc2=1.2,_0x342219=!![]){const _0x520578=a62_0x5638d2;if(!_0x4cd804)return;let _0x8d9d33=fromWKT(_0x4cd804,_0x2ebc44,this[_0x520578(0x8d)]()[_0x520578(0x9c)]()[_0x520578(0x95)]());if(!_0x8d9d33)return;this[_0x520578(0xbd)](_0x8d9d33,_0x2ebc44,_0x46adc2,_0x342219);}[a62_0x5638d2(0xda)](_0x21eaf7,_0x1ed9d1,_0x2399b3=1.2,_0x30edaa=!![]){const _0x4bb9c0=a62_0x5638d2;if(!_0x21eaf7||_0x21eaf7[_0x4bb9c0(0xf2)]===0x0)return;const _0x5b67f0=[];for(let _0x4b7e8c=0x0;_0x4b7e8c<_0x21eaf7[_0x4bb9c0(0xf2)];_0x4b7e8c++){let _0x2e0f82=_0x21eaf7[_0x4b7e8c],_0x2c7cf1=fromWKT(_0x2e0f82,_0x1ed9d1,this[_0x4bb9c0(0x8d)]()[_0x4bb9c0(0x9c)]()[_0x4bb9c0(0x95)]());if(!_0x2c7cf1)continue;_0x5b67f0[_0x4bb9c0(0xc0)](_0x2c7cf1);}this['locationGeometrys'](_0x5b67f0,_0x1ed9d1,_0x2399b3,_0x30edaa);}['locationGeometry'](_0x14e161,_0x2a09e7,_0xa7a1e7=1.2,_0x59fe82=!![]){const _0x3d825a=a62_0x5638d2;if(!_0x14e161)return;let _0x393618=_0x14e161;_0x2a09e7&&(_0x393618=_0x14e161['transform'](_0x2a09e7,this[_0x3d825a(0x8d)]()[_0x3d825a(0x9c)]()));switch(_0x393618[_0x3d825a(0x99)]()){case _0x3d825a(0xb1):this[_0x3d825a(0x8d)]()[_0x3d825a(0xbe)](_0x393618[_0x3d825a(0xe0)]());break;case _0x3d825a(0xde):case'MultiPoint':case'MultiLineString':case'MultiPolygon':case'GeometryCollection':this[_0x3d825a(0x8d)]()[_0x3d825a(0xb0)](expandExtent(_0x393618['getExtent'](),_0xa7a1e7));break;}if(_0x59fe82){const _0xfbc6=new a62_0x1b1528(this);_0xfbc6[_0x3d825a(0xa3)]([_0x393618],0x3);}}['locationGeometrys'](_0x528709,_0x1f65b5,_0x155817=1.2,_0x2ff06d=!![]){const _0x2044c0=a62_0x5638d2;if(!_0x528709||_0x528709[_0x2044c0(0xf2)]===0x0)return;let _0x29bdd4=null;for(const _0x1cec94 of _0x528709){_0x29bdd4?_0x29bdd4=union(_0x29bdd4,_0x1cec94):_0x29bdd4=_0x1cec94;}_0x29bdd4&&this[_0x2044c0(0xbd)](_0x29bdd4,_0x1f65b5,_0x155817,![]);if(_0x2ff06d){const _0x5046d9=new a62_0x1b1528(this);_0x5046d9[_0x2044c0(0xa3)](_0x528709,0x3);}}}
package/mapView/View.js CHANGED
@@ -1 +1 @@
1
- function a62_0x1323(){var _0x3a28cd=['setProperties','8sJBivo','40NoUnfT','8385444fpcLSd','98378XLVWWf','3QLkQPg','projection_','1560KNMDrO','687477TDGMjb','931381ZDNPLh','1930748SetlYn','1388244LhiLMe','231096sOtbzN','24FuBqOx','5bSvHvo'];a62_0x1323=function(){return _0x3a28cd;};return a62_0x1323();}(function(_0x3e5998,_0x3d1a28){var _0x44de29=a62_0x6cbe,_0x570ba8=_0x3e5998();while(!![]){try{var _0xc4da73=-parseInt(_0x44de29(0xb2))/0x1+-parseInt(_0x44de29(0xb5))/0x2*(-parseInt(_0x44de29(0xaf))/0x3)+-parseInt(_0x44de29(0xb4))/0x4*(parseInt(_0x44de29(0xb8))/0x5)+parseInt(_0x44de29(0xb7))/0x6*(-parseInt(_0x44de29(0xae))/0x7)+-parseInt(_0x44de29(0xba))/0x8*(parseInt(_0x44de29(0xbc))/0x9)+parseInt(_0x44de29(0xbb))/0xa*(-parseInt(_0x44de29(0xb3))/0xb)+-parseInt(_0x44de29(0xb6))/0xc*(-parseInt(_0x44de29(0xb1))/0xd);if(_0xc4da73===_0x3d1a28)break;else _0x570ba8['push'](_0x570ba8['shift']());}catch(_0x4a568d){_0x570ba8['push'](_0x570ba8['shift']());}}}(a62_0x1323,0x7c18e));function a62_0x6cbe(_0x254d40,_0x2368b4){var _0x1323e3=a62_0x1323();return a62_0x6cbe=function(_0x6cbee6,_0x3e64c6){_0x6cbee6=_0x6cbee6-0xae;var _0x27a1f9=_0x1323e3[_0x6cbee6];return _0x27a1f9;},a62_0x6cbe(_0x254d40,_0x2368b4);}import a62_0x4087d3 from'ol/View';import{get}from'ol/proj';export default class OLView extends a62_0x4087d3{constructor(_0x490e28){super(_0x490e28);}['setProjection'](_0x407933){var _0x23c8bd=a62_0x6cbe;this[_0x23c8bd(0xb0)]=get(_0x407933),this[_0x23c8bd(0xb9)]({'projection_':get(_0x407933)});}}
1
+ function a63_0x600d(){var _0x570f3f=['3009740JtLEQL','477927KlQsPh','80PYJKgv','8yFYGlP','4620wJQPIv','20700RBIObT','8228367KXplLt','209kflgbi','1101810TlAVuV','58982NuXOyk','setProperties'];a63_0x600d=function(){return _0x570f3f;};return a63_0x600d();}(function(_0x1260a9,_0x4d965f){var _0x5c8ffa=a63_0x5f00,_0x563450=_0x1260a9();while(!![]){try{var _0x28d066=parseInt(_0x5c8ffa(0x193))/0x1*(parseInt(_0x5c8ffa(0x190))/0x2)+-parseInt(_0x5c8ffa(0x198))/0x3+-parseInt(_0x5c8ffa(0x18f))/0x4*(parseInt(_0x5c8ffa(0x194))/0x5)+parseInt(_0x5c8ffa(0x191))/0x6+-parseInt(_0x5c8ffa(0x195))/0x7*(-parseInt(_0x5c8ffa(0x199))/0x8)+parseInt(_0x5c8ffa(0x192))/0x9+-parseInt(_0x5c8ffa(0x197))/0xa;if(_0x28d066===_0x4d965f)break;else _0x563450['push'](_0x563450['shift']());}catch(_0x8483f){_0x563450['push'](_0x563450['shift']());}}}(a63_0x600d,0x8e84c));function a63_0x5f00(_0x5c9991,_0x2ce37b){var _0x600d14=a63_0x600d();return a63_0x5f00=function(_0x5f0002,_0x5c9bfd){_0x5f0002=_0x5f0002-0x18f;var _0x43540b=_0x600d14[_0x5f0002];return _0x43540b;},a63_0x5f00(_0x5c9991,_0x2ce37b);}import a63_0xe697b3 from'ol/View';import{get}from'ol/proj';export default class OLView extends a63_0xe697b3{constructor(_0x1ffa74){super(_0x1ffa74);}['setProjection'](_0x597dc9){var _0x3b9dab=a63_0x5f00;this['projection_']=get(_0x597dc9),this[_0x3b9dab(0x196)]({'projection_':get(_0x597dc9)});}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ym-gis-2d",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "index.ts",
package/plot/Plot.js CHANGED
@@ -1 +1 @@
1
- (function(_0x181c4a,_0x6a6b2c){const _0x3cfa63=a70_0x26db,_0x1daef8=_0x181c4a();while(!![]){try{const _0x9eed0e=-parseInt(_0x3cfa63(0x12c))/0x1*(parseInt(_0x3cfa63(0x133))/0x2)+parseInt(_0x3cfa63(0x121))/0x3+parseInt(_0x3cfa63(0x132))/0x4*(-parseInt(_0x3cfa63(0x134))/0x5)+parseInt(_0x3cfa63(0x11e))/0x6+-parseInt(_0x3cfa63(0x12f))/0x7+parseInt(_0x3cfa63(0x122))/0x8*(parseInt(_0x3cfa63(0x12a))/0x9)+parseInt(_0x3cfa63(0x126))/0xa;if(_0x9eed0e===_0x6a6b2c)break;else _0x1daef8['push'](_0x1daef8['shift']());}catch(_0x5e7cd0){_0x1daef8['push'](_0x1daef8['shift']());}}}(a70_0x1cb9,0x8dc60));import a70_0xf54d63 from'../entity/GeometryType';import a70_0x352b2e from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';import a70_0x1ef63a from'./geometry/polygon/RectAngle';import a70_0x5c803c from'./geometry/polyline/Polyline';function a70_0x26db(_0x1dc87e,_0x42f614){const _0x1cb9c4=a70_0x1cb9();return a70_0x26db=function(_0x26db01,_0x2bbd73){_0x26db01=_0x26db01-0x11b;let _0x242163=_0x1cb9c4[_0x26db01];return _0x242163;},a70_0x26db(_0x1dc87e,_0x42f614);}import a70_0x172fdf from'./geometry/point/Point';import a70_0x502038 from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1],'outlineOpacity':0.6,'outlineWidth':0x2};function a70_0x1cb9(){const _0x44ccef=['AssemblySite','PolyLine','568869pxbulp','3988280LZSicl','Curve','Arrow','SurfaceClosed','10450150FgBNXR','pointermove','Circle','ArrowAttack','18eQjkjs','MAX_VALUE','68viHFzc','Point','Rectangle','6616442CASbgR','assign','Polygon','12UPJHsW','19176nbBkXw','1567185DllfvV','Ellipsoid','ArrowPincerlike','text','5318982FaENPq'];a70_0x1cb9=function(){return _0x44ccef;};return a70_0x1cb9();}export function createPlot(_0x4d57b3,_0x205f8c){const _0x504922=a70_0x26db;_0x4d57b3=_0x4d57b3['toLowerCase']();switch(_0x4d57b3){case a70_0xf54d63[_0x504922(0x12d)]:case _0x504922(0x127):return new a70_0x172fdf(_0x205f8c);case a70_0xf54d63[_0x504922(0x120)]:return new a70_0x5c803c(_0x205f8c);case a70_0xf54d63[_0x504922(0x128)]:return new a70_0x502038(_0x205f8c);case a70_0xf54d63[_0x504922(0x12e)]:return new a70_0x1ef63a(_0x205f8c);case a70_0xf54d63[_0x504922(0x131)]:return new a70_0x352b2e(_0x205f8c);}}export function getPlotCount(_0x4b7c46){const _0x2d1e41=a70_0x26db;_0x4b7c46=_0x4b7c46['toLowerCase']();let _0x4f1845={'fixPoint':0x0,'minPoint':0x0};switch(_0x4b7c46){case a70_0xf54d63[_0x2d1e41(0x12d)]:_0x4f1845={'fixPoint':0x1,'minPoint':0x0};break;case a70_0xf54d63[_0x2d1e41(0x120)]:_0x4f1845={'fixPoint':Number[_0x2d1e41(0x12b)],'minPoint':0x1};break;case a70_0xf54d63[_0x2d1e41(0x131)]:_0x4f1845={'fixPoint':Number[_0x2d1e41(0x12b)],'minPoint':0x2};break;case a70_0xf54d63['Rectangle']:_0x4f1845={'fixPoint':0x2,'minPoint':0x1};break;case a70_0xf54d63[_0x2d1e41(0x128)]:_0x4f1845={'fixPoint':0x2,'minPoint':0x1};break;case a70_0xf54d63[_0x2d1e41(0x123)]:_0x4f1845={'fixPoint':Number[_0x2d1e41(0x12b)],'minPoint':0x1};break;case a70_0xf54d63['Ellipse']:case a70_0xf54d63[_0x2d1e41(0x11b)]:_0x4f1845={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x4f1845;}export function getStyle(_0x5225f7,_0x4aa667,_0x41dbca){const _0x104e95=a70_0x26db;_0x5225f7=_0x5225f7['toLowerCase'](),_0x4aa667=Object[_0x104e95(0x130)](Object[_0x104e95(0x130)]({},defaultStyle),_0x4aa667);switch(_0x5225f7){case a70_0xf54d63['Point']:return function(_0x195475,_0x147841){return getPointSingleStyle(_0x5225f7,_0x4aa667,_0x147841,_0x41dbca);};case a70_0xf54d63[_0x104e95(0x120)]:case a70_0xf54d63[_0x104e95(0x123)]:return function(_0x30a541,_0x2b3abc){return getPolylineStyle(_0x4aa667,'',_0x2b3abc,_0x41dbca);};case a70_0xf54d63[_0x104e95(0x128)]:case a70_0xf54d63['Rectangle']:case a70_0xf54d63['Ellipse']:case a70_0xf54d63[_0x104e95(0x11b)]:case a70_0xf54d63[_0x104e95(0x125)]:case a70_0xf54d63['Polygon']:case a70_0xf54d63[_0x104e95(0x129)]:case a70_0xf54d63[_0x104e95(0x11c)]:case a70_0xf54d63[_0x104e95(0x124)]:case a70_0xf54d63[_0x104e95(0x11f)]:return function(_0x75b0a6,_0x39c0f6){const _0x216431=_0x104e95;return getPolygonStyle(_0x4aa667,_0x4aa667[_0x216431(0x11d)],_0x39c0f6,_0x41dbca);};}}
1
+ (function(_0x49644d,_0x1652a5){const _0x279d77=a71_0x5402,_0x48630b=_0x49644d();while(!![]){try{const _0x1e4e35=parseInt(_0x279d77(0x107))/0x1+-parseInt(_0x279d77(0x117))/0x2*(parseInt(_0x279d77(0x11a))/0x3)+-parseInt(_0x279d77(0x112))/0x4*(parseInt(_0x279d77(0x11d))/0x5)+-parseInt(_0x279d77(0x11e))/0x6*(parseInt(_0x279d77(0x111))/0x7)+-parseInt(_0x279d77(0x106))/0x8+parseInt(_0x279d77(0x120))/0x9*(-parseInt(_0x279d77(0x11c))/0xa)+-parseInt(_0x279d77(0x119))/0xb*(-parseInt(_0x279d77(0x116))/0xc);if(_0x1e4e35===_0x1652a5)break;else _0x48630b['push'](_0x48630b['shift']());}catch(_0x4169ea){_0x48630b['push'](_0x48630b['shift']());}}}(a71_0x3523,0xacd63));import a71_0x5cc547 from'../entity/GeometryType';import a71_0x3e7ad8 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';function a71_0x3523(){const _0x113ebd=['138960jChOGb','ArrowAttack','toLowerCase','6750040QyWfPc','197177xxuCdA','Curve','Point','Circle','Arrow','Ellipse','Polygon','AssemblySite','text','ArrowPincerlike','9083095zYCiaQ','1283680wqVEeN','assign','PolyLine','Rectangle','12GdtuCx','2456698bBJOVU','Ellipsoid','60141961hMcFIs','3jDgPVN','MAX_VALUE','820SIPiTa','5ZFYDuJ','6JwDAOf','SurfaceClosed'];a71_0x3523=function(){return _0x113ebd;};return a71_0x3523();}import{getPolygonStyle}from'../style/PolygonStyleFormat';import a71_0x25f899 from'./geometry/polygon/RectAngle';import a71_0x3f6b5a from'./geometry/polyline/Polyline';import a71_0x489d0e from'./geometry/point/Point';function a71_0x5402(_0x54ff6a,_0x1d1605){const _0x352388=a71_0x3523();return a71_0x5402=function(_0x5402db,_0x515817){_0x5402db=_0x5402db-0x106;let _0x324791=_0x352388[_0x5402db];return _0x324791;},a71_0x5402(_0x54ff6a,_0x1d1605);}import a71_0xa12e63 from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x1277d8,_0x176757){const _0x312b98=a71_0x5402;_0x1277d8=_0x1277d8[_0x312b98(0x122)]();switch(_0x1277d8){case a71_0x5cc547[_0x312b98(0x109)]:case'pointermove':return new a71_0x489d0e(_0x176757);case a71_0x5cc547[_0x312b98(0x114)]:return new a71_0x3f6b5a(_0x176757);case a71_0x5cc547[_0x312b98(0x10a)]:return new a71_0xa12e63(_0x176757);case a71_0x5cc547[_0x312b98(0x115)]:return new a71_0x25f899(_0x176757);case a71_0x5cc547[_0x312b98(0x10d)]:return new a71_0x3e7ad8(_0x176757);}}export function getPlotCount(_0x7a2a13){const _0x33c2cc=a71_0x5402;_0x7a2a13=_0x7a2a13[_0x33c2cc(0x122)]();let _0x9673ba={'fixPoint':0x0,'minPoint':0x0};switch(_0x7a2a13){case a71_0x5cc547[_0x33c2cc(0x109)]:_0x9673ba={'fixPoint':0x1,'minPoint':0x0};break;case a71_0x5cc547[_0x33c2cc(0x114)]:_0x9673ba={'fixPoint':Number['MAX_VALUE'],'minPoint':0x1};break;case a71_0x5cc547[_0x33c2cc(0x10d)]:_0x9673ba={'fixPoint':Number[_0x33c2cc(0x11b)],'minPoint':0x2};break;case a71_0x5cc547[_0x33c2cc(0x115)]:_0x9673ba={'fixPoint':0x2,'minPoint':0x1};break;case a71_0x5cc547[_0x33c2cc(0x10a)]:_0x9673ba={'fixPoint':0x2,'minPoint':0x1};break;case a71_0x5cc547[_0x33c2cc(0x108)]:_0x9673ba={'fixPoint':Number['MAX_VALUE'],'minPoint':0x1};break;case a71_0x5cc547[_0x33c2cc(0x10c)]:case a71_0x5cc547[_0x33c2cc(0x118)]:_0x9673ba={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x9673ba;}export function getStyle(_0x3fa398,_0x5eff68,_0x498945){const _0x2b2895=a71_0x5402;_0x3fa398=_0x3fa398[_0x2b2895(0x122)](),_0x5eff68=Object[_0x2b2895(0x113)](Object[_0x2b2895(0x113)]({},defaultStyle),_0x5eff68);switch(_0x3fa398){case a71_0x5cc547[_0x2b2895(0x109)]:return function(_0x1aee9b,_0x111727){return getPointSingleStyle(_0x3fa398,_0x5eff68,_0x111727,_0x498945);};case a71_0x5cc547[_0x2b2895(0x114)]:case a71_0x5cc547['Curve']:return function(_0x5428e8,_0x41eab9){return getPolylineStyle(_0x5eff68,'',_0x41eab9,_0x498945);};case a71_0x5cc547[_0x2b2895(0x10a)]:case a71_0x5cc547['Rectangle']:case a71_0x5cc547[_0x2b2895(0x10c)]:case a71_0x5cc547[_0x2b2895(0x118)]:case a71_0x5cc547[_0x2b2895(0x11f)]:case a71_0x5cc547[_0x2b2895(0x10d)]:case a71_0x5cc547[_0x2b2895(0x121)]:case a71_0x5cc547[_0x2b2895(0x110)]:case a71_0x5cc547[_0x2b2895(0x10b)]:case a71_0x5cc547[_0x2b2895(0x10e)]:return function(_0x49f5b0,_0x8c511a){const _0x3b525b=_0x2b2895;return getPolygonStyle(_0x5eff68,_0x5eff68[_0x3b525b(0x10f)],_0x8c511a,_0x498945);};}}
@@ -1 +1 @@
1
- var a63_0x42048f=a63_0x2cf2;(function(_0x35eb57,_0x526ea6){var _0x21cb09=a63_0x2cf2,_0x520a75=_0x35eb57();while(!![]){try{var _0x25f110=parseInt(_0x21cb09(0x181))/0x1+parseInt(_0x21cb09(0x17d))/0x2+-parseInt(_0x21cb09(0x189))/0x3*(-parseInt(_0x21cb09(0x18e))/0x4)+parseInt(_0x21cb09(0x192))/0x5+parseInt(_0x21cb09(0x187))/0x6*(-parseInt(_0x21cb09(0x17f))/0x7)+parseInt(_0x21cb09(0x17e))/0x8*(parseInt(_0x21cb09(0x18a))/0x9)+parseInt(_0x21cb09(0x18b))/0xa*(parseInt(_0x21cb09(0x180))/0xb);if(_0x25f110===_0x526ea6)break;else _0x520a75['push'](_0x520a75['shift']());}catch(_0x5f43be){_0x520a75['push'](_0x520a75['shift']());}}}(a63_0x40b5,0xa4b42));function a63_0x2cf2(_0x12bc9f,_0x38d153){var _0x40b5fd=a63_0x40b5();return a63_0x2cf2=function(_0x2cf276,_0x47e0c1){_0x2cf276=_0x2cf276-0x17d;var _0x4aee37=_0x40b5fd[_0x2cf276];return _0x4aee37;},a63_0x2cf2(_0x12bc9f,_0x38d153);}function a63_0x40b5(){var _0x3642a5=['27544RGVGWh','points','style','map','22780uKkOlE','setCoordinates','generate','setStyle','getPoints','getPlotType','758512dxFVnQ','57056rWvvDN','3567956iymhBf','77KdMagH','306541gRNYPL','updateLastPoint','updatePoint','finishDrawing','type','getMap','6oXlCVx','stringify','33MaSUlG','387BnaLAE','159370OrbvAG','length','setMap'];a63_0x40b5=function(){return _0x3642a5;};return a63_0x40b5();}import{Map}from'ol';import{Point as a63_0x4aa89b}from'ol/geom';class Point extends a63_0x4aa89b{constructor(_0x5cd4ca){var _0x5ea0ff=a63_0x2cf2;super([]),this[_0x5ea0ff(0x185)]='Point',this[_0x5ea0ff(0x18f)]=_0x5cd4ca,this['setPoints'](_0x5cd4ca);}[a63_0x42048f(0x197)](){return this['type'];}[a63_0x42048f(0x194)](){var _0x540524=a63_0x42048f;this[_0x540524(0x193)](this[_0x540524(0x18f)][0x0]);}[a63_0x42048f(0x18d)](_0x261ed6){var _0x2caa3f=a63_0x42048f;if(_0x261ed6&&_0x261ed6 instanceof Map)this[_0x2caa3f(0x191)]=_0x261ed6;else throw new Error('传入的不是地图对象!');}[a63_0x42048f(0x186)](){var _0x5e9a1d=a63_0x42048f;return this[_0x5e9a1d(0x191)];}['isPlot'](){return!![];}['setPoints'](_0x5546bd){var _0x27b43b=a63_0x42048f;_0x5546bd&&_0x5546bd['length']>=0x1&&(this[_0x27b43b(0x18f)]=_0x5546bd,this[_0x27b43b(0x194)]());}[a63_0x42048f(0x196)](){var _0x3264d3=a63_0x42048f;return this[_0x3264d3(0x18f)];}[a63_0x42048f(0x183)](_0x4907a2,_0x583568){var _0x4fc03e=a63_0x42048f;_0x583568>=0x0&&_0x583568<this['points'][_0x4fc03e(0x18c)]&&(this[_0x4fc03e(0x18f)][_0x583568]=_0x4907a2,this[_0x4fc03e(0x194)]());}[a63_0x42048f(0x182)](_0x6ac7b5){var _0x5c0c06=a63_0x42048f;this[_0x5c0c06(0x183)](_0x6ac7b5,this['points'][_0x5c0c06(0x18c)]-0x1);}[a63_0x42048f(0x184)](){}[a63_0x42048f(0x195)](_0x40d348){var _0x1dda53=a63_0x42048f;this[_0x1dda53(0x190)]=JSON['parse'](JSON[_0x1dda53(0x188)](_0x40d348));}}export default Point;
1
+ var a64_0xa44490=a64_0x2736;(function(_0x3d0cfb,_0x4fd16d){var _0x745b19=a64_0x2736,_0x2312e5=_0x3d0cfb();while(!![]){try{var _0x45f46d=-parseInt(_0x745b19(0x156))/0x1*(-parseInt(_0x745b19(0x16b))/0x2)+parseInt(_0x745b19(0x165))/0x3+parseInt(_0x745b19(0x158))/0x4+-parseInt(_0x745b19(0x157))/0x5*(parseInt(_0x745b19(0x161))/0x6)+-parseInt(_0x745b19(0x153))/0x7+parseInt(_0x745b19(0x15d))/0x8*(-parseInt(_0x745b19(0x169))/0x9)+parseInt(_0x745b19(0x163))/0xa;if(_0x45f46d===_0x4fd16d)break;else _0x2312e5['push'](_0x2312e5['shift']());}catch(_0x84fc80){_0x2312e5['push'](_0x2312e5['shift']());}}}(a64_0x45f8,0xbe050));import{Map}from'ol';function a64_0x45f8(){var _0xc12c55=['style','8444960Vvmfjc','setPoints','2122062QUmHwM','getPoints','length','updatePoint','1287QlpwRT','getPlotType','1163462EtSoXu','Point','updateLastPoint','parse','5913572hSVvup','map','finishDrawing','1njEUBb','3058075jgwFcs','2541592npvIrV','传入的不是地图对象!','generate','points','setStyle','29888jFcgxC','type','setCoordinates','isPlot','6SQxluV'];a64_0x45f8=function(){return _0xc12c55;};return a64_0x45f8();}function a64_0x2736(_0x128810,_0x5e4e2e){var _0x45f8de=a64_0x45f8();return a64_0x2736=function(_0x2736aa,_0x29b62b){_0x2736aa=_0x2736aa-0x153;var _0x567a3c=_0x45f8de[_0x2736aa];return _0x567a3c;},a64_0x2736(_0x128810,_0x5e4e2e);}import{Point as a64_0x3c10c7}from'ol/geom';class Point extends a64_0x3c10c7{constructor(_0x59208d){var _0x7bf895=a64_0x2736;super([]),this[_0x7bf895(0x15e)]=_0x7bf895(0x16c),this['points']=_0x59208d,this[_0x7bf895(0x164)](_0x59208d);}[a64_0xa44490(0x16a)](){return this['type'];}[a64_0xa44490(0x15a)](){var _0x57c18f=a64_0xa44490;this[_0x57c18f(0x15f)](this['points'][0x0]);}['setMap'](_0x3a0ac9){var _0xf9dc0d=a64_0xa44490;if(_0x3a0ac9&&_0x3a0ac9 instanceof Map)this[_0xf9dc0d(0x154)]=_0x3a0ac9;else throw new Error(_0xf9dc0d(0x159));}['getMap'](){var _0x3fd0dd=a64_0xa44490;return this[_0x3fd0dd(0x154)];}[a64_0xa44490(0x160)](){return!![];}[a64_0xa44490(0x164)](_0x4e6e02){var _0x2bc231=a64_0xa44490;_0x4e6e02&&_0x4e6e02[_0x2bc231(0x167)]>=0x1&&(this[_0x2bc231(0x15b)]=_0x4e6e02,this['generate']());}[a64_0xa44490(0x166)](){var _0x1ba103=a64_0xa44490;return this[_0x1ba103(0x15b)];}[a64_0xa44490(0x168)](_0x446c46,_0x58a094){var _0x2a4467=a64_0xa44490;_0x58a094>=0x0&&_0x58a094<this['points'][_0x2a4467(0x167)]&&(this['points'][_0x58a094]=_0x446c46,this[_0x2a4467(0x15a)]());}[a64_0xa44490(0x16d)](_0x15b1b4){var _0x4bfeee=a64_0xa44490;this['updatePoint'](_0x15b1b4,this[_0x4bfeee(0x15b)][_0x4bfeee(0x167)]-0x1);}[a64_0xa44490(0x155)](){}[a64_0xa44490(0x15c)](_0x5f38db){var _0x538058=a64_0xa44490;this[_0x538058(0x162)]=JSON[_0x538058(0x16e)](JSON['stringify'](_0x5f38db));}}export default Point;
@@ -1 +1 @@
1
- var a64_0x3f8941=a64_0x3da1;(function(_0xb81a9a,_0x6a0bbb){var _0x93c955=a64_0x3da1,_0x6c5ed5=_0xb81a9a();while(!![]){try{var _0x1cdd75=parseInt(_0x93c955(0x1a6))/0x1*(-parseInt(_0x93c955(0x1ac))/0x2)+parseInt(_0x93c955(0x1a0))/0x3+parseInt(_0x93c955(0x1b9))/0x4*(-parseInt(_0x93c955(0x1b6))/0x5)+-parseInt(_0x93c955(0x1b0))/0x6*(-parseInt(_0x93c955(0x1ad))/0x7)+parseInt(_0x93c955(0x1b1))/0x8+-parseInt(_0x93c955(0x1a3))/0x9*(parseInt(_0x93c955(0x1ae))/0xa)+parseInt(_0x93c955(0x19e))/0xb*(parseInt(_0x93c955(0x1b4))/0xc);if(_0x1cdd75===_0x6a0bbb)break;else _0x6c5ed5['push'](_0x6c5ed5['shift']());}catch(_0x113392){_0x6c5ed5['push'](_0x6c5ed5['shift']());}}}(a64_0x8c57,0x3d96b));import{Polygon}from'ol/geom';import a64_0x2d5ae7 from'ol/format/GeoJSON';function a64_0x8c57(){var _0x427f7a=['30568AiyZej','11IfQaFA','writeGeometryObject','108795gYTMXS','map','getGeoJson','6417oDGwJY','getPointCount','setPoints','2TwXrkq','getType','传入的不是地图对象!','generate','isPlot','length','281822UFKmsG','7WEtqNb','4090AUweNW','setMap','80130AhhpVS','976808jnilQF','points','setStyle','10690644JpXhcF','finishDrawing','155uEmAGk','style','stringify'];a64_0x8c57=function(){return _0x427f7a;};return a64_0x8c57();}import a64_0x499af7 from'../../../mapView/Map';function a64_0x3da1(_0x24dd03,_0x398e42){var _0x8c577e=a64_0x8c57();return a64_0x3da1=function(_0x3da127,_0x8baacb){_0x3da127=_0x3da127-0x19e;var _0x15c5d5=_0x8c577e[_0x3da127];return _0x15c5d5;},a64_0x3da1(_0x24dd03,_0x398e42);}class BasePolygon extends Polygon{constructor(){var _0x1a6ab4=a64_0x3da1;super([]),this[_0x1a6ab4(0x1b2)]=[];}[a64_0x3f8941(0x1a7)](){var _0x200f7f=a64_0x3f8941;return this['type']?this['type']:super[_0x200f7f(0x1a7)]();}[a64_0x3f8941(0x1a2)](){var _0x284334=a64_0x3f8941;return new a64_0x2d5ae7()[_0x284334(0x19f)](this);}[a64_0x3f8941(0x1b3)](_0x14980b){var _0x200376=a64_0x3f8941;_0x14980b&&(this[_0x200376(0x1b7)]=JSON['parse'](JSON[_0x200376(0x1b8)](_0x14980b)));}[a64_0x3f8941(0x1af)](_0x5c0cde){var _0x2e4a26=a64_0x3f8941;if(_0x5c0cde&&_0x5c0cde instanceof a64_0x499af7)this[_0x2e4a26(0x1a1)]=_0x5c0cde;else throw new Error(_0x2e4a26(0x1a8));}['getMap'](){return this['map'];}[a64_0x3f8941(0x1aa)](){return!![];}[a64_0x3f8941(0x1a5)](_0x426827){var _0xbde1b=a64_0x3f8941;this[_0xbde1b(0x1b2)]=!_0x426827?[]:_0x426827,this[_0xbde1b(0x1b2)][_0xbde1b(0x1ab)]>=0x1&&this[_0xbde1b(0x1a9)]();}[a64_0x3f8941(0x1a9)](){}['getPoints'](){var _0x2cdd22=a64_0x3f8941;return this[_0x2cdd22(0x1b2)]['slice'](0x0);}[a64_0x3f8941(0x1a4)](){var _0x43c314=a64_0x3f8941;return this[_0x43c314(0x1b2)][_0x43c314(0x1ab)];}[a64_0x3f8941(0x1b5)](){}}export default BasePolygon;
1
+ var a65_0x220bc0=a65_0x435c;function a65_0x435c(_0x179b28,_0x74b412){var _0x1d03d9=a65_0x1d03();return a65_0x435c=function(_0x435c63,_0x5354fe){_0x435c63=_0x435c63-0x175;var _0x242139=_0x1d03d9[_0x435c63];return _0x242139;},a65_0x435c(_0x179b28,_0x74b412);}(function(_0x1ef435,_0x19ec3f){var _0x2d1352=a65_0x435c,_0x5e5bd3=_0x1ef435();while(!![]){try{var _0x43f0c1=-parseInt(_0x2d1352(0x17b))/0x1*(-parseInt(_0x2d1352(0x183))/0x2)+parseInt(_0x2d1352(0x188))/0x3+parseInt(_0x2d1352(0x17f))/0x4+parseInt(_0x2d1352(0x175))/0x5+parseInt(_0x2d1352(0x18a))/0x6*(-parseInt(_0x2d1352(0x179))/0x7)+-parseInt(_0x2d1352(0x176))/0x8+-parseInt(_0x2d1352(0x189))/0x9;if(_0x43f0c1===_0x19ec3f)break;else _0x5e5bd3['push'](_0x5e5bd3['shift']());}catch(_0x1cc5f0){_0x5e5bd3['push'](_0x5e5bd3['shift']());}}}(a65_0x1d03,0x6e1f4));import{Polygon}from'ol/geom';import a65_0x50a6f1 from'ol/format/GeoJSON';import a65_0x4c8043 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x12bbee=a65_0x435c;super([]),this[_0x12bbee(0x17a)]=[];}[a65_0x220bc0(0x18c)](){var _0xca6605=a65_0x220bc0;return this[_0xca6605(0x18b)]?this['type']:super[_0xca6605(0x18c)]();}[a65_0x220bc0(0x190)](){var _0xd6268f=a65_0x220bc0;return new a65_0x50a6f1()[_0xd6268f(0x18f)](this);}[a65_0x220bc0(0x185)](_0x370c79){var _0x847c33=a65_0x220bc0;_0x370c79&&(this[_0x847c33(0x18e)]=JSON[_0x847c33(0x184)](JSON[_0x847c33(0x178)](_0x370c79)));}[a65_0x220bc0(0x177)](_0x4969e4){var _0x2cca7d=a65_0x220bc0;if(_0x4969e4&&_0x4969e4 instanceof a65_0x4c8043)this['map']=_0x4969e4;else throw new Error(_0x2cca7d(0x187));}['getMap'](){var _0x458b45=a65_0x220bc0;return this[_0x458b45(0x180)];}[a65_0x220bc0(0x17d)](){return!![];}[a65_0x220bc0(0x181)](_0x563f68){var _0x934e9=a65_0x220bc0;this[_0x934e9(0x17a)]=!_0x563f68?[]:_0x563f68,this[_0x934e9(0x17a)]['length']>=0x1&&this[_0x934e9(0x182)]();}[a65_0x220bc0(0x182)](){}[a65_0x220bc0(0x18d)](){var _0x4b6daf=a65_0x220bc0;return this[_0x4b6daf(0x17a)][_0x4b6daf(0x17e)](0x0);}[a65_0x220bc0(0x186)](){var _0x467fcb=a65_0x220bc0;return this[_0x467fcb(0x17a)]['length'];}[a65_0x220bc0(0x17c)](){}}export default BasePolygon;function a65_0x1d03(){var _0x2c7286=['30DLfqYm','type','getType','getPoints','style','writeGeometryObject','getGeoJson','284095iArQIG','4862616nGAvZW','setMap','stringify','685258iOFtQD','points','8lKKYWv','finishDrawing','isPlot','slice','2965552NaLStH','map','setPoints','generate','85548xhhczW','parse','setStyle','getPointCount','传入的不是地图对象!','1607688XQgUKm','1151442zQUXmv'];a65_0x1d03=function(){return _0x2c7286;};return a65_0x1d03();}
@@ -1 +1 @@
1
- const a65_0x20d642=a65_0x3111;(function(_0x29e4e5,_0x2da6e1){const _0x5d4cef=a65_0x3111,_0x2a1245=_0x29e4e5();while(!![]){try{const _0xb93c85=parseInt(_0x5d4cef(0x169))/0x1+parseInt(_0x5d4cef(0x166))/0x2*(-parseInt(_0x5d4cef(0x162))/0x3)+-parseInt(_0x5d4cef(0x16c))/0x4+-parseInt(_0x5d4cef(0x172))/0x5+-parseInt(_0x5d4cef(0x163))/0x6*(-parseInt(_0x5d4cef(0x16b))/0x7)+-parseInt(_0x5d4cef(0x173))/0x8*(-parseInt(_0x5d4cef(0x174))/0x9)+parseInt(_0x5d4cef(0x170))/0xa;if(_0xb93c85===_0x2da6e1)break;else _0x2a1245['push'](_0x2a1245['shift']());}catch(_0x217e6){_0x2a1245['push'](_0x2a1245['shift']());}}}(a65_0xa90e,0x8580b));import{Circle as a65_0x54478b}from'ol/geom';import a65_0x29c883 from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a65_0x409a43}from'ol/coordinate';function a65_0x3111(_0x3ea90d,_0x38d46f){const _0xa90e19=a65_0xa90e();return a65_0x3111=function(_0x3111f1,_0x1f78a2){_0x3111f1=_0x3111f1-0x15f;let _0x512991=_0xa90e19[_0x3111f1];return _0x512991;},a65_0x3111(_0x3ea90d,_0x38d46f);}import{fromCircle}from'ol/geom/Polygon';function a65_0xa90e(){const _0x4b6afb=['toRadians','sqrt','3hXIolQ','66CwjmoR','updatePoint','generate','709664MHKQEw','points','type','55537ZbZTrK','setPoints','392273izgSth','1070644FBjnNe','length','setCenterAndRadius','setCenter','801500HHlhmP','getRadius','1680815lUeisO','8xUGmfe','6780303dmkxPP','Circle'];a65_0xa90e=function(){return _0x4b6afb;};return a65_0xa90e();}import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a65_0x54478b{constructor(_0x1fcdfb){const _0x4f2692=a65_0x3111;super([]),this[_0x4f2692(0x167)]=_0x1fcdfb,this[_0x4f2692(0x168)]=_0x4f2692(0x15f),_0x1fcdfb&&_0x1fcdfb['length']>0x0&&this[_0x4f2692(0x16a)](_0x1fcdfb);}['setPoints'](_0x529d40){const _0x24ff62=a65_0x3111;var _0x4319c2;((_0x4319c2=this[_0x24ff62(0x167)])===null||_0x4319c2===void 0x0?void 0x0:_0x4319c2[_0x24ff62(0x16d)])>0x0&&(_0x529d40===null||_0x529d40===void 0x0?void 0x0:_0x529d40[_0x24ff62(0x16d)])>0x0&&!compareArray(this[_0x24ff62(0x167)][0x0],_0x529d40[0x0])?this[_0x24ff62(0x16f)](_0x529d40[0x0]):(this['points']=!_0x529d40?[]:_0x529d40,this['points'][_0x24ff62(0x16d)]>=0x1&&(this[_0x24ff62(0x165)]&&this[_0x24ff62(0x165)]()));}[a65_0x20d642(0x165)](){const _0x39b6ac=a65_0x20d642;let _0x15fa3b=this[_0x39b6ac(0x167)][_0x39b6ac(0x16d)];if(_0x15fa3b<0x2)return![];else{const _0x1ac7c7=this[_0x39b6ac(0x167)][0x0],_0x23245e=a65_0x409a43(_0x1ac7c7,this[_0x39b6ac(0x167)][0x1]);this[_0x39b6ac(0x16e)](_0x1ac7c7,Math[_0x39b6ac(0x161)](_0x23245e));}}[a65_0x20d642(0x16f)](_0x48db7a){const _0x120406=a65_0x20d642;this[_0x120406(0x16f)](_0x48db7a),this[_0x120406(0x167)]=[_0x48db7a,offset(_0x48db7a,this[_0x120406(0x171)](),this[_0x120406(0x160)](0x5a))],this[_0x120406(0x165)]();}[a65_0x20d642(0x160)](_0x6566f9){return _0x6566f9*Math['PI']/0xb4;}['getGeoJson'](){return new a65_0x29c883()['writeGeometryObject'](fromCircle(this));}['updatePoint'](_0x2d937e,_0x3230c1){const _0x4b7e53=a65_0x20d642;_0x3230c1>=0x0&&_0x3230c1<this[_0x4b7e53(0x167)][_0x4b7e53(0x16d)]&&(this[_0x4b7e53(0x167)][_0x3230c1]=_0x2d937e,this[_0x4b7e53(0x165)]());}['updateLastPoint'](_0x18c7a6){const _0x5749cd=a65_0x20d642;this[_0x5749cd(0x164)](_0x18c7a6,this['points'][_0x5749cd(0x16d)]-0x1);}}export default Circle;
1
+ const a66_0x53a10b=a66_0x2378;(function(_0x3936e5,_0x380e06){const _0x718899=a66_0x2378,_0x4c0278=_0x3936e5();while(!![]){try{const _0x3cc5e2=-parseInt(_0x718899(0x1b0))/0x1+-parseInt(_0x718899(0x1b6))/0x2+-parseInt(_0x718899(0x1b1))/0x3*(-parseInt(_0x718899(0x1b3))/0x4)+-parseInt(_0x718899(0x1b2))/0x5+parseInt(_0x718899(0x1ac))/0x6+parseInt(_0x718899(0x1a8))/0x7+parseInt(_0x718899(0x1be))/0x8*(-parseInt(_0x718899(0x1bd))/0x9);if(_0x3cc5e2===_0x380e06)break;else _0x4c0278['push'](_0x4c0278['shift']());}catch(_0x19884e){_0x4c0278['push'](_0x4c0278['shift']());}}}(a66_0x1e5b,0x38899));function a66_0x1e5b(){const _0xd5a3a9=['updatePoint','setPoints','points','1798740rVGLAV','writeGeometryObject','setCenter','Circle','89139wrPCGl','81uswjpm','172545hnCbXM','17692AfVdOT','setCenterAndRadius','getRadius','430660ukBXnp','type','getGeoJson','toRadians','length','generate','updateLastPoint','501543zhQkWu','16OQjslk','1839586KeMeCR'];a66_0x1e5b=function(){return _0xd5a3a9;};return a66_0x1e5b();}import{Circle as a66_0x5631aa}from'ol/geom';import a66_0x1b633d from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a66_0x2ad180}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a66_0x5631aa{constructor(_0x3782a4){const _0x2bea83=a66_0x2378;super([]),this[_0x2bea83(0x1ab)]=_0x3782a4,this[_0x2bea83(0x1b7)]=_0x2bea83(0x1af),_0x3782a4&&_0x3782a4[_0x2bea83(0x1ba)]>0x0&&this[_0x2bea83(0x1aa)](_0x3782a4);}[a66_0x53a10b(0x1aa)](_0x40e43c){const _0x3ce043=a66_0x53a10b;var _0x385c78;((_0x385c78=this['points'])===null||_0x385c78===void 0x0?void 0x0:_0x385c78[_0x3ce043(0x1ba)])>0x0&&(_0x40e43c===null||_0x40e43c===void 0x0?void 0x0:_0x40e43c[_0x3ce043(0x1ba)])>0x0&&!compareArray(this[_0x3ce043(0x1ab)][0x0],_0x40e43c[0x0])?this[_0x3ce043(0x1ae)](_0x40e43c[0x0]):(this[_0x3ce043(0x1ab)]=!_0x40e43c?[]:_0x40e43c,this[_0x3ce043(0x1ab)][_0x3ce043(0x1ba)]>=0x1&&(this[_0x3ce043(0x1bb)]&&this[_0x3ce043(0x1bb)]()));}[a66_0x53a10b(0x1bb)](){const _0x20460d=a66_0x53a10b;let _0x594f05=this[_0x20460d(0x1ab)]['length'];if(_0x594f05<0x2)return![];else{const _0x2aded3=this[_0x20460d(0x1ab)][0x0],_0x27e687=a66_0x2ad180(_0x2aded3,this[_0x20460d(0x1ab)][0x1]);this[_0x20460d(0x1b4)](_0x2aded3,Math['sqrt'](_0x27e687));}}['setCenter'](_0x4a7d40){const _0x2eefda=a66_0x53a10b;this[_0x2eefda(0x1ae)](_0x4a7d40),this[_0x2eefda(0x1ab)]=[_0x4a7d40,offset(_0x4a7d40,this[_0x2eefda(0x1b5)](),this[_0x2eefda(0x1b9)](0x5a))],this[_0x2eefda(0x1bb)]();}['toRadians'](_0x2b6092){return _0x2b6092*Math['PI']/0xb4;}[a66_0x53a10b(0x1b8)](){const _0x445a64=a66_0x53a10b;return new a66_0x1b633d()[_0x445a64(0x1ad)](fromCircle(this));}[a66_0x53a10b(0x1a9)](_0x591c60,_0x431d95){const _0x1e8823=a66_0x53a10b;_0x431d95>=0x0&&_0x431d95<this[_0x1e8823(0x1ab)][_0x1e8823(0x1ba)]&&(this['points'][_0x431d95]=_0x591c60,this[_0x1e8823(0x1bb)]());}[a66_0x53a10b(0x1bc)](_0x39cde0){const _0x1bbb1e=a66_0x53a10b;this[_0x1bbb1e(0x1a9)](_0x39cde0,this[_0x1bbb1e(0x1ab)][_0x1bbb1e(0x1ba)]-0x1);}}function a66_0x2378(_0x1709e2,_0xea7645){const _0x1e5b01=a66_0x1e5b();return a66_0x2378=function(_0x237807,_0x5598b6){_0x237807=_0x237807-0x1a8;let _0x4ebbab=_0x1e5b01[_0x237807];return _0x4ebbab;},a66_0x2378(_0x1709e2,_0xea7645);}export default Circle;
@@ -1 +1 @@
1
- const a66_0xc0b12f=a66_0x572d;(function(_0x259d96,_0x96346){const _0x3ccd6e=a66_0x572d,_0x2ed674=_0x259d96();while(!![]){try{const _0x385fcd=parseInt(_0x3ccd6e(0xa7))/0x1*(-parseInt(_0x3ccd6e(0xa1))/0x2)+parseInt(_0x3ccd6e(0x98))/0x3*(-parseInt(_0x3ccd6e(0x99))/0x4)+parseInt(_0x3ccd6e(0xaa))/0x5*(parseInt(_0x3ccd6e(0x9f))/0x6)+-parseInt(_0x3ccd6e(0x95))/0x7+parseInt(_0x3ccd6e(0x9c))/0x8+parseInt(_0x3ccd6e(0xa9))/0x9*(parseInt(_0x3ccd6e(0xa6))/0xa)+parseInt(_0x3ccd6e(0xab))/0xb*(parseInt(_0x3ccd6e(0x9b))/0xc);if(_0x385fcd===_0x96346)break;else _0x2ed674['push'](_0x2ed674['shift']());}catch(_0x9f4adc){_0x2ed674['push'](_0x2ed674['shift']());}}}(a66_0x49c4,0x2498f));import a66_0x1b5697 from'./BasePolygon';function a66_0x49c4(){const _0x49ae7c=['4118OBzQRf','length','generate','points','updateLastPoint','80LlTlxk','5QxMzqq','getPointCount','54801KDTQwN','80geoujA','22CZJbxK','_closed','1521275EYscma','type','updatePoint','3zBvlfA','189260FqGBgJ','push','1859388WNXyLR','251552mIItQH','isPlot','setPoints','13044XIoDUL','setCoordinates'];a66_0x49c4=function(){return _0x49ae7c;};return a66_0x49c4();}import{getDeepth}from'../../../utils/ArrayUtil';class Polygon extends a66_0x1b5697{constructor(_0x961976){const _0x32e4b2=a66_0x572d;super(),this[_0x32e4b2(0x96)]='Polygon',_0x961976&&_0x961976[_0x32e4b2(0xa2)]>0x0&&getDeepth(_0x961976)==0x2?this[_0x32e4b2(0x9e)](_0x961976):this[_0x32e4b2(0xa0)](_0x961976);}[a66_0xc0b12f(0xac)](_0x5e95d6){let _0x593dd1=_0x5e95d6[0x0],_0x481bcc=_0x5e95d6[_0x5e95d6['length']-0x1];return _0x593dd1[0x0]===_0x481bcc[0x0]&&_0x593dd1[0x1]===_0x481bcc[0x1]&&_0x593dd1[0x2]===_0x481bcc[0x2];}[a66_0xc0b12f(0xa3)](){const _0x49e4fd=a66_0xc0b12f;let _0x525a79=this[_0x49e4fd(0xa8)]();if(_0x525a79<0x2)return![];else{let _0x2d6686=JSON['parse'](JSON['stringify'](this[_0x49e4fd(0xa4)]));_0x525a79>=0x3&&(!this[_0x49e4fd(0xac)](_0x2d6686)&&_0x2d6686[_0x49e4fd(0x9a)](_0x2d6686[0x0])),this['setCoordinates']([_0x2d6686]);}}['updatePoint'](_0x1e6976,_0x189ca2){const _0x1da9f3=a66_0xc0b12f;_0x189ca2>=0x0&&_0x189ca2<this[_0x1da9f3(0xa4)][_0x1da9f3(0xa2)]&&(this['points'][_0x189ca2]=_0x1e6976,this[_0x1da9f3(0xa3)]());}[a66_0xc0b12f(0x9d)](){return![];}[a66_0xc0b12f(0xa5)](_0x36c489){const _0x5cbde6=a66_0xc0b12f;this[_0x5cbde6(0x97)](_0x36c489,this['points']['length']-0x1);}}function a66_0x572d(_0x4f5598,_0x4f8c6a){const _0x49c4d1=a66_0x49c4();return a66_0x572d=function(_0x572dbe,_0x63e381){_0x572dbe=_0x572dbe-0x95;let _0x26da8e=_0x49c4d1[_0x572dbe];return _0x26da8e;},a66_0x572d(_0x4f5598,_0x4f8c6a);}export default Polygon;
1
+ function a67_0x4908(_0x483f87,_0xcf6e9c){const _0x1e9331=a67_0x1e93();return a67_0x4908=function(_0x4908f3,_0x27b33d){_0x4908f3=_0x4908f3-0xb6;let _0x1b299e=_0x1e9331[_0x4908f3];return _0x1b299e;},a67_0x4908(_0x483f87,_0xcf6e9c);}const a67_0x3eb9b9=a67_0x4908;(function(_0x7c9a3d,_0x39a01e){const _0x359858=a67_0x4908,_0x197703=_0x7c9a3d();while(!![]){try{const _0x2af69c=parseInt(_0x359858(0xc5))/0x1*(parseInt(_0x359858(0xbb))/0x2)+-parseInt(_0x359858(0xc3))/0x3+-parseInt(_0x359858(0xc6))/0x4+parseInt(_0x359858(0xb7))/0x5+-parseInt(_0x359858(0xbd))/0x6*(parseInt(_0x359858(0xc9))/0x7)+-parseInt(_0x359858(0xca))/0x8*(-parseInt(_0x359858(0xc0))/0x9)+parseInt(_0x359858(0xc2))/0xa;if(_0x2af69c===_0x39a01e)break;else _0x197703['push'](_0x197703['shift']());}catch(_0x1a1d66){_0x197703['push'](_0x197703['shift']());}}}(a67_0x1e93,0xac5e3));import a67_0x51efb8 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class Polygon extends a67_0x51efb8{constructor(_0x14b5b9){const _0x3e83a5=a67_0x4908;super(),this[_0x3e83a5(0xba)]='Polygon',_0x14b5b9&&_0x14b5b9[_0x3e83a5(0xc1)]>0x0&&getDeepth(_0x14b5b9)==0x2?this['setPoints'](_0x14b5b9):this[_0x3e83a5(0xbe)](_0x14b5b9);}['_closed'](_0x39496f){const _0x2804af=a67_0x4908;let _0x59be45=_0x39496f[0x0],_0xc99caa=_0x39496f[_0x39496f[_0x2804af(0xc1)]-0x1];return _0x59be45[0x0]===_0xc99caa[0x0]&&_0x59be45[0x1]===_0xc99caa[0x1]&&_0x59be45[0x2]===_0xc99caa[0x2];}[a67_0x3eb9b9(0xbc)](){const _0x393508=a67_0x3eb9b9;let _0x1de06a=this[_0x393508(0xc7)]();if(_0x1de06a<0x2)return![];else{let _0x3b26d4=JSON[_0x393508(0xb8)](JSON['stringify'](this['points']));_0x1de06a>=0x3&&(!this['_closed'](_0x3b26d4)&&_0x3b26d4[_0x393508(0xbf)](_0x3b26d4[0x0])),this[_0x393508(0xbe)]([_0x3b26d4]);}}[a67_0x3eb9b9(0xc4)](_0x43d419,_0x299410){const _0x5dd6c7=a67_0x3eb9b9;_0x299410>=0x0&&_0x299410<this['points'][_0x5dd6c7(0xc1)]&&(this['points'][_0x299410]=_0x43d419,this['generate']());}[a67_0x3eb9b9(0xc8)](){return![];}[a67_0x3eb9b9(0xb6)](_0x3d5503){const _0x44f26e=a67_0x3eb9b9;this[_0x44f26e(0xc4)](_0x3d5503,this[_0x44f26e(0xb9)][_0x44f26e(0xc1)]-0x1);}}export default Polygon;function a67_0x1e93(){const _0x352476=['662325JlcRxm','parse','points','type','18LvswDp','generate','131052IELNek','setCoordinates','push','210114HDSMKq','length','8000350HXOjMI','2130651yahHbp','updatePoint','60132OvFjcQ','295984YtyyVU','getPointCount','isPlot','77wTpvRR','88MkrDxd','updateLastPoint'];a67_0x1e93=function(){return _0x352476;};return a67_0x1e93();}
@@ -1 +1 @@
1
- const a67_0x17415a=a67_0x2372;(function(_0x56a527,_0x34cf03){const _0x4b741a=a67_0x2372,_0x2c1c6f=_0x56a527();while(!![]){try{const _0x1d0b1b=parseInt(_0x4b741a(0x11f))/0x1*(-parseInt(_0x4b741a(0x115))/0x2)+parseInt(_0x4b741a(0x10e))/0x3+parseInt(_0x4b741a(0x10b))/0x4*(-parseInt(_0x4b741a(0x111))/0x5)+-parseInt(_0x4b741a(0x112))/0x6*(parseInt(_0x4b741a(0x113))/0x7)+-parseInt(_0x4b741a(0x10c))/0x8*(-parseInt(_0x4b741a(0x10a))/0x9)+-parseInt(_0x4b741a(0x118))/0xa*(-parseInt(_0x4b741a(0x114))/0xb)+-parseInt(_0x4b741a(0x110))/0xc*(-parseInt(_0x4b741a(0x119))/0xd);if(_0x1d0b1b===_0x34cf03)break;else _0x2c1c6f['push'](_0x2c1c6f['shift']());}catch(_0x3c32bd){_0x2c1c6f['push'](_0x2c1c6f['shift']());}}}(a67_0x306c,0x33e57));function a67_0x2372(_0x5d6830,_0x165e05){const _0x306c12=a67_0x306c();return a67_0x2372=function(_0x237232,_0x3d9681){_0x237232=_0x237232-0x10a;let _0x19b15b=_0x306c12[_0x237232];return _0x19b15b;},a67_0x2372(_0x5d6830,_0x165e05);}import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a67_0x518b54 from'./BasePolygon';function a67_0x306c(){const _0x49a735=['326367ITDLla','points','2352DCHRvd','2410VRgqrs','6FtQFzj','750603sdprEy','242Fhbwrt','81890pUGcyn','Polygon','length','40720gwNpCq','26442ecFIne','setPoints','type','generate','getCoordinates','updatePoint','7jYiukG','updateLastPoint','17469XMlxMY','3176LOhHKV','1616gWwjIi','setCoordinates'];a67_0x306c=function(){return _0x49a735;};return a67_0x306c();}import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a67_0x518b54{constructor(_0x43ba57){const _0x5684ac=a67_0x2372;super(),this[_0x5684ac(0x11b)]=_0x5684ac(0x116),_0x43ba57&&_0x43ba57[_0x5684ac(0x117)]>0x0&&getDeepth(_0x43ba57)==0x2?this[_0x5684ac(0x11a)](_0x43ba57):this[_0x5684ac(0x10d)](_0x43ba57);}['generate'](){const _0x4801f7=a67_0x2372;if(this[_0x4801f7(0x10f)][_0x4801f7(0x117)]===0x2){let _0x3ac0d5=[],_0x532993=boundingExtent(this[_0x4801f7(0x10f)]),_0x7bb09f=fromExtent(_0x532993);_0x3ac0d5=_0x7bb09f[_0x4801f7(0x11d)](),this[_0x4801f7(0x10d)](_0x3ac0d5);}}['updatePoint'](_0x3922b2,_0x289631){const _0x1dd2b2=a67_0x2372;_0x289631>=0x0&&_0x289631<this[_0x1dd2b2(0x10f)][_0x1dd2b2(0x117)]&&(this[_0x1dd2b2(0x10f)][_0x289631]=_0x3922b2,this[_0x1dd2b2(0x11c)]());}[a67_0x17415a(0x120)](_0x58cf10){const _0x3a8099=a67_0x17415a;this[_0x3a8099(0x11e)](_0x58cf10,this[_0x3a8099(0x10f)][_0x3a8099(0x117)]-0x1);}}export default RectAngle;
1
+ const a68_0x224669=a68_0x3964;function a68_0x3964(_0x8d913d,_0xeb3634){const _0xed8f6c=a68_0xed8f();return a68_0x3964=function(_0x39640d,_0x1a9c41){_0x39640d=_0x39640d-0xd3;let _0x2e1d13=_0xed8f6c[_0x39640d];return _0x2e1d13;},a68_0x3964(_0x8d913d,_0xeb3634);}(function(_0x361776,_0x493257){const _0x4c890e=a68_0x3964,_0x270a63=_0x361776();while(!![]){try{const _0x4bfd93=parseInt(_0x4c890e(0xd3))/0x1+-parseInt(_0x4c890e(0xdb))/0x2*(parseInt(_0x4c890e(0xd8))/0x3)+parseInt(_0x4c890e(0xe3))/0x4+parseInt(_0x4c890e(0xde))/0x5*(parseInt(_0x4c890e(0xdf))/0x6)+-parseInt(_0x4c890e(0xe2))/0x7*(-parseInt(_0x4c890e(0xd5))/0x8)+parseInt(_0x4c890e(0xe0))/0x9+-parseInt(_0x4c890e(0xdc))/0xa;if(_0x4bfd93===_0x493257)break;else _0x270a63['push'](_0x270a63['shift']());}catch(_0x29b368){_0x270a63['push'](_0x270a63['shift']());}}}(a68_0xed8f,0x41ec4));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a68_0x5e6059 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a68_0xed8f(){const _0x4f5d17=['1219674DBxTXM','3914586tfAVll','points','7zBSVOf','207840BreghZ','168888QNPCrI','generate','2693320cuiYbI','updateLastPoint','updatePoint','1531308mQMwHb','length','setPoints','2IuXXme','4152900YgWoob','setCoordinates','5rpYpdx'];a68_0xed8f=function(){return _0x4f5d17;};return a68_0xed8f();}class RectAngle extends a68_0x5e6059{constructor(_0x20dd3f){const _0x35321f=a68_0x3964;super(),this['type']='Polygon',_0x20dd3f&&_0x20dd3f[_0x35321f(0xd9)]>0x0&&getDeepth(_0x20dd3f)==0x2?this[_0x35321f(0xda)](_0x20dd3f):this[_0x35321f(0xdd)](_0x20dd3f);}[a68_0x224669(0xd4)](){const _0x590820=a68_0x224669;if(this[_0x590820(0xe1)][_0x590820(0xd9)]===0x2){let _0x192779=[],_0x535212=boundingExtent(this[_0x590820(0xe1)]),_0x358e9b=fromExtent(_0x535212);_0x192779=_0x358e9b['getCoordinates'](),this[_0x590820(0xdd)](_0x192779);}}[a68_0x224669(0xd7)](_0x41cd55,_0x32d5c4){const _0x978226=a68_0x224669;_0x32d5c4>=0x0&&_0x32d5c4<this[_0x978226(0xe1)][_0x978226(0xd9)]&&(this[_0x978226(0xe1)][_0x32d5c4]=_0x41cd55,this['generate']());}[a68_0x224669(0xd6)](_0x38c939){const _0x16d581=a68_0x224669;this[_0x16d581(0xd7)](_0x38c939,this[_0x16d581(0xe1)][_0x16d581(0xd9)]-0x1);}}export default RectAngle;
@@ -1 +1 @@
1
- var a68_0x4f7851=a68_0x5061;(function(_0x197b2d,_0x1a71be){var _0x24a2fa=a68_0x5061,_0xf4dd46=_0x197b2d();while(!![]){try{var _0x4b8414=parseInt(_0x24a2fa(0x1a9))/0x1+-parseInt(_0x24a2fa(0x195))/0x2*(parseInt(_0x24a2fa(0x1a8))/0x3)+-parseInt(_0x24a2fa(0x196))/0x4+parseInt(_0x24a2fa(0x190))/0x5*(-parseInt(_0x24a2fa(0x1a6))/0x6)+parseInt(_0x24a2fa(0x1a2))/0x7*(-parseInt(_0x24a2fa(0x19e))/0x8)+parseInt(_0x24a2fa(0x1a5))/0x9*(parseInt(_0x24a2fa(0x1aa))/0xa)+parseInt(_0x24a2fa(0x19c))/0xb*(parseInt(_0x24a2fa(0x192))/0xc);if(_0x4b8414===_0x1a71be)break;else _0xf4dd46['push'](_0xf4dd46['shift']());}catch(_0xff5581){_0xf4dd46['push'](_0xf4dd46['shift']());}}}(a68_0x1130,0xdd7e0));function a68_0x1130(){var _0x2822d6=['setPoints','6LCuuVe','110501AKqAMA','180nXwKkj','330VFHhkA','getPoints','12BQnYuU','getPlotType','slice','971274AqbPJI','3138208AancUg','style','getGeoJson','map','传入的不是地图对象!','generate','49868170gpSDUH','type','8PPGKru','getPointCount','getMap','stringify','2394217zLeEFV','points','length','5031BBqHKZ','149904EvyzUp'];a68_0x1130=function(){return _0x2822d6;};return a68_0x1130();}import{LineString}from'ol/geom';function a68_0x5061(_0x4abe12,_0xd9f4e7){var _0x113001=a68_0x1130();return a68_0x5061=function(_0x5061f9,_0x299326){_0x5061f9=_0x5061f9-0x190;var _0x1a87a0=_0x113001[_0x5061f9];return _0x1a87a0;},a68_0x5061(_0x4abe12,_0xd9f4e7);}import a68_0x110ae5 from'ol/format/GeoJSON';import a68_0x533949 from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x4521cd=a68_0x5061;super([]),this[_0x4521cd(0x1a3)]=[];}[a68_0x4f7851(0x193)](){var _0x2ec186=a68_0x4f7851;return this[_0x2ec186(0x19d)];}[a68_0x4f7851(0x198)](){return new a68_0x110ae5()['writeGeometryObject'](this);}['setStyle'](_0x3ad65a){var _0x3c9b95=a68_0x4f7851;this[_0x3c9b95(0x197)]=JSON['parse'](JSON[_0x3c9b95(0x1a1)](_0x3ad65a));}['setMap'](_0x1cad7e){var _0x347aca=a68_0x4f7851;if(_0x1cad7e&&_0x1cad7e instanceof a68_0x533949)this['map']=_0x1cad7e;else throw new Error(_0x347aca(0x19a));}[a68_0x4f7851(0x1a0)](){var _0x476f9a=a68_0x4f7851;return this[_0x476f9a(0x199)];}['isPlot'](){return!![];}[a68_0x4f7851(0x1a7)](_0x1f385c){var _0x28dab4=a68_0x4f7851;this[_0x28dab4(0x1a3)]=!_0x1f385c?[]:_0x1f385c,this[_0x28dab4(0x1a3)]['length']>=0x1&&(this['generate']&&this[_0x28dab4(0x19b)]());}['generate'](){}[a68_0x4f7851(0x191)](){var _0x55c7bd=a68_0x4f7851;return this[_0x55c7bd(0x1a3)][_0x55c7bd(0x194)](0x0);}[a68_0x4f7851(0x19f)](){var _0x2de2d0=a68_0x4f7851;return this[_0x2de2d0(0x1a3)][_0x2de2d0(0x1a4)];}['finishDrawing'](){}}export default Plot;
1
+ var a69_0x124a2e=a69_0x3800;(function(_0x4c26a3,_0x2af2e8){var _0x2c51b2=a69_0x3800,_0x1eda0e=_0x4c26a3();while(!![]){try{var _0xf561c8=-parseInt(_0x2c51b2(0x12d))/0x1+-parseInt(_0x2c51b2(0x124))/0x2*(parseInt(_0x2c51b2(0x136))/0x3)+-parseInt(_0x2c51b2(0x132))/0x4*(-parseInt(_0x2c51b2(0x138))/0x5)+parseInt(_0x2c51b2(0x11f))/0x6+-parseInt(_0x2c51b2(0x137))/0x7+parseInt(_0x2c51b2(0x129))/0x8+parseInt(_0x2c51b2(0x128))/0x9;if(_0xf561c8===_0x2af2e8)break;else _0x1eda0e['push'](_0x1eda0e['shift']());}catch(_0x237bc7){_0x1eda0e['push'](_0x1eda0e['shift']());}}}(a69_0x1f0c,0x84d14));import{LineString}from'ol/geom';function a69_0x3800(_0x371aaf,_0x19ef76){var _0x1f0cb6=a69_0x1f0c();return a69_0x3800=function(_0x380040,_0x4c2122){_0x380040=_0x380040-0x11e;var _0x4a890a=_0x1f0cb6[_0x380040];return _0x4a890a;},a69_0x3800(_0x371aaf,_0x19ef76);}import a69_0x459e19 from'ol/format/GeoJSON';import a69_0x34232 from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x3b5649=a69_0x3800;super([]),this[_0x3b5649(0x130)]=[];}[a69_0x124a2e(0x11e)](){var _0x118a7f=a69_0x124a2e;return this[_0x118a7f(0x135)];}[a69_0x124a2e(0x125)](){var _0x30acd7=a69_0x124a2e;return new a69_0x459e19()[_0x30acd7(0x133)](this);}[a69_0x124a2e(0x12c)](_0x19e6c6){var _0x365da1=a69_0x124a2e;this[_0x365da1(0x121)]=JSON[_0x365da1(0x123)](JSON[_0x365da1(0x12b)](_0x19e6c6));}['setMap'](_0x1d747c){var _0x207e21=a69_0x124a2e;if(_0x1d747c&&_0x1d747c instanceof a69_0x34232)this['map']=_0x1d747c;else throw new Error(_0x207e21(0x122));}[a69_0x124a2e(0x134)](){var _0x1b890e=a69_0x124a2e;return this[_0x1b890e(0x12e)];}[a69_0x124a2e(0x120)](){return!![];}[a69_0x124a2e(0x127)](_0x31dce9){var _0x4e28ad=a69_0x124a2e;this[_0x4e28ad(0x130)]=!_0x31dce9?[]:_0x31dce9,this[_0x4e28ad(0x130)][_0x4e28ad(0x126)]>=0x1&&(this[_0x4e28ad(0x12a)]&&this[_0x4e28ad(0x12a)]());}[a69_0x124a2e(0x12a)](){}['getPoints'](){return this['points']['slice'](0x0);}[a69_0x124a2e(0x12f)](){var _0x55a2dd=a69_0x124a2e;return this['points'][_0x55a2dd(0x126)];}[a69_0x124a2e(0x131)](){}}export default Plot;function a69_0x1f0c(){var _0x472588=['2184128sJrzRR','generate','stringify','setStyle','818538kkvuAL','map','getPointCount','points','finishDrawing','105956SYMUGo','writeGeometryObject','getMap','type','973551RlzmkX','5496183GNrtlR','75TsLWlg','getPlotType','605508wEdyDW','isPlot','style','传入的不是地图对象!','parse','2YxQFda','getGeoJson','length','setPoints','15308775LanMlA'];a69_0x1f0c=function(){return _0x472588;};return a69_0x1f0c();}