ym-gis-2d 1.0.43 → 1.0.44

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.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/AreaMeasure.js +1 -1
  15. package/interaction/Difference.js +1 -1
  16. package/interaction/Draw.js +1 -1
  17. package/interaction/InteractionManager.js +1 -1
  18. package/interaction/Modify.js +1 -1
  19. package/interaction/Select.js +1 -1
  20. package/interaction/Split.js +1 -1
  21. package/layers/ArcgisDynamicLayer.js +1 -1
  22. package/layers/ArcgisFeatureLayer.js +1 -1
  23. package/layers/ArcgisTileLayer.js +1 -1
  24. package/layers/ArcgisWMSLayer.js +1 -1
  25. package/layers/ArcgisWMTSLayer.js +1 -1
  26. package/layers/GeoserverVectorTile.js +1 -1
  27. package/layers/GeoserverWFSLayer.js +1 -1
  28. package/layers/GeoserverWMSLayer.js +1 -1
  29. package/layers/GeoserverWMTSLayer.js +1 -1
  30. package/layers/LayerManager.js +1 -1
  31. package/layers/MapTileLayer.js +1 -1
  32. package/layers/TDTLayer.js +1 -1
  33. package/mapView/Map.js +1 -1
  34. package/mapView/View.js +1 -1
  35. package/package.json +1 -1
  36. package/plot/Plot.js +1 -1
  37. package/plot/geometry/point/Point.js +1 -1
  38. package/plot/geometry/polygon/BasePolygon.js +1 -1
  39. package/plot/geometry/polygon/Circle.js +1 -1
  40. package/plot/geometry/polygon/Polygon.js +1 -1
  41. package/plot/geometry/polygon/RectAngle.js +1 -1
  42. package/plot/geometry/polyline/BaseLine.js +1 -1
  43. package/plot/geometry/polyline/Polyline.js +1 -1
  44. package/style/PointStyleFormat.js +1 -1
  45. package/style/PolygonStyleFormat.js +1 -1
  46. package/style/PolylineStyleFormat.js +1 -1
  47. package/style/StyleManager.js +1 -1
  48. package/style/common.js +1 -1
  49. package/utils/ArrayUtil.js +1 -1
  50. package/utils/AxiosUtil.js +1 -1
  51. package/utils/EsriUtil.js +1 -1
  52. package/utils/GeometryUtil.d.ts.map +1 -1
  53. package/utils/GeometryUtil.js +1 -1
  54. package/utils/GeometryUtil.js.map +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
- function a55_0x345b(_0xbccafa,_0x189bac){const _0x15a292=a55_0x15a2();return a55_0x345b=function(_0x345b46,_0x596d73){_0x345b46=_0x345b46-0x179;let _0xc3252=_0x15a292[_0x345b46];return _0xc3252;},a55_0x345b(_0xbccafa,_0x189bac);}function a55_0x15a2(){const _0x5d2034=['31608XwNzQI','join','2501AsPuCd','369194VKQUxs','updateParams','89852YUOAJc','getSource','initialExtent','1138200dNTNoU','13912eYmZBj','EPSG:','url','26whBjHF','27bZEMZY','loadFilter','layerInfo','1.1.0','sublayers','mapIndex','11yFdzam','projection','205LkDSut','5287452YYVYHq','opacity','1125ZyYjRn','anonymous'];a55_0x15a2=function(){return _0x5d2034;};return a55_0x15a2();}(function(_0x3a39fe,_0x41dcc1){const _0x2afe86=a55_0x345b,_0x131f33=_0x3a39fe();while(!![]){try{const _0x41553d=-parseInt(_0x2afe86(0x17d))/0x1*(parseInt(_0x2afe86(0x187))/0x2)+parseInt(_0x2afe86(0x188))/0x3*(parseInt(_0x2afe86(0x180))/0x4)+-parseInt(_0x2afe86(0x190))/0x5*(parseInt(_0x2afe86(0x17b))/0x6)+parseInt(_0x2afe86(0x17e))/0x7+-parseInt(_0x2afe86(0x184))/0x8*(parseInt(_0x2afe86(0x179))/0x9)+-parseInt(_0x2afe86(0x183))/0xa+-parseInt(_0x2afe86(0x18e))/0xb*(-parseInt(_0x2afe86(0x191))/0xc);if(_0x41553d===_0x41dcc1)break;else _0x131f33['push'](_0x131f33['shift']());}catch(_0x6d5bff){_0x131f33['push'](_0x131f33['shift']());}}}(a55_0x15a2,0x1c47a));import{ImageWMS as a55_0x206e08}from'ol/source';import{Image as a55_0xaa3305}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a55_0xaa3305{constructor(_0x54d8b1,_0x30bc69){const _0x50e228=a55_0x345b;var _0xda758;let _0x4a35fc=registerProj(_0x50e228(0x185)+_0x30bc69['wkid'],undefined),_0x5d3e0c={'LAYERS':(_0xda758=_0x54d8b1[_0x50e228(0x18c)])===null||_0xda758===void 0x0?void 0x0:_0xda758[_0x50e228(0x17c)](','),'VERSION':_0x50e228(0x18b)};_0x54d8b1['loadFilter']&&(_0x5d3e0c['CQL_FILTER']=_0x54d8b1[_0x50e228(0x189)]),super({'opacity':_0x54d8b1[_0x50e228(0x192)],'zIndex':_0x54d8b1[_0x50e228(0x18d)],'source':new a55_0x206e08({'crossOrigin':_0x50e228(0x17a),'url':_0x54d8b1[_0x50e228(0x186)],'params':_0x5d3e0c})}),this['id']=_0x54d8b1['id'],this[_0x50e228(0x182)]=_0x30bc69['initExtent'],this[_0x50e228(0x18f)]=_0x4a35fc,this[_0x50e228(0x18a)]=_0x54d8b1;}['refresh'](){}['setFilter'](_0x4ac495){const _0xc49e78=a55_0x345b;var _0x16b919;(_0x16b919=this[_0xc49e78(0x181)]())===null||_0x16b919===void 0x0?void 0x0:_0x16b919[_0xc49e78(0x17f)]({'CQL_FILTER':_0x4ac495});}}
1
+ function a55_0x1d0e(_0x40214d,_0x592421){const _0x30c93c=a55_0x30c9();return a55_0x1d0e=function(_0x1d0ef8,_0x295658){_0x1d0ef8=_0x1d0ef8-0xfb;let _0x3112cb=_0x30c93c[_0x1d0ef8];return _0x3112cb;},a55_0x1d0e(_0x40214d,_0x592421);}const a55_0x2672b1=a55_0x1d0e;(function(_0x9b2dc2,_0x1d91ac){const _0x299e7a=a55_0x1d0e,_0x10f19a=_0x9b2dc2();while(!![]){try{const _0xe69346=parseInt(_0x299e7a(0xff))/0x1+parseInt(_0x299e7a(0x101))/0x2+-parseInt(_0x299e7a(0x10d))/0x3+-parseInt(_0x299e7a(0xfe))/0x4*(-parseInt(_0x299e7a(0x10e))/0x5)+parseInt(_0x299e7a(0x100))/0x6+-parseInt(_0x299e7a(0x112))/0x7*(parseInt(_0x299e7a(0xfb))/0x8)+-parseInt(_0x299e7a(0x10c))/0x9*(-parseInt(_0x299e7a(0x113))/0xa);if(_0xe69346===_0x1d91ac)break;else _0x10f19a['push'](_0x10f19a['shift']());}catch(_0x2cccdb){_0x10f19a['push'](_0x10f19a['shift']());}}}(a55_0x30c9,0xe0810));import{ImageWMS as a55_0x32b771}from'ol/source';import{Image as a55_0x466f4d}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';function a55_0x30c9(){const _0x16f328=['initExtent','7UnrzCU','111460zQxRSr','11718968HxcLCK','wkid','opacity','16sJbRKK','1065673aMorsv','221916GTmnnu','347754gHgltQ','initialExtent','setFilter','mapIndex','refresh','layerInfo','getSource','EPSG:','1.1.0','updateParams','sublayers','2142OCzuoH','4848219JXENUS','89035TqwOQg','loadFilter','join'];a55_0x30c9=function(){return _0x16f328;};return a55_0x30c9();}export default class ArcgisWMSLayer extends a55_0x466f4d{constructor(_0x59984a,_0x51cad8){const _0x217749=a55_0x1d0e;var _0x478218;let _0x2afa63=registerProj(_0x217749(0x108)+_0x51cad8[_0x217749(0xfc)],undefined),_0x2028ee={'LAYERS':(_0x478218=_0x59984a[_0x217749(0x10b)])===null||_0x478218===void 0x0?void 0x0:_0x478218[_0x217749(0x110)](','),'VERSION':_0x217749(0x109)};_0x59984a['loadFilter']&&(_0x2028ee['CQL_FILTER']=_0x59984a[_0x217749(0x10f)]),super({'opacity':_0x59984a[_0x217749(0xfd)],'zIndex':_0x59984a[_0x217749(0x104)],'source':new a55_0x32b771({'crossOrigin':'anonymous','url':_0x59984a['url'],'params':_0x2028ee})}),this['id']=_0x59984a['id'],this[_0x217749(0x102)]=_0x51cad8[_0x217749(0x111)],this['projection']=_0x2afa63,this[_0x217749(0x106)]=_0x59984a;}[a55_0x2672b1(0x105)](){}[a55_0x2672b1(0x103)](_0x41403a){const _0x5d0ec2=a55_0x2672b1;var _0x5b16b7;(_0x5b16b7=this[_0x5d0ec2(0x107)]())===null||_0x5b16b7===void 0x0?void 0x0:_0x5b16b7[_0x5d0ec2(0x10a)]({'CQL_FILTER':_0x41403a});}}
@@ -1 +1 @@
1
- (function(_0x2130e7,_0x43f40a){const _0x53d601=a56_0x7b54,_0x40ab14=_0x2130e7();while(!![]){try{const _0x40cbea=parseInt(_0x53d601(0x1b9))/0x1+parseInt(_0x53d601(0x1c1))/0x2*(parseInt(_0x53d601(0x1c3))/0x3)+parseInt(_0x53d601(0x1c4))/0x4*(-parseInt(_0x53d601(0x1d6))/0x5)+parseInt(_0x53d601(0x1cf))/0x6+-parseInt(_0x53d601(0x1be))/0x7+-parseInt(_0x53d601(0x1ca))/0x8+parseInt(_0x53d601(0x1d0))/0x9;if(_0x40cbea===_0x43f40a)break;else _0x40ab14['push'](_0x40ab14['shift']());}catch(_0x1e9e3f){_0x40ab14['push'](_0x40ab14['shift']());}}}(a56_0x2452,0xe3a32));import a56_0x5a8a0c from'ol/layer/Tile';import a56_0x3672de,{optionsFromCapabilities}from'ol/source/WMTS.js';import a56_0x140df1 from'ol/tilegrid/WMTS';function a56_0x7b54(_0x552ac9,_0x18ba82){const _0x245254=a56_0x2452();return a56_0x7b54=function(_0x7b549b,_0x198fde){_0x7b549b=_0x7b549b-0x1b5;let _0x3205f4=_0x245254[_0x7b549b];return _0x3205f4;},a56_0x7b54(_0x552ac9,_0x18ba82);}import{registerProj}from'../utils/RegisterProjUtil';function a56_0x2452(){const _0x2638ef=['length','mapIndex','214ZPywkm','image/png','11721jbqBhy','8QiNBXg','projection','value','name','urls','token','5786432wLSLRN','layer','boundingBoxExtent','EPSG:','src','1241646bOJPOm','21437712kPTkrg','requestEncoding','tileGrid','url','sourceXml','origins_','3602705AjqrCr','format','getImage','getMatrixIds','replace','indexOf','sublayers','381380DPRsrI','getResolutions','tileMatrixSet','matrixSet','style','2040850fmCoHf'];a56_0x2452=function(){return _0x2638ef;};return a56_0x2452();}import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a56_0x5a8a0c{constructor(_0x3b3708,_0x4afdb5){const _0x416bbb=a56_0x7b54;var _0x16488e;let _0x10ae08='';_0x3b3708[_0x416bbb(0x1b8)]&&_0x3b3708['sublayers'][_0x416bbb(0x1bf)]>0x0&&(_0x10ae08=_0x3b3708[_0x416bbb(0x1b8)]['join'](','));const _0x233f1c=_0x416bbb(0x1cd)+_0x4afdb5['wkid'];let _0x247564=registerProj(_0x233f1c);const _0x1994f8=optionsFromCapabilities(_0x4afdb5[_0x416bbb(0x1d4)],{'layer':(_0x16488e=_0x3b3708['sublayers'])===null||_0x16488e===void 0x0?void 0x0:_0x16488e[0x0],'matrixSet':_0x4afdb5[_0x416bbb(0x1bb)],'format':_0x416bbb(0x1c2)});let _0x4b5e9d=_0x1994f8[_0x416bbb(0x1d2)][_0x416bbb(0x1d5)][0x0];_0x4b5e9d[0x0]===0x5a&&_0x4b5e9d[0x1]===-0xb4&&(_0x4b5e9d=[_0x4b5e9d[0x1],_0x4b5e9d[0x0]]),super({'opacity':_0x3b3708['opacity'],'zIndex':_0x3b3708[_0x416bbb(0x1c0)],'source':new a56_0x3672de({'urls':_0x1994f8[_0x416bbb(0x1c8)],'requestEncoding':_0x1994f8[_0x416bbb(0x1d1)],'layer':_0x1994f8[_0x416bbb(0x1cb)],'tileLoadFunction':function(_0x3fb9dd,_0x5e6da9){const _0x23b645=_0x416bbb,_0x2e7c38=_0x3b3708[_0x23b645(0x1d3)]?_0x3b3708[_0x23b645(0x1d3)]:'';let _0x57000f=getUrlParams(_0x2e7c38);if((_0x57000f===null||_0x57000f===void 0x0?void 0x0:_0x57000f['length'])>0x0)for(let _0x11b37a of _0x57000f){_0x5e6da9=addArgument(_0x5e6da9,_0x11b37a[_0x23b645(0x1c7)],_0x11b37a[_0x23b645(0x1c6)]);}let _0x449a1d=_0x5e6da9[_0x23b645(0x1b7)]('?http');_0x449a1d!==-0x1?_0x5e6da9[_0x23b645(0x1b7)](_0x23b645(0x1c9))===-0x1&&_0x5e6da9[_0x23b645(0x1b7)]('tk')===-0x1?_0x3fb9dd[_0x23b645(0x1d8)]()[_0x23b645(0x1ce)]=_0x5e6da9[_0x23b645(0x1b6)]('&','?'):_0x3fb9dd[_0x23b645(0x1d8)]()[_0x23b645(0x1ce)]=_0x5e6da9:_0x3fb9dd['getImage']()[_0x23b645(0x1ce)]=_0x5e6da9;},'matrixSet':_0x1994f8[_0x416bbb(0x1bc)],'format':_0x1994f8[_0x416bbb(0x1d7)],'projection':_0x1994f8[_0x416bbb(0x1c5)],'tileGrid':new a56_0x140df1({'origin':_0x4b5e9d,'resolutions':_0x1994f8['tileGrid'][_0x416bbb(0x1ba)](),'matrixIds':_0x1994f8['tileGrid'][_0x416bbb(0x1b5)](),'extent':_0x4afdb5['boundingBoxExtent']}),'style':_0x4afdb5[_0x416bbb(0x1bd)],'wrapX':!![]})}),this['id']=_0x3b3708['id'],this['initialExtent']=_0x4afdb5[_0x416bbb(0x1cc)],this[_0x416bbb(0x1c5)]=_0x247564,this['layerInfo']=_0x3b3708;}}
1
+ function a56_0x3fbd(){const _0x89d6e=['wkid','?http','sourceXml','1866546QxTAcn','urls','2ijxqfF','sublayers','getImage','length','10IZoflH','2618132ljjWiN','4BQjDUT','value','boundingBoxExtent','projection','replace','6dkxFEJ','requestEncoding','getResolutions','898910bMuTGx','layer','46797xPYTBk','format','style','join','matrixSet','906227uhPgAR','127110SGPHTS','mapIndex','indexOf','getMatrixIds','url','initialExtent','token','tileGrid','EPSG:','1121984hajIWv','origins_'];a56_0x3fbd=function(){return _0x89d6e;};return a56_0x3fbd();}(function(_0x18fa3f,_0x3722ad){const _0x364a63=a56_0x3ecb,_0x26ea0b=_0x18fa3f();while(!![]){try{const _0x169735=parseInt(_0x364a63(0x20c))/0x1*(-parseInt(_0x364a63(0x1fc))/0x2)+parseInt(_0x364a63(0x1ec))/0x3+parseInt(_0x364a63(0x202))/0x4*(-parseInt(_0x364a63(0x20a))/0x5)+-parseInt(_0x364a63(0x207))/0x6*(-parseInt(_0x364a63(0x1eb))/0x7)+parseInt(_0x364a63(0x1f5))/0x8+-parseInt(_0x364a63(0x1fa))/0x9*(parseInt(_0x364a63(0x200))/0xa)+parseInt(_0x364a63(0x201))/0xb;if(_0x169735===_0x3722ad)break;else _0x26ea0b['push'](_0x26ea0b['shift']());}catch(_0x5f11fd){_0x26ea0b['push'](_0x26ea0b['shift']());}}}(a56_0x3fbd,0x1c596));import a56_0x1e9df8 from'ol/layer/Tile';import a56_0x329f06,{optionsFromCapabilities}from'ol/source/WMTS.js';import a56_0x36a993 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';function a56_0x3ecb(_0x256037,_0x1b1642){const _0x3fbd75=a56_0x3fbd();return a56_0x3ecb=function(_0x3ecbe0,_0x4c6082){_0x3ecbe0=_0x3ecbe0-0x1e8;let _0x25e672=_0x3fbd75[_0x3ecbe0];return _0x25e672;},a56_0x3ecb(_0x256037,_0x1b1642);}import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a56_0x1e9df8{constructor(_0x4c4241,_0x36baa2){const _0x3326f5=a56_0x3ecb;var _0x2b8ba9;let _0x483d96='';_0x4c4241[_0x3326f5(0x1fd)]&&_0x4c4241[_0x3326f5(0x1fd)][_0x3326f5(0x1ff)]>0x0&&(_0x483d96=_0x4c4241[_0x3326f5(0x1fd)][_0x3326f5(0x1e9)](','));const _0x33aca9=_0x3326f5(0x1f4)+_0x36baa2[_0x3326f5(0x1f7)];let _0x26f8da=registerProj(_0x33aca9);const _0x45bb1b=optionsFromCapabilities(_0x36baa2[_0x3326f5(0x1f9)],{'layer':(_0x2b8ba9=_0x4c4241[_0x3326f5(0x1fd)])===null||_0x2b8ba9===void 0x0?void 0x0:_0x2b8ba9[0x0],'matrixSet':_0x36baa2['tileMatrixSet'],'format':'image/png'});let _0x3dbe77=_0x45bb1b[_0x3326f5(0x1f3)][_0x3326f5(0x1f6)][0x0];_0x3dbe77[0x0]===0x5a&&_0x3dbe77[0x1]===-0xb4&&(_0x3dbe77=[_0x3dbe77[0x1],_0x3dbe77[0x0]]),super({'opacity':_0x4c4241['opacity'],'zIndex':_0x4c4241[_0x3326f5(0x1ed)],'source':new a56_0x329f06({'urls':_0x45bb1b[_0x3326f5(0x1fb)],'requestEncoding':_0x45bb1b[_0x3326f5(0x208)],'layer':_0x45bb1b[_0x3326f5(0x20b)],'tileLoadFunction':function(_0x433fcb,_0x180ec2){const _0x15ccd3=_0x3326f5,_0x177654=_0x4c4241[_0x15ccd3(0x1f0)]?_0x4c4241[_0x15ccd3(0x1f0)]:'';let _0x193951=getUrlParams(_0x177654);if((_0x193951===null||_0x193951===void 0x0?void 0x0:_0x193951['length'])>0x0)for(let _0x14d87f of _0x193951){_0x180ec2=addArgument(_0x180ec2,_0x14d87f['name'],_0x14d87f[_0x15ccd3(0x203)]);}let _0x3098ca=_0x180ec2[_0x15ccd3(0x1ee)](_0x15ccd3(0x1f8));_0x3098ca!==-0x1?_0x180ec2[_0x15ccd3(0x1ee)](_0x15ccd3(0x1f2))===-0x1&&_0x180ec2[_0x15ccd3(0x1ee)]('tk')===-0x1?_0x433fcb[_0x15ccd3(0x1fe)]()['src']=_0x180ec2[_0x15ccd3(0x206)]('&','?'):_0x433fcb['getImage']()['src']=_0x180ec2:_0x433fcb[_0x15ccd3(0x1fe)]()['src']=_0x180ec2;},'matrixSet':_0x45bb1b[_0x3326f5(0x1ea)],'format':_0x45bb1b[_0x3326f5(0x20d)],'projection':_0x45bb1b['projection'],'tileGrid':new a56_0x36a993({'origin':_0x3dbe77,'resolutions':_0x45bb1b[_0x3326f5(0x1f3)][_0x3326f5(0x209)](),'matrixIds':_0x45bb1b[_0x3326f5(0x1f3)][_0x3326f5(0x1ef)](),'extent':_0x36baa2[_0x3326f5(0x204)]}),'style':_0x36baa2[_0x3326f5(0x1e8)],'wrapX':!![]})}),this['id']=_0x4c4241['id'],this[_0x3326f5(0x1f1)]=_0x36baa2[_0x3326f5(0x204)],this[_0x3326f5(0x205)]=_0x26f8da,this['layerInfo']=_0x4c4241;}}
@@ -1 +1 @@
1
- (function(_0x19f497,_0x20c6f9){const _0x4e7f8a=a57_0x5b1b,_0x330b88=_0x19f497();while(!![]){try{const _0x4edd98=parseInt(_0x4e7f8a(0x20b))/0x1+parseInt(_0x4e7f8a(0x1f7))/0x2*(parseInt(_0x4e7f8a(0x1f2))/0x3)+-parseInt(_0x4e7f8a(0x1fa))/0x4+parseInt(_0x4e7f8a(0x1fb))/0x5+-parseInt(_0x4e7f8a(0x1fe))/0x6*(-parseInt(_0x4e7f8a(0x1f3))/0x7)+parseInt(_0x4e7f8a(0x1ee))/0x8+-parseInt(_0x4e7f8a(0x1ff))/0x9;if(_0x4edd98===_0x20c6f9)break;else _0x330b88['push'](_0x330b88['shift']());}catch(_0x2b71c4){_0x330b88['push'](_0x330b88['shift']());}}}(a57_0x4d6f,0x54de7));import a57_0x458855 from'ol/layer/VectorTile';import a57_0x744d2e from'ol/source/VectorTile';import a57_0x107291 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a57_0x2e5dba from'ol/tilegrid/WMTS';function a57_0x4d6f(){const _0x4eaa06=['GetTile','175290TjiXQg',':{z}','tileSizes_','1915368XICLxv','url','getResolutions','sourceXml','816hUpuRz','129829krONpQ','1.0.0','origins_','toString','5108whWUSr','boundingBoxExtent','{y}','1115516EWuMqW','692575qWASEK','sublayers','projection','186SxPshB','10767321IMuCgW','getMatrixIds','application/vnd.mapbox-vector-tile','wkid','tileGrid','image/png','EPSG:','layerInfo','WMTS','tileMatrixSet','opacity'];a57_0x4d6f=function(){return _0x4eaa06;};return a57_0x4d6f();}import{optionsFromCapabilities}from'ol/source/WMTS';function a57_0x5b1b(_0x2a23ff,_0x2029f2){const _0x4d6fca=a57_0x4d6f();return a57_0x5b1b=function(_0x5b1b4e,_0x19a37e){_0x5b1b4e=_0x5b1b4e-0x1ee;let _0x95beab=_0x4d6fca[_0x5b1b4e];return _0x95beab;},a57_0x5b1b(_0x2a23ff,_0x2029f2);}import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a57_0x458855{constructor(_0x5d717f,_0xcbc583){const _0x1d5576=a57_0x5b1b;var _0x541786;let _0x2912f6=registerProj(_0x1d5576(0x205)+_0xcbc583[_0x1d5576(0x202)]);const _0x2d0bdf=optionsFromCapabilities(_0xcbc583[_0x1d5576(0x1f1)],{'layer':(_0x541786=_0x5d717f[_0x1d5576(0x1fc)])===null||_0x541786===void 0x0?void 0x0:_0x541786[0x0],'matrixSet':_0xcbc583[_0x1d5576(0x208)],'format':_0x1d5576(0x204)});let _0x5cca2a=_0x5d717f['sublayers']&&_0x5d717f[_0x1d5576(0x1fc)]['length']>0x0?_0x5d717f[_0x1d5576(0x1fc)][0x0]:'';const _0x241899={'REQUEST':_0x1d5576(0x20a),'SERVICE':_0x1d5576(0x207),'VERSION':_0x1d5576(0x1f4),'LAYER':_0x5cca2a,'STYLE':_0xcbc583['style'][_0x1d5576(0x1f6)](),'TILEMATRIX':_0xcbc583[_0x1d5576(0x208)]+_0x1d5576(0x20c),'TILEMATRIXSET':_0xcbc583[_0x1d5576(0x208)]['toString'](),'FORMAT':_0x1d5576(0x201),'TILECOL':'{x}','TILEROW':_0x1d5576(0x1f9)};let _0x453f4f=_0x5d717f['url']?_0x5d717f[_0x1d5576(0x1ef)]:'';for(const _0x221efb in _0x241899){_0x453f4f=addArgument(_0x453f4f,_0x221efb,_0x241899[_0x221efb]);}super({'opacity':_0x5d717f[_0x1d5576(0x209)],'zIndex':_0x5d717f['mapIndex'],'declutter':!![],'source':new a57_0x744d2e({'projection':'EPSG:'+_0xcbc583[_0x1d5576(0x202)],'format':new a57_0x107291(),'wrapX':!![],'extent':_0xcbc583['boundingBoxExtent'],'tileGrid':new a57_0x2e5dba({'tileSize':_0x2d0bdf['tileGrid'][_0x1d5576(0x20d)][0x0],'origin':_0x2d0bdf['tileGrid'][_0x1d5576(0x1f5)][0x0],'resolutions':_0x2d0bdf[_0x1d5576(0x203)][_0x1d5576(0x1f0)](),'matrixIds':_0x2d0bdf[_0x1d5576(0x203)][_0x1d5576(0x200)]()}),'url':_0x453f4f})}),this['id']=_0x5d717f['id'],this['initialExtent']=_0xcbc583[_0x1d5576(0x1f8)],this[_0x1d5576(0x1fd)]=_0x2912f6,this[_0x1d5576(0x206)]=_0x5d717f;}}
1
+ (function(_0x3a2126,_0x24b13f){const _0x26b891=a57_0x34ce,_0x16ced2=_0x3a2126();while(!![]){try{const _0x120a97=-parseInt(_0x26b891(0x10d))/0x1*(-parseInt(_0x26b891(0x112))/0x2)+-parseInt(_0x26b891(0x116))/0x3*(-parseInt(_0x26b891(0x115))/0x4)+parseInt(_0x26b891(0x10a))/0x5+parseInt(_0x26b891(0x110))/0x6+-parseInt(_0x26b891(0x10b))/0x7+-parseInt(_0x26b891(0x113))/0x8*(-parseInt(_0x26b891(0x123))/0x9)+-parseInt(_0x26b891(0x11d))/0xa;if(_0x120a97===_0x24b13f)break;else _0x16ced2['push'](_0x16ced2['shift']());}catch(_0x3c7142){_0x16ced2['push'](_0x16ced2['shift']());}}}(a57_0x59cf,0x4c7d7));import a57_0x3901aa from'ol/layer/VectorTile';import a57_0x645597 from'ol/source/VectorTile';import a57_0x29281 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a57_0x2de6d4 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';function a57_0x59cf(){const _0x388c8d=['4mhLhuT','image/png','url','2327340jDWVOQ','wkid','110210SIkluF','8PZSzbm','getMatrixIds','815944TLpkWB','9GRGCtx','initialExtent','mapIndex','projection','tileGrid','origins_','sourceXml','12791280KxGzJh','sublayers','toString','layerInfo','{y}','application/vnd.mapbox-vector-tile','922779EnhbLd','boundingBoxExtent','length','tileMatrixSet','{x}','EPSG:','WMTS','2112285Wizvik','1069775MVTXSL',':{z}'];a57_0x59cf=function(){return _0x388c8d;};return a57_0x59cf();}function a57_0x34ce(_0x42baf4,_0x3a2ee0){const _0x59cff0=a57_0x59cf();return a57_0x34ce=function(_0x34ce15,_0x16c204){_0x34ce15=_0x34ce15-0x104;let _0x298d08=_0x59cff0[_0x34ce15];return _0x298d08;},a57_0x34ce(_0x42baf4,_0x3a2ee0);}import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a57_0x3901aa{constructor(_0x1b02b6,_0x2fabea){const _0x42bf72=a57_0x34ce;var _0x418de4;let _0xd9cd2a=registerProj('EPSG:'+_0x2fabea[_0x42bf72(0x111)]);const _0x39bc03=optionsFromCapabilities(_0x2fabea[_0x42bf72(0x11c)],{'layer':(_0x418de4=_0x1b02b6[_0x42bf72(0x11e)])===null||_0x418de4===void 0x0?void 0x0:_0x418de4[0x0],'matrixSet':_0x2fabea['tileMatrixSet'],'format':_0x42bf72(0x10e)});let _0x4f384f=_0x1b02b6[_0x42bf72(0x11e)]&&_0x1b02b6['sublayers'][_0x42bf72(0x105)]>0x0?_0x1b02b6[_0x42bf72(0x11e)][0x0]:'';const _0x49f6e7={'REQUEST':'GetTile','SERVICE':_0x42bf72(0x109),'VERSION':'1.0.0','LAYER':_0x4f384f,'STYLE':_0x2fabea['style'][_0x42bf72(0x11f)](),'TILEMATRIX':_0x2fabea[_0x42bf72(0x106)]+_0x42bf72(0x10c),'TILEMATRIXSET':_0x2fabea[_0x42bf72(0x106)][_0x42bf72(0x11f)](),'FORMAT':_0x42bf72(0x122),'TILECOL':_0x42bf72(0x107),'TILEROW':_0x42bf72(0x121)};let _0x126635=_0x1b02b6[_0x42bf72(0x10f)]?_0x1b02b6['url']:'';for(const _0x4886e9 in _0x49f6e7){_0x126635=addArgument(_0x126635,_0x4886e9,_0x49f6e7[_0x4886e9]);}super({'opacity':_0x1b02b6['opacity'],'zIndex':_0x1b02b6[_0x42bf72(0x118)],'declutter':!![],'source':new a57_0x645597({'projection':_0x42bf72(0x108)+_0x2fabea[_0x42bf72(0x111)],'format':new a57_0x29281(),'wrapX':!![],'extent':_0x2fabea['boundingBoxExtent'],'tileGrid':new a57_0x2de6d4({'tileSize':_0x39bc03[_0x42bf72(0x11a)]['tileSizes_'][0x0],'origin':_0x39bc03[_0x42bf72(0x11a)][_0x42bf72(0x11b)][0x0],'resolutions':_0x39bc03['tileGrid']['getResolutions'](),'matrixIds':_0x39bc03[_0x42bf72(0x11a)][_0x42bf72(0x114)]()}),'url':_0x126635})}),this['id']=_0x1b02b6['id'],this[_0x42bf72(0x117)]=_0x2fabea[_0x42bf72(0x104)],this[_0x42bf72(0x119)]=_0xd9cd2a,this[_0x42bf72(0x120)]=_0x1b02b6;}}
@@ -1 +1 @@
1
- const a58_0x345487=a58_0xc6f1;(function(_0x3a5da2,_0x255c8d){const _0x238aa2=a58_0xc6f1,_0x363617=_0x3a5da2();while(!![]){try{const _0x143442=-parseInt(_0x238aa2(0x11c))/0x1+-parseInt(_0x238aa2(0x120))/0x2+-parseInt(_0x238aa2(0x126))/0x3+-parseInt(_0x238aa2(0x130))/0x4*(-parseInt(_0x238aa2(0x111))/0x5)+-parseInt(_0x238aa2(0x11a))/0x6+parseInt(_0x238aa2(0x115))/0x7+parseInt(_0x238aa2(0x128))/0x8;if(_0x143442===_0x255c8d)break;else _0x363617['push'](_0x363617['shift']());}catch(_0x23eb8c){_0x363617['push'](_0x363617['shift']());}}}(a58_0xef8e,0x92602));import a58_0x43d96e from'ol/source/Vector';function a58_0xef8e(){const _0x4324ff=['param','mapIndex','getCode','827264btCyZA','apply','length','fieldType','layerFields','string','1492635dDbiIy','type','20199256MDptmz','getSource','then','loadFilter','greaterThanOrEqualTo','initialExtent','initExtent','writeGetFeature','4iDznrq','push','param字段不存在','addFeatures','notEqualTo','readFeatures','url','warn','and','name','not','catch','find','equalTo','713555IJWusy','EPSG:','wkid','parseFilter','1107449LgeKuA','filter','greaterThan','type字段不存在','application/json','3935436UJpoPQ','lessThanOrEqualTo','659188ZUVuPZ'];a58_0xef8e=function(){return _0x4324ff;};return a58_0xef8e();}import a58_0x1fdf45 from'ol/format/GeoJSON';import{Vector as a58_0x864c67}from'ol/layer';import a58_0x4d6c9b from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a58_0x77321b from'../utils/format/CQL';import*as a58_0x2e0e97 from'ol/format/filter';function a58_0xc6f1(_0x215e1d,_0x399d9f){const _0xef8ec9=a58_0xef8e();return a58_0xc6f1=function(_0xc6f14a,_0x38c199){_0xc6f14a=_0xc6f14a-0x10f;let _0x59f8c4=_0xef8ec9[_0xc6f14a];return _0x59f8c4;},a58_0xc6f1(_0x215e1d,_0x399d9f);}export default class GeoserverWFSLayer extends a58_0x864c67{constructor(_0x28f27c,_0x53b6ee){const _0x8bb7c1=a58_0xc6f1;let _0x2b4629=registerProj(_0x8bb7c1(0x112)+_0x53b6ee[_0x8bb7c1(0x113)]);const _0x3c2780=_0x53b6ee[_0x8bb7c1(0x124)][_0x8bb7c1(0x10f)](_0x40cffe=>_0x40cffe[_0x8bb7c1(0x123)]==0x6);super({'zIndex':_0x28f27c[_0x8bb7c1(0x11e)],'source':new a58_0x43d96e({'format':new a58_0x1fdf45(),'loader':(_0x20b05e,_0x51f171,_0xbe5fec,_0x407f7d,_0x11a230)=>{const _0x5ec1b6=_0x8bb7c1;let _0x366cb2=_0x28f27c[_0x5ec1b6(0x12b)],_0x348a98={'srsName':_0xbe5fec[_0x5ec1b6(0x11f)](),'featureTypes':_0x28f27c['sublayers'],'bbox':_0x20b05e,'geometryName':_0x3c2780?_0x3c2780[_0x5ec1b6(0x139)]:'','outputFormat':_0x5ec1b6(0x119)};_0x366cb2&&(typeof _0x366cb2===_0x5ec1b6(0x125)?_0x348a98[_0x5ec1b6(0x116)]=new a58_0x77321b()['read'](_0x366cb2):_0x348a98['filter']=this[_0x5ec1b6(0x114)](_0x366cb2));var _0x5682f5=new a58_0x4d6c9b()[_0x5ec1b6(0x12f)](_0x348a98);let _0xae07cb=_0x28f27c['url']?_0x28f27c[_0x5ec1b6(0x136)]:'';fetch(_0xae07cb,{'method':'POST','body':new XMLSerializer()['serializeToString'](_0x5682f5)})[_0x5ec1b6(0x12a)](_0x58bd05=>{return _0x58bd05['json']();})[_0x5ec1b6(0x12a)](_0x450c5c=>{const _0x1e5af2=_0x5ec1b6,_0x287a66=new a58_0x1fdf45()[_0x1e5af2(0x135)](_0x450c5c);let _0x439805=this[_0x1e5af2(0x129)]();_0x439805&&_0x439805[_0x1e5af2(0x133)](_0x287a66);if(_0x407f7d)_0x407f7d(_0x287a66);})[_0x5ec1b6(0x13b)](()=>{const _0x1e6ed9=_0x5ec1b6;let _0x426a17=this[_0x1e6ed9(0x129)]();_0x426a17&&_0x426a17['removeLoadedExtent'](_0x20b05e);if(_0x11a230)_0x11a230();});},'strategy':bbox})}),this['id']=_0x28f27c['id'],this[_0x8bb7c1(0x12d)]=_0x53b6ee[_0x8bb7c1(0x12e)],this['projection']=_0x2b4629,this['layerInfo']=_0x28f27c;}[a58_0x345487(0x114)](_0xb0af7){const _0x34d096=a58_0x345487;if(!_0xb0af7[_0x34d096(0x127)]){console[_0x34d096(0x137)](_0x34d096(0x118));return;}if(!_0xb0af7[_0x34d096(0x11d)]){console['warn'](_0x34d096(0x132));return;}let _0x3358d1=[];switch(_0xb0af7[_0x34d096(0x127)]['toLowerCase']()){case _0x34d096(0x138):for(let _0x2c6fec=0x0;_0x2c6fec<_0xb0af7[_0x34d096(0x11d)][_0x34d096(0x122)];_0x2c6fec++){let _0x133ec2=this['parseFilter'](_0xb0af7[_0x34d096(0x11d)][_0x2c6fec]);_0x3358d1[_0x34d096(0x131)](_0x133ec2);}return a58_0x2e0e97[_0x34d096(0x138)][_0x34d096(0x121)](null,_0x3358d1);case'or':for(let _0x8399d4=0x0;_0x8399d4<_0xb0af7[_0x34d096(0x11d)][_0x34d096(0x122)];_0x8399d4++){let _0x3f15d7=this['parseFilter'](_0xb0af7[_0x34d096(0x11d)][_0x8399d4]);_0x3358d1['push'](_0x3f15d7);}return a58_0x2e0e97['or']['apply'](null,_0x3358d1);case _0x34d096(0x13a):for(let _0x1f5200=0x0;_0x1f5200<_0xb0af7[_0x34d096(0x11d)][_0x34d096(0x122)];_0x1f5200++){let _0x16696c=this[_0x34d096(0x114)](_0xb0af7[_0x34d096(0x11d)][_0x1f5200]);_0x3358d1[_0x34d096(0x131)](_0x16696c);}return a58_0x2e0e97[_0x34d096(0x13a)][_0x34d096(0x121)](null,_0x3358d1);case'=':return a58_0x2e0e97[_0x34d096(0x110)](_0xb0af7[_0x34d096(0x11d)][0x0],_0xb0af7['param'][0x1]);case'!==':return a58_0x2e0e97[_0x34d096(0x134)](_0xb0af7['param'][0x0],_0xb0af7['param'][0x1]);case'>':return a58_0x2e0e97[_0x34d096(0x117)](_0xb0af7[_0x34d096(0x11d)][0x0],_0xb0af7[_0x34d096(0x11d)][0x1]);case'<':return a58_0x2e0e97['lessThan'](_0xb0af7[_0x34d096(0x11d)][0x0],_0xb0af7[_0x34d096(0x11d)][0x1]);case'>=':return a58_0x2e0e97[_0x34d096(0x12c)](_0xb0af7[_0x34d096(0x11d)][0x0],_0xb0af7[_0x34d096(0x11d)][0x1]);case'<=':return a58_0x2e0e97[_0x34d096(0x11b)](_0xb0af7['param'][0x0],_0xb0af7[_0x34d096(0x11d)][0x1]);case'between':return a58_0x2e0e97['between'](_0xb0af7[_0x34d096(0x11d)][0x0],_0xb0af7[_0x34d096(0x11d)][0x1],_0xb0af7['param'][0x2]);}}}
1
+ function a58_0x3da8(_0x3da16f,_0x10647d){const _0x59ba80=a58_0x59ba();return a58_0x3da8=function(_0x3da812,_0x131646){_0x3da812=_0x3da812-0x132;let _0x34c108=_0x59ba80[_0x3da812];return _0x34c108;},a58_0x3da8(_0x3da16f,_0x10647d);}const a58_0x3c834b=a58_0x3da8;(function(_0x22eaa7,_0x25f822){const _0x62c52c=a58_0x3da8,_0x2a3698=_0x22eaa7();while(!![]){try{const _0x1f2e7a=parseInt(_0x62c52c(0x160))/0x1+parseInt(_0x62c52c(0x15b))/0x2*(-parseInt(_0x62c52c(0x138))/0x3)+parseInt(_0x62c52c(0x163))/0x4*(parseInt(_0x62c52c(0x145))/0x5)+parseInt(_0x62c52c(0x164))/0x6*(parseInt(_0x62c52c(0x155))/0x7)+parseInt(_0x62c52c(0x144))/0x8+-parseInt(_0x62c52c(0x166))/0x9+-parseInt(_0x62c52c(0x15f))/0xa*(parseInt(_0x62c52c(0x14a))/0xb);if(_0x1f2e7a===_0x25f822)break;else _0x2a3698['push'](_0x2a3698['shift']());}catch(_0x29076b){_0x2a3698['push'](_0x2a3698['shift']());}}}(a58_0x59ba,0x7c7fe));import a58_0x29a5fc from'ol/source/Vector';import a58_0x278d21 from'ol/format/GeoJSON';import{Vector as a58_0x2140e8}from'ol/layer';import a58_0x1955bf from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a58_0x3016 from'../utils/format/CQL';function a58_0x59ba(){const _0x5df048=['lessThanOrEqualTo','getSource','55504esXIDZ','5499210yvYQwa','EPSG:','2413746GIrJSc','string','json','parseFilter','application/json','and','apply','notEqualTo','url','1363731oHbGep','initExtent','loadFilter','filter','length','sublayers','between','readFeatures','then','catch','read','warn','5347880ArgorM','85HyCdVO','push','removeLoadedExtent','toLowerCase','param','331089qRjRfe','serializeToString','fieldType','type','name','initialExtent','wkid','equalTo','greaterThanOrEqualTo','find','writeGetFeature','7KcgIbh','!==','lessThan','getCode','addFeatures','layerFields','4KPdzga','not','type字段不存在','POST','180DqIEqc','408168vkqViO'];a58_0x59ba=function(){return _0x5df048;};return a58_0x59ba();}import*as a58_0x53bc6f from'ol/format/filter';export default class GeoserverWFSLayer extends a58_0x2140e8{constructor(_0x47436b,_0xd3c854){const _0x959fe1=a58_0x3da8;let _0x1db04c=registerProj(_0x959fe1(0x165)+_0xd3c854[_0x959fe1(0x150)]);const _0x1b28ea=_0xd3c854[_0x959fe1(0x15a)][_0x959fe1(0x153)](_0x4cb027=>_0x4cb027[_0x959fe1(0x14c)]==0x6);super({'zIndex':_0x47436b['mapIndex'],'source':new a58_0x29a5fc({'format':new a58_0x278d21(),'loader':(_0x533c11,_0x3dfd46,_0xedfb9,_0x171b08,_0x89abdf)=>{const _0x2a6985=_0x959fe1;let _0x22ebeb=_0x47436b[_0x2a6985(0x13a)],_0x10e975={'srsName':_0xedfb9[_0x2a6985(0x158)](),'featureTypes':_0x47436b[_0x2a6985(0x13d)],'bbox':_0x533c11,'geometryName':_0x1b28ea?_0x1b28ea[_0x2a6985(0x14e)]:'','outputFormat':_0x2a6985(0x133)};_0x22ebeb&&(typeof _0x22ebeb===_0x2a6985(0x167)?_0x10e975[_0x2a6985(0x13b)]=new a58_0x3016()[_0x2a6985(0x142)](_0x22ebeb):_0x10e975[_0x2a6985(0x13b)]=this[_0x2a6985(0x132)](_0x22ebeb));var _0x19f056=new a58_0x1955bf()[_0x2a6985(0x154)](_0x10e975);let _0x22b276=_0x47436b['url']?_0x47436b[_0x2a6985(0x137)]:'';fetch(_0x22b276,{'method':_0x2a6985(0x15e),'body':new XMLSerializer()[_0x2a6985(0x14b)](_0x19f056)})[_0x2a6985(0x140)](_0x5236fe=>{const _0x13064c=_0x2a6985;return _0x5236fe[_0x13064c(0x168)]();})[_0x2a6985(0x140)](_0x59641f=>{const _0xdd1782=_0x2a6985,_0x5e79ea=new a58_0x278d21()[_0xdd1782(0x13f)](_0x59641f);let _0x1b17db=this[_0xdd1782(0x162)]();_0x1b17db&&_0x1b17db[_0xdd1782(0x159)](_0x5e79ea);if(_0x171b08)_0x171b08(_0x5e79ea);})[_0x2a6985(0x141)](()=>{const _0x5e42c5=_0x2a6985;let _0x1ae43e=this[_0x5e42c5(0x162)]();_0x1ae43e&&_0x1ae43e[_0x5e42c5(0x147)](_0x533c11);if(_0x89abdf)_0x89abdf();});},'strategy':bbox})}),this['id']=_0x47436b['id'],this[_0x959fe1(0x14f)]=_0xd3c854[_0x959fe1(0x139)],this['projection']=_0x1db04c,this['layerInfo']=_0x47436b;}[a58_0x3c834b(0x132)](_0xc1b352){const _0x547534=a58_0x3c834b;if(!_0xc1b352[_0x547534(0x14d)]){console[_0x547534(0x143)](_0x547534(0x15d));return;}if(!_0xc1b352[_0x547534(0x149)]){console['warn']('param字段不存在');return;}let _0x122130=[];switch(_0xc1b352[_0x547534(0x14d)][_0x547534(0x148)]()){case _0x547534(0x134):for(let _0x1c923c=0x0;_0x1c923c<_0xc1b352[_0x547534(0x149)][_0x547534(0x13c)];_0x1c923c++){let _0x4fd5a7=this[_0x547534(0x132)](_0xc1b352[_0x547534(0x149)][_0x1c923c]);_0x122130['push'](_0x4fd5a7);}return a58_0x53bc6f[_0x547534(0x134)][_0x547534(0x135)](null,_0x122130);case'or':for(let _0x5dd972=0x0;_0x5dd972<_0xc1b352[_0x547534(0x149)][_0x547534(0x13c)];_0x5dd972++){let _0x47eb34=this['parseFilter'](_0xc1b352['param'][_0x5dd972]);_0x122130[_0x547534(0x146)](_0x47eb34);}return a58_0x53bc6f['or'][_0x547534(0x135)](null,_0x122130);case _0x547534(0x15c):for(let _0x41971d=0x0;_0x41971d<_0xc1b352[_0x547534(0x149)][_0x547534(0x13c)];_0x41971d++){let _0xfb8064=this['parseFilter'](_0xc1b352[_0x547534(0x149)][_0x41971d]);_0x122130[_0x547534(0x146)](_0xfb8064);}return a58_0x53bc6f['not'][_0x547534(0x135)](null,_0x122130);case'=':return a58_0x53bc6f[_0x547534(0x151)](_0xc1b352[_0x547534(0x149)][0x0],_0xc1b352[_0x547534(0x149)][0x1]);case _0x547534(0x156):return a58_0x53bc6f[_0x547534(0x136)](_0xc1b352[_0x547534(0x149)][0x0],_0xc1b352[_0x547534(0x149)][0x1]);case'>':return a58_0x53bc6f['greaterThan'](_0xc1b352['param'][0x0],_0xc1b352[_0x547534(0x149)][0x1]);case'<':return a58_0x53bc6f[_0x547534(0x157)](_0xc1b352['param'][0x0],_0xc1b352[_0x547534(0x149)][0x1]);case'>=':return a58_0x53bc6f[_0x547534(0x152)](_0xc1b352[_0x547534(0x149)][0x0],_0xc1b352['param'][0x1]);case'<=':return a58_0x53bc6f[_0x547534(0x161)](_0xc1b352[_0x547534(0x149)][0x0],_0xc1b352[_0x547534(0x149)][0x1]);case _0x547534(0x13e):return a58_0x53bc6f['between'](_0xc1b352[_0x547534(0x149)][0x0],_0xc1b352[_0x547534(0x149)][0x1],_0xc1b352[_0x547534(0x149)][0x2]);}}}
@@ -1 +1 @@
1
- (function(_0x66f05c,_0x33b845){const _0x32a889=a59_0x41d8,_0x55763c=_0x66f05c();while(!![]){try{const _0x1a7b3f=parseInt(_0x32a889(0x16e))/0x1+-parseInt(_0x32a889(0x15f))/0x2*(-parseInt(_0x32a889(0x15a))/0x3)+-parseInt(_0x32a889(0x163))/0x4*(-parseInt(_0x32a889(0x16f))/0x5)+-parseInt(_0x32a889(0x164))/0x6+parseInt(_0x32a889(0x16d))/0x7*(-parseInt(_0x32a889(0x15e))/0x8)+parseInt(_0x32a889(0x15b))/0x9+-parseInt(_0x32a889(0x168))/0xa;if(_0x1a7b3f===_0x33b845)break;else _0x55763c['push'](_0x55763c['shift']());}catch(_0x217733){_0x55763c['push'](_0x55763c['shift']());}}}(a59_0x287b,0x2ffad));import{ImageWMS as a59_0x1e6004}from'ol/source';import{Image as a59_0x195c41}from'ol/layer';function a59_0x41d8(_0x3b143f,_0x11e95b){const _0x287b98=a59_0x287b();return a59_0x41d8=function(_0x41d805,_0x293b8c){_0x41d805=_0x41d805-0x15a;let _0xace9c1=_0x287b98[_0x41d805];return _0xace9c1;},a59_0x41d8(_0x3b143f,_0x11e95b);}import{registerProj}from'../utils/RegisterProjUtil';function a59_0x287b(){const _0x4af5c2=['6437560TDAgnn','url','loadFilter','layerInfo','EPSG:','1721006tglRgA','360492RhGsQG','785485IscMZY','join','2391JtdLXB','3124746sJYFMA','mapIndex','projection','8YpVTAl','686mFTWOw','getSource','sublayers','updateParams','8yLGntb','1254672mGlzbg','anonymous','initExtent','wkid'];a59_0x287b=function(){return _0x4af5c2;};return a59_0x287b();}export default class GeoserverWMSLayer extends a59_0x195c41{constructor(_0x588bdc,_0x5d3d77){const _0x18156c=a59_0x41d8;var _0x219498;let _0x2136ce=registerProj(_0x18156c(0x16c)+_0x5d3d77[_0x18156c(0x167)]),_0x3960ac={'LAYERS':(_0x219498=_0x588bdc[_0x18156c(0x161)])===null||_0x219498===void 0x0?void 0x0:_0x219498[_0x18156c(0x170)](','),'VERSION':'1.1.0'};_0x588bdc[_0x18156c(0x16a)]&&(_0x3960ac['CQL_FILTER']=_0x588bdc['loadFilter']),super({'opacity':_0x588bdc['opacity'],'zIndex':_0x588bdc[_0x18156c(0x15c)],'source':new a59_0x1e6004({'crossOrigin':_0x18156c(0x165),'url':_0x588bdc[_0x18156c(0x169)],'params':_0x3960ac})}),this['id']=_0x588bdc['id'],this['initialExtent']=_0x5d3d77[_0x18156c(0x166)],this[_0x18156c(0x15d)]=_0x2136ce,this[_0x18156c(0x16b)]=_0x588bdc;}['refresh'](){}['setFilter'](_0x2472b1){const _0x139981=a59_0x41d8;var _0x3c725f;(_0x3c725f=this[_0x139981(0x160)]())===null||_0x3c725f===void 0x0?void 0x0:_0x3c725f[_0x139981(0x162)]({'CQL_FILTER':_0x2472b1});}}
1
+ function a59_0x3c46(){const _0x59b91b=['opacity','4ZsdbWi','1.1.0','loadFilter','135261HRbhjd','2177786nPnTsm','wkid','342664USRXUM','96FVsnmy','initExtent','10EYCfNr','6GFWbNU','99aWezkO','6429185hKnhzN','join','initialExtent','17521955UDxuZY','sublayers','EPSG:','1071YQbXxA','url','anonymous','CQL_FILTER','128749eugpGu','projection','412FFhdUr'];a59_0x3c46=function(){return _0x59b91b;};return a59_0x3c46();}(function(_0x25eae3,_0x263e61){const _0x4cbd5c=a59_0x1de5,_0x35074a=_0x25eae3();while(!![]){try{const _0x281912=parseInt(_0x4cbd5c(0x7b))/0x1*(-parseInt(_0x4cbd5c(0x7f))/0x2)+-parseInt(_0x4cbd5c(0x77))/0x3*(parseInt(_0x4cbd5c(0x7d))/0x4)+-parseInt(_0x4cbd5c(0x71))/0x5*(parseInt(_0x4cbd5c(0x89))/0x6)+-parseInt(_0x4cbd5c(0x82))/0x7+-parseInt(_0x4cbd5c(0x85))/0x8*(parseInt(_0x4cbd5c(0x70))/0x9)+parseInt(_0x4cbd5c(0x88))/0xa*(parseInt(_0x4cbd5c(0x74))/0xb)+parseInt(_0x4cbd5c(0x86))/0xc*(parseInt(_0x4cbd5c(0x83))/0xd);if(_0x281912===_0x263e61)break;else _0x35074a['push'](_0x35074a['shift']());}catch(_0x363eac){_0x35074a['push'](_0x35074a['shift']());}}}(a59_0x3c46,0xd2919));import{ImageWMS as a59_0x57260b}from'ol/source';function a59_0x1de5(_0xca6691,_0x340c93){const _0x3c464e=a59_0x3c46();return a59_0x1de5=function(_0x1de5da,_0x43d808){_0x1de5da=_0x1de5da-0x70;let _0x2c7d0b=_0x3c464e[_0x1de5da];return _0x2c7d0b;},a59_0x1de5(_0xca6691,_0x340c93);}import{Image as a59_0x404d8d}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a59_0x404d8d{constructor(_0x3e63bf,_0x59cea6){const _0x36b557=a59_0x1de5;var _0x59b343;let _0x3460dd=registerProj(_0x36b557(0x76)+_0x59cea6[_0x36b557(0x84)]),_0x20059a={'LAYERS':(_0x59b343=_0x3e63bf[_0x36b557(0x75)])===null||_0x59b343===void 0x0?void 0x0:_0x59b343[_0x36b557(0x72)](','),'VERSION':_0x36b557(0x80)};_0x3e63bf['loadFilter']&&(_0x20059a[_0x36b557(0x7a)]=_0x3e63bf[_0x36b557(0x81)]),super({'opacity':_0x3e63bf[_0x36b557(0x7e)],'zIndex':_0x3e63bf['mapIndex'],'source':new a59_0x57260b({'crossOrigin':_0x36b557(0x79),'url':_0x3e63bf[_0x36b557(0x78)],'params':_0x20059a})}),this['id']=_0x3e63bf['id'],this[_0x36b557(0x73)]=_0x59cea6[_0x36b557(0x87)],this[_0x36b557(0x7c)]=_0x3460dd,this['layerInfo']=_0x3e63bf;}['refresh'](){}['setFilter'](_0x30f5a8){var _0x4ab62c;(_0x4ab62c=this['getSource']())===null||_0x4ab62c===void 0x0?void 0x0:_0x4ab62c['updateParams']({'CQL_FILTER':_0x30f5a8});}}
@@ -1 +1 @@
1
- (function(_0x4291a6,_0x3f1d55){const _0x366f17=a60_0x4f55,_0x42d973=_0x4291a6();while(!![]){try{const _0x1cdb73=-parseInt(_0x366f17(0x89))/0x1*(parseInt(_0x366f17(0x81))/0x2)+-parseInt(_0x366f17(0x8e))/0x3+-parseInt(_0x366f17(0x80))/0x4*(-parseInt(_0x366f17(0x83))/0x5)+-parseInt(_0x366f17(0x7c))/0x6+-parseInt(_0x366f17(0x86))/0x7*(parseInt(_0x366f17(0x88))/0x8)+parseInt(_0x366f17(0x85))/0x9+parseInt(_0x366f17(0x8d))/0xa;if(_0x1cdb73===_0x3f1d55)break;else _0x42d973['push'](_0x42d973['shift']());}catch(_0x2421a0){_0x42d973['push'](_0x42d973['shift']());}}}(a60_0x1129,0x1b704));import a60_0x387073 from'ol/layer/Tile';function a60_0x4f55(_0x3b82da,_0x180604){const _0x1129f4=a60_0x1129();return a60_0x4f55=function(_0x4f55fe,_0x45c75d){_0x4f55fe=_0x4f55fe-0x7a;let _0x55fd87=_0x1129f4[_0x4f55fe];return _0x55fd87;},a60_0x4f55(_0x3b82da,_0x180604);}import a60_0x5594dd,{optionsFromCapabilities}from'ol/source/WMTS.js';function a60_0x1129(){const _0x44b5a5=['opacity','EPSG:','projection','layerInfo','解析元数据失败','161460agjGol','sourceXml','initialExtent','tileMatrixSet','664cxIeUS','192614zdICxD','mapIndex','3715CgeAzu','image/png','281448XKgczz','1069922XKVToW','sublayers','8OyDLQt','1ptitYu','wkid','未找到投影信息','boundingBoxExtent','4178090gmTisg','551904MvqaJG'];a60_0x1129=function(){return _0x44b5a5;};return a60_0x1129();}import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a60_0x387073{constructor(_0x3c3202,_0x451d85){const _0x1012c8=a60_0x4f55;var _0x11db22;const _0x2543ec=_0x1012c8(0x90)+_0x451d85[_0x1012c8(0x8a)];let _0x2514b2=registerProj(_0x2543ec);if(!_0x2514b2)throw new Error(_0x1012c8(0x8b));const _0x4d8531=optionsFromCapabilities(_0x451d85[_0x1012c8(0x7d)],{'layer':(_0x11db22=_0x3c3202[_0x1012c8(0x87)])===null||_0x11db22===void 0x0?void 0x0:_0x11db22[0x0],'matrixSet':_0x451d85[_0x1012c8(0x7f)],'format':_0x1012c8(0x84)});if(!_0x4d8531)throw new Error(_0x1012c8(0x7b));super({'opacity':_0x3c3202[_0x1012c8(0x8f)],'zIndex':_0x3c3202[_0x1012c8(0x82)],'source':new a60_0x5594dd(_0x4d8531)}),this['id']=_0x3c3202['id'],this[_0x1012c8(0x7e)]=_0x451d85[_0x1012c8(0x8c)],this[_0x1012c8(0x91)]=_0x2514b2,this[_0x1012c8(0x7a)]=_0x3c3202;}}
1
+ (function(_0x404e3f,_0x5d0a33){const _0x3207da=a60_0x1b54,_0x305edd=_0x404e3f();while(!![]){try{const _0x103b2a=parseInt(_0x3207da(0x158))/0x1*(-parseInt(_0x3207da(0x164))/0x2)+-parseInt(_0x3207da(0x159))/0x3+parseInt(_0x3207da(0x15d))/0x4+parseInt(_0x3207da(0x165))/0x5*(-parseInt(_0x3207da(0x163))/0x6)+-parseInt(_0x3207da(0x16d))/0x7+parseInt(_0x3207da(0x15e))/0x8+-parseInt(_0x3207da(0x160))/0x9*(-parseInt(_0x3207da(0x166))/0xa);if(_0x103b2a===_0x5d0a33)break;else _0x305edd['push'](_0x305edd['shift']());}catch(_0x3774bc){_0x305edd['push'](_0x305edd['shift']());}}}(a60_0x2531,0xb1c7b));import a60_0x1baa4f from'ol/layer/Tile';import a60_0x1e9648,{optionsFromCapabilities}from'ol/source/WMTS.js';function a60_0x1b54(_0x21eb33,_0x16fe2d){const _0x253152=a60_0x2531();return a60_0x1b54=function(_0x1b5445,_0x110a8a){_0x1b5445=_0x1b5445-0x158;let _0x32b917=_0x253152[_0x1b5445];return _0x32b917;},a60_0x1b54(_0x21eb33,_0x16fe2d);}import{registerProj}from'../utils/RegisterProjUtil';function a60_0x2531(){const _0x1128d0=['未找到投影信息','wkid','5511164OneIYG','2703392Woeqon','tileMatrixSet','90LndACk','opacity','sourceXml','950778QtkDbS','963466hmRHGc','45zLjjSs','2762710cSqUPP','EPSG:','image/png','initialExtent','layerInfo','mapIndex','解析元数据失败','9716308BQlQEg','1twOtoA','1362882rSpOQw','sublayers'];a60_0x2531=function(){return _0x1128d0;};return a60_0x2531();}export default class GeoserverWMTSLayer extends a60_0x1baa4f{constructor(_0x590922,_0x1d5ea0){const _0x3a5ada=a60_0x1b54;var _0x47a573;const _0x4136fb=_0x3a5ada(0x167)+_0x1d5ea0[_0x3a5ada(0x15c)];let _0x3994cb=registerProj(_0x4136fb);if(!_0x3994cb)throw new Error(_0x3a5ada(0x15b));const _0x2ddf61=optionsFromCapabilities(_0x1d5ea0[_0x3a5ada(0x162)],{'layer':(_0x47a573=_0x590922[_0x3a5ada(0x15a)])===null||_0x47a573===void 0x0?void 0x0:_0x47a573[0x0],'matrixSet':_0x1d5ea0[_0x3a5ada(0x15f)],'format':_0x3a5ada(0x168)});if(!_0x2ddf61)throw new Error(_0x3a5ada(0x16c));super({'opacity':_0x590922[_0x3a5ada(0x161)],'zIndex':_0x590922[_0x3a5ada(0x16b)],'source':new a60_0x1e9648(_0x2ddf61)}),this['id']=_0x590922['id'],this[_0x3a5ada(0x169)]=_0x1d5ea0['boundingBoxExtent'],this['projection']=_0x3994cb,this[_0x3a5ada(0x16a)]=_0x590922;}}
@@ -1 +1 @@
1
- const a62_0x45949d=a62_0x1a9e;(function(_0xf50b7e,_0x91908b){const _0x29d9af=a62_0x1a9e,_0x33ad79=_0xf50b7e();while(!![]){try{const _0x25e4f8=parseInt(_0x29d9af(0x1f9))/0x1*(-parseInt(_0x29d9af(0x1f6))/0x2)+parseInt(_0x29d9af(0x1f8))/0x3*(parseInt(_0x29d9af(0x1fd))/0x4)+parseInt(_0x29d9af(0x201))/0x5*(parseInt(_0x29d9af(0x1fc))/0x6)+parseInt(_0x29d9af(0x203))/0x7+-parseInt(_0x29d9af(0x207))/0x8*(-parseInt(_0x29d9af(0x202))/0x9)+parseInt(_0x29d9af(0x204))/0xa+-parseInt(_0x29d9af(0x1fa))/0xb;if(_0x25e4f8===_0x91908b)break;else _0x33ad79['push'](_0x33ad79['shift']());}catch(_0x39fbda){_0x33ad79['push'](_0x33ad79['shift']());}}}(a62_0x5297,0xa6d0b));import a62_0x417a76 from'./ArcgisDynamicLayer';import a62_0x32ebcd from'./ArcgisFeatureLayer';function a62_0x1a9e(_0x21e62f,_0x2aa407){const _0x529726=a62_0x5297();return a62_0x1a9e=function(_0x1a9e13,_0x1fb569){_0x1a9e13=_0x1a9e13-0x1f2;let _0x8a3b1=_0x529726[_0x1a9e13];return _0x8a3b1;},a62_0x1a9e(_0x21e62f,_0x2aa407);}import a62_0xa96c57 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';function a62_0x5297(){const _0xe0412c=['getTileLayer','push','getArcgisWmsLayer','getGeoserverWFSLayer','17002UBOsuS','getArcgisTileLayer','9oRiqcX','1cXMVIt','24774827vmragk','sublayers','40758tLentF','46572ttgYzI','getDynamicLayer','getArcgisWMTSLayer','url','530wqsOED','9oUCRfj','2786413IoZtKK','12030560cSAoJs','getTDTLayer','getArcgisFeatureLayer','4703448YuQcIg','getGeoserverWmsLayer','length'];a62_0x5297=function(){return _0xe0412c;};return a62_0x5297();}import a62_0x824e33 from'./ArcgisTileLayer';import a62_0x4d0ad8 from'./GeoserverWMSLayer';import a62_0x5dd86a from'./GeoserverWMTSLayer';import a62_0x5e192a from'./ArcgisWMSLayer';import a62_0x100874 from'./ArcgisWMTSLayer';import a62_0x39a680 from'./GeoserverWFSLayer';import a62_0x48302d from'./GeoserverVectorTile';import a62_0x2abf92 from'./MapTileLayer';export default class LayerManagement{static async[a62_0x45949d(0x1fe)](_0x17b518){const _0x4d89e2=a62_0x45949d,_0x2f54fd=await getDynamicLayerInfo(_0x17b518[_0x4d89e2(0x200)]?_0x17b518[_0x4d89e2(0x200)]:'');let _0x357d9c=new a62_0x417a76(_0x17b518,_0x2f54fd);return _0x357d9c;}static async[a62_0x45949d(0x1f7)](_0x56f7e2){const _0x558490=a62_0x45949d,_0x1070b4=await getDynamicLayerInfo(_0x56f7e2[_0x558490(0x200)]?_0x56f7e2[_0x558490(0x200)]:'');let _0x524625=new a62_0x824e33(_0x56f7e2,_0x1070b4);return _0x524625;}static async[a62_0x45949d(0x206)](_0x4212e7){const _0x39696c=a62_0x45949d,_0x355dff=await getDynamicLayerInfo(_0x4212e7[_0x39696c(0x200)]?_0x4212e7[_0x39696c(0x200)]:'');let _0x3de715=[];if(_0x4212e7[_0x39696c(0x1fb)])for(let _0x46da2e=0x0;_0x46da2e<_0x4212e7[_0x39696c(0x1fb)][_0x39696c(0x209)];_0x46da2e++){const _0x9edcc0=_0x4212e7[_0x39696c(0x1fb)][_0x46da2e];_0x3de715[_0x39696c(0x1f3)](await getFeatureLayerInfo(_0x4212e7[_0x39696c(0x200)]?_0x4212e7[_0x39696c(0x200)]:'',_0x9edcc0));}let _0x22285e=new a62_0x32ebcd(_0x4212e7,_0x355dff,_0x3de715);return _0x22285e;}static async[a62_0x45949d(0x1f4)](_0x3b8969){const _0x247958=a62_0x45949d;var _0x575668;const _0x4a5e8f=(_0x575668=_0x3b8969['sublayers'])===null||_0x575668===void 0x0?void 0x0:_0x575668[0x0],_0x545cc0=await getWMSLayerCapabilities(_0x3b8969[_0x247958(0x200)]?_0x3b8969[_0x247958(0x200)]:'',_0x4a5e8f==null?'':_0x4a5e8f);let _0x26256e=new a62_0x5e192a(_0x3b8969,_0x545cc0);return _0x26256e;}static async[a62_0x45949d(0x1ff)](_0x215067){const _0x456f24=a62_0x45949d;var _0x5da23f;const _0x2c3216=(_0x5da23f=_0x215067[_0x456f24(0x1fb)])===null||_0x5da23f===void 0x0?void 0x0:_0x5da23f[0x0],_0x2a0588=await getWMTSLayerCapabilities(_0x215067[_0x456f24(0x200)]?_0x215067[_0x456f24(0x200)]:'',_0x2c3216==null?'':_0x2c3216);let _0x24a16d=new a62_0x100874(_0x215067,_0x2a0588);return _0x24a16d;}static async[a62_0x45949d(0x208)](_0x254677){const _0x1329ee=a62_0x45949d;var _0x2d802e;const _0x393969=(_0x2d802e=_0x254677[_0x1329ee(0x1fb)])===null||_0x2d802e===void 0x0?void 0x0:_0x2d802e[0x0],_0x5a8dde=await getWMSLayerCapabilities(_0x254677[_0x1329ee(0x200)]?_0x254677[_0x1329ee(0x200)]:'',_0x393969==null?'':_0x393969);let _0x19cf40=new a62_0x4d0ad8(_0x254677,_0x5a8dde);return _0x19cf40;}static async['getGeoserverWMTSLayer'](_0x2d9eac){const _0x2823c9=a62_0x45949d;var _0x3d2e9c;const _0x3f1dec=(_0x3d2e9c=_0x2d9eac[_0x2823c9(0x1fb)])===null||_0x3d2e9c===void 0x0?void 0x0:_0x3d2e9c[0x0],_0x4e5e4a=await getWMTSLayerCapabilities(_0x2d9eac['url']?_0x2d9eac[_0x2823c9(0x200)]:'',_0x3f1dec==null?'':_0x3f1dec);let _0x41513=new a62_0x5dd86a(_0x2d9eac,_0x4e5e4a);return _0x41513;}static async[a62_0x45949d(0x1f5)](_0x554f57){const _0x47ad6d=a62_0x45949d;var _0x58e268;const _0x429782=(_0x58e268=_0x554f57[_0x47ad6d(0x1fb)])===null||_0x58e268===void 0x0?void 0x0:_0x58e268[0x0],_0x2ee070=await getWFSLayerCapabilities(_0x554f57[_0x47ad6d(0x200)]?_0x554f57[_0x47ad6d(0x200)]:'',_0x429782==null?'':_0x429782);let _0x3906db=new a62_0x39a680(_0x554f57,_0x2ee070);return _0x3906db;}static async['getGeoserverVectorTileLayer'](_0x5fb9aa){const _0x50eabe=a62_0x45949d;var _0x181386;const _0x4069b1=(_0x181386=_0x5fb9aa[_0x50eabe(0x1fb)])===null||_0x181386===void 0x0?void 0x0:_0x181386[0x0],_0x45370e=await getWMTSLayerCapabilities(_0x5fb9aa[_0x50eabe(0x200)]?_0x5fb9aa[_0x50eabe(0x200)]:'',_0x4069b1==null?'':_0x4069b1);let _0x2aae7c=new a62_0x48302d(_0x5fb9aa,_0x45370e);return _0x2aae7c;}static async[a62_0x45949d(0x205)](_0x57fd1f){const _0xc26f3f=a62_0x45949d;var _0x511244;const _0x250d94=(_0x511244=_0x57fd1f[_0xc26f3f(0x1fb)])===null||_0x511244===void 0x0?void 0x0:_0x511244[0x0],_0x312d67=await getWMTSLayerCapabilities(_0x57fd1f[_0xc26f3f(0x200)]?_0x57fd1f[_0xc26f3f(0x200)]:'',_0x250d94==null?'':_0x250d94);let _0x3f019d=new a62_0xa96c57(_0x57fd1f,_0x312d67);return _0x3f019d;}static async[a62_0x45949d(0x1f2)](_0xd4bb3a){let _0x3d89eb=new a62_0x2abf92(_0xd4bb3a);return _0x3d89eb;}}
1
+ const a62_0x30c59e=a62_0xe460;(function(_0x8e4112,_0x37903d){const _0x5acc72=a62_0xe460,_0x4f69de=_0x8e4112();while(!![]){try{const _0x4f44c9=parseInt(_0x5acc72(0xa3))/0x1*(parseInt(_0x5acc72(0x99))/0x2)+-parseInt(_0x5acc72(0xa9))/0x3+parseInt(_0x5acc72(0xa8))/0x4+parseInt(_0x5acc72(0xab))/0x5*(parseInt(_0x5acc72(0x9b))/0x6)+-parseInt(_0x5acc72(0xa4))/0x7+-parseInt(_0x5acc72(0x9c))/0x8*(parseInt(_0x5acc72(0xa2))/0x9)+-parseInt(_0x5acc72(0xaa))/0xa;if(_0x4f44c9===_0x37903d)break;else _0x4f69de['push'](_0x4f69de['shift']());}catch(_0xfb9140){_0x4f69de['push'](_0x4f69de['shift']());}}}(a62_0x2bd1,0xcc92d));import a62_0x155c08 from'./ArcgisDynamicLayer';import a62_0x241553 from'./ArcgisFeatureLayer';import a62_0x696b43 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a62_0x17302f from'./ArcgisTileLayer';function a62_0xe460(_0x2da117,_0x38b91a){const _0x2bd1ee=a62_0x2bd1();return a62_0xe460=function(_0xe46076,_0x46c6d2){_0xe46076=_0xe46076-0x99;let _0x133983=_0x2bd1ee[_0xe46076];return _0x133983;},a62_0xe460(_0x2da117,_0x38b91a);}import a62_0x25af95 from'./GeoserverWMSLayer';import a62_0x2e8ab1 from'./GeoserverWMTSLayer';function a62_0x2bd1(){const _0xa323a2=['3012DXJwys','getArcgisWMTSLayer','39342pPGKwy','1000BduYCD','getDynamicLayer','getTileLayer','sublayers','getGeoserverVectorTileLayer','getArcgisFeatureLayer','7740RWfpWa','843KBncgC','90993mdwLpD','getTDTLayer','getArcgisTileLayer','url','3077364BFoRuZ','924042rzYkYW','11134170wHJpJf','260RvuMnd','getGeoserverWmsLayer','getGeoserverWMTSLayer','getGeoserverWFSLayer'];a62_0x2bd1=function(){return _0xa323a2;};return a62_0x2bd1();}import a62_0x5b9b2c from'./ArcgisWMSLayer';import a62_0x21dd2d from'./ArcgisWMTSLayer';import a62_0x207f92 from'./GeoserverWFSLayer';import a62_0x125ff0 from'./GeoserverVectorTile';import a62_0xaacc86 from'./MapTileLayer';export default class LayerManagement{static async[a62_0x30c59e(0x9d)](_0x5a5f5d){const _0x5b545=a62_0x30c59e,_0x5d2649=await getDynamicLayerInfo(_0x5a5f5d[_0x5b545(0xa7)]?_0x5a5f5d[_0x5b545(0xa7)]:'');let _0x3443ba=new a62_0x155c08(_0x5a5f5d,_0x5d2649);return _0x3443ba;}static async[a62_0x30c59e(0xa6)](_0x5dca4c){const _0x35e6ec=a62_0x30c59e,_0x2a07f7=await getDynamicLayerInfo(_0x5dca4c['url']?_0x5dca4c[_0x35e6ec(0xa7)]:'');let _0x26bdca=new a62_0x17302f(_0x5dca4c,_0x2a07f7);return _0x26bdca;}static async[a62_0x30c59e(0xa1)](_0x1c8c14){const _0x4d2cd7=a62_0x30c59e,_0xe30feb=await getDynamicLayerInfo(_0x1c8c14[_0x4d2cd7(0xa7)]?_0x1c8c14['url']:'');let _0x1f5027=[];if(_0x1c8c14[_0x4d2cd7(0x9f)])for(let _0x3cb27e=0x0;_0x3cb27e<_0x1c8c14['sublayers']['length'];_0x3cb27e++){const _0x4c1565=_0x1c8c14[_0x4d2cd7(0x9f)][_0x3cb27e];_0x1f5027['push'](await getFeatureLayerInfo(_0x1c8c14[_0x4d2cd7(0xa7)]?_0x1c8c14[_0x4d2cd7(0xa7)]:'',_0x4c1565));}let _0x28ef7f=new a62_0x241553(_0x1c8c14,_0xe30feb,_0x1f5027);return _0x28ef7f;}static async['getArcgisWmsLayer'](_0x25b18f){const _0x2e3159=a62_0x30c59e;var _0x11a354;const _0x3c0210=(_0x11a354=_0x25b18f[_0x2e3159(0x9f)])===null||_0x11a354===void 0x0?void 0x0:_0x11a354[0x0],_0x40c32a=await getWMSLayerCapabilities(_0x25b18f[_0x2e3159(0xa7)]?_0x25b18f[_0x2e3159(0xa7)]:'',_0x3c0210==null?'':_0x3c0210);let _0x1a0873=new a62_0x5b9b2c(_0x25b18f,_0x40c32a);return _0x1a0873;}static async[a62_0x30c59e(0x9a)](_0x15f86e){const _0x12f64d=a62_0x30c59e;var _0x485184;const _0x281233=(_0x485184=_0x15f86e['sublayers'])===null||_0x485184===void 0x0?void 0x0:_0x485184[0x0],_0x1fca65=await getWMTSLayerCapabilities(_0x15f86e[_0x12f64d(0xa7)]?_0x15f86e['url']:'',_0x281233==null?'':_0x281233);let _0x4ec463=new a62_0x21dd2d(_0x15f86e,_0x1fca65);return _0x4ec463;}static async[a62_0x30c59e(0xac)](_0x2b631f){const _0x3ed5cb=a62_0x30c59e;var _0x414fb9;const _0x3062b4=(_0x414fb9=_0x2b631f['sublayers'])===null||_0x414fb9===void 0x0?void 0x0:_0x414fb9[0x0],_0x415028=await getWMSLayerCapabilities(_0x2b631f['url']?_0x2b631f[_0x3ed5cb(0xa7)]:'',_0x3062b4==null?'':_0x3062b4);let _0x34f568=new a62_0x25af95(_0x2b631f,_0x415028);return _0x34f568;}static async[a62_0x30c59e(0xad)](_0x248833){const _0x2312cc=a62_0x30c59e;var _0x5ae5db;const _0x9ff5b7=(_0x5ae5db=_0x248833[_0x2312cc(0x9f)])===null||_0x5ae5db===void 0x0?void 0x0:_0x5ae5db[0x0],_0x2049c5=await getWMTSLayerCapabilities(_0x248833[_0x2312cc(0xa7)]?_0x248833[_0x2312cc(0xa7)]:'',_0x9ff5b7==null?'':_0x9ff5b7);let _0x1796f9=new a62_0x2e8ab1(_0x248833,_0x2049c5);return _0x1796f9;}static async[a62_0x30c59e(0xae)](_0x344c82){const _0x4cb2d0=a62_0x30c59e;var _0x38464d;const _0x28c933=(_0x38464d=_0x344c82[_0x4cb2d0(0x9f)])===null||_0x38464d===void 0x0?void 0x0:_0x38464d[0x0],_0x400a57=await getWFSLayerCapabilities(_0x344c82['url']?_0x344c82['url']:'',_0x28c933==null?'':_0x28c933);let _0x545971=new a62_0x207f92(_0x344c82,_0x400a57);return _0x545971;}static async[a62_0x30c59e(0xa0)](_0x591a99){const _0x15c37e=a62_0x30c59e;var _0x45088b;const _0x3586c8=(_0x45088b=_0x591a99[_0x15c37e(0x9f)])===null||_0x45088b===void 0x0?void 0x0:_0x45088b[0x0],_0x3912ee=await getWMTSLayerCapabilities(_0x591a99[_0x15c37e(0xa7)]?_0x591a99[_0x15c37e(0xa7)]:'',_0x3586c8==null?'':_0x3586c8);let _0x4cd025=new a62_0x125ff0(_0x591a99,_0x3912ee);return _0x4cd025;}static async[a62_0x30c59e(0xa5)](_0x171e69){const _0x100a0e=a62_0x30c59e;var _0x545207;const _0x46feb5=(_0x545207=_0x171e69[_0x100a0e(0x9f)])===null||_0x545207===void 0x0?void 0x0:_0x545207[0x0],_0x1f6576=await getWMTSLayerCapabilities(_0x171e69['url']?_0x171e69['url']:'',_0x46feb5==null?'':_0x46feb5);let _0x1e4707=new a62_0x696b43(_0x171e69,_0x1f6576);return _0x1e4707;}static async[a62_0x30c59e(0x9e)](_0x4671ac){let _0xefc607=new a62_0xaacc86(_0x4671ac);return _0xefc607;}}
@@ -1 +1 @@
1
- (function(_0x2f3958,_0x1c4f5d){var _0x2d3b6b=a63_0x2690,_0x1ec13c=_0x2f3958();while(!![]){try{var _0x3351a1=parseInt(_0x2d3b6b(0xdc))/0x1*(parseInt(_0x2d3b6b(0xe4))/0x2)+-parseInt(_0x2d3b6b(0xe8))/0x3*(parseInt(_0x2d3b6b(0xe5))/0x4)+-parseInt(_0x2d3b6b(0xe9))/0x5*(-parseInt(_0x2d3b6b(0xdd))/0x6)+parseInt(_0x2d3b6b(0xde))/0x7+-parseInt(_0x2d3b6b(0xea))/0x8*(parseInt(_0x2d3b6b(0xe2))/0x9)+parseInt(_0x2d3b6b(0xe6))/0xa*(parseInt(_0x2d3b6b(0xda))/0xb)+parseInt(_0x2d3b6b(0xe1))/0xc*(parseInt(_0x2d3b6b(0xdf))/0xd);if(_0x3351a1===_0x1c4f5d)break;else _0x1ec13c['push'](_0x1ec13c['shift']());}catch(_0x5722df){_0x1ec13c['push'](_0x1ec13c['shift']());}}}(a63_0x67ee,0xb5faf));import a63_0xc12429 from'ol/layer/Tile';function a63_0x67ee(){var _0x119c28=['initialExtent','1287yWyXAr','5tagpXI','9088408tunuUE','projection','139667BVlNwP','layerInfo','1uNCeEW','5963262gDtZTN','1191295IULVrt','3444298TNwGnI','mapIndex','24HRkZcT','9AlBRDH','opacity','2864076dSgyvM','13380QxOtXj','150pYUEPz'];a63_0x67ee=function(){return _0x119c28;};return a63_0x67ee();}function a63_0x2690(_0x39f511,_0x45a2ab){var _0x67ee59=a63_0x67ee();return a63_0x2690=function(_0x269029,_0x13aae0){_0x269029=_0x269029-0xda;var _0x5a34f9=_0x67ee59[_0x269029];return _0x5a34f9;},a63_0x2690(_0x39f511,_0x45a2ab);}import{XYZ as a63_0x29f159}from'ol/source';export default class MapTileLayer extends a63_0xc12429{constructor(_0x5199af){var _0x4bfa08=a63_0x2690;super({'opacity':_0x5199af[_0x4bfa08(0xe3)],'zIndex':_0x5199af[_0x4bfa08(0xe0)],'source':new a63_0x29f159({'url':_0x5199af['url']})}),this['id']=_0x5199af['id'],this[_0x4bfa08(0xe7)]=[],this[_0x4bfa08(0xeb)]=null,this[_0x4bfa08(0xdb)]=_0x5199af;}}
1
+ (function(_0x3d5726,_0x15b50d){var _0x198861=a63_0x2a8c,_0x53a102=_0x3d5726();while(!![]){try{var _0x421b5a=parseInt(_0x198861(0xb1))/0x1+-parseInt(_0x198861(0xb6))/0x2+parseInt(_0x198861(0xba))/0x3+parseInt(_0x198861(0xb7))/0x4*(-parseInt(_0x198861(0xb4))/0x5)+-parseInt(_0x198861(0xb8))/0x6+parseInt(_0x198861(0xaf))/0x7+-parseInt(_0x198861(0xb2))/0x8*(-parseInt(_0x198861(0xb0))/0x9);if(_0x421b5a===_0x15b50d)break;else _0x53a102['push'](_0x53a102['shift']());}catch(_0x52e227){_0x53a102['push'](_0x53a102['shift']());}}}(a63_0x20bd,0xd6c6c));import a63_0x3ef497 from'ol/layer/Tile';import{XYZ as a63_0x3d86c6}from'ol/source';function a63_0x20bd(){var _0x16a6f2=['opacity','996915ICPOSD','projection','7748972bfNjli','569826ozodXN','277706dPXwBX','168mKaUPt','layerInfo','5JofXCu','mapIndex','263364cbVyzZ','5774532sEzgjX','3549372TbVaxh'];a63_0x20bd=function(){return _0x16a6f2;};return a63_0x20bd();}function a63_0x2a8c(_0x348e5a,_0x4c4a31){var _0x20bd1c=a63_0x20bd();return a63_0x2a8c=function(_0x2a8c62,_0x5a3dd8){_0x2a8c62=_0x2a8c62-0xae;var _0x2633a4=_0x20bd1c[_0x2a8c62];return _0x2633a4;},a63_0x2a8c(_0x348e5a,_0x4c4a31);}export default class MapTileLayer extends a63_0x3ef497{constructor(_0x2b0471){var _0x317c74=a63_0x2a8c;super({'opacity':_0x2b0471[_0x317c74(0xb9)],'zIndex':_0x2b0471[_0x317c74(0xb5)],'source':new a63_0x3d86c6({'url':_0x2b0471['url']})}),this['id']=_0x2b0471['id'],this['initialExtent']=[],this[_0x317c74(0xae)]=null,this[_0x317c74(0xb3)]=_0x2b0471;}}
@@ -1 +1 @@
1
- function a64_0xd59a(_0x56d556,_0x4f447f){const _0x215a33=a64_0x215a();return a64_0xd59a=function(_0xd59a8,_0x137522){_0xd59a8=_0xd59a8-0x86;let _0x1d8b20=_0x215a33[_0xd59a8];return _0x1d8b20;},a64_0xd59a(_0x56d556,_0x4f447f);}(function(_0x2747ab,_0x17dfea){const _0x2d019f=a64_0xd59a,_0x1b0cad=_0x2747ab();while(!![]){try{const _0x3402cd=parseInt(_0x2d019f(0xa0))/0x1*(-parseInt(_0x2d019f(0x90))/0x2)+-parseInt(_0x2d019f(0x9a))/0x3*(-parseInt(_0x2d019f(0x8e))/0x4)+-parseInt(_0x2d019f(0x8b))/0x5*(parseInt(_0x2d019f(0x94))/0x6)+parseInt(_0x2d019f(0x92))/0x7*(parseInt(_0x2d019f(0x8f))/0x8)+-parseInt(_0x2d019f(0x87))/0x9+-parseInt(_0x2d019f(0x89))/0xa*(parseInt(_0x2d019f(0x93))/0xb)+-parseInt(_0x2d019f(0x91))/0xc*(-parseInt(_0x2d019f(0x97))/0xd);if(_0x3402cd===_0x17dfea)break;else _0x1b0cad['push'](_0x1b0cad['shift']());}catch(_0x44ca64){_0x1b0cad['push'](_0x1b0cad['shift']());}}}(a64_0x215a,0x7ac96));import a64_0x363e17 from'ol/layer/Tile';import{WMTS as a64_0x3c5c84}from'ol/source';import a64_0x1a24af from'ol/tilegrid/WMTS';function a64_0x215a(){const _0x2f0598=['119174NCtVHl','276IgrHAU','projection','sublayers','1835132ZGXJGF','mapIndex','EPSG:4490','15033wfsNkb','length','url','style','format','tileMatrixSet','3KvkMUG','pow','5197923WYCepO','1.0.0','570MmbVQa','join','57815ABhPrs','boundingBoxExtent','initialExtent','4taCwvz','8alVJGw','317194vEnWcV','180OfkMoL','4082659IWmZNT'];a64_0x215a=function(){return _0x2f0598;};return a64_0x215a();}import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a64_0x363e17{constructor(_0x3d2e9d,_0x5340ff){const _0x12c502=a64_0xd59a;let _0x105d0f='';_0x3d2e9d[_0x12c502(0x96)]&&_0x3d2e9d[_0x12c502(0x96)][_0x12c502(0x9b)]>0x0&&(_0x105d0f=_0x3d2e9d[_0x12c502(0x96)][_0x12c502(0x8a)](','));const _0x37e8d8=_0x12c502(0x99);let _0x146f6a=registerProj(_0x37e8d8);const _0x67d911=[],_0x5d3abe=[];for(let _0x424b13=0x1;_0x424b13<0x13;_0x424b13++){_0x67d911[_0x424b13]=getWidth(_0x5340ff['boundingBoxExtent'])/(0x100*Math[_0x12c502(0x86)](0x2,_0x424b13)),_0x5d3abe[_0x424b13]=_0x424b13+'';}super({'opacity':_0x3d2e9d['opacity'],'zIndex':_0x3d2e9d[_0x12c502(0x98)],'source':new a64_0x3c5c84({'style':_0x5340ff[_0x12c502(0x9d)],'url':_0x3d2e9d[_0x12c502(0x9c)],'tileGrid':new a64_0x1a24af({'origin':getTopLeft(_0x5340ff[_0x12c502(0x8c)]),'resolutions':_0x67d911,'matrixIds':_0x5d3abe}),'layer':_0x105d0f,'matrixSet':_0x5340ff[_0x12c502(0x9f)],'version':_0x12c502(0x88),'format':_0x5340ff[_0x12c502(0x9e)][0x0],'projection':_0x37e8d8,'requestEncoding':'KVP'})}),this['id']=_0x3d2e9d['id'],this[_0x12c502(0x8d)]=_0x5340ff['boundingBoxExtent'],this[_0x12c502(0x95)]=_0x146f6a,this['layerInfo']=_0x3d2e9d;}}
1
+ (function(_0x71891e,_0xbf0a39){const _0x378b5a=a64_0x2ce6,_0x5cc53a=_0x71891e();while(!![]){try{const _0xb9b134=parseInt(_0x378b5a(0x1f9))/0x1*(parseInt(_0x378b5a(0x1fb))/0x2)+parseInt(_0x378b5a(0x1f4))/0x3*(-parseInt(_0x378b5a(0x1f8))/0x4)+-parseInt(_0x378b5a(0x1eb))/0x5*(parseInt(_0x378b5a(0x1f6))/0x6)+-parseInt(_0x378b5a(0x200))/0x7*(-parseInt(_0x378b5a(0x1ed))/0x8)+parseInt(_0x378b5a(0x1ff))/0x9+-parseInt(_0x378b5a(0x1ec))/0xa+-parseInt(_0x378b5a(0x1ee))/0xb;if(_0xb9b134===_0xbf0a39)break;else _0x5cc53a['push'](_0x5cc53a['shift']());}catch(_0x16966d){_0x5cc53a['push'](_0x5cc53a['shift']());}}}(a64_0x5fa0,0x1f287));function a64_0x2ce6(_0x1e91bf,_0x5a518c){const _0x5fa037=a64_0x5fa0();return a64_0x2ce6=function(_0x2ce65c,_0x3e3170){_0x2ce65c=_0x2ce65c-0x1e9;let _0x3a02f8=_0x5fa037[_0x2ce65c];return _0x3a02f8;},a64_0x2ce6(_0x1e91bf,_0x5a518c);}import a64_0x43d516 from'ol/layer/Tile';function a64_0x5fa0(){const _0x21bb93=['sublayers','url','128367hUftKY','1502011xtoEtm','opacity','EPSG:4490','boundingBoxExtent','5DqCfEB','38610uPodMJ','8SkPfWz','419188jQXyIq','pow','initialExtent','mapIndex','1.0.0','layerInfo','3pFZrwx','style','191418unlwzF','projection','669076FKiYct','34982bViHMO','join','8Hppmbe','format'];a64_0x5fa0=function(){return _0x21bb93;};return a64_0x5fa0();}import{WMTS as a64_0x41d70e}from'ol/source';import a64_0x198d19 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a64_0x43d516{constructor(_0x5d5176,_0x1b49c8){const _0x9032a4=a64_0x2ce6;let _0x5b8035='';_0x5d5176[_0x9032a4(0x1fd)]&&_0x5d5176[_0x9032a4(0x1fd)]['length']>0x0&&(_0x5b8035=_0x5d5176[_0x9032a4(0x1fd)][_0x9032a4(0x1fa)](','));const _0x243cb0=_0x9032a4(0x1e9);let _0x3e9f8c=registerProj(_0x243cb0);const _0x31631b=[],_0x2d53a2=[];for(let _0x149ed8=0x1;_0x149ed8<0x13;_0x149ed8++){_0x31631b[_0x149ed8]=getWidth(_0x1b49c8[_0x9032a4(0x1ea)])/(0x100*Math[_0x9032a4(0x1ef)](0x2,_0x149ed8)),_0x2d53a2[_0x149ed8]=_0x149ed8+'';}super({'opacity':_0x5d5176[_0x9032a4(0x201)],'zIndex':_0x5d5176[_0x9032a4(0x1f1)],'source':new a64_0x41d70e({'style':_0x1b49c8[_0x9032a4(0x1f5)],'url':_0x5d5176[_0x9032a4(0x1fe)],'tileGrid':new a64_0x198d19({'origin':getTopLeft(_0x1b49c8[_0x9032a4(0x1ea)]),'resolutions':_0x31631b,'matrixIds':_0x2d53a2}),'layer':_0x5b8035,'matrixSet':_0x1b49c8['tileMatrixSet'],'version':_0x9032a4(0x1f2),'format':_0x1b49c8[_0x9032a4(0x1fc)][0x0],'projection':_0x243cb0,'requestEncoding':'KVP'})}),this['id']=_0x5d5176['id'],this[_0x9032a4(0x1f0)]=_0x1b49c8[_0x9032a4(0x1ea)],this[_0x9032a4(0x1f7)]=_0x3e9f8c,this[_0x9032a4(0x1f3)]=_0x5d5176;}}
package/mapView/Map.js CHANGED
@@ -1 +1 @@
1
- const a65_0x36d1d0=a65_0x6093;(function(_0x3bf055,_0x20c9ce){const _0x199a35=a65_0x6093,_0x596cf7=_0x3bf055();while(!![]){try{const _0x2d7288=-parseInt(_0x199a35(0x1ca))/0x1+parseInt(_0x199a35(0x1d4))/0x2+-parseInt(_0x199a35(0x1dd))/0x3*(parseInt(_0x199a35(0x1f6))/0x4)+-parseInt(_0x199a35(0x1fa))/0x5+parseInt(_0x199a35(0x1a5))/0x6*(parseInt(_0x199a35(0x1c9))/0x7)+-parseInt(_0x199a35(0x1be))/0x8+parseInt(_0x199a35(0x203))/0x9;if(_0x2d7288===_0x20c9ce)break;else _0x596cf7['push'](_0x596cf7['shift']());}catch(_0x5a697a){_0x596cf7['push'](_0x596cf7['shift']());}}}(a65_0x58a2,0xb8ddb));import'ol/ol.css';import'../assets/main.css';import a65_0x104943 from'ol/Map';import a65_0x4cfa0e from'ol/events/Event';import{defaults as a65_0x4ef42d}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a65_0x18ed61 from'../layers/LayerManager';function a65_0x6093(_0x301091,_0x466a7e){const _0x58a27d=a65_0x58a2();return a65_0x6093=function(_0x609373,_0x117f9d){_0x609373=_0x609373-0x195;let _0x2366e3=_0x58a27d[_0x609373];return _0x2366e3;},a65_0x6093(_0x301091,_0x466a7e);}import a65_0x250f24 from'ol/layer/Vector';import a65_0x19a38d from'ol/source/Vector';import a65_0x32065f from'../controls/ControlManager';import a65_0x19cb36 from'../entity/Feature';import a65_0x41f7ea from'../interaction/InteractionManager';import a65_0x2bd745 from'./View';import{selectFeaturesByGeo}from'../utils/tasks';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a65_0x31c58a from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle}from'../style/StyleManager';function a65_0x58a2(){const _0x455ff4=['addMapLayers','getSize','flashGeometrys','constrainResolution','getLineTempLayer','pointTempLayer','center','projection','sortTemLayer','remove','getMetersPerUnit','getTDTLayer','arcgis-dynamic','add','layerType','MultiLineString','controlManager','getLayersByIds','setProperties','arcgis-wms','layerIds','24KdBMns','insertAt','Polygon','interactionManager','getZIndex','maxResolution','layerInfo','getResolution','fitFilterByLayerTag','layerId','fitLayer','getLayerById','minResolution','fit','maxScale','lineTempLayer','setMaxResolution','getProjection','length','filter','getArcgisFeatureLayer','arcgis-wmts','getLayerByLayerTag','getSource','removeLayer','2266752CqrKCr','tag','locationWKT','rgba(255,\x200,\x200,\x200.2)','changelayer','layerTag','oncontextmenu','push','Point','getArcgisWmsLayer','tile','416192LwUjYW','109323SwHAow','getPolygonTempLayer','zoom','MultiPolygon','getArray','addMapLayer','initialExtent','GeometryCollection','getPointTempLayer','暂不支持【','2061622CGwyyK','locationGeometrys','getLength','setMinResolution','maxZoom','getType','setProjection','getArcgisWMTSLayer','getGeometry','454347kpHrwh','getGeoserverVectorTileLayer','minZoom','getElementById','transform','setStyle','setGeometry','minScale','addWKT','geoserver-wmts','refresh','EPSG:4490','setCenter','getCode','arcgis-tile','selectIndex','fitLayerById','getGeoserverWMTSLayer','locationGeometry','getView','polygonTempLayer','includes','MultiPoint','removeLayerById','getVisible','32HjxDPQ','getDynamicLayer','dispatchEvent','LineString','5155730rAMFud','getLayers','getTempLayerByGeoType','tempLayer','resetViewProjection','addLayer','getGeoserverWmsLayer','changetype','extent','19115829rLSkkn','getExtent','setResolution','getMinZoom','getCoordinates','forEach','getTempLayerById','all','addFeatures'];a65_0x58a2=function(){return _0x455ff4;};return a65_0x58a2();}export class ChangeLayerEvent extends a65_0x4cfa0e{constructor(_0x30bced,_0x3f58b0,_0x498569){const _0x196bb0=a65_0x6093;super(_0x30bced),this[_0x196bb0(0x1a4)]=_0x3f58b0,this[_0x196bb0(0x201)]=_0x498569;}}export default class OLMap extends a65_0x104943{constructor(_0x1dc43d,_0x3b361d,_0x28b1bc){const _0x24d4b5=a65_0x6093;_0x3b361d=_0x3b361d?_0x3b361d:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x37cb93=_0x3b361d[_0x24d4b5(0x197)]?'EPSG:'+_0x3b361d[_0x24d4b5(0x197)]:_0x24d4b5(0x1e8);_0x3b361d[_0x24d4b5(0x1cc)]=_0x3b361d[_0x24d4b5(0x1cc)]?_0x3b361d[_0x24d4b5(0x1cc)]:0xa,_0x3b361d['minZoom']=_0x3b361d[_0x24d4b5(0x1df)]?_0x3b361d[_0x24d4b5(0x1df)]:0x0,_0x3b361d['maxZoom']=_0x3b361d[_0x24d4b5(0x1d8)]?_0x3b361d[_0x24d4b5(0x1d8)]:0x1c,_0x3b361d['constrainResolution']=_0x3b361d['constrainResolution']?_0x3b361d['constrainResolution']:![],_0x3b361d[_0x24d4b5(0x196)]=_0x3b361d[_0x24d4b5(0x196)]?_0x3b361d[_0x24d4b5(0x196)]:[117.22718,31.820386],registerProj(_0x37cb93);const _0x1ded6a={'target':_0x1dc43d,'view':_0x28b1bc?_0x28b1bc:new a65_0x2bd745({'center':_0x3b361d[_0x24d4b5(0x196)],'zoom':_0x3b361d[_0x24d4b5(0x1cc)],'projection':_0x37cb93,'minZoom':_0x3b361d[_0x24d4b5(0x1df)],'maxZoom':_0x3b361d[_0x24d4b5(0x1d8)],'minResolution':_0x3b361d[_0x24d4b5(0x1b1)],'maxResolution':_0x3b361d[_0x24d4b5(0x1aa)],'constrainResolution':_0x3b361d[_0x24d4b5(0x20f)]}),'controls':a65_0x4ef42d({'zoom':![]})};super(_0x1ded6a);_0x3b361d[_0x24d4b5(0x202)]&&this['getView']()[_0x24d4b5(0x1b2)](_0x3b361d['extent']);const _0xe7bfc5=this['getTarget']();if(_0xe7bfc5 instanceof HTMLElement)_0xe7bfc5[_0x24d4b5(0x1c4)]=function(_0x10a7bd){return![];};else{const _0x4b3857=document[_0x24d4b5(0x1e0)](_0xe7bfc5);_0x4b3857&&(_0x4b3857[_0x24d4b5(0x1c4)]=function(_0xebefcc){return![];});}this[_0x24d4b5(0x1a8)]=new a65_0x41f7ea(this),this[_0x24d4b5(0x1a0)]=new a65_0x32065f(this),this['_options']=_0x3b361d;}[a65_0x36d1d0(0x1f0)](){const _0x18c91d=a65_0x36d1d0;return super[_0x18c91d(0x1f0)]();}[a65_0x36d1d0(0x1e7)](){const _0x378796=a65_0x36d1d0;let _0x305140=this[_0x378796(0x1f0)]()[_0x378796(0x1ac)]();_0x305140&&this[_0x378796(0x1f0)]()[_0x378796(0x205)](_0x305140-1e-11);}[a65_0x36d1d0(0x1af)](_0x1e8af8){const _0x5390c4=a65_0x36d1d0;var _0x355e44;this[_0x5390c4(0x1f0)]()['fit'](transformExtent(_0x1e8af8[_0x5390c4(0x1d0)],(_0x355e44=_0x1e8af8['projection'])===null||_0x355e44===void 0x0?void 0x0:_0x355e44[_0x5390c4(0x1ea)](),this[_0x5390c4(0x1f0)]()[_0x5390c4(0x1b6)]()[_0x5390c4(0x1ea)]()));}[a65_0x36d1d0(0x1ed)](_0x3b5bd2){const _0x556712=a65_0x36d1d0;let _0x10b373=this[_0x556712(0x1b0)](_0x3b5bd2);_0x10b373&&this[_0x556712(0x1af)](_0x10b373);}async[a65_0x36d1d0(0x1ad)](_0x70a5a,_0x3b3877,_0x3fcaa1=![],_0x232242){const _0x208367=a65_0x36d1d0;var _0x493312;let _0x3a27ed=this[_0x208367(0x1bb)](_0x70a5a);if(!_0x3a27ed||!_0x3a27ed[_0x208367(0x1ab)])return;const _0x6d6e0c=_0x3a27ed[_0x208367(0x1ab)];if(_0x3a27ed[_0x208367(0x1f5)]()==![]||!_0x3a27ed||!_0x6d6e0c['url']||!_0x6d6e0c['selectIndex'])return;const _0x193705=this[_0x208367(0x1f0)]()[_0x208367(0x1ac)]();let _0x543f4f=await selectFeaturesByGeo(undefined,undefined,_0x6d6e0c['url'],_0x6d6e0c[_0x208367(0x1ec)],_0x6d6e0c[_0x208367(0x19e)],_0x3b3877,_0x193705),_0x2d4985=[];if(_0x543f4f[_0x208367(0x1b7)]>0x0){_0x2d4985=_0x543f4f['map'](_0x5c0d55=>_0x5c0d55['getGeometry']());_0x2d4985&&_0x2d4985[_0x208367(0x1b7)]>0x0&&this[_0x208367(0x1d5)](_0x2d4985,undefined,1.2,!![]);let _0x458019=this[_0x208367(0x1cb)](),_0x42f912=getSelectPolygonStyle();switch((_0x493312=_0x543f4f[0x0][_0x208367(0x1dc)]())===null||_0x493312===void 0x0?void 0x0:_0x493312[_0x208367(0x1d9)]()){case _0x208367(0x1c6):case _0x208367(0x1f3):_0x458019=this[_0x208367(0x1d2)](),_0x42f912=getSelectPointStyle();break;case'LineString':case _0x208367(0x19f):_0x458019=this[_0x208367(0x210)](),_0x42f912=getSelectLineStyle();break;default:break;}const _0x1e4a19=_0x458019['getSource']();_0x1e4a19&&_0x3fcaa1&&(_0x543f4f['forEach'](_0x3f8982=>{const _0x4b40cd=_0x208367;_0x3f8982[_0x4b40cd(0x1ae)]=_0x6d6e0c['id'],_0x3f8982['isSelected']=!![],_0x3f8982[_0x4b40cd(0x1bf)]=_0x232242,_0x3f8982[_0x4b40cd(0x1fd)]=_0x458019,_0x3f8982[_0x4b40cd(0x1e2)](_0x42f912);}),_0x1e4a19[_0x208367(0x20b)](_0x543f4f));}}async[a65_0x36d1d0(0x1cf)](_0x5503d3){const _0x5aa988=a65_0x36d1d0;let _0x1413da;switch(_0x5503d3[_0x5aa988(0x19e)]){case'arcgis-feature':_0x1413da=await a65_0x18ed61[_0x5aa988(0x1b9)](_0x5503d3);break;case _0x5aa988(0x19c):_0x1413da=await a65_0x18ed61[_0x5aa988(0x1f7)](_0x5503d3);break;case _0x5aa988(0x1eb):_0x1413da=await a65_0x18ed61['getArcgisTileLayer'](_0x5503d3);break;case _0x5aa988(0x1a3):_0x1413da=await a65_0x18ed61[_0x5aa988(0x1c7)](_0x5503d3);break;case _0x5aa988(0x1ba):_0x1413da=await a65_0x18ed61[_0x5aa988(0x1db)](_0x5503d3);break;case'geoserver-wms':_0x1413da=await a65_0x18ed61[_0x5aa988(0x200)](_0x5503d3);break;case'geoserver-wfs':_0x1413da=await a65_0x18ed61['getGeoserverWFSLayer'](_0x5503d3);break;case _0x5aa988(0x1e6):_0x1413da=await a65_0x18ed61[_0x5aa988(0x1ee)](_0x5503d3);break;case'geoserver-vector-tile':_0x1413da=await a65_0x18ed61[_0x5aa988(0x1de)](_0x5503d3);break;case'tdt-c':_0x1413da=await a65_0x18ed61[_0x5aa988(0x19b)](_0x5503d3);break;case _0x5aa988(0x1c8):_0x1413da=await a65_0x18ed61['getTileLayer'](_0x5503d3);break;default:throw new Error(_0x5aa988(0x1d3)+_0x5503d3[_0x5aa988(0x19e)]+'】服务类型');}return this[_0x5aa988(0x1ff)](_0x1413da),this['dispatchEvent'](new ChangeLayerEvent(_0x5aa988(0x1c2),[_0x5503d3['id']],_0x5aa988(0x19d))),_0x1413da;}async[a65_0x36d1d0(0x20c)](_0x22f3e3){const _0x4238f6=a65_0x36d1d0;let _0x15c4b1=[];const _0x5915a1=[];for(let _0x43a022=0x0;_0x43a022<_0x22f3e3['length'];_0x43a022++){const _0x51dcf5=_0x22f3e3[_0x43a022];_0x5915a1[_0x4238f6(0x1c5)](_0x51dcf5['id']),_0x15c4b1[_0x4238f6(0x1c5)](this[_0x4238f6(0x1cf)](_0x51dcf5));}const _0xded665=await Promise[_0x4238f6(0x20a)](_0x15c4b1);return this[_0x4238f6(0x1f8)](new ChangeLayerEvent(_0x4238f6(0x1c2),_0x5915a1,_0x4238f6(0x19d))),_0xded665;}[a65_0x36d1d0(0x1ff)](_0x327c2b,_0x52219e=![]){const _0xcd2b4f=a65_0x36d1d0,_0x134205=_0x327c2b,_0x9527f3=this['getLayerById'](_0x134205['id']);if(_0x9527f3==null){const _0x16627a=_0x134205[_0xcd2b4f(0x1ab)]==undefined||_0x134205[_0xcd2b4f(0x1ab)][_0xcd2b4f(0x1e4)]==undefined||_0x134205[_0xcd2b4f(0x1ab)][_0xcd2b4f(0x1e4)]<0x0?undefined:calculateResolution(_0x134205['layerInfo']['minScale'],this[_0xcd2b4f(0x1f0)]()[_0xcd2b4f(0x1b6)]()['getMetersPerUnit']()||0x0);_0x327c2b[_0xcd2b4f(0x1d7)](_0x16627a);const _0x5e5b6b=_0x134205['layerInfo']==undefined||_0x134205[_0xcd2b4f(0x1ab)]['maxScale']==undefined||_0x134205['layerInfo'][_0xcd2b4f(0x1b3)]<0x0?undefined:calculateResolution(_0x134205[_0xcd2b4f(0x1ab)]['maxScale'],this[_0xcd2b4f(0x1f0)]()[_0xcd2b4f(0x1b6)]()[_0xcd2b4f(0x19a)]()||0x0);_0x327c2b[_0xcd2b4f(0x1b5)](_0x5e5b6b);const _0x4e0b9a=this[_0xcd2b4f(0x1fb)]()[_0xcd2b4f(0x1ce)]()[_0xcd2b4f(0x1b7)];if(!this['_options']['projection']&&_0x4e0b9a==0x0&&_0x134205['projection']&&_0x134205[_0xcd2b4f(0x197)][_0xcd2b4f(0x1ea)]()!=this[_0xcd2b4f(0x1f0)]()['getProjection']()[_0xcd2b4f(0x1ea)]()){}let _0x26a2f3=_0x327c2b[_0xcd2b4f(0x1a9)]();_0x26a2f3!=undefined&&_0x26a2f3>_0x4e0b9a&&(_0x26a2f3=_0x4e0b9a),this[_0xcd2b4f(0x1fb)]()[_0xcd2b4f(0x1a6)](_0x26a2f3==undefined?_0x4e0b9a:_0x26a2f3,_0x327c2b),_0x52219e&&this[_0xcd2b4f(0x1af)](_0x134205);}}[a65_0x36d1d0(0x1f4)](_0x10f218){const _0x342c47=a65_0x36d1d0,_0x42e057=this[_0x342c47(0x1b0)](_0x10f218);_0x42e057&&(this[_0x342c47(0x1bd)](_0x42e057),this[_0x342c47(0x1f8)](new ChangeLayerEvent(_0x342c47(0x1c2),[_0x10f218],_0x342c47(0x199))));}['removeLayerByIds'](_0x2f7dab){const _0x114197=a65_0x36d1d0,_0x2316c8=this[_0x114197(0x1a1)](_0x2f7dab);_0x2316c8&&_0x2316c8['length']>0x0&&(_0x2316c8[_0x114197(0x208)](_0x24d6fa=>{this['removeLayer'](_0x24d6fa);}),this[_0x114197(0x1f8)](new ChangeLayerEvent('changelayer',_0x2f7dab,'remove')));}[a65_0x36d1d0(0x1b0)](_0x475a79){const _0x5bcea2=a65_0x36d1d0;let _0x55b275,_0x26e7ea=this['getLayers']()[_0x5bcea2(0x1ce)]();for(let _0x111483=0x0;_0x111483<_0x26e7ea[_0x5bcea2(0x1b7)];_0x111483++){let _0x198d8a=_0x26e7ea[_0x111483]['id'];if(_0x475a79==_0x198d8a){_0x55b275=_0x26e7ea[_0x111483];break;}}return _0x55b275;}[a65_0x36d1d0(0x1bb)](_0x14b88b){const _0x1a30be=a65_0x36d1d0;let _0x3deb39,_0x590899=this[_0x1a30be(0x1fb)]()[_0x1a30be(0x1ce)]();for(let _0x2b0661=0x0;_0x2b0661<_0x590899[_0x1a30be(0x1b7)];_0x2b0661++){const _0x5cac48=_0x590899[_0x2b0661][_0x1a30be(0x1ab)];if(!_0x5cac48)continue;let _0x43f57a=_0x5cac48[_0x1a30be(0x1c3)];if(_0x43f57a==_0x14b88b){_0x3deb39=_0x590899[_0x2b0661];break;}}return _0x3deb39;}[a65_0x36d1d0(0x1a1)](_0x155091){const _0x25ff4c=a65_0x36d1d0;let _0x9b78a8=this[_0x25ff4c(0x1fb)]()[_0x25ff4c(0x1ce)]();return _0x9b78a8[_0x25ff4c(0x1b8)](_0x2bcb6c=>_0x155091[_0x25ff4c(0x1f2)](_0x2bcb6c['id']));}[a65_0x36d1d0(0x209)](_0x2cb3d6){const _0x1c1ac5=a65_0x36d1d0;let _0x18080b,_0x55056d=this[_0x1c1ac5(0x1fb)]()[_0x1c1ac5(0x1ce)]();for(let _0x588d20=0x0;_0x588d20<_0x55056d[_0x1c1ac5(0x1b7)];_0x588d20++){const _0x175bfa=_0x55056d[_0x588d20];if(_0x175bfa['id']===_0x2cb3d6){_0x18080b=_0x175bfa;break;}}if(!_0x18080b){_0x18080b=new a65_0x250f24({'zIndex':0x270f,'source':new a65_0x19a38d()}),_0x18080b['id']=_0x2cb3d6;const _0x414916=this[_0x1c1ac5(0x1fb)]()[_0x1c1ac5(0x1d6)]();switch(_0x2cb3d6){case _0x1c1ac5(0x1b4):this[_0x1c1ac5(0x1fb)]()[_0x1c1ac5(0x1a6)](_0x414916-0x1>-0x1?_0x414916-0x1:0x0,_0x18080b);break;case'polygonTempLayer':this[_0x1c1ac5(0x1fb)]()['insertAt'](_0x414916-0x2>-0x1?_0x414916-0x2:0x0,_0x18080b);break;case _0x1c1ac5(0x195):this[_0x1c1ac5(0x1fb)]()[_0x1c1ac5(0x1a6)](_0x414916,_0x18080b);break;default:break;}}return _0x18080b;}[a65_0x36d1d0(0x1d2)](){const _0x55e3fc=a65_0x36d1d0;return this[_0x55e3fc(0x209)]('pointTempLayer');}[a65_0x36d1d0(0x210)](){const _0x2f36b0=a65_0x36d1d0;return this[_0x2f36b0(0x209)]('lineTempLayer');}['getPolygonTempLayer'](){const _0x1f3b42=a65_0x36d1d0;return this[_0x1f3b42(0x209)](_0x1f3b42(0x1f1));}['getTempLayerByGeoType'](_0x2246c2){const _0x1e82d7=a65_0x36d1d0;let _0x12f5a5=this[_0x1e82d7(0x1d2)]();switch(_0x2246c2){case _0x1e82d7(0x1c6):case _0x1e82d7(0x1f3):_0x12f5a5=this[_0x1e82d7(0x1d2)]();case _0x1e82d7(0x1f9):case _0x1e82d7(0x19f):_0x12f5a5=this[_0x1e82d7(0x210)]();case'Polygon':case'MultiPolygon':_0x12f5a5=this[_0x1e82d7(0x1cb)]();}return _0x12f5a5;}[a65_0x36d1d0(0x1fe)](_0x5d80b4){const _0x570299=a65_0x36d1d0;let _0xf186a=this['getView']()[_0x570299(0x206)](),_0x5e2c0d=this[_0x570299(0x1f0)]()['getMaxZoom']();registerProj(_0x5d80b4),this['getView']()[_0x570299(0x1da)](_0x5d80b4);}[a65_0x36d1d0(0x198)](){const _0x1af72f=a65_0x36d1d0;let _0x4a5a44=[];_0x4a5a44['push'](this[_0x1af72f(0x1d2)]()),_0x4a5a44[_0x1af72f(0x1c5)](this[_0x1af72f(0x210)]()),_0x4a5a44[_0x1af72f(0x1c5)](this['getPolygonTempLayer']());const _0x319046=this[_0x1af72f(0x1fb)]()['getArray']()[_0x1af72f(0x1b7)];for(let _0x599b2a=0x0;_0x599b2a<_0x4a5a44[_0x1af72f(0x1b7)];_0x599b2a++){const _0x20c10c=_0x4a5a44[_0x599b2a];this[_0x1af72f(0x1fb)]()[_0x1af72f(0x1a6)](_0x319046-_0x599b2a-0x1,_0x20c10c);}}[a65_0x36d1d0(0x204)](){const _0x4a2e32=a65_0x36d1d0;return this[_0x4a2e32(0x1f0)]()['calculateExtent'](this[_0x4a2e32(0x20d)]());}[a65_0x36d1d0(0x1e5)](_0x810305,_0x5eee05,_0x50aa0c,_0x3b1869=!![],_0x3d7609,_0x24d3fc={'color':a65_0x36d1d0(0x1c1),'opacity':0.2,'outlineColor':'rgba(255,\x200,\x200,\x201)','outlineWidth':0x2}){const _0x385f0c=a65_0x36d1d0;var _0x5967c3;const _0x3f7a9c=fromWKT(_0x810305,_0x5eee05,this['getView']()['getProjection']()[_0x385f0c(0x1ea)]());if(!_0x3f7a9c)return;const _0x12575e=this[_0x385f0c(0x1fc)](_0x3f7a9c[_0x385f0c(0x1d9)]()),_0x29c85f=getStyle(_0x24d3fc),_0x157a06=new a65_0x19cb36();return _0x157a06[_0x385f0c(0x1e3)](_0x3f7a9c),_0x157a06[_0x385f0c(0x1e2)](_0x29c85f),_0x3d7609?_0x157a06[_0x385f0c(0x1a2)](_0x3d7609):_0x157a06['setProperties']({}),_0x157a06[_0x385f0c(0x1bf)]=_0x50aa0c,(_0x5967c3=_0x12575e[_0x385f0c(0x1bc)]())===null||_0x5967c3===void 0x0?void 0x0:_0x5967c3['addFeature'](_0x157a06),_0x3b1869&&this[_0x385f0c(0x1ef)](_0x3f7a9c,undefined,1.2,![]),_0x157a06;}['addWKTs'](_0x5d94ad,_0x4baa24,_0x206e0,_0x44534d=!![],_0x231e27={'color':a65_0x36d1d0(0x1c1),'opacity':0.2,'outlineColor':'rgba(255,\x200,\x200,\x201)','outlineWidth':0x2},_0xbc1a1f){const _0x2b561a=a65_0x36d1d0;var _0x507a80;const _0x56ea6d=fromWKTs(_0x5d94ad,_0x4baa24,this[_0x2b561a(0x1f0)]()['getProjection']()[_0x2b561a(0x1ea)]());if(!_0x56ea6d||_0x56ea6d[_0x2b561a(0x1b7)]==0x0)return;const _0x482a6d=this['getTempLayerByGeoType'](_0x56ea6d[0x0]['getType']()),_0x51d56f=getStyle(_0x231e27);let _0x66086b=[];for(const _0x4a859a of _0x56ea6d){const _0x1082ba=new a65_0x19cb36();_0x1082ba[_0x2b561a(0x1e3)](_0x4a859a),_0x1082ba[_0x2b561a(0x1e2)](_0x51d56f),_0xbc1a1f?_0x1082ba['setProperties'](_0xbc1a1f):_0x1082ba['setProperties']({}),_0x1082ba['fromType']='import',_0x1082ba['isSelected']=!![],_0x1082ba['tag']=_0x206e0,_0x66086b[_0x2b561a(0x1c5)](_0x1082ba);}return(_0x507a80=_0x482a6d['getSource']())===null||_0x507a80===void 0x0?void 0x0:_0x507a80[_0x2b561a(0x20b)](_0x66086b),_0x44534d&&this[_0x2b561a(0x1d5)](_0x56ea6d,undefined,1.2,![]),_0x66086b;}[a65_0x36d1d0(0x1c0)](_0x207474,_0x43044c,_0x4545bf=1.2,_0xfbdc46=!![]){const _0x3c7b9e=a65_0x36d1d0;if(!_0x207474)return;let _0x4935bb=fromWKT(_0x207474,_0x43044c,this['getView']()['getProjection']()[_0x3c7b9e(0x1ea)]());if(!_0x4935bb)return;this[_0x3c7b9e(0x1ef)](_0x4935bb,_0x43044c,_0x4545bf,_0xfbdc46);}['locationWKTs'](_0x1495e8,_0x3d4855,_0xad3103=1.2,_0x541ef6=!![]){const _0x5a60d1=a65_0x36d1d0;if(!_0x1495e8||_0x1495e8[_0x5a60d1(0x1b7)]===0x0)return;const _0x28373e=[];for(let _0x11eabc=0x0;_0x11eabc<_0x1495e8[_0x5a60d1(0x1b7)];_0x11eabc++){let _0x2fff7e=_0x1495e8[_0x11eabc],_0x5afa21=fromWKT(_0x2fff7e,_0x3d4855,this[_0x5a60d1(0x1f0)]()[_0x5a60d1(0x1b6)]()[_0x5a60d1(0x1ea)]());if(!_0x5afa21)continue;_0x28373e[_0x5a60d1(0x1c5)](_0x5afa21);}this[_0x5a60d1(0x1d5)](_0x28373e,_0x3d4855,_0xad3103,_0x541ef6);}[a65_0x36d1d0(0x1ef)](_0x278742,_0x78f090,_0x33a335=1.2,_0x6d206e=!![]){const _0x50987c=a65_0x36d1d0;if(!_0x278742)return;let _0x2603c0=_0x278742;_0x78f090&&(_0x2603c0=_0x278742[_0x50987c(0x1e1)](_0x78f090,this[_0x50987c(0x1f0)]()[_0x50987c(0x1b6)]()));switch(_0x2603c0[_0x50987c(0x1d9)]()){case _0x50987c(0x1c6):this[_0x50987c(0x1f0)]()[_0x50987c(0x1e9)](_0x2603c0[_0x50987c(0x207)]());break;case _0x50987c(0x1a7):case _0x50987c(0x1f3):case'MultiLineString':case _0x50987c(0x1f9):case _0x50987c(0x1cd):case _0x50987c(0x1d1):this[_0x50987c(0x1f0)]()[_0x50987c(0x1b2)](expandExtent(_0x2603c0[_0x50987c(0x204)](),_0x33a335));break;}if(_0x6d206e){const _0x208fd7=new a65_0x31c58a(this);_0x208fd7[_0x50987c(0x20e)]([_0x2603c0],0x3);}}['locationGeometrys'](_0x5f0768,_0x26ecc9,_0x57dad6=1.2,_0x4031c2=!![]){const _0x96f8fc=a65_0x36d1d0;if(!_0x5f0768||_0x5f0768['length']===0x0)return;let _0x350db7=null;for(const _0x19e2c1 of _0x5f0768){_0x350db7?_0x350db7=union(_0x350db7,_0x19e2c1):_0x350db7=_0x19e2c1;}_0x350db7&&this['locationGeometry'](_0x350db7,_0x26ecc9,_0x57dad6,![]);if(_0x4031c2){const _0x2dd009=new a65_0x31c58a(this);_0x2dd009[_0x96f8fc(0x20e)](_0x5f0768,0x3);}}}
1
+ const a65_0x259787=a65_0x18ba;(function(_0x40c058,_0x301388){const _0x3d99ac=a65_0x18ba,_0x4ee392=_0x40c058();while(!![]){try{const _0x381a5e=parseInt(_0x3d99ac(0xe4))/0x1+-parseInt(_0x3d99ac(0xd9))/0x2*(-parseInt(_0x3d99ac(0x135))/0x3)+-parseInt(_0x3d99ac(0xd7))/0x4+parseInt(_0x3d99ac(0x129))/0x5+parseInt(_0x3d99ac(0xd1))/0x6*(-parseInt(_0x3d99ac(0xc2))/0x7)+-parseInt(_0x3d99ac(0x100))/0x8+-parseInt(_0x3d99ac(0x111))/0x9*(-parseInt(_0x3d99ac(0xee))/0xa);if(_0x381a5e===_0x301388)break;else _0x4ee392['push'](_0x4ee392['shift']());}catch(_0x5f3588){_0x4ee392['push'](_0x4ee392['shift']());}}}(a65_0x2756,0x55b0e));import'ol/ol.css';import'../assets/main.css';import a65_0x72e388 from'ol/Map';function a65_0x2756(){const _0x5c5bb1=['5169880IcIwrP','getMaxZoom','getResolution','getGeoserverVectorTileLayer','push','center','minZoom','getGeoserverWFSLayer','_options','fromType','getLayers','flashGeometrys','maxResolution','fitLayer','arcgis-feature','calculateExtent','arcgis-wmts','9HgWryf','layerInfo','setCenter','layerIds','includes','layerTag','LineString','layerType','addWKTs','dispatchEvent','refresh','changelayer','EPSG:','polygonTempLayer','暂不支持【','remove','fitFilterByLayerTag','transform','MultiPoint','addMapLayer','getCoordinates','addWKT','getType','EPSG:4490','988390EHNNSO','forEach','url','getTempLayerByGeoType','getGeoserverWMTSLayer','getExtent','getTileLayer','maxZoom','tag','getArcgisTileLayer','minResolution','getPointTempLayer','21McTeKB','getLayersByIds','setProperties','getLayerById','setGeometry','getCode','tempLayer','getSource','fit','pointTempLayer','initialExtent','getArcgisWMTSLayer','all','rgba(255,\x200,\x200,\x200.2)','add','insertAt','getVisible','7uUBZkG','getProjection','rgba(255,\x200,\x200,\x201)','setProjection','arcgis-dynamic','GeometryCollection','locationGeometrys','tile','geoserver-vector-tile','getLayerByLayerTag','oncontextmenu','minScale','getArcgisFeatureLayer','MultiLineString','MultiPolygon','3314946sZjyby','getLength','Polygon','lineTempLayer','getGeometry','locationWKTs','612156eMiIed','arcgis-wms','1468BymPti','tdt-c','locationGeometry','isSelected','selectIndex','constrainResolution','getView','removeLayerById','Point','maxScale','removeLayerByIds','135882NwINYw','removeLayer','】服务类型','getPolygonTempLayer','sortTemLayer','getArcgisWmsLayer','getMinZoom','extent','filter','getZIndex','13640570pLoWzW','changetype','addFeatures','controlManager','getTempLayerById','getLineTempLayer','getGeoserverWmsLayer','setStyle','getMetersPerUnit','addLayer','setResolution','setMinResolution','projection','getDynamicLayer','locationWKT','length','zoom','getArray'];a65_0x2756=function(){return _0x5c5bb1;};return a65_0x2756();}import a65_0x59696f from'ol/events/Event';import{defaults as a65_0x2f8ed7}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a65_0x379138 from'../layers/LayerManager';import a65_0x5a4afb from'ol/layer/Vector';import a65_0x315521 from'ol/source/Vector';import a65_0x518423 from'../controls/ControlManager';import a65_0x51c90f from'../entity/Feature';import a65_0x53f318 from'../interaction/InteractionManager';import a65_0x1c64aa from'./View';import{selectFeaturesByGeo}from'../utils/tasks';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';function a65_0x18ba(_0x236d04,_0x41b384){const _0x275618=a65_0x2756();return a65_0x18ba=function(_0x18ba46,_0x40f813){_0x18ba46=_0x18ba46-0xb7;let _0x13c7da=_0x275618[_0x18ba46];return _0x13c7da;},a65_0x18ba(_0x236d04,_0x41b384);}import a65_0xac214 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a65_0x59696f{constructor(_0x419601,_0x56e87a,_0x14985d){const _0x43ba01=a65_0x18ba;super(_0x419601),this[_0x43ba01(0x114)]=_0x56e87a,this[_0x43ba01(0xef)]=_0x14985d;}}export default class OLMap extends a65_0x72e388{constructor(_0x18df7e,_0xb99f43,_0x12fc95){const _0x3ea4db=a65_0x18ba;_0xb99f43=_0xb99f43?_0xb99f43:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x5b271a=_0xb99f43[_0x3ea4db(0xfa)]?_0x3ea4db(0x11d)+_0xb99f43['projection']:_0x3ea4db(0x128);_0xb99f43[_0x3ea4db(0xfe)]=_0xb99f43[_0x3ea4db(0xfe)]?_0xb99f43[_0x3ea4db(0xfe)]:0xa,_0xb99f43[_0x3ea4db(0x106)]=_0xb99f43['minZoom']?_0xb99f43[_0x3ea4db(0x106)]:0x0,_0xb99f43[_0x3ea4db(0x130)]=_0xb99f43[_0x3ea4db(0x130)]?_0xb99f43[_0x3ea4db(0x130)]:0x1c,_0xb99f43[_0x3ea4db(0xde)]=_0xb99f43[_0x3ea4db(0xde)]?_0xb99f43[_0x3ea4db(0xde)]:![],_0xb99f43[_0x3ea4db(0x105)]=_0xb99f43['center']?_0xb99f43[_0x3ea4db(0x105)]:[117.22718,31.820386],registerProj(_0x5b271a);const _0x3c4c0d={'target':_0x18df7e,'view':_0x12fc95?_0x12fc95:new a65_0x1c64aa({'center':_0xb99f43[_0x3ea4db(0x105)],'zoom':_0xb99f43['zoom'],'projection':_0x5b271a,'minZoom':_0xb99f43[_0x3ea4db(0x106)],'maxZoom':_0xb99f43['maxZoom'],'minResolution':_0xb99f43[_0x3ea4db(0x133)],'maxResolution':_0xb99f43[_0x3ea4db(0x10c)],'constrainResolution':_0xb99f43[_0x3ea4db(0xde)]}),'controls':a65_0x2f8ed7({'zoom':![]})};super(_0x3c4c0d);_0xb99f43[_0x3ea4db(0xeb)]&&this[_0x3ea4db(0xdf)]()[_0x3ea4db(0xb9)](_0xb99f43[_0x3ea4db(0xeb)]);const _0x242331=this['getTarget']();if(_0x242331 instanceof HTMLElement)_0x242331[_0x3ea4db(0xcc)]=function(_0x11c316){return![];};else{const _0x179614=document['getElementById'](_0x242331);_0x179614&&(_0x179614[_0x3ea4db(0xcc)]=function(_0x1b95a7){return![];});}this['interactionManager']=new a65_0x53f318(this),this[_0x3ea4db(0xf1)]=new a65_0x518423(this),this[_0x3ea4db(0x108)]=_0xb99f43;}[a65_0x259787(0xdf)](){const _0x4e8d17=a65_0x259787;return super[_0x4e8d17(0xdf)]();}[a65_0x259787(0x11b)](){const _0x274f86=a65_0x259787;let _0x5c6592=this[_0x274f86(0xdf)]()['getResolution']();_0x5c6592&&this[_0x274f86(0xdf)]()[_0x274f86(0xf8)](_0x5c6592-1e-11);}['fitLayer'](_0x114d0d){const _0x8d8796=a65_0x259787;var _0x4a2014;this[_0x8d8796(0xdf)]()['fit'](transformExtent(_0x114d0d[_0x8d8796(0xbb)],(_0x4a2014=_0x114d0d['projection'])===null||_0x4a2014===void 0x0?void 0x0:_0x4a2014[_0x8d8796(0x13a)](),this[_0x8d8796(0xdf)]()[_0x8d8796(0xc3)]()[_0x8d8796(0x13a)]()));}['fitLayerById'](_0x1a9212){const _0x43dc8f=a65_0x259787;let _0x1a0146=this['getLayerById'](_0x1a9212);_0x1a0146&&this[_0x43dc8f(0x10d)](_0x1a0146);}async[a65_0x259787(0x121)](_0x558be6,_0x213e70,_0x5a741b=![],_0x5a96a7){const _0xdec202=a65_0x259787;var _0x29d394;let _0x1cdffa=this[_0xdec202(0xcb)](_0x558be6);if(!_0x1cdffa||!_0x1cdffa['layerInfo'])return;const _0x412828=_0x1cdffa[_0xdec202(0x112)];if(_0x1cdffa[_0xdec202(0xc1)]()==![]||!_0x1cdffa||!_0x412828[_0xdec202(0x12b)]||!_0x412828['selectIndex'])return;const _0x4ec2ab=this[_0xdec202(0xdf)]()[_0xdec202(0x102)]();let _0x2ab89b=await selectFeaturesByGeo(undefined,undefined,_0x412828['url'],_0x412828[_0xdec202(0xdd)],_0x412828[_0xdec202(0x118)],_0x213e70,_0x4ec2ab),_0x11ed70=[];if(_0x2ab89b[_0xdec202(0xfd)]>0x0){_0x11ed70=_0x2ab89b['map'](_0x39d149=>_0x39d149[_0xdec202(0xd5)]());_0x11ed70&&_0x11ed70[_0xdec202(0xfd)]>0x0&&this[_0xdec202(0xc8)](_0x11ed70,undefined,1.2,!![]);let _0x148ef0=this['getPolygonTempLayer'](),_0x542237=getSelectPolygonStyle();switch((_0x29d394=_0x2ab89b[0x0][_0xdec202(0xd5)]())===null||_0x29d394===void 0x0?void 0x0:_0x29d394['getType']()){case'Point':case _0xdec202(0x123):_0x148ef0=this[_0xdec202(0x134)](),_0x542237=getSelectPointStyle();break;case _0xdec202(0x117):case _0xdec202(0xcf):_0x148ef0=this[_0xdec202(0xf3)](),_0x542237=getSelectLineStyle();break;default:break;}const _0x51bf06=_0x148ef0[_0xdec202(0xb8)]();_0x51bf06&&_0x5a741b&&(_0x2ab89b[_0xdec202(0x12a)](_0x613227=>{const _0x4933de=_0xdec202;_0x613227['layerId']=_0x412828['id'],_0x613227[_0x4933de(0xdc)]=!![],_0x613227['tag']=_0x5a96a7,_0x613227[_0x4933de(0xb7)]=_0x148ef0,_0x613227['setStyle'](_0x542237);}),_0x51bf06['addFeatures'](_0x2ab89b));}}async[a65_0x259787(0x124)](_0x616288){const _0x7b59bc=a65_0x259787;let _0x1593fd;switch(_0x616288[_0x7b59bc(0x118)]){case _0x7b59bc(0x10e):_0x1593fd=await a65_0x379138[_0x7b59bc(0xce)](_0x616288);break;case _0x7b59bc(0xc6):_0x1593fd=await a65_0x379138[_0x7b59bc(0xfb)](_0x616288);break;case'arcgis-tile':_0x1593fd=await a65_0x379138[_0x7b59bc(0x132)](_0x616288);break;case _0x7b59bc(0xd8):_0x1593fd=await a65_0x379138[_0x7b59bc(0xe9)](_0x616288);break;case _0x7b59bc(0x110):_0x1593fd=await a65_0x379138[_0x7b59bc(0xbc)](_0x616288);break;case'geoserver-wms':_0x1593fd=await a65_0x379138[_0x7b59bc(0xf4)](_0x616288);break;case'geoserver-wfs':_0x1593fd=await a65_0x379138[_0x7b59bc(0x107)](_0x616288);break;case'geoserver-wmts':_0x1593fd=await a65_0x379138[_0x7b59bc(0x12d)](_0x616288);break;case _0x7b59bc(0xca):_0x1593fd=await a65_0x379138[_0x7b59bc(0x103)](_0x616288);break;case _0x7b59bc(0xda):_0x1593fd=await a65_0x379138['getTDTLayer'](_0x616288);break;case _0x7b59bc(0xc9):_0x1593fd=await a65_0x379138[_0x7b59bc(0x12f)](_0x616288);break;default:throw new Error(_0x7b59bc(0x11f)+_0x616288[_0x7b59bc(0x118)]+_0x7b59bc(0xe6));}return this[_0x7b59bc(0xf7)](_0x1593fd),this[_0x7b59bc(0x11a)](new ChangeLayerEvent(_0x7b59bc(0x11c),[_0x616288['id']],'add')),_0x1593fd;}async['addMapLayers'](_0x13339e){const _0x12dfe4=a65_0x259787;let _0x31c90a=[];const _0x39103e=[];for(let _0x33d962=0x0;_0x33d962<_0x13339e[_0x12dfe4(0xfd)];_0x33d962++){const _0x4d1e5b=_0x13339e[_0x33d962];_0x39103e[_0x12dfe4(0x104)](_0x4d1e5b['id']),_0x31c90a['push'](this[_0x12dfe4(0x124)](_0x4d1e5b));}const _0x33cd87=await Promise[_0x12dfe4(0xbd)](_0x31c90a);return this['dispatchEvent'](new ChangeLayerEvent('changelayer',_0x39103e,_0x12dfe4(0xbf))),_0x33cd87;}[a65_0x259787(0xf7)](_0x26fd95,_0x3c96ea=![]){const _0x4e7b34=a65_0x259787,_0x770caa=_0x26fd95,_0x3bc4f8=this[_0x4e7b34(0x138)](_0x770caa['id']);if(_0x3bc4f8==null){const _0x4c43c1=_0x770caa['layerInfo']==undefined||_0x770caa['layerInfo'][_0x4e7b34(0xcd)]==undefined||_0x770caa[_0x4e7b34(0x112)][_0x4e7b34(0xcd)]<0x0?undefined:calculateResolution(_0x770caa[_0x4e7b34(0x112)][_0x4e7b34(0xcd)],this['getView']()[_0x4e7b34(0xc3)]()[_0x4e7b34(0xf6)]()||0x0);_0x26fd95[_0x4e7b34(0xf9)](_0x4c43c1);const _0x3fa789=_0x770caa[_0x4e7b34(0x112)]==undefined||_0x770caa[_0x4e7b34(0x112)][_0x4e7b34(0xe2)]==undefined||_0x770caa[_0x4e7b34(0x112)][_0x4e7b34(0xe2)]<0x0?undefined:calculateResolution(_0x770caa[_0x4e7b34(0x112)][_0x4e7b34(0xe2)],this[_0x4e7b34(0xdf)]()[_0x4e7b34(0xc3)]()[_0x4e7b34(0xf6)]()||0x0);_0x26fd95['setMaxResolution'](_0x3fa789);const _0x46c52b=this[_0x4e7b34(0x10a)]()['getArray']()[_0x4e7b34(0xfd)];if(!this[_0x4e7b34(0x108)]['projection']&&_0x46c52b==0x0&&_0x770caa[_0x4e7b34(0xfa)]&&_0x770caa[_0x4e7b34(0xfa)][_0x4e7b34(0x13a)]()!=this[_0x4e7b34(0xdf)]()[_0x4e7b34(0xc3)]()[_0x4e7b34(0x13a)]()){}let _0x50fc10=_0x26fd95[_0x4e7b34(0xed)]();_0x50fc10!=undefined&&_0x50fc10>_0x46c52b&&(_0x50fc10=_0x46c52b),this['getLayers']()['insertAt'](_0x50fc10==undefined?_0x46c52b:_0x50fc10,_0x26fd95),_0x3c96ea&&this[_0x4e7b34(0x10d)](_0x770caa);}}[a65_0x259787(0xe0)](_0x2b084a){const _0x2ed4cc=a65_0x259787,_0x47c55f=this[_0x2ed4cc(0x138)](_0x2b084a);_0x47c55f&&(this[_0x2ed4cc(0xe5)](_0x47c55f),this[_0x2ed4cc(0x11a)](new ChangeLayerEvent(_0x2ed4cc(0x11c),[_0x2b084a],_0x2ed4cc(0x120))));}[a65_0x259787(0xe3)](_0x493e61){const _0xc4cbeb=a65_0x259787,_0x3cc4a4=this['getLayersByIds'](_0x493e61);_0x3cc4a4&&_0x3cc4a4[_0xc4cbeb(0xfd)]>0x0&&(_0x3cc4a4[_0xc4cbeb(0x12a)](_0x1dd200=>{const _0x26e5c3=_0xc4cbeb;this[_0x26e5c3(0xe5)](_0x1dd200);}),this[_0xc4cbeb(0x11a)](new ChangeLayerEvent(_0xc4cbeb(0x11c),_0x493e61,_0xc4cbeb(0x120))));}['getLayerById'](_0x3d79b3){const _0x1b5f27=a65_0x259787;let _0x456904,_0x4abda3=this['getLayers']()['getArray']();for(let _0x54e592=0x0;_0x54e592<_0x4abda3[_0x1b5f27(0xfd)];_0x54e592++){let _0x406ab3=_0x4abda3[_0x54e592]['id'];if(_0x3d79b3==_0x406ab3){_0x456904=_0x4abda3[_0x54e592];break;}}return _0x456904;}[a65_0x259787(0xcb)](_0x1edac2){const _0x214ace=a65_0x259787;let _0x156375,_0x3e629d=this[_0x214ace(0x10a)]()[_0x214ace(0xff)]();for(let _0x7f223d=0x0;_0x7f223d<_0x3e629d['length'];_0x7f223d++){const _0x12f2d0=_0x3e629d[_0x7f223d][_0x214ace(0x112)];if(!_0x12f2d0)continue;let _0x4895d5=_0x12f2d0[_0x214ace(0x116)];if(_0x4895d5==_0x1edac2){_0x156375=_0x3e629d[_0x7f223d];break;}}return _0x156375;}[a65_0x259787(0x136)](_0x4060df){const _0x1a9c60=a65_0x259787;let _0x2dd40e=this[_0x1a9c60(0x10a)]()[_0x1a9c60(0xff)]();return _0x2dd40e[_0x1a9c60(0xec)](_0x40b9cf=>_0x4060df[_0x1a9c60(0x115)](_0x40b9cf['id']));}[a65_0x259787(0xf2)](_0x28fdca){const _0x451ac9=a65_0x259787;let _0x3d6960,_0x5dfd52=this[_0x451ac9(0x10a)]()['getArray']();for(let _0x672089=0x0;_0x672089<_0x5dfd52[_0x451ac9(0xfd)];_0x672089++){const _0x342385=_0x5dfd52[_0x672089];if(_0x342385['id']===_0x28fdca){_0x3d6960=_0x342385;break;}}if(!_0x3d6960){_0x3d6960=new a65_0x5a4afb({'zIndex':0x270f,'source':new a65_0x315521()}),_0x3d6960['id']=_0x28fdca;const _0xd19346=this['getLayers']()[_0x451ac9(0xd2)]();switch(_0x28fdca){case _0x451ac9(0xd4):this['getLayers']()['insertAt'](_0xd19346-0x1>-0x1?_0xd19346-0x1:0x0,_0x3d6960);break;case'polygonTempLayer':this['getLayers']()[_0x451ac9(0xc0)](_0xd19346-0x2>-0x1?_0xd19346-0x2:0x0,_0x3d6960);break;case _0x451ac9(0xba):this[_0x451ac9(0x10a)]()[_0x451ac9(0xc0)](_0xd19346,_0x3d6960);break;default:break;}}return _0x3d6960;}[a65_0x259787(0x134)](){const _0xaad488=a65_0x259787;return this['getTempLayerById'](_0xaad488(0xba));}[a65_0x259787(0xf3)](){const _0x1fbd00=a65_0x259787;return this[_0x1fbd00(0xf2)](_0x1fbd00(0xd4));}['getPolygonTempLayer'](){const _0x50cc45=a65_0x259787;return this['getTempLayerById'](_0x50cc45(0x11e));}[a65_0x259787(0x12c)](_0x3f1199){const _0xbd942d=a65_0x259787;let _0x236d70=this[_0xbd942d(0x134)]();switch(_0x3f1199){case'Point':case'MultiPoint':_0x236d70=this[_0xbd942d(0x134)]();case _0xbd942d(0x117):case _0xbd942d(0xcf):_0x236d70=this[_0xbd942d(0xf3)]();case _0xbd942d(0xd3):case _0xbd942d(0xd0):_0x236d70=this[_0xbd942d(0xe7)]();}return _0x236d70;}['resetViewProjection'](_0x436c1a){const _0x3c49ec=a65_0x259787;let _0x190fec=this[_0x3c49ec(0xdf)]()[_0x3c49ec(0xea)](),_0x1c4ed6=this[_0x3c49ec(0xdf)]()[_0x3c49ec(0x101)]();registerProj(_0x436c1a),this['getView']()[_0x3c49ec(0xc5)](_0x436c1a);}[a65_0x259787(0xe8)](){const _0x117658=a65_0x259787;let _0x2c1f6a=[];_0x2c1f6a[_0x117658(0x104)](this[_0x117658(0x134)]()),_0x2c1f6a[_0x117658(0x104)](this[_0x117658(0xf3)]()),_0x2c1f6a['push'](this[_0x117658(0xe7)]());const _0x23f0de=this[_0x117658(0x10a)]()[_0x117658(0xff)]()[_0x117658(0xfd)];for(let _0xd1c663=0x0;_0xd1c663<_0x2c1f6a['length'];_0xd1c663++){const _0x4cd0f6=_0x2c1f6a[_0xd1c663];this['getLayers']()[_0x117658(0xc0)](_0x23f0de-_0xd1c663-0x1,_0x4cd0f6);}}[a65_0x259787(0x12e)](){const _0xaabef=a65_0x259787;return this[_0xaabef(0xdf)]()[_0xaabef(0x10f)](this['getSize']());}[a65_0x259787(0x126)](_0x2dc696,_0x45056f,_0x441c50,_0x5923c6=!![],_0x559b22,_0x14f79d={'color':a65_0x259787(0xbe),'opacity':0.2,'outlineColor':a65_0x259787(0xc4),'outlineWidth':0x2}){const _0x31cf61=a65_0x259787;var _0x58b899;const _0x3182d3=fromWKT(_0x2dc696,_0x45056f,this[_0x31cf61(0xdf)]()[_0x31cf61(0xc3)]()[_0x31cf61(0x13a)]());if(!_0x3182d3)return;const _0x5881a7=this[_0x31cf61(0x12c)](_0x3182d3[_0x31cf61(0x127)]()),_0x595ea8=getStyle(_0x14f79d),_0x4d8544=new a65_0x51c90f();return _0x4d8544[_0x31cf61(0x139)](_0x3182d3),_0x4d8544[_0x31cf61(0xf5)](_0x595ea8),_0x559b22?_0x4d8544[_0x31cf61(0x137)](_0x559b22):_0x4d8544[_0x31cf61(0x137)]({}),_0x4d8544['tag']=_0x441c50,(_0x58b899=_0x5881a7['getSource']())===null||_0x58b899===void 0x0?void 0x0:_0x58b899['addFeature'](_0x4d8544),_0x5923c6&&this['locationGeometry'](_0x3182d3,undefined,1.2,![]),_0x4d8544;}[a65_0x259787(0x119)](_0x1f7196,_0x1bdeff,_0x3a0f97,_0x2c640b=!![],_0x4da571={'color':a65_0x259787(0xbe),'opacity':0.2,'outlineColor':'rgba(255,\x200,\x200,\x201)','outlineWidth':0x2},_0x29bf71){const _0x31cd12=a65_0x259787;var _0x686efe;const _0x983832=fromWKTs(_0x1f7196,_0x1bdeff,this[_0x31cd12(0xdf)]()['getProjection']()[_0x31cd12(0x13a)]());if(!_0x983832||_0x983832[_0x31cd12(0xfd)]==0x0)return;const _0x5397d4=this[_0x31cd12(0x12c)](_0x983832[0x0][_0x31cd12(0x127)]()),_0x289715=getStyle(_0x4da571);let _0x257f95=[];for(const _0x3c80ce of _0x983832){const _0x12f581=new a65_0x51c90f();_0x12f581['setGeometry'](_0x3c80ce),_0x12f581[_0x31cd12(0xf5)](_0x289715),_0x29bf71?_0x12f581[_0x31cd12(0x137)](_0x29bf71):_0x12f581[_0x31cd12(0x137)]({}),_0x12f581[_0x31cd12(0x109)]='import',_0x12f581['isSelected']=!![],_0x12f581[_0x31cd12(0x131)]=_0x3a0f97,_0x257f95[_0x31cd12(0x104)](_0x12f581);}return(_0x686efe=_0x5397d4['getSource']())===null||_0x686efe===void 0x0?void 0x0:_0x686efe[_0x31cd12(0xf0)](_0x257f95),_0x2c640b&&this['locationGeometrys'](_0x983832,undefined,1.2,![]),_0x257f95;}[a65_0x259787(0xfc)](_0x453e1d,_0x318a8f,_0x4c6acc=1.2,_0x57eece=!![]){const _0x5a7b3d=a65_0x259787;if(!_0x453e1d)return;let _0x535f4b=fromWKT(_0x453e1d,_0x318a8f,this['getView']()[_0x5a7b3d(0xc3)]()['getCode']());if(!_0x535f4b)return;this[_0x5a7b3d(0xdb)](_0x535f4b,_0x318a8f,_0x4c6acc,_0x57eece);}[a65_0x259787(0xd6)](_0x281415,_0x1a3813,_0x38edf9=1.2,_0x554f25=!![]){const _0x2b4345=a65_0x259787;if(!_0x281415||_0x281415['length']===0x0)return;const _0x2aded9=[];for(let _0x5aae47=0x0;_0x5aae47<_0x281415[_0x2b4345(0xfd)];_0x5aae47++){let _0x2fd86a=_0x281415[_0x5aae47],_0xde1bb8=fromWKT(_0x2fd86a,_0x1a3813,this['getView']()[_0x2b4345(0xc3)]()[_0x2b4345(0x13a)]());if(!_0xde1bb8)continue;_0x2aded9[_0x2b4345(0x104)](_0xde1bb8);}this[_0x2b4345(0xc8)](_0x2aded9,_0x1a3813,_0x38edf9,_0x554f25);}[a65_0x259787(0xdb)](_0x2adaa1,_0xa7259a,_0x568d6=1.2,_0x51acd9=!![]){const _0x55a03b=a65_0x259787;if(!_0x2adaa1)return;let _0x556d6a=_0x2adaa1;_0xa7259a&&(_0x556d6a=_0x2adaa1[_0x55a03b(0x122)](_0xa7259a,this[_0x55a03b(0xdf)]()[_0x55a03b(0xc3)]()));switch(_0x556d6a[_0x55a03b(0x127)]()){case _0x55a03b(0xe1):this[_0x55a03b(0xdf)]()[_0x55a03b(0x113)](_0x556d6a[_0x55a03b(0x125)]());break;case _0x55a03b(0xd3):case _0x55a03b(0x123):case _0x55a03b(0xcf):case'LineString':case _0x55a03b(0xd0):case _0x55a03b(0xc7):this[_0x55a03b(0xdf)]()['fit'](expandExtent(_0x556d6a[_0x55a03b(0x12e)](),_0x568d6));break;}if(_0x51acd9){const _0x26046c=new a65_0xac214(this);_0x26046c[_0x55a03b(0x10b)]([_0x556d6a],0x3);}}[a65_0x259787(0xc8)](_0x562a76,_0x39082e,_0x40a5df=1.2,_0x1f322a=!![]){const _0xb6dc58=a65_0x259787;if(!_0x562a76||_0x562a76['length']===0x0)return;let _0x1b4ee6=null;for(const _0x4131b6 of _0x562a76){_0x1b4ee6?_0x1b4ee6=union(_0x1b4ee6,_0x4131b6):_0x1b4ee6=_0x4131b6;}_0x1b4ee6&&this[_0xb6dc58(0xdb)](_0x1b4ee6,_0x39082e,_0x40a5df,![]);if(_0x1f322a){const _0x586538=new a65_0xac214(this);_0x586538['flashGeometrys'](_0x562a76,0x3);}}}
package/mapView/View.js CHANGED
@@ -1 +1 @@
1
- var a66_0xd2353f=a66_0x552c;(function(_0x1cc9b1,_0x2f6f5d){var _0x3ecf38=a66_0x552c,_0x9d1d53=_0x1cc9b1();while(!![]){try{var _0x58d60d=parseInt(_0x3ecf38(0x1f1))/0x1*(-parseInt(_0x3ecf38(0x1e7))/0x2)+parseInt(_0x3ecf38(0x1f3))/0x3*(-parseInt(_0x3ecf38(0x1ec))/0x4)+parseInt(_0x3ecf38(0x1ea))/0x5+parseInt(_0x3ecf38(0x1ef))/0x6+-parseInt(_0x3ecf38(0x1ee))/0x7*(parseInt(_0x3ecf38(0x1e9))/0x8)+parseInt(_0x3ecf38(0x1e8))/0x9*(parseInt(_0x3ecf38(0x1eb))/0xa)+parseInt(_0x3ecf38(0x1ed))/0xb*(parseInt(_0x3ecf38(0x1f5))/0xc);if(_0x58d60d===_0x2f6f5d)break;else _0x9d1d53['push'](_0x9d1d53['shift']());}catch(_0x3c2a8b){_0x9d1d53['push'](_0x9d1d53['shift']());}}}(a66_0x11e6,0x308a9));import a66_0xccf0e6 from'ol/View';import{get}from'ol/proj';function a66_0x552c(_0x2e1960,_0x2f9fa0){var _0x11e620=a66_0x11e6();return a66_0x552c=function(_0x552c35,_0x3a0f6a){_0x552c35=_0x552c35-0x1e7;var _0x3bc9dd=_0x11e620[_0x552c35];return _0x3bc9dd;},a66_0x552c(_0x2e1960,_0x2f9fa0);}export default class OLView extends a66_0xccf0e6{constructor(_0x2b581c){super(_0x2b581c);}[a66_0xd2353f(0x1f2)](_0x2bb980){var _0x25e8a7=a66_0xd2353f;this[_0x25e8a7(0x1f4)]=get(_0x2bb980),this[_0x25e8a7(0x1f0)]({'projection_':get(_0x2bb980)});}}function a66_0x11e6(){var _0x5d7247=['setProperties','2pbBAKi','setProjection','150753srMhWB','projection_','4838628rtqlKc','379388VxwmWZ','9ZSiMFw','655952cRKpHu','190965GyZBYX','2619830FBCred','28Ocxszu','11JUCCAo','14WoJAWO','2343378GOlLFL'];a66_0x11e6=function(){return _0x5d7247;};return a66_0x11e6();}
1
+ var a66_0x429880=a66_0x47e0;function a66_0x16e8(){var _0x4555a4=['setProjection','808ohLfhm','1849941RdNMKq','135YCDPfZ','1896408zfysAh','40302MmsGSW','2612kQulXD','771EdjaIj','400guJNdv','1768718HkfKyE','projection_','3793404HxKhGn'];a66_0x16e8=function(){return _0x4555a4;};return a66_0x16e8();}(function(_0x2494e7,_0x5524b6){var _0x16797e=a66_0x47e0,_0x7270ef=_0x2494e7();while(!![]){try{var _0x52baaf=parseInt(_0x16797e(0x99))/0x1*(-parseInt(_0x16797e(0x93))/0x2)+parseInt(_0x16797e(0x94))/0x3+parseInt(_0x16797e(0x98))/0x4*(-parseInt(_0x16797e(0x95))/0x5)+-parseInt(_0x16797e(0x91))/0x6+parseInt(_0x16797e(0x8f))/0x7+parseInt(_0x16797e(0x96))/0x8+parseInt(_0x16797e(0x97))/0x9*(parseInt(_0x16797e(0x9a))/0xa);if(_0x52baaf===_0x5524b6)break;else _0x7270ef['push'](_0x7270ef['shift']());}catch(_0x85aee4){_0x7270ef['push'](_0x7270ef['shift']());}}}(a66_0x16e8,0x4f22f));import a66_0x524c0c from'ol/View';function a66_0x47e0(_0x416691,_0x381c53){var _0x16e8c8=a66_0x16e8();return a66_0x47e0=function(_0x47e0ae,_0x37d3ec){_0x47e0ae=_0x47e0ae-0x8f;var _0x11c196=_0x16e8c8[_0x47e0ae];return _0x11c196;},a66_0x47e0(_0x416691,_0x381c53);}import{get}from'ol/proj';export default class OLView extends a66_0x524c0c{constructor(_0x776e22){super(_0x776e22);}[a66_0x429880(0x92)](_0x351d95){var _0x320c75=a66_0x429880;this[_0x320c75(0x90)]=get(_0x351d95),this['setProperties']({'projection_':get(_0x351d95)});}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ym-gis-2d",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "index.ts",
package/plot/Plot.js CHANGED
@@ -1 +1 @@
1
- (function(_0x34b021,_0x48329d){const _0x48d843=a74_0x3c73,_0x1c9ae8=_0x34b021();while(!![]){try{const _0xa0fae4=-parseInt(_0x48d843(0x19c))/0x1*(-parseInt(_0x48d843(0x1ac))/0x2)+parseInt(_0x48d843(0x19e))/0x3*(-parseInt(_0x48d843(0x19a))/0x4)+parseInt(_0x48d843(0x1b1))/0x5+parseInt(_0x48d843(0x1ae))/0x6*(-parseInt(_0x48d843(0x1a6))/0x7)+parseInt(_0x48d843(0x1a8))/0x8*(-parseInt(_0x48d843(0x1a2))/0x9)+parseInt(_0x48d843(0x1a9))/0xa+parseInt(_0x48d843(0x1a5))/0xb;if(_0xa0fae4===_0x48329d)break;else _0x1c9ae8['push'](_0x1c9ae8['shift']());}catch(_0x5d79fa){_0x1c9ae8['push'](_0x1c9ae8['shift']());}}}(a74_0x3493,0x85172));import a74_0x276bd6 from'../entity/GeometryType';import a74_0x394820 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';import a74_0x428060 from'./geometry/polygon/RectAngle';import a74_0x5077af from'./geometry/polyline/Polyline';import a74_0xc38a4 from'./geometry/point/Point';import a74_0x21b6c4 from'./geometry/polygon/Circle';function a74_0x3c73(_0xb71c07,_0x4f4b47){const _0x3493d8=a74_0x3493();return a74_0x3c73=function(_0x3c7354,_0x24d390){_0x3c7354=_0x3c7354-0x19a;let _0x416bce=_0x3493d8[_0x3c7354];return _0x416bce;},a74_0x3c73(_0xb71c07,_0x4f4b47);}const defaultStyle={'color':[0x40,0xaf,0xc1],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1],'outlineOpacity':0.6,'outlineWidth':0x2};function a74_0x3493(){const _0x25819b=['Circle','text','Curve','47356fdinFc','assign','1DgpFgw','Rectangle','117IFLIxV','Ellipsoid','MAX_VALUE','toLowerCase','2597067WTROef','Ellipse','Arrow','11857615ExdRsX','105329vgdYNq','Polygon','24gQxpBi','1100160htpZHe','Point','SurfaceClosed','941366wQANkR','ArrowAttack','258fyzWYC','ArrowPincerlike','PolyLine','4304525eVvIle','pointermove'];a74_0x3493=function(){return _0x25819b;};return a74_0x3493();}export function createPlot(_0x19c42d,_0x239298){const _0x187ded=a74_0x3c73;_0x19c42d=_0x19c42d[_0x187ded(0x1a1)]();switch(_0x19c42d){case a74_0x276bd6[_0x187ded(0x1aa)]:case _0x187ded(0x1b2):return new a74_0xc38a4(_0x239298);case a74_0x276bd6[_0x187ded(0x1b0)]:return new a74_0x5077af(_0x239298);case a74_0x276bd6['Circle']:return new a74_0x21b6c4(_0x239298);case a74_0x276bd6['Rectangle']:return new a74_0x428060(_0x239298);case a74_0x276bd6[_0x187ded(0x1a7)]:return new a74_0x394820(_0x239298);}}export function getPlotCount(_0x2dc2ca){const _0x1cb745=a74_0x3c73;_0x2dc2ca=_0x2dc2ca['toLowerCase']();let _0x10602b={'fixPoint':0x0,'minPoint':0x0};switch(_0x2dc2ca){case a74_0x276bd6[_0x1cb745(0x1aa)]:_0x10602b={'fixPoint':0x1,'minPoint':0x0};break;case a74_0x276bd6[_0x1cb745(0x1b0)]:_0x10602b={'fixPoint':Number[_0x1cb745(0x1a0)],'minPoint':0x1};break;case a74_0x276bd6[_0x1cb745(0x1a7)]:_0x10602b={'fixPoint':Number['MAX_VALUE'],'minPoint':0x2};break;case a74_0x276bd6[_0x1cb745(0x19d)]:_0x10602b={'fixPoint':0x2,'minPoint':0x1};break;case a74_0x276bd6['Circle']:_0x10602b={'fixPoint':0x2,'minPoint':0x1};break;case a74_0x276bd6[_0x1cb745(0x1b5)]:_0x10602b={'fixPoint':Number['MAX_VALUE'],'minPoint':0x1};break;case a74_0x276bd6[_0x1cb745(0x1a3)]:case a74_0x276bd6[_0x1cb745(0x19f)]:_0x10602b={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x10602b;}export function getStyle(_0x39c31b,_0x280a75,_0x7ad187){const _0x335c07=a74_0x3c73;_0x39c31b=_0x39c31b[_0x335c07(0x1a1)](),_0x280a75=Object[_0x335c07(0x19b)](Object[_0x335c07(0x19b)]({},defaultStyle),_0x280a75);switch(_0x39c31b){case a74_0x276bd6[_0x335c07(0x1aa)]:return function(_0x479b26,_0x577f4c){return getPointSingleStyle(_0x39c31b,_0x280a75,_0x577f4c,_0x7ad187);};case a74_0x276bd6[_0x335c07(0x1b0)]:case a74_0x276bd6['Curve']:return function(_0x177872,_0x587fab){return getPolylineStyle(_0x280a75,'',_0x587fab,_0x7ad187);};case a74_0x276bd6[_0x335c07(0x1b3)]:case a74_0x276bd6[_0x335c07(0x19d)]:case a74_0x276bd6[_0x335c07(0x1a3)]:case a74_0x276bd6[_0x335c07(0x19f)]:case a74_0x276bd6[_0x335c07(0x1ab)]:case a74_0x276bd6[_0x335c07(0x1a7)]:case a74_0x276bd6[_0x335c07(0x1ad)]:case a74_0x276bd6[_0x335c07(0x1af)]:case a74_0x276bd6[_0x335c07(0x1a4)]:case a74_0x276bd6['AssemblySite']:return function(_0x13792d,_0x327378){const _0x5eac9c=_0x335c07;return getPolygonStyle(_0x280a75,_0x280a75[_0x5eac9c(0x1b4)],_0x327378,_0x7ad187);};}}
1
+ (function(_0x21caa7,_0x432d5c){const _0x2e2c5a=a74_0x6264,_0x98883c=_0x21caa7();while(!![]){try{const _0x53a96d=-parseInt(_0x2e2c5a(0x16e))/0x1*(parseInt(_0x2e2c5a(0x172))/0x2)+-parseInt(_0x2e2c5a(0x174))/0x3*(-parseInt(_0x2e2c5a(0x165))/0x4)+-parseInt(_0x2e2c5a(0x15b))/0x5+-parseInt(_0x2e2c5a(0x163))/0x6+parseInt(_0x2e2c5a(0x166))/0x7+-parseInt(_0x2e2c5a(0x15f))/0x8+parseInt(_0x2e2c5a(0x171))/0x9;if(_0x53a96d===_0x432d5c)break;else _0x98883c['push'](_0x98883c['shift']());}catch(_0xa993f8){_0x98883c['push'](_0x98883c['shift']());}}}(a74_0x2906,0x2a56e));import a74_0x210af1 from'../entity/GeometryType';import a74_0x4e75d6 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';function a74_0x2906(){const _0x1c7802=['SurfaceClosed','Arrow','243383wWePxL','Ellipsoid','Curve','3140784CKDFvM','2HChbUk','PolyLine','110877vSOpvE','1030650JqIYwr','toLowerCase','Ellipse','text','281640rIjyTj','MAX_VALUE','assign','Point','1735164ZQrWlD','Polygon','28xZsoml','2377515pDHIax','Rectangle','Circle','ArrowAttack','AssemblySite','ArrowPincerlike'];a74_0x2906=function(){return _0x1c7802;};return a74_0x2906();}import a74_0xda4303 from'./geometry/polygon/RectAngle';import a74_0x2b32d1 from'./geometry/polyline/Polyline';import a74_0x3e2b48 from'./geometry/point/Point';import a74_0x241007 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(_0x182aeb,_0x244eff){const _0x459421=a74_0x6264;_0x182aeb=_0x182aeb[_0x459421(0x15c)]();switch(_0x182aeb){case a74_0x210af1[_0x459421(0x162)]:case'pointermove':return new a74_0x3e2b48(_0x244eff);case a74_0x210af1['PolyLine']:return new a74_0x2b32d1(_0x244eff);case a74_0x210af1[_0x459421(0x168)]:return new a74_0x241007(_0x244eff);case a74_0x210af1[_0x459421(0x167)]:return new a74_0xda4303(_0x244eff);case a74_0x210af1[_0x459421(0x164)]:return new a74_0x4e75d6(_0x244eff);}}function a74_0x6264(_0x11c1fb,_0x404467){const _0x290655=a74_0x2906();return a74_0x6264=function(_0x626402,_0x39ade4){_0x626402=_0x626402-0x15b;let _0x480bbc=_0x290655[_0x626402];return _0x480bbc;},a74_0x6264(_0x11c1fb,_0x404467);}export function getPlotCount(_0x462af9){const _0x11741d=a74_0x6264;_0x462af9=_0x462af9[_0x11741d(0x15c)]();let _0x2abf35={'fixPoint':0x0,'minPoint':0x0};switch(_0x462af9){case a74_0x210af1[_0x11741d(0x162)]:_0x2abf35={'fixPoint':0x1,'minPoint':0x0};break;case a74_0x210af1[_0x11741d(0x173)]:_0x2abf35={'fixPoint':Number['MAX_VALUE'],'minPoint':0x1};break;case a74_0x210af1['Polygon']:_0x2abf35={'fixPoint':Number['MAX_VALUE'],'minPoint':0x2};break;case a74_0x210af1['Rectangle']:_0x2abf35={'fixPoint':0x2,'minPoint':0x1};break;case a74_0x210af1[_0x11741d(0x168)]:_0x2abf35={'fixPoint':0x2,'minPoint':0x1};break;case a74_0x210af1['Curve']:_0x2abf35={'fixPoint':Number[_0x11741d(0x160)],'minPoint':0x1};break;case a74_0x210af1[_0x11741d(0x15d)]:case a74_0x210af1[_0x11741d(0x16f)]:_0x2abf35={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x2abf35;}export function getStyle(_0x59f234,_0x4345ae,_0x726c45){const _0x4d405b=a74_0x6264;_0x59f234=_0x59f234['toLowerCase'](),_0x4345ae=Object[_0x4d405b(0x161)](Object[_0x4d405b(0x161)]({},defaultStyle),_0x4345ae);switch(_0x59f234){case a74_0x210af1['Point']:return function(_0x36f3a1,_0x3697a1){return getPointSingleStyle(_0x59f234,_0x4345ae,_0x3697a1,_0x726c45);};case a74_0x210af1[_0x4d405b(0x173)]:case a74_0x210af1[_0x4d405b(0x170)]:return function(_0x1f68e7,_0x257950){return getPolylineStyle(_0x4345ae,'',_0x257950,_0x726c45);};case a74_0x210af1[_0x4d405b(0x168)]:case a74_0x210af1[_0x4d405b(0x167)]:case a74_0x210af1[_0x4d405b(0x15d)]:case a74_0x210af1[_0x4d405b(0x16f)]:case a74_0x210af1[_0x4d405b(0x16c)]:case a74_0x210af1[_0x4d405b(0x164)]:case a74_0x210af1[_0x4d405b(0x169)]:case a74_0x210af1[_0x4d405b(0x16b)]:case a74_0x210af1[_0x4d405b(0x16d)]:case a74_0x210af1[_0x4d405b(0x16a)]:return function(_0x1f0c14,_0x2594f6){const _0x372832=_0x4d405b;return getPolygonStyle(_0x4345ae,_0x4345ae[_0x372832(0x15e)],_0x2594f6,_0x726c45);};}}
@@ -1 +1 @@
1
- var a67_0x4e3d47=a67_0x5a8c;(function(_0x161249,_0x538f58){var _0x456add=a67_0x5a8c,_0x571092=_0x161249();while(!![]){try{var _0x303d22=-parseInt(_0x456add(0x10e))/0x1*(parseInt(_0x456add(0x121))/0x2)+parseInt(_0x456add(0x11e))/0x3*(parseInt(_0x456add(0x10f))/0x4)+parseInt(_0x456add(0x123))/0x5*(-parseInt(_0x456add(0x112))/0x6)+-parseInt(_0x456add(0x125))/0x7*(parseInt(_0x456add(0x11b))/0x8)+parseInt(_0x456add(0x11a))/0x9+-parseInt(_0x456add(0x116))/0xa+-parseInt(_0x456add(0x124))/0xb*(-parseInt(_0x456add(0x114))/0xc);if(_0x303d22===_0x538f58)break;else _0x571092['push'](_0x571092['shift']());}catch(_0x21f549){_0x571092['push'](_0x571092['shift']());}}}(a67_0x3386,0xb1f18));import{Map}from'ol';import{Point as a67_0x263958}from'ol/geom';class Point extends a67_0x263958{constructor(_0x2e1a53){var _0x530878=a67_0x5a8c;super([]),this['type']='Point',this[_0x530878(0x10c)]=_0x2e1a53,this['setPoints'](_0x2e1a53);}[a67_0x4e3d47(0x128)](){var _0x33731c=a67_0x4e3d47;return this[_0x33731c(0x118)];}['generate'](){var _0x4876e5=a67_0x4e3d47;this[_0x4876e5(0x11c)](this[_0x4876e5(0x10c)][0x0]);}[a67_0x4e3d47(0x117)](_0x271e18){var _0x393257=a67_0x4e3d47;if(_0x271e18&&_0x271e18 instanceof Map)this[_0x393257(0x127)]=_0x271e18;else throw new Error(_0x393257(0x126));}['getMap'](){var _0x20b4b3=a67_0x4e3d47;return this[_0x20b4b3(0x127)];}[a67_0x4e3d47(0x111)](){return!![];}[a67_0x4e3d47(0x11f)](_0x1b54ac){var _0x817369=a67_0x4e3d47;_0x1b54ac&&_0x1b54ac[_0x817369(0x10d)]>=0x1&&(this['points']=_0x1b54ac,this[_0x817369(0x110)]());}[a67_0x4e3d47(0x120)](){var _0x20d16d=a67_0x4e3d47;return this[_0x20d16d(0x10c)];}['updatePoint'](_0x1308df,_0x2451e9){var _0x5f4069=a67_0x4e3d47;_0x2451e9>=0x0&&_0x2451e9<this[_0x5f4069(0x10c)][_0x5f4069(0x10d)]&&(this['points'][_0x2451e9]=_0x1308df,this[_0x5f4069(0x110)]());}['updateLastPoint'](_0x3e4958){var _0x27688a=a67_0x4e3d47;this[_0x27688a(0x119)](_0x3e4958,this[_0x27688a(0x10c)][_0x27688a(0x10d)]-0x1);}[a67_0x4e3d47(0x113)](){}[a67_0x4e3d47(0x11d)](_0x343b98){var _0x1f454f=a67_0x4e3d47;this[_0x1f454f(0x122)]=JSON[_0x1f454f(0x115)](JSON['stringify'](_0x343b98));}}function a67_0x5a8c(_0x1a6f78,_0x13c8cf){var _0x3386e4=a67_0x3386();return a67_0x5a8c=function(_0x5a8cd2,_0x1e0359){_0x5a8cd2=_0x5a8cd2-0x10c;var _0x19be24=_0x3386e4[_0x5a8cd2];return _0x19be24;},a67_0x5a8c(_0x1a6f78,_0x13c8cf);}export default Point;function a67_0x3386(){var _0xbb2440=['95994XVhxJD','finishDrawing','51276pRLEGW','parse','372030fAWBbo','setMap','type','updatePoint','4051116dhZXsq','8WHJZEz','setCoordinates','setStyle','19326GHQeSx','setPoints','getPoints','82fnaTQG','style','400DpsUwx','5973gufhQg','8884988ZfvpAr','传入的不是地图对象!','map','getPlotType','points','length','6350yipfbD','500YkNlCD','generate','isPlot'];a67_0x3386=function(){return _0xbb2440;};return a67_0x3386();}
1
+ function a67_0x18ee(_0x378357,_0x48689f){var _0x2edfc1=a67_0x2edf();return a67_0x18ee=function(_0x18ee67,_0x45726b){_0x18ee67=_0x18ee67-0xf1;var _0x5e4c02=_0x2edfc1[_0x18ee67];return _0x5e4c02;},a67_0x18ee(_0x378357,_0x48689f);}var a67_0x2b85d1=a67_0x18ee;(function(_0x5a9493,_0x2173b1){var _0x109ea2=a67_0x18ee,_0x3a3122=_0x5a9493();while(!![]){try{var _0x5e14f2=parseInt(_0x109ea2(0xff))/0x1+parseInt(_0x109ea2(0xfe))/0x2*(-parseInt(_0x109ea2(0x105))/0x3)+-parseInt(_0x109ea2(0x108))/0x4*(-parseInt(_0x109ea2(0xf7))/0x5)+-parseInt(_0x109ea2(0xf3))/0x6*(parseInt(_0x109ea2(0x102))/0x7)+parseInt(_0x109ea2(0x103))/0x8*(-parseInt(_0x109ea2(0x101))/0x9)+-parseInt(_0x109ea2(0x10b))/0xa+parseInt(_0x109ea2(0x10c))/0xb;if(_0x5e14f2===_0x2173b1)break;else _0x3a3122['push'](_0x3a3122['shift']());}catch(_0x30dbf8){_0x3a3122['push'](_0x3a3122['shift']());}}}(a67_0x2edf,0x1af9a));import{Map}from'ol';import{Point as a67_0x1c6573}from'ol/geom';class Point extends a67_0x1c6573{constructor(_0x38eabe){var _0x55f467=a67_0x18ee;super([]),this[_0x55f467(0x109)]='Point',this[_0x55f467(0xf5)]=_0x38eabe,this['setPoints'](_0x38eabe);}['getPlotType'](){var _0x224e8d=a67_0x18ee;return this[_0x224e8d(0x109)];}[a67_0x2b85d1(0xf1)](){var _0x12b9d7=a67_0x2b85d1;this[_0x12b9d7(0x100)](this[_0x12b9d7(0xf5)][0x0]);}[a67_0x2b85d1(0xfb)](_0x3a3848){var _0x5109d4=a67_0x2b85d1;if(_0x3a3848&&_0x3a3848 instanceof Map)this[_0x5109d4(0xfc)]=_0x3a3848;else throw new Error(_0x5109d4(0xf6));}[a67_0x2b85d1(0xfd)](){var _0x59ebb5=a67_0x2b85d1;return this[_0x59ebb5(0xfc)];}[a67_0x2b85d1(0x106)](){return!![];}[a67_0x2b85d1(0x107)](_0x189b51){var _0x21e884=a67_0x2b85d1;_0x189b51&&_0x189b51[_0x21e884(0xf4)]>=0x1&&(this[_0x21e884(0xf5)]=_0x189b51,this['generate']());}['getPoints'](){var _0xce34b4=a67_0x2b85d1;return this[_0xce34b4(0xf5)];}[a67_0x2b85d1(0xf9)](_0x287627,_0xb36d63){var _0x58a54c=a67_0x2b85d1;_0xb36d63>=0x0&&_0xb36d63<this[_0x58a54c(0xf5)][_0x58a54c(0xf4)]&&(this['points'][_0xb36d63]=_0x287627,this[_0x58a54c(0xf1)]());}[a67_0x2b85d1(0xfa)](_0x2d9b79){var _0x4933b0=a67_0x2b85d1;this[_0x4933b0(0xf9)](_0x2d9b79,this[_0x4933b0(0xf5)]['length']-0x1);}[a67_0x2b85d1(0x104)](){}[a67_0x2b85d1(0x10a)](_0x5cd7d7){var _0x4bdaa4=a67_0x2b85d1;this[_0x4bdaa4(0xf2)]=JSON[_0x4bdaa4(0xf8)](JSON['stringify'](_0x5cd7d7));}}export default Point;function a67_0x2edf(){var _0x528f9a=['14qBYqAb','2888ucvPeL','finishDrawing','57GYzfMM','isPlot','setPoints','1684ooJMYT','type','setStyle','932220bkUvSH','3447675kKXjmJ','generate','style','280188Qouqus','length','points','传入的不是地图对象!','1085wLjCoY','parse','updatePoint','updateLastPoint','setMap','map','getMap','12218LevUBP','163627QTfhvM','setCoordinates','3870DFtIue'];a67_0x2edf=function(){return _0x528f9a;};return a67_0x2edf();}
@@ -1 +1 @@
1
- var a68_0x41ec67=a68_0x12e6;function a68_0x2259(){var _0x39d0cc=['7187656RijSIB','942420ffnysR','type','setStyle','points','length','setMap','isPlot','getPoints','getPointCount','finishDrawing','1393236iLRMcM','1qyolFc','7485512fzNmtb','generate','setPoints','1437380eeFzXj','style','773580bTJShA','writeGeometryObject','990534elGqYX','parse','10Oatbue','getGeoJson','getMap','map','传入的不是地图对象!','getType'];a68_0x2259=function(){return _0x39d0cc;};return a68_0x2259();}(function(_0x4d5180,_0x46b13a){var _0x187c1d=a68_0x12e6,_0x3cabc1=_0x4d5180();while(!![]){try{var _0x888c41=parseInt(_0x187c1d(0x19f))/0x1*(parseInt(_0x187c1d(0x1a3))/0x2)+parseInt(_0x187c1d(0x1a7))/0x3+parseInt(_0x187c1d(0x1a5))/0x4*(-parseInt(_0x187c1d(0x1a9))/0x5)+-parseInt(_0x187c1d(0x1b0))/0x6+-parseInt(_0x187c1d(0x1af))/0x7+parseInt(_0x187c1d(0x1a0))/0x8+parseInt(_0x187c1d(0x19e))/0x9;if(_0x888c41===_0x46b13a)break;else _0x3cabc1['push'](_0x3cabc1['shift']());}catch(_0x293bea){_0x3cabc1['push'](_0x3cabc1['shift']());}}}(a68_0x2259,0x8ad75));import{Polygon}from'ol/geom';import a68_0x2fdbf1 from'ol/format/GeoJSON';function a68_0x12e6(_0x517784,_0x22f982){var _0x225956=a68_0x2259();return a68_0x12e6=function(_0x12e60c,_0x3401f7){_0x12e60c=_0x12e60c-0x19e;var _0x24adf9=_0x225956[_0x12e60c];return _0x24adf9;},a68_0x12e6(_0x517784,_0x22f982);}import a68_0x482121 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x3ac550=a68_0x12e6;super([]),this[_0x3ac550(0x1b3)]=[];}[a68_0x41ec67(0x1ae)](){var _0x5b28a1=a68_0x41ec67;return this[_0x5b28a1(0x1b1)]?this['type']:super[_0x5b28a1(0x1ae)]();}[a68_0x41ec67(0x1aa)](){var _0x3d50cc=a68_0x41ec67;return new a68_0x2fdbf1()[_0x3d50cc(0x1a6)](this);}[a68_0x41ec67(0x1b2)](_0xbcc034){var _0x598226=a68_0x41ec67;_0xbcc034&&(this[_0x598226(0x1a4)]=JSON[_0x598226(0x1a8)](JSON['stringify'](_0xbcc034)));}[a68_0x41ec67(0x1b5)](_0x52239d){var _0xcacc7d=a68_0x41ec67;if(_0x52239d&&_0x52239d instanceof a68_0x482121)this[_0xcacc7d(0x1ac)]=_0x52239d;else throw new Error(_0xcacc7d(0x1ad));}[a68_0x41ec67(0x1ab)](){return this['map'];}[a68_0x41ec67(0x1b6)](){return!![];}[a68_0x41ec67(0x1a2)](_0x4bdcb8){var _0x14bd77=a68_0x41ec67;this[_0x14bd77(0x1b3)]=!_0x4bdcb8?[]:_0x4bdcb8,this[_0x14bd77(0x1b3)][_0x14bd77(0x1b4)]>=0x1&&this['generate']();}[a68_0x41ec67(0x1a1)](){}[a68_0x41ec67(0x1b7)](){var _0x46705e=a68_0x41ec67;return this[_0x46705e(0x1b3)]['slice'](0x0);}[a68_0x41ec67(0x1b8)](){var _0x498479=a68_0x41ec67;return this[_0x498479(0x1b3)][_0x498479(0x1b4)];}[a68_0x41ec67(0x1b9)](){}}export default BasePolygon;
1
+ var a68_0x4ca885=a68_0x4a78;(function(_0x66785a,_0x4185de){var _0x21f708=a68_0x4a78,_0x442651=_0x66785a();while(!![]){try{var _0x8571f9=-parseInt(_0x21f708(0x131))/0x1*(parseInt(_0x21f708(0x146))/0x2)+parseInt(_0x21f708(0x142))/0x3+-parseInt(_0x21f708(0x130))/0x4*(-parseInt(_0x21f708(0x141))/0x5)+parseInt(_0x21f708(0x144))/0x6+-parseInt(_0x21f708(0x12e))/0x7*(-parseInt(_0x21f708(0x13e))/0x8)+parseInt(_0x21f708(0x145))/0x9+-parseInt(_0x21f708(0x135))/0xa;if(_0x8571f9===_0x4185de)break;else _0x442651['push'](_0x442651['shift']());}catch(_0x7efd6){_0x442651['push'](_0x442651['shift']());}}}(a68_0x45f3,0xb82f7));import{Polygon}from'ol/geom';import a68_0x3ad675 from'ol/format/GeoJSON';function a68_0x4a78(_0x506f45,_0x153367){var _0x45f3a2=a68_0x45f3();return a68_0x4a78=function(_0x4a7846,_0x45002b){_0x4a7846=_0x4a7846-0x12e;var _0x126828=_0x45f3a2[_0x4a7846];return _0x126828;},a68_0x4a78(_0x506f45,_0x153367);}import a68_0x2cc0c3 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x2f1011=a68_0x4a78;super([]),this[_0x2f1011(0x13a)]=[];}[a68_0x4ca885(0x139)](){var _0x1f5d00=a68_0x4ca885;return this[_0x1f5d00(0x133)]?this['type']:super[_0x1f5d00(0x139)]();}[a68_0x4ca885(0x134)](){return new a68_0x3ad675()['writeGeometryObject'](this);}[a68_0x4ca885(0x13b)](_0x5a8908){var _0xa91e45=a68_0x4ca885;_0x5a8908&&(this[_0xa91e45(0x13c)]=JSON['parse'](JSON[_0xa91e45(0x132)](_0x5a8908)));}['setMap'](_0x462c93){var _0x149d48=a68_0x4ca885;if(_0x462c93&&_0x462c93 instanceof a68_0x2cc0c3)this['map']=_0x462c93;else throw new Error(_0x149d48(0x140));}[a68_0x4ca885(0x12f)](){var _0x45b3ec=a68_0x4ca885;return this[_0x45b3ec(0x13f)];}[a68_0x4ca885(0x138)](){return!![];}[a68_0x4ca885(0x143)](_0x3916a2){var _0x173860=a68_0x4ca885;this['points']=!_0x3916a2?[]:_0x3916a2,this[_0x173860(0x13a)][_0x173860(0x13d)]>=0x1&&this[_0x173860(0x137)]();}[a68_0x4ca885(0x137)](){}['getPoints'](){var _0x126601=a68_0x4ca885;return this[_0x126601(0x13a)]['slice'](0x0);}[a68_0x4ca885(0x136)](){var _0x3dbbb9=a68_0x4ca885;return this['points'][_0x3dbbb9(0x13d)];}['finishDrawing'](){}}export default BasePolygon;function a68_0x45f3(){var _0x4cb5bd=['279420PfJWVm','1429296qRlDhv','setPoints','3434130lmkneC','9974853Vwfsan','4sRVyPC','2646385XEFomX','getMap','76xnbZIz','105179TwIjvB','stringify','type','getGeoJson','33882840PIODbl','getPointCount','generate','isPlot','getType','points','setStyle','style','length','24jGxjhP','map','传入的不是地图对象!'];a68_0x45f3=function(){return _0x4cb5bd;};return a68_0x45f3();}
@@ -1 +1 @@
1
- const a69_0x5eaac6=a69_0x4918;(function(_0x2c0c99,_0x381d28){const _0x2db0cd=a69_0x4918,_0x1a4700=_0x2c0c99();while(!![]){try{const _0xeb8f27=-parseInt(_0x2db0cd(0x166))/0x1*(-parseInt(_0x2db0cd(0x15e))/0x2)+-parseInt(_0x2db0cd(0x164))/0x3*(-parseInt(_0x2db0cd(0x16b))/0x4)+parseInt(_0x2db0cd(0x167))/0x5*(parseInt(_0x2db0cd(0x15f))/0x6)+-parseInt(_0x2db0cd(0x163))/0x7*(parseInt(_0x2db0cd(0x169))/0x8)+parseInt(_0x2db0cd(0x165))/0x9+parseInt(_0x2db0cd(0x15c))/0xa*(-parseInt(_0x2db0cd(0x16c))/0xb)+parseInt(_0x2db0cd(0x16e))/0xc;if(_0xeb8f27===_0x381d28)break;else _0x1a4700['push'](_0x1a4700['shift']());}catch(_0x25e912){_0x1a4700['push'](_0x1a4700['shift']());}}}(a69_0x1851,0x75e81));import{Circle as a69_0xc8c7cc}from'ol/geom';import a69_0x1399a1 from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a69_0x7d6495}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';function a69_0x4918(_0x5412d2,_0x518cd1){const _0x185148=a69_0x1851();return a69_0x4918=function(_0x49184f,_0x1336db){_0x49184f=_0x49184f-0x157;let _0x52b31=_0x185148[_0x49184f];return _0x52b31;},a69_0x4918(_0x5412d2,_0x518cd1);}import{compareArray}from'../../../utils/ArrayUtil';function a69_0x1851(){const _0x42b2ff=['45wbkyQH','updatePoint','8UBZUeS','toRadians','8StoFAV','1935824CcnPHC','setCenterAndRadius','6362964xIJFAP','type','length','Circle','setCenter','sqrt','generate','20eqTmhr','setPoints','1864sIdOrz','44538ipoRqo','getGeoJson','writeGeometryObject','points','3945515GbUlGa','924969BzCSbJ','1168830MzvWGG','59RJOGTb'];a69_0x1851=function(){return _0x42b2ff;};return a69_0x1851();}class Circle extends a69_0xc8c7cc{constructor(_0x384356){const _0x2c526f=a69_0x4918;super([]),this[_0x2c526f(0x162)]=_0x384356,this[_0x2c526f(0x16f)]=_0x2c526f(0x158),_0x384356&&_0x384356[_0x2c526f(0x157)]>0x0&&this[_0x2c526f(0x15d)](_0x384356);}[a69_0x5eaac6(0x15d)](_0x3d46a2){const _0x556f65=a69_0x5eaac6;var _0x184091;((_0x184091=this['points'])===null||_0x184091===void 0x0?void 0x0:_0x184091[_0x556f65(0x157)])>0x0&&(_0x3d46a2===null||_0x3d46a2===void 0x0?void 0x0:_0x3d46a2['length'])>0x0&&!compareArray(this[_0x556f65(0x162)][0x0],_0x3d46a2[0x0])?this[_0x556f65(0x159)](_0x3d46a2[0x0]):(this[_0x556f65(0x162)]=!_0x3d46a2?[]:_0x3d46a2,this[_0x556f65(0x162)][_0x556f65(0x157)]>=0x1&&(this[_0x556f65(0x15b)]&&this[_0x556f65(0x15b)]()));}[a69_0x5eaac6(0x15b)](){const _0x476e4d=a69_0x5eaac6;let _0x4ef78c=this[_0x476e4d(0x162)][_0x476e4d(0x157)];if(_0x4ef78c<0x2)return![];else{const _0xee786d=this[_0x476e4d(0x162)][0x0],_0x4edaeb=a69_0x7d6495(_0xee786d,this[_0x476e4d(0x162)][0x1]);this[_0x476e4d(0x16d)](_0xee786d,Math[_0x476e4d(0x15a)](_0x4edaeb));}}[a69_0x5eaac6(0x159)](_0x4a41f8){const _0x39e9f4=a69_0x5eaac6;this[_0x39e9f4(0x159)](_0x4a41f8),this['points']=[_0x4a41f8,offset(_0x4a41f8,this['getRadius'](),this[_0x39e9f4(0x16a)](0x5a))],this[_0x39e9f4(0x15b)]();}[a69_0x5eaac6(0x16a)](_0xe25276){return _0xe25276*Math['PI']/0xb4;}[a69_0x5eaac6(0x160)](){const _0x30b4fd=a69_0x5eaac6;return new a69_0x1399a1()[_0x30b4fd(0x161)](fromCircle(this));}['updatePoint'](_0xaa3d1a,_0x363316){const _0x4c0dd2=a69_0x5eaac6;_0x363316>=0x0&&_0x363316<this[_0x4c0dd2(0x162)][_0x4c0dd2(0x157)]&&(this['points'][_0x363316]=_0xaa3d1a,this['generate']());}['updateLastPoint'](_0x4d43b5){const _0x20e8bd=a69_0x5eaac6;this[_0x20e8bd(0x168)](_0x4d43b5,this[_0x20e8bd(0x162)]['length']-0x1);}}export default Circle;
1
+ const a69_0x418950=a69_0x240c;(function(_0x3748ac,_0x21c864){const _0x16f88e=a69_0x240c,_0x111532=_0x3748ac();while(!![]){try{const _0x482c1f=parseInt(_0x16f88e(0x188))/0x1*(parseInt(_0x16f88e(0x18d))/0x2)+-parseInt(_0x16f88e(0x18e))/0x3+parseInt(_0x16f88e(0x185))/0x4*(-parseInt(_0x16f88e(0x186))/0x5)+parseInt(_0x16f88e(0x194))/0x6+parseInt(_0x16f88e(0x193))/0x7+parseInt(_0x16f88e(0x192))/0x8+parseInt(_0x16f88e(0x189))/0x9;if(_0x482c1f===_0x21c864)break;else _0x111532['push'](_0x111532['shift']());}catch(_0x2cdcbe){_0x111532['push'](_0x111532['shift']());}}}(a69_0x4056,0x30139));function a69_0x240c(_0x4d1ffa,_0x29e7bc){const _0x4056b2=a69_0x4056();return a69_0x240c=function(_0x240c9c,_0x5aa7c7){_0x240c9c=_0x240c9c-0x185;let _0xb045e5=_0x4056b2[_0x240c9c];return _0xb045e5;},a69_0x240c(_0x4d1ffa,_0x29e7bc);}import{Circle as a69_0x3ce69f}from'ol/geom';import a69_0x599c0d from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a69_0xd98956}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a69_0x3ce69f{constructor(_0x37485f){const _0x62222d=a69_0x240c;super([]),this[_0x62222d(0x195)]=_0x37485f,this[_0x62222d(0x18b)]=_0x62222d(0x191),_0x37485f&&_0x37485f[_0x62222d(0x198)]>0x0&&this['setPoints'](_0x37485f);}['setPoints'](_0x9bd70){const _0x31be21=a69_0x240c;var _0x3c4564;((_0x3c4564=this[_0x31be21(0x195)])===null||_0x3c4564===void 0x0?void 0x0:_0x3c4564[_0x31be21(0x198)])>0x0&&(_0x9bd70===null||_0x9bd70===void 0x0?void 0x0:_0x9bd70[_0x31be21(0x198)])>0x0&&!compareArray(this[_0x31be21(0x195)][0x0],_0x9bd70[0x0])?this[_0x31be21(0x187)](_0x9bd70[0x0]):(this[_0x31be21(0x195)]=!_0x9bd70?[]:_0x9bd70,this[_0x31be21(0x195)][_0x31be21(0x198)]>=0x1&&(this[_0x31be21(0x18f)]&&this[_0x31be21(0x18f)]()));}[a69_0x418950(0x18f)](){const _0x2c3112=a69_0x418950;let _0x44539b=this[_0x2c3112(0x195)][_0x2c3112(0x198)];if(_0x44539b<0x2)return![];else{const _0x4a1d75=this[_0x2c3112(0x195)][0x0],_0x541d1d=a69_0xd98956(_0x4a1d75,this['points'][0x1]);this[_0x2c3112(0x18c)](_0x4a1d75,Math['sqrt'](_0x541d1d));}}[a69_0x418950(0x187)](_0x592633){const _0x10ece9=a69_0x418950;this['setCenter'](_0x592633),this[_0x10ece9(0x195)]=[_0x592633,offset(_0x592633,this['getRadius'](),this[_0x10ece9(0x196)](0x5a))],this[_0x10ece9(0x18f)]();}[a69_0x418950(0x196)](_0x2031b9){return _0x2031b9*Math['PI']/0xb4;}[a69_0x418950(0x197)](){return new a69_0x599c0d()['writeGeometryObject'](fromCircle(this));}['updatePoint'](_0x150b63,_0x105193){const _0x1e237f=a69_0x418950;_0x105193>=0x0&&_0x105193<this[_0x1e237f(0x195)][_0x1e237f(0x198)]&&(this[_0x1e237f(0x195)][_0x105193]=_0x150b63,this['generate']());}[a69_0x418950(0x190)](_0x2fc054){const _0x198f47=a69_0x418950;this[_0x198f47(0x18a)](_0x2fc054,this[_0x198f47(0x195)][_0x198f47(0x198)]-0x1);}}function a69_0x4056(){const _0x4e5a60=['1395JQMSoF','setCenter','2HViXtI','2097351VmUIoS','updatePoint','type','setCenterAndRadius','47606aKtfgN','940806AteurK','generate','updateLastPoint','Circle','874608wOuRfQ','421505jXEZiK','1180608NvspHs','points','toRadians','getGeoJson','length','1956YURREj'];a69_0x4056=function(){return _0x4e5a60;};return a69_0x4056();}export default Circle;
@@ -1 +1 @@
1
- const a70_0x433ead=a70_0x1160;(function(_0x2f9585,_0x5017f7){const _0xc87e80=a70_0x1160,_0x2883c3=_0x2f9585();while(!![]){try{const _0x3c32fe=parseInt(_0xc87e80(0x78))/0x1*(parseInt(_0xc87e80(0x79))/0x2)+parseInt(_0xc87e80(0x8d))/0x3*(-parseInt(_0xc87e80(0x81))/0x4)+-parseInt(_0xc87e80(0x7a))/0x5+-parseInt(_0xc87e80(0x7b))/0x6*(parseInt(_0xc87e80(0x8a))/0x7)+-parseInt(_0xc87e80(0x7f))/0x8+-parseInt(_0xc87e80(0x7e))/0x9*(-parseInt(_0xc87e80(0x86))/0xa)+parseInt(_0xc87e80(0x80))/0xb*(parseInt(_0xc87e80(0x77))/0xc);if(_0x3c32fe===_0x5017f7)break;else _0x2883c3['push'](_0x2883c3['shift']());}catch(_0x2ba35d){_0x2883c3['push'](_0x2883c3['shift']());}}}(a70_0x2cc3,0xca600));function a70_0x1160(_0x257828,_0x21b076){const _0x2cc39a=a70_0x2cc3();return a70_0x1160=function(_0x1160e5,_0x30002d){_0x1160e5=_0x1160e5-0x76;let _0x48dae1=_0x2cc39a[_0x1160e5];return _0x48dae1;},a70_0x1160(_0x257828,_0x21b076);}import a70_0x3ceaf0 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class Polygon extends a70_0x3ceaf0{constructor(_0x357a51){const _0x5a5f71=a70_0x1160;super(),this['type']=_0x5a5f71(0x82),_0x357a51&&_0x357a51[_0x5a5f71(0x7d)]>0x0&&getDeepth(_0x357a51)==0x2?this[_0x5a5f71(0x89)](_0x357a51):this[_0x5a5f71(0x88)](_0x357a51);}[a70_0x433ead(0x87)](_0x28a8d7){const _0x518cd7=a70_0x433ead;let _0x3b01bc=_0x28a8d7[0x0],_0x4a9e32=_0x28a8d7[_0x28a8d7[_0x518cd7(0x7d)]-0x1];return _0x3b01bc[0x0]===_0x4a9e32[0x0]&&_0x3b01bc[0x1]===_0x4a9e32[0x1]&&_0x3b01bc[0x2]===_0x4a9e32[0x2];}['generate'](){const _0x3b43c9=a70_0x433ead;let _0x51ff70=this['getPointCount']();if(_0x51ff70<0x2)return![];else{let _0x3bbb99=JSON[_0x3b43c9(0x8b)](JSON['stringify'](this['points']));_0x51ff70>=0x3&&(!this[_0x3b43c9(0x87)](_0x3bbb99)&&_0x3bbb99[_0x3b43c9(0x7c)](_0x3bbb99[0x0])),this[_0x3b43c9(0x88)]([_0x3bbb99]);}}[a70_0x433ead(0x85)](_0xd58f5,_0x2da9c6){const _0x3dfdd9=a70_0x433ead;_0x2da9c6>=0x0&&_0x2da9c6<this[_0x3dfdd9(0x76)]['length']&&(this[_0x3dfdd9(0x76)][_0x2da9c6]=_0xd58f5,this[_0x3dfdd9(0x84)]());}[a70_0x433ead(0x83)](){return![];}[a70_0x433ead(0x8c)](_0x4896ed){const _0x4fab7f=a70_0x433ead;this[_0x4fab7f(0x85)](_0x4896ed,this[_0x4fab7f(0x76)][_0x4fab7f(0x7d)]-0x1);}}function a70_0x2cc3(){const _0x27f8cc=['_closed','setCoordinates','setPoints','1141kappoI','parse','updateLastPoint','57YurUMA','points','13322256KuJnpO','1Abttnv','2639558NZrELa','7339910MtTKsU','36258QEWIMi','push','length','7237134zrzvkb','6634920hjbmJq','22XgrEad','49052xrLoBq','Polygon','isPlot','generate','updatePoint','10zBxuAI'];a70_0x2cc3=function(){return _0x27f8cc;};return a70_0x2cc3();}export default Polygon;
1
+ const a70_0x362cc3=a70_0x4145;function a70_0x5f06(){const _0x22a88b=['14742gdLJNv','816OVsgej','stringify','Polygon','986210WGKAWm','parse','148785ccwTTI','push','length','setCoordinates','_closed','6469824PwULLr','getPointCount','generate','updatePoint','60GWRTwT','63bUfLuC','399041nMlzWg','isPlot','55415YsnHMt','updateLastPoint','1122700fGMgVw'];a70_0x5f06=function(){return _0x22a88b;};return a70_0x5f06();}(function(_0x201e8a,_0x584331){const _0x324d58=a70_0x4145,_0x5bf2da=_0x201e8a();while(!![]){try{const _0x17b6ee=parseInt(_0x324d58(0x1c9))/0x1+parseInt(_0x324d58(0x1b7))/0x2+-parseInt(_0x324d58(0x1be))/0x3*(-parseInt(_0x324d58(0x1c7))/0x4)+parseInt(_0x324d58(0x1b5))/0x5+parseInt(_0x324d58(0x1b9))/0x6*(parseInt(_0x324d58(0x1b8))/0x7)+-parseInt(_0x324d58(0x1c3))/0x8+-parseInt(_0x324d58(0x1c8))/0x9*(parseInt(_0x324d58(0x1bc))/0xa);if(_0x17b6ee===_0x584331)break;else _0x5bf2da['push'](_0x5bf2da['shift']());}catch(_0x57d879){_0x5bf2da['push'](_0x5bf2da['shift']());}}}(a70_0x5f06,0x7abd4));import a70_0xcd0d7e from'./BasePolygon';function a70_0x4145(_0x13f344,_0x172ac1){const _0x5f0613=a70_0x5f06();return a70_0x4145=function(_0x414517,_0x34a75d){_0x414517=_0x414517-0x1b5;let _0xdb364f=_0x5f0613[_0x414517];return _0xdb364f;},a70_0x4145(_0x13f344,_0x172ac1);}import{getDeepth}from'../../../utils/ArrayUtil';class Polygon extends a70_0xcd0d7e{constructor(_0x2a8a99){const _0x3468a7=a70_0x4145;super(),this['type']=_0x3468a7(0x1bb),_0x2a8a99&&_0x2a8a99['length']>0x0&&getDeepth(_0x2a8a99)==0x2?this['setPoints'](_0x2a8a99):this['setCoordinates'](_0x2a8a99);}[a70_0x362cc3(0x1c2)](_0x885069){const _0x46da57=a70_0x362cc3;let _0x2c89cc=_0x885069[0x0],_0x6e3d11=_0x885069[_0x885069[_0x46da57(0x1c0)]-0x1];return _0x2c89cc[0x0]===_0x6e3d11[0x0]&&_0x2c89cc[0x1]===_0x6e3d11[0x1]&&_0x2c89cc[0x2]===_0x6e3d11[0x2];}[a70_0x362cc3(0x1c5)](){const _0x3d3650=a70_0x362cc3;let _0x4a25d9=this[_0x3d3650(0x1c4)]();if(_0x4a25d9<0x2)return![];else{let _0x46af7f=JSON[_0x3d3650(0x1bd)](JSON[_0x3d3650(0x1ba)](this['points']));_0x4a25d9>=0x3&&(!this['_closed'](_0x46af7f)&&_0x46af7f[_0x3d3650(0x1bf)](_0x46af7f[0x0])),this[_0x3d3650(0x1c1)]([_0x46af7f]);}}[a70_0x362cc3(0x1c6)](_0x313ecd,_0x19ca79){const _0x320070=a70_0x362cc3;_0x19ca79>=0x0&&_0x19ca79<this['points'][_0x320070(0x1c0)]&&(this['points'][_0x19ca79]=_0x313ecd,this[_0x320070(0x1c5)]());}[a70_0x362cc3(0x1ca)](){return![];}[a70_0x362cc3(0x1b6)](_0x3e1b32){const _0x587a60=a70_0x362cc3;this[_0x587a60(0x1c6)](_0x3e1b32,this['points'][_0x587a60(0x1c0)]-0x1);}}export default Polygon;
@@ -1 +1 @@
1
- const a71_0x295cf7=a71_0x15d9;(function(_0x10e9b7,_0x5a76b4){const _0x43412f=a71_0x15d9,_0x40d14a=_0x10e9b7();while(!![]){try{const _0x1db019=-parseInt(_0x43412f(0x12d))/0x1*(parseInt(_0x43412f(0x13b))/0x2)+-parseInt(_0x43412f(0x12e))/0x3*(parseInt(_0x43412f(0x136))/0x4)+-parseInt(_0x43412f(0x12a))/0x5+-parseInt(_0x43412f(0x131))/0x6+parseInt(_0x43412f(0x12c))/0x7*(parseInt(_0x43412f(0x13e))/0x8)+-parseInt(_0x43412f(0x13c))/0x9*(-parseInt(_0x43412f(0x134))/0xa)+-parseInt(_0x43412f(0x133))/0xb*(-parseInt(_0x43412f(0x139))/0xc);if(_0x1db019===_0x5a76b4)break;else _0x40d14a['push'](_0x40d14a['shift']());}catch(_0x53f1dc){_0x40d14a['push'](_0x40d14a['shift']());}}}(a71_0x595f,0xbe65a));function a71_0x15d9(_0x1c3f33,_0x59bf96){const _0x595f93=a71_0x595f();return a71_0x15d9=function(_0x15d9f0,_0x51ebfd){_0x15d9f0=_0x15d9f0-0x12a;let _0x4232c8=_0x595f93[_0x15d9f0];return _0x4232c8;},a71_0x15d9(_0x1c3f33,_0x59bf96);}function a71_0x595f(){const _0x36514d=['getCoordinates','4YUumof','generate','Polygon','15783564QTbzCo','setPoints','2eqroBA','6528672iZvdMY','length','2520wODatf','6478930PEPXpB','updatePoint','16093hnXyiy','307267NOFKjD','2683539Ltienz','setCoordinates','updateLastPoint','1277196tjdaIt','points','11tCnIka','20akRbBI'];a71_0x595f=function(){return _0x36514d;};return a71_0x595f();}import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a71_0x225723 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a71_0x225723{constructor(_0x21aa6a){const _0x4183a5=a71_0x15d9;super(),this['type']=_0x4183a5(0x138),_0x21aa6a&&_0x21aa6a['length']>0x0&&getDeepth(_0x21aa6a)==0x2?this[_0x4183a5(0x13a)](_0x21aa6a):this[_0x4183a5(0x12f)](_0x21aa6a);}[a71_0x295cf7(0x137)](){const _0x2b54df=a71_0x295cf7;if(this[_0x2b54df(0x132)][_0x2b54df(0x13d)]===0x2){let _0x436db3=[],_0x3be590=boundingExtent(this[_0x2b54df(0x132)]),_0x5a8466=fromExtent(_0x3be590);_0x436db3=_0x5a8466[_0x2b54df(0x135)](),this[_0x2b54df(0x12f)](_0x436db3);}}[a71_0x295cf7(0x12b)](_0x414f97,_0x2e88e4){const _0xed8092=a71_0x295cf7;_0x2e88e4>=0x0&&_0x2e88e4<this[_0xed8092(0x132)][_0xed8092(0x13d)]&&(this[_0xed8092(0x132)][_0x2e88e4]=_0x414f97,this[_0xed8092(0x137)]());}[a71_0x295cf7(0x130)](_0x2bec5b){const _0x2d6281=a71_0x295cf7;this['updatePoint'](_0x2bec5b,this[_0x2d6281(0x132)][_0x2d6281(0x13d)]-0x1);}}export default RectAngle;
1
+ const a71_0x295235=a71_0x4b83;(function(_0x2c4167,_0x39321e){const _0xf57637=a71_0x4b83,_0xd0f7ba=_0x2c4167();while(!![]){try{const _0x5887fe=parseInt(_0xf57637(0x145))/0x1*(parseInt(_0xf57637(0x144))/0x2)+-parseInt(_0xf57637(0x141))/0x3*(-parseInt(_0xf57637(0x13b))/0x4)+parseInt(_0xf57637(0x149))/0x5*(-parseInt(_0xf57637(0x143))/0x6)+parseInt(_0xf57637(0x14b))/0x7*(parseInt(_0xf57637(0x13a))/0x8)+-parseInt(_0xf57637(0x146))/0x9+parseInt(_0xf57637(0x14c))/0xa+-parseInt(_0xf57637(0x13e))/0xb;if(_0x5887fe===_0x39321e)break;else _0xd0f7ba['push'](_0xd0f7ba['shift']());}catch(_0x4f3b01){_0xd0f7ba['push'](_0xd0f7ba['shift']());}}}(a71_0x2c90,0x3756a));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a71_0x474e0f from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a71_0x4b83(_0x57de23,_0x13963c){const _0x2c90d0=a71_0x2c90();return a71_0x4b83=function(_0x4b8392,_0x5aab7b){_0x4b8392=_0x4b8392-0x13a;let _0x5a8ece=_0x2c90d0[_0x4b8392];return _0x5a8ece;},a71_0x4b83(_0x57de23,_0x13963c);}function a71_0x2c90(){const _0x344360=['2FniEIm','4035528vWpEyv','length','Polygon','15obUTdH','updateLastPoint','119dXHQsv','4266370aJHUHC','150032WhBWTe','8STJtjj','setCoordinates','points','1358181fkWLmc','updatePoint','generate','240447rsoBeg','type','544836Hrmust','165194gJMFhB'];a71_0x2c90=function(){return _0x344360;};return a71_0x2c90();}class RectAngle extends a71_0x474e0f{constructor(_0x14e046){const _0x4d2832=a71_0x4b83;super(),this[_0x4d2832(0x142)]=_0x4d2832(0x148),_0x14e046&&_0x14e046[_0x4d2832(0x147)]>0x0&&getDeepth(_0x14e046)==0x2?this['setPoints'](_0x14e046):this['setCoordinates'](_0x14e046);}[a71_0x295235(0x140)](){const _0x3a4a08=a71_0x295235;if(this['points'][_0x3a4a08(0x147)]===0x2){let _0x48a96d=[],_0x5e6b1f=boundingExtent(this['points']),_0x420cbd=fromExtent(_0x5e6b1f);_0x48a96d=_0x420cbd['getCoordinates'](),this[_0x3a4a08(0x13c)](_0x48a96d);}}[a71_0x295235(0x13f)](_0x5d01bb,_0x408f2d){const _0x846c7c=a71_0x295235;_0x408f2d>=0x0&&_0x408f2d<this[_0x846c7c(0x13d)]['length']&&(this[_0x846c7c(0x13d)][_0x408f2d]=_0x5d01bb,this[_0x846c7c(0x140)]());}[a71_0x295235(0x14a)](_0x51c71f){const _0x38aec9=a71_0x295235;this['updatePoint'](_0x51c71f,this['points'][_0x38aec9(0x147)]-0x1);}}export default RectAngle;