ym-gis-2d 1.0.30 → 1.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) 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/entity/style/IStyle.d.ts +6 -0
  13. package/entity/style/IStyle.d.ts.map +1 -1
  14. package/feature/FeatureManager.d.ts +2 -0
  15. package/feature/FeatureManager.d.ts.map +1 -1
  16. package/feature/FeatureManager.js +1 -1
  17. package/feature/FeatureManager.js.map +1 -1
  18. package/index.js +1 -1
  19. package/interaction/AreaMeasure.js +1 -1
  20. package/interaction/Draw.js +1 -1
  21. package/interaction/InteractionManager.js +1 -1
  22. package/interaction/Select.js +1 -1
  23. package/interaction/Split.d.ts +58 -0
  24. package/interaction/Split.d.ts.map +1 -0
  25. package/interaction/Split.js +1 -0
  26. package/interaction/Split.js.map +1 -0
  27. package/layers/ArcgisDynamicLayer.js +1 -1
  28. package/layers/ArcgisFeatureLayer.js +1 -1
  29. package/layers/ArcgisTileLayer.js +1 -1
  30. package/layers/ArcgisWMSLayer.js +1 -1
  31. package/layers/ArcgisWMTSLayer.js +1 -1
  32. package/layers/GeoserverVectorTile.js +1 -1
  33. package/layers/GeoserverWFSLayer.js +1 -1
  34. package/layers/GeoserverWMSLayer.js +1 -1
  35. package/layers/GeoserverWMTSLayer.js +1 -1
  36. package/layers/LayerManager.js +1 -1
  37. package/layers/TDTLayer.js +1 -1
  38. package/mapView/Map.js +1 -1
  39. package/mapView/View.js +1 -1
  40. package/package.json +1 -1
  41. package/plot/Plot.js +1 -1
  42. package/plot/geometry/point/Point.js +1 -1
  43. package/plot/geometry/polygon/BasePolygon.js +1 -1
  44. package/plot/geometry/polygon/Circle.js +1 -1
  45. package/plot/geometry/polygon/Polygon.js +1 -1
  46. package/plot/geometry/polygon/RectAngle.js +1 -1
  47. package/plot/geometry/polyline/BaseLine.js +1 -1
  48. package/plot/geometry/polyline/Polyline.js +1 -1
  49. package/style/PointStyleFormat.js +1 -1
  50. package/style/PolygonStyleFormat.js +1 -1
  51. package/style/PolylineStyleFormat.js +1 -1
  52. package/style/StyleManager.d.ts.map +1 -1
  53. package/style/StyleManager.js +1 -1
  54. package/style/StyleManager.js.map +1 -1
  55. package/style/common.js +1 -1
  56. package/utils/ArrayUtil.js +1 -1
  57. package/utils/AxiosUtil.js +1 -1
  58. package/utils/EsriUtil.js +1 -1
  59. package/utils/GeometryUtil.js +1 -1
  60. package/utils/LayerUtil.js +1 -1
  61. package/utils/RegisterProjUtil.js +1 -1
  62. package/utils/ResolutionUtil.js +1 -1
  63. package/utils/StringUtil.js +1 -1
  64. package/utils/StyleUtil.js +1 -1
  65. package/utils/UrlUtil.js +1 -1
  66. package/utils/XmlUtil.js +1 -1
  67. package/utils/format/CQL.js +1 -1
  68. package/utils/format/IsMatchCql.js +1 -1
  69. package/utils/plug/canvas/ImageCache.js +1 -1
  70. package/utils/plug/canvas/PinBuilder.js +1 -1
  71. package/utils/plug/canvas/PinIcon.js +1 -1
  72. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  73. package/utils/tasks/esri/Identify.js +1 -1
  74. package/utils/tasks/esri/Query.js +1 -1
  75. package/utils/tasks/esri/Task.js +1 -1
  76. package/utils/tasks/geoserver/QueryTask.js +1 -1
  77. package/utils/tasks/index.js +1 -1
  78. package/ym-gis-2d.es.js +1 -1
  79. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- (function(_0x5f1adf,_0x42243b){const _0x3574ba=a53_0x147a,_0x1f15b8=_0x5f1adf();while(!![]){try{const _0x39a61=-parseInt(_0x3574ba(0x19a))/0x1+parseInt(_0x3574ba(0x1a7))/0x2+-parseInt(_0x3574ba(0x1a4))/0x3*(-parseInt(_0x3574ba(0x1a9))/0x4)+parseInt(_0x3574ba(0x1aa))/0x5+-parseInt(_0x3574ba(0x18f))/0x6+-parseInt(_0x3574ba(0x197))/0x7*(parseInt(_0x3574ba(0x1a8))/0x8)+-parseInt(_0x3574ba(0x193))/0x9*(parseInt(_0x3574ba(0x1a3))/0xa);if(_0x39a61===_0x42243b)break;else _0x1f15b8['push'](_0x1f15b8['shift']());}catch(_0x20b102){_0x1f15b8['push'](_0x1f15b8['shift']());}}}(a53_0x38b3,0xc2180));function a53_0x147a(_0x12e803,_0x2c311a){const _0x38b333=a53_0x38b3();return a53_0x147a=function(_0x147acc,_0x4ff248){_0x147acc=_0x147acc-0x187;let _0x4cdbf8=_0x38b333[_0x147acc];return _0x4cdbf8;},a53_0x147a(_0x12e803,_0x2c311a);}import a53_0x2c46cc from'ol/layer/Tile';import a53_0x47d859,{optionsFromCapabilities}from'ol/source/WMTS.js';import a53_0x226358 from'ol/tilegrid/WMTS';function a53_0x38b3(){const _0x30fd91=['boundingBoxExtent','7SaXESY','token','length','225840jESppi','layerInfo','?http','initialExtent','format','urls','image/png','indexOf','getImage','44330uGEmuH','171DqpeuB','mapIndex','EPSG:','285458vStTFr','8375600eyyPgh','73196iMRDdL','5633865Zytgbe','style','layer','url','sublayers','getResolutions','replace','name','wkid','projection','138582VpvaFx','tileGrid','src','origins_','450pJgZfg','opacity','join'];a53_0x38b3=function(){return _0x30fd91;};return a53_0x38b3();}import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a53_0x2c46cc{constructor(_0x419fe6,_0x55e09f){const _0x372afc=a53_0x147a;var _0x5cd803;let _0x37b512='';_0x419fe6[_0x372afc(0x189)]&&_0x419fe6['sublayers'][_0x372afc(0x199)]>0x0&&(_0x37b512=_0x419fe6[_0x372afc(0x189)][_0x372afc(0x195)](','));const _0x1f03e9=_0x372afc(0x1a6)+_0x55e09f[_0x372afc(0x18d)];let _0x5cd7a4=registerProj(_0x1f03e9);const _0x521216=optionsFromCapabilities(_0x55e09f['sourceXml'],{'layer':(_0x5cd803=_0x419fe6[_0x372afc(0x189)])===null||_0x5cd803===void 0x0?void 0x0:_0x5cd803[0x0],'matrixSet':_0x55e09f['tileMatrixSet'],'format':_0x372afc(0x1a0)});let _0x55e46a=_0x521216[_0x372afc(0x190)][_0x372afc(0x192)][0x0];_0x55e46a[0x0]===0x5a&&_0x55e46a[0x1]===-0xb4&&(_0x55e46a=[_0x55e46a[0x1],_0x55e46a[0x0]]),super({'opacity':_0x419fe6[_0x372afc(0x194)],'zIndex':_0x419fe6[_0x372afc(0x1a5)],'source':new a53_0x47d859({'urls':_0x521216[_0x372afc(0x19f)],'requestEncoding':_0x521216['requestEncoding'],'layer':_0x521216[_0x372afc(0x187)],'tileLoadFunction':function(_0xc130e,_0x291b2d){const _0x138a94=_0x372afc,_0x3920d1=_0x419fe6[_0x138a94(0x188)]?_0x419fe6[_0x138a94(0x188)]:'';let _0x30a6c1=getUrlParams(_0x3920d1);if((_0x30a6c1===null||_0x30a6c1===void 0x0?void 0x0:_0x30a6c1[_0x138a94(0x199)])>0x0)for(let _0x41199f of _0x30a6c1){_0x291b2d=addArgument(_0x291b2d,_0x41199f[_0x138a94(0x18c)],_0x41199f['value']);}let _0x2cae3c=_0x291b2d[_0x138a94(0x1a1)](_0x138a94(0x19c));_0x2cae3c!==-0x1?_0x291b2d[_0x138a94(0x1a1)](_0x138a94(0x198))===-0x1&&_0x291b2d[_0x138a94(0x1a1)]('tk')===-0x1?_0xc130e[_0x138a94(0x1a2)]()[_0x138a94(0x191)]=_0x291b2d[_0x138a94(0x18b)]('&','?'):_0xc130e[_0x138a94(0x1a2)]()[_0x138a94(0x191)]=_0x291b2d:_0xc130e[_0x138a94(0x1a2)]()['src']=_0x291b2d;},'matrixSet':_0x521216['matrixSet'],'format':_0x521216[_0x372afc(0x19e)],'projection':_0x521216[_0x372afc(0x18e)],'tileGrid':new a53_0x226358({'origin':_0x55e46a,'resolutions':_0x521216[_0x372afc(0x190)][_0x372afc(0x18a)](),'matrixIds':_0x521216[_0x372afc(0x190)]['getMatrixIds'](),'extent':_0x55e09f[_0x372afc(0x196)]}),'style':_0x55e09f[_0x372afc(0x1ab)],'wrapX':!![]})}),this['id']=_0x419fe6['id'],this[_0x372afc(0x19d)]=_0x55e09f[_0x372afc(0x196)],this[_0x372afc(0x18e)]=_0x5cd7a4,this[_0x372afc(0x19b)]=_0x419fe6;}}
1
+ (function(_0x57d3db,_0x39d9f6){const _0xfe2ac4=a54_0x5e76,_0xfa0010=_0x57d3db();while(!![]){try{const _0x624ec0=parseInt(_0xfe2ac4(0x166))/0x1*(-parseInt(_0xfe2ac4(0x17f))/0x2)+parseInt(_0xfe2ac4(0x169))/0x3*(-parseInt(_0xfe2ac4(0x162))/0x4)+parseInt(_0xfe2ac4(0x15e))/0x5*(parseInt(_0xfe2ac4(0x173))/0x6)+-parseInt(_0xfe2ac4(0x15f))/0x7+parseInt(_0xfe2ac4(0x175))/0x8*(-parseInt(_0xfe2ac4(0x179))/0x9)+-parseInt(_0xfe2ac4(0x171))/0xa*(-parseInt(_0xfe2ac4(0x161))/0xb)+parseInt(_0xfe2ac4(0x168))/0xc;if(_0x624ec0===_0x39d9f6)break;else _0xfa0010['push'](_0xfa0010['shift']());}catch(_0x492849){_0xfa0010['push'](_0xfa0010['shift']());}}}(a54_0x34de,0x8e836));import a54_0x35e593 from'ol/layer/Tile';import a54_0x5124e6,{optionsFromCapabilities}from'ol/source/WMTS.js';import a54_0x52268a from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a54_0x35e593{constructor(_0x28fb6b,_0x12a891){const _0x2d80da=a54_0x5e76;var _0x1b7c6a;let _0x4c2418='';_0x28fb6b[_0x2d80da(0x167)]&&_0x28fb6b[_0x2d80da(0x167)][_0x2d80da(0x178)]>0x0&&(_0x4c2418=_0x28fb6b[_0x2d80da(0x167)][_0x2d80da(0x15d)](','));const _0x2c106d='EPSG:'+_0x12a891[_0x2d80da(0x164)];let _0x188a4d=registerProj(_0x2c106d);const _0x4b1904=optionsFromCapabilities(_0x12a891[_0x2d80da(0x176)],{'layer':(_0x1b7c6a=_0x28fb6b[_0x2d80da(0x167)])===null||_0x1b7c6a===void 0x0?void 0x0:_0x1b7c6a[0x0],'matrixSet':_0x12a891[_0x2d80da(0x182)],'format':_0x2d80da(0x17b)});let _0x4717af=_0x4b1904[_0x2d80da(0x17e)][_0x2d80da(0x15c)][0x0];_0x4717af[0x0]===0x5a&&_0x4717af[0x1]===-0xb4&&(_0x4717af=[_0x4717af[0x1],_0x4717af[0x0]]),super({'opacity':_0x28fb6b[_0x2d80da(0x16d)],'zIndex':_0x28fb6b[_0x2d80da(0x16a)],'source':new a54_0x5124e6({'urls':_0x4b1904['urls'],'requestEncoding':_0x4b1904[_0x2d80da(0x177)],'layer':_0x4b1904[_0x2d80da(0x181)],'tileLoadFunction':function(_0x406c2c,_0x2e5f98){const _0x1fed95=_0x2d80da,_0x31d6cf=_0x28fb6b['url']?_0x28fb6b[_0x1fed95(0x180)]:'';let _0x44bbc1=getUrlParams(_0x31d6cf);if((_0x44bbc1===null||_0x44bbc1===void 0x0?void 0x0:_0x44bbc1['length'])>0x0)for(let _0x319080 of _0x44bbc1){_0x2e5f98=addArgument(_0x2e5f98,_0x319080['name'],_0x319080[_0x1fed95(0x16c)]);}let _0x4d280f=_0x2e5f98[_0x1fed95(0x172)](_0x1fed95(0x163));_0x4d280f!==-0x1?_0x2e5f98[_0x1fed95(0x172)](_0x1fed95(0x165))===-0x1&&_0x2e5f98[_0x1fed95(0x172)]('tk')===-0x1?_0x406c2c['getImage']()[_0x1fed95(0x170)]=_0x2e5f98[_0x1fed95(0x16b)]('&','?'):_0x406c2c['getImage']()[_0x1fed95(0x170)]=_0x2e5f98:_0x406c2c['getImage']()[_0x1fed95(0x170)]=_0x2e5f98;},'matrixSet':_0x4b1904['matrixSet'],'format':_0x4b1904[_0x2d80da(0x17c)],'projection':_0x4b1904[_0x2d80da(0x16f)],'tileGrid':new a54_0x52268a({'origin':_0x4717af,'resolutions':_0x4b1904[_0x2d80da(0x17e)][_0x2d80da(0x17d)](),'matrixIds':_0x4b1904[_0x2d80da(0x17e)][_0x2d80da(0x160)](),'extent':_0x12a891[_0x2d80da(0x16e)]}),'style':_0x12a891[_0x2d80da(0x174)],'wrapX':!![]})}),this['id']=_0x28fb6b['id'],this[_0x2d80da(0x17a)]=_0x12a891[_0x2d80da(0x16e)],this[_0x2d80da(0x16f)]=_0x188a4d,this['layerInfo']=_0x28fb6b;}}function a54_0x5e76(_0x249221,_0x57f75e){const _0x34de52=a54_0x34de();return a54_0x5e76=function(_0x5e7603,_0x3e053e){_0x5e7603=_0x5e7603-0x15c;let _0x3c5ef7=_0x34de52[_0x5e7603];return _0x3c5ef7;},a54_0x5e76(_0x249221,_0x57f75e);}function a54_0x34de(){const _0x577bae=['wkid','token','212391DIZGlY','sublayers','22462920RmyetB','2400oLEtth','mapIndex','replace','value','opacity','boundingBoxExtent','projection','src','2900220ESlRkv','indexOf','30pRHAED','style','40DnPQMz','sourceXml','requestEncoding','length','330282TKXPEG','initialExtent','image/png','format','getResolutions','tileGrid','6LhUWtO','url','layer','tileMatrixSet','origins_','join','55990eRxjEf','1517075MPtVKJ','getMatrixIds','11iqgdif','2984tIrjEs','?http'];a54_0x34de=function(){return _0x577bae;};return a54_0x34de();}
@@ -1 +1 @@
1
- function a54_0x347f(){const _0xec0dc0=['GetTile','getMatrixIds','1.0.0','toString','7641504McARJf','10WBUucz','tileGrid','url','10507032HRrkFD','7297015iKchPR',':{z}','length','image/png','EPSG:','7740854qjrwCt','initialExtent','application/vnd.mapbox-vector-tile','wkid','222GyFsLG','style','getResolutions','tileMatrixSet','{x}','38058JJLYHt','opacity','36320rEGZfu','8TYlSAV','sublayers','26GqpzjR','sourceXml','boundingBoxExtent','8690423UUgYaW'];a54_0x347f=function(){return _0xec0dc0;};return a54_0x347f();}function a54_0x4db6(_0x10566b,_0x43fb99){const _0x347f81=a54_0x347f();return a54_0x4db6=function(_0x4db6c2,_0x2f580e){_0x4db6c2=_0x4db6c2-0x16a;let _0x32b857=_0x347f81[_0x4db6c2];return _0x32b857;},a54_0x4db6(_0x10566b,_0x43fb99);}(function(_0x1e77fc,_0x4c7a65){const _0x46d865=a54_0x4db6,_0x180fbe=_0x1e77fc();while(!![]){try{const _0x53ce55=-parseInt(_0x46d865(0x16f))/0x1*(-parseInt(_0x46d865(0x174))/0x2)+parseInt(_0x46d865(0x16a))/0x3*(-parseInt(_0x46d865(0x171))/0x4)+parseInt(_0x46d865(0x181))/0x5+-parseInt(_0x46d865(0x17c))/0x6+parseInt(_0x46d865(0x177))/0x7*(parseInt(_0x46d865(0x172))/0x8)+parseInt(_0x46d865(0x180))/0x9*(-parseInt(_0x46d865(0x17d))/0xa)+parseInt(_0x46d865(0x186))/0xb;if(_0x53ce55===_0x4c7a65)break;else _0x180fbe['push'](_0x180fbe['shift']());}catch(_0xb125b5){_0x180fbe['push'](_0x180fbe['shift']());}}}(a54_0x347f,0xbffe8));import a54_0x3c06f1 from'ol/layer/VectorTile';import a54_0x42c539 from'ol/source/VectorTile';import a54_0x3cca22 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a54_0x3071b8 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a54_0x3c06f1{constructor(_0x2ce541,_0x4c8438){const _0x2e208a=a54_0x4db6;var _0x2dedff;let _0x1bce54=registerProj(_0x2e208a(0x185)+_0x4c8438['wkid']);const _0x9de5b5=optionsFromCapabilities(_0x4c8438[_0x2e208a(0x175)],{'layer':(_0x2dedff=_0x2ce541['sublayers'])===null||_0x2dedff===void 0x0?void 0x0:_0x2dedff[0x0],'matrixSet':_0x4c8438[_0x2e208a(0x16d)],'format':_0x2e208a(0x184)});let _0x537628=_0x2ce541['sublayers']&&_0x2ce541[_0x2e208a(0x173)][_0x2e208a(0x183)]>0x0?_0x2ce541[_0x2e208a(0x173)][0x0]:'';const _0x493334={'REQUEST':_0x2e208a(0x178),'SERVICE':'WMTS','VERSION':_0x2e208a(0x17a),'LAYER':_0x537628,'STYLE':_0x4c8438[_0x2e208a(0x16b)][_0x2e208a(0x17b)](),'TILEMATRIX':_0x4c8438[_0x2e208a(0x16d)]+_0x2e208a(0x182),'TILEMATRIXSET':_0x4c8438[_0x2e208a(0x16d)][_0x2e208a(0x17b)](),'FORMAT':_0x2e208a(0x188),'TILECOL':_0x2e208a(0x16e),'TILEROW':'{y}'};let _0x55a9c9=_0x2ce541[_0x2e208a(0x17f)]?_0x2ce541[_0x2e208a(0x17f)]:'';for(const _0x32e13b in _0x493334){_0x55a9c9=addArgument(_0x55a9c9,_0x32e13b,_0x493334[_0x32e13b]);}super({'opacity':_0x2ce541[_0x2e208a(0x170)],'zIndex':_0x2ce541['mapIndex'],'declutter':!![],'source':new a54_0x42c539({'projection':'EPSG:'+_0x4c8438[_0x2e208a(0x189)],'format':new a54_0x3cca22(),'wrapX':!![],'extent':_0x4c8438[_0x2e208a(0x176)],'tileGrid':new a54_0x3071b8({'tileSize':_0x9de5b5[_0x2e208a(0x17e)]['tileSizes_'][0x0],'origin':_0x9de5b5[_0x2e208a(0x17e)]['origins_'][0x0],'resolutions':_0x9de5b5[_0x2e208a(0x17e)][_0x2e208a(0x16c)](),'matrixIds':_0x9de5b5['tileGrid'][_0x2e208a(0x179)]()}),'url':_0x55a9c9})}),this['id']=_0x2ce541['id'],this[_0x2e208a(0x187)]=_0x4c8438[_0x2e208a(0x176)],this['projection']=_0x1bce54,this['layerInfo']=_0x2ce541;}}
1
+ (function(_0xd85a54,_0x3fd9a8){const _0xb1eb8c=a55_0x14ec,_0x256a17=_0xd85a54();while(!![]){try{const _0x5a3f1b=-parseInt(_0xb1eb8c(0x131))/0x1+-parseInt(_0xb1eb8c(0x121))/0x2*(-parseInt(_0xb1eb8c(0x13c))/0x3)+parseInt(_0xb1eb8c(0x11e))/0x4+-parseInt(_0xb1eb8c(0x130))/0x5*(-parseInt(_0xb1eb8c(0x12e))/0x6)+-parseInt(_0xb1eb8c(0x136))/0x7*(-parseInt(_0xb1eb8c(0x12a))/0x8)+parseInt(_0xb1eb8c(0x132))/0x9*(-parseInt(_0xb1eb8c(0x13d))/0xa)+-parseInt(_0xb1eb8c(0x137))/0xb*(-parseInt(_0xb1eb8c(0x122))/0xc);if(_0x5a3f1b===_0x3fd9a8)break;else _0x256a17['push'](_0x256a17['shift']());}catch(_0x27a15f){_0x256a17['push'](_0x256a17['shift']());}}}(a55_0x51bc,0x67276));import a55_0x120503 from'ol/layer/VectorTile';function a55_0x51bc(){const _0x54adeb=['3pOGGwi','50bqROdy','getResolutions','sourceXml','wkid','1192492dbuvaP','url','sublayers','377826gXPZYo','8519136LSttaD','layerInfo','GetTile','length','application/vnd.mapbox-vector-tile','projection','mapIndex','style','115664OyYVww','1.0.0','tileMatrixSet','initialExtent','17994NZycKF','tileGrid','610zohWsu','826161YKGBRQ','1059957kItKJc','EPSG:','{x}','{y}','133BEDJAE','11EYAseS','getMatrixIds','origins_','opacity','boundingBoxExtent'];a55_0x51bc=function(){return _0x54adeb;};return a55_0x51bc();}import a55_0x2b86b1 from'ol/source/VectorTile';import a55_0x12289b from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a55_0x324638 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';function a55_0x14ec(_0x5da22d,_0x5c58c1){const _0x51bc60=a55_0x51bc();return a55_0x14ec=function(_0x14ec35,_0x41f32c){_0x14ec35=_0x14ec35-0x11b;let _0x404f15=_0x51bc60[_0x14ec35];return _0x404f15;},a55_0x14ec(_0x5da22d,_0x5c58c1);}export default class GeoserverVectorTileLayer extends a55_0x120503{constructor(_0x122022,_0x56ce5f){const _0x5dafa6=a55_0x14ec;var _0x361622;let _0x36a716=registerProj(_0x5dafa6(0x133)+_0x56ce5f[_0x5dafa6(0x11d)]);const _0xb0b120=optionsFromCapabilities(_0x56ce5f[_0x5dafa6(0x11c)],{'layer':(_0x361622=_0x122022['sublayers'])===null||_0x361622===void 0x0?void 0x0:_0x361622[0x0],'matrixSet':_0x56ce5f['tileMatrixSet'],'format':'image/png'});let _0x1d709f=_0x122022[_0x5dafa6(0x120)]&&_0x122022[_0x5dafa6(0x120)][_0x5dafa6(0x125)]>0x0?_0x122022['sublayers'][0x0]:'';const _0x3b42be={'REQUEST':_0x5dafa6(0x124),'SERVICE':'WMTS','VERSION':_0x5dafa6(0x12b),'LAYER':_0x1d709f,'STYLE':_0x56ce5f[_0x5dafa6(0x129)]['toString'](),'TILEMATRIX':_0x56ce5f[_0x5dafa6(0x12c)]+':{z}','TILEMATRIXSET':_0x56ce5f['tileMatrixSet']['toString'](),'FORMAT':_0x5dafa6(0x126),'TILECOL':_0x5dafa6(0x134),'TILEROW':_0x5dafa6(0x135)};let _0x5e7160=_0x122022[_0x5dafa6(0x11f)]?_0x122022[_0x5dafa6(0x11f)]:'';for(const _0x39cc95 in _0x3b42be){_0x5e7160=addArgument(_0x5e7160,_0x39cc95,_0x3b42be[_0x39cc95]);}super({'opacity':_0x122022[_0x5dafa6(0x13a)],'zIndex':_0x122022[_0x5dafa6(0x128)],'declutter':!![],'source':new a55_0x2b86b1({'projection':_0x5dafa6(0x133)+_0x56ce5f[_0x5dafa6(0x11d)],'format':new a55_0x12289b(),'wrapX':!![],'extent':_0x56ce5f[_0x5dafa6(0x13b)],'tileGrid':new a55_0x324638({'tileSize':_0xb0b120[_0x5dafa6(0x12f)]['tileSizes_'][0x0],'origin':_0xb0b120[_0x5dafa6(0x12f)][_0x5dafa6(0x139)][0x0],'resolutions':_0xb0b120[_0x5dafa6(0x12f)][_0x5dafa6(0x11b)](),'matrixIds':_0xb0b120['tileGrid'][_0x5dafa6(0x138)]()}),'url':_0x5e7160})}),this['id']=_0x122022['id'],this[_0x5dafa6(0x12d)]=_0x56ce5f[_0x5dafa6(0x13b)],this[_0x5dafa6(0x127)]=_0x36a716,this[_0x5dafa6(0x123)]=_0x122022;}}
@@ -1 +1 @@
1
- const a55_0x5ce8c8=a55_0x281e;(function(_0xcb0c7d,_0x6e7d9){const _0x585fe4=a55_0x281e,_0x449137=_0xcb0c7d();while(!![]){try{const _0x207d74=parseInt(_0x585fe4(0x139))/0x1*(-parseInt(_0x585fe4(0x122))/0x2)+parseInt(_0x585fe4(0x13c))/0x3*(parseInt(_0x585fe4(0x138))/0x4)+-parseInt(_0x585fe4(0x143))/0x5+parseInt(_0x585fe4(0x13b))/0x6+-parseInt(_0x585fe4(0x131))/0x7+parseInt(_0x585fe4(0x12d))/0x8+parseInt(_0x585fe4(0x11c))/0x9;if(_0x207d74===_0x6e7d9)break;else _0x449137['push'](_0x449137['shift']());}catch(_0x41d0cd){_0x449137['push'](_0x449137['shift']());}}}(a55_0x4c62,0x86d58));import a55_0x47d1f6 from'ol/source/Vector';import a55_0x2fa430 from'ol/format/GeoJSON';import{Vector as a55_0x3c6f3b}from'ol/layer';import a55_0x29702d from'ol/format/WFS';function a55_0x4c62(){const _0x55e81a=['warn','2sxLBRh','EPSG:','name','!==','find','serializeToString','type','param','length','lessThan','lessThanOrEqualTo','514768JVQdLb','projection','notEqualTo','layerFields','6208545KuOTxu','toLowerCase','removeLoadedExtent','param字段不存在','mapIndex','layerInfo','getSource','876qVTwhw','616119DgQpZV','wkid','6510210oYrSBd','9AGcjJR','type字段不存在','not','push','greaterThanOrEqualTo','apply','fieldType','4150430YWcHgF','readFeatures','loadFilter','initExtent','then','between','parseFilter','greaterThan','sublayers','getCode','filter','15618438nfOQTJ','writeGetFeature','POST','equalTo','initialExtent'];a55_0x4c62=function(){return _0x55e81a;};return a55_0x4c62();}import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a55_0x19015f from'../utils/format/CQL';function a55_0x281e(_0x407af5,_0x1d0db6){const _0x4c629c=a55_0x4c62();return a55_0x281e=function(_0x281e1c,_0x5c829c){_0x281e1c=_0x281e1c-0x117;let _0x13e439=_0x4c629c[_0x281e1c];return _0x13e439;},a55_0x281e(_0x407af5,_0x1d0db6);}import*as a55_0x5a0188 from'ol/format/filter';export default class GeoserverWFSLayer extends a55_0x3c6f3b{constructor(_0x1daa65,_0xd858e3){const _0xd7fd63=a55_0x281e;let _0x9af1dd=registerProj(_0xd7fd63(0x123)+_0xd858e3[_0xd7fd63(0x13a)]);const _0x34ce59=_0xd858e3[_0xd7fd63(0x130)][_0xd7fd63(0x126)](_0x53c0c1=>_0x53c0c1[_0xd7fd63(0x142)]==0x6);super({'zIndex':_0x1daa65[_0xd7fd63(0x135)],'source':new a55_0x47d1f6({'format':new a55_0x2fa430(),'loader':(_0x5068ed,_0x4676ee,_0x5b43bb,_0x49868e,_0x3ede8d)=>{const _0x49107a=_0xd7fd63;let _0x4b1e77=_0x1daa65[_0x49107a(0x145)],_0x450c0a={'srsName':_0x5b43bb[_0x49107a(0x11a)](),'featureTypes':_0x1daa65[_0x49107a(0x119)],'bbox':_0x5068ed,'geometryName':_0x34ce59?_0x34ce59[_0x49107a(0x124)]:'','outputFormat':'application/json'};_0x4b1e77&&(typeof _0x4b1e77==='string'?_0x450c0a[_0x49107a(0x11b)]=new a55_0x19015f()['read'](_0x4b1e77):_0x450c0a['filter']=this[_0x49107a(0x117)](_0x4b1e77));var _0x104072=new a55_0x29702d()[_0x49107a(0x11d)](_0x450c0a);let _0xcafbb2=_0x1daa65['url']?_0x1daa65['url']:'';fetch(_0xcafbb2,{'method':_0x49107a(0x11e),'body':new XMLSerializer()[_0x49107a(0x127)](_0x104072)})[_0x49107a(0x147)](_0x484af4=>{return _0x484af4['json']();})[_0x49107a(0x147)](_0x5730d8=>{const _0x5b177a=_0x49107a,_0x157fee=new a55_0x2fa430()[_0x5b177a(0x144)](_0x5730d8);let _0x4fb79f=this[_0x5b177a(0x137)]();_0x4fb79f&&_0x4fb79f['addFeatures'](_0x157fee);if(_0x49868e)_0x49868e(_0x157fee);})['catch'](()=>{const _0x57ec2f=_0x49107a;let _0x2f366f=this[_0x57ec2f(0x137)]();_0x2f366f&&_0x2f366f[_0x57ec2f(0x133)](_0x5068ed);if(_0x3ede8d)_0x3ede8d();});},'strategy':bbox})}),this['id']=_0x1daa65['id'],this[_0xd7fd63(0x120)]=_0xd858e3[_0xd7fd63(0x146)],this[_0xd7fd63(0x12e)]=_0x9af1dd,this[_0xd7fd63(0x136)]=_0x1daa65;}[a55_0x5ce8c8(0x117)](_0x2f2391){const _0x2bb6a5=a55_0x5ce8c8;if(!_0x2f2391[_0x2bb6a5(0x128)]){console[_0x2bb6a5(0x121)](_0x2bb6a5(0x13d));return;}if(!_0x2f2391[_0x2bb6a5(0x129)]){console['warn'](_0x2bb6a5(0x134));return;}let _0x55caea=[];switch(_0x2f2391[_0x2bb6a5(0x128)][_0x2bb6a5(0x132)]()){case'and':for(let _0x47e29f=0x0;_0x47e29f<_0x2f2391[_0x2bb6a5(0x129)]['length'];_0x47e29f++){let _0x5f3952=this['parseFilter'](_0x2f2391[_0x2bb6a5(0x129)][_0x47e29f]);_0x55caea[_0x2bb6a5(0x13f)](_0x5f3952);}return a55_0x5a0188['and'][_0x2bb6a5(0x141)](null,_0x55caea);case'or':for(let _0x49d0e0=0x0;_0x49d0e0<_0x2f2391[_0x2bb6a5(0x129)][_0x2bb6a5(0x12a)];_0x49d0e0++){let _0x29ba31=this[_0x2bb6a5(0x117)](_0x2f2391[_0x2bb6a5(0x129)][_0x49d0e0]);_0x55caea[_0x2bb6a5(0x13f)](_0x29ba31);}return a55_0x5a0188['or'][_0x2bb6a5(0x141)](null,_0x55caea);case _0x2bb6a5(0x13e):for(let _0x4f4a07=0x0;_0x4f4a07<_0x2f2391[_0x2bb6a5(0x129)][_0x2bb6a5(0x12a)];_0x4f4a07++){let _0x1646e4=this['parseFilter'](_0x2f2391[_0x2bb6a5(0x129)][_0x4f4a07]);_0x55caea[_0x2bb6a5(0x13f)](_0x1646e4);}return a55_0x5a0188[_0x2bb6a5(0x13e)]['apply'](null,_0x55caea);case'=':return a55_0x5a0188[_0x2bb6a5(0x11f)](_0x2f2391[_0x2bb6a5(0x129)][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case _0x2bb6a5(0x125):return a55_0x5a0188[_0x2bb6a5(0x12f)](_0x2f2391[_0x2bb6a5(0x129)][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case'>':return a55_0x5a0188[_0x2bb6a5(0x118)](_0x2f2391[_0x2bb6a5(0x129)][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case'<':return a55_0x5a0188[_0x2bb6a5(0x12b)](_0x2f2391['param'][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case'>=':return a55_0x5a0188[_0x2bb6a5(0x140)](_0x2f2391['param'][0x0],_0x2f2391['param'][0x1]);case'<=':return a55_0x5a0188[_0x2bb6a5(0x12c)](_0x2f2391['param'][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case'between':return a55_0x5a0188[_0x2bb6a5(0x148)](_0x2f2391[_0x2bb6a5(0x129)][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1],_0x2f2391['param'][0x2]);}}}
1
+ const a56_0x3276c8=a56_0x3be7;(function(_0x4909c6,_0x21952b){const _0x1e3130=a56_0x3be7,_0x13576c=_0x4909c6();while(!![]){try{const _0x1497d8=-parseInt(_0x1e3130(0x18b))/0x1+-parseInt(_0x1e3130(0x189))/0x2*(-parseInt(_0x1e3130(0x17a))/0x3)+parseInt(_0x1e3130(0x17b))/0x4+-parseInt(_0x1e3130(0x18a))/0x5*(-parseInt(_0x1e3130(0x170))/0x6)+parseInt(_0x1e3130(0x178))/0x7+parseInt(_0x1e3130(0x174))/0x8*(-parseInt(_0x1e3130(0x16f))/0x9)+parseInt(_0x1e3130(0x17c))/0xa*(-parseInt(_0x1e3130(0x172))/0xb);if(_0x1497d8===_0x21952b)break;else _0x13576c['push'](_0x13576c['shift']());}catch(_0x27c957){_0x13576c['push'](_0x13576c['shift']());}}}(a56_0x5262,0x767c5));import a56_0x3c87ab from'ol/source/Vector';import a56_0x5df3d2 from'ol/format/GeoJSON';import{Vector as a56_0x322940}from'ol/layer';function a56_0x5262(){const _0x2a32ef=['serializeToString','length','loadFilter','getCode','read','greaterThan','projection','getSource','json','not','string','lessThanOrEqualTo','apply','catch','addFeatures','find','greaterThanOrEqualTo','18pWpftH','2190wSzdKb','layerFields','2079VhzpMR','parseFilter','1667368NFNCoK','initialExtent','lessThan','layerInfo','5496568YdkCNq','and','3fBjMPb','276404Ciddai','42990drHLlG','application/json','type','EPSG:','removeLoadedExtent','then','param','filter','type字段不存在','POST','between','sublayers','notEqualTo','1213982tTpZHb','5900GmxcMU','177346jOQnjj','push','toLowerCase','warn','writeGetFeature','mapIndex','!=='];a56_0x5262=function(){return _0x2a32ef;};return a56_0x5262();}import a56_0x2bcee0 from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a56_0x1d5949 from'../utils/format/CQL';function a56_0x3be7(_0x1b7368,_0x3c7e95){const _0x526283=a56_0x5262();return a56_0x3be7=function(_0x3be797,_0x1b445c){_0x3be797=_0x3be797-0x15c;let _0x33bc95=_0x526283[_0x3be797];return _0x33bc95;},a56_0x3be7(_0x1b7368,_0x3c7e95);}import*as a56_0x219db8 from'ol/format/filter';export default class GeoserverWFSLayer extends a56_0x322940{constructor(_0x4e6005,_0x3f1367){const _0x48bbda=a56_0x3be7;let _0x1b84b3=registerProj(_0x48bbda(0x17f)+_0x3f1367['wkid']);const _0x441961=_0x3f1367[_0x48bbda(0x171)][_0x48bbda(0x16d)](_0x12faf5=>_0x12faf5['fieldType']==0x6);super({'zIndex':_0x4e6005[_0x48bbda(0x15c)],'source':new a56_0x3c87ab({'format':new a56_0x5df3d2(),'loader':(_0x4eb55e,_0x27c99f,_0x4c9a2c,_0x15fde3,_0x5f1bf1)=>{const _0x5e2a39=_0x48bbda;let _0x3674c6=_0x4e6005[_0x5e2a39(0x160)],_0x286917={'srsName':_0x4c9a2c[_0x5e2a39(0x161)](),'featureTypes':_0x4e6005[_0x5e2a39(0x187)],'bbox':_0x4eb55e,'geometryName':_0x441961?_0x441961['name']:'','outputFormat':_0x5e2a39(0x17d)};_0x3674c6&&(typeof _0x3674c6===_0x5e2a39(0x168)?_0x286917[_0x5e2a39(0x183)]=new a56_0x1d5949()[_0x5e2a39(0x162)](_0x3674c6):_0x286917[_0x5e2a39(0x183)]=this['parseFilter'](_0x3674c6));var _0x200cbf=new a56_0x2bcee0()[_0x5e2a39(0x18f)](_0x286917);let _0x52649a=_0x4e6005['url']?_0x4e6005['url']:'';fetch(_0x52649a,{'method':_0x5e2a39(0x185),'body':new XMLSerializer()[_0x5e2a39(0x15e)](_0x200cbf)})['then'](_0x216c33=>{const _0x49a058=_0x5e2a39;return _0x216c33[_0x49a058(0x166)]();})[_0x5e2a39(0x181)](_0x468102=>{const _0x55f251=_0x5e2a39,_0x287a1e=new a56_0x5df3d2()['readFeatures'](_0x468102);let _0x37132d=this['getSource']();_0x37132d&&_0x37132d[_0x55f251(0x16c)](_0x287a1e);if(_0x15fde3)_0x15fde3(_0x287a1e);})[_0x5e2a39(0x16b)](()=>{const _0x2ccc85=_0x5e2a39;let _0x7b1243=this[_0x2ccc85(0x165)]();_0x7b1243&&_0x7b1243[_0x2ccc85(0x180)](_0x4eb55e);if(_0x5f1bf1)_0x5f1bf1();});},'strategy':bbox})}),this['id']=_0x4e6005['id'],this[_0x48bbda(0x175)]=_0x3f1367['initExtent'],this[_0x48bbda(0x164)]=_0x1b84b3,this[_0x48bbda(0x177)]=_0x4e6005;}[a56_0x3276c8(0x173)](_0x2e9303){const _0x53499f=a56_0x3276c8;if(!_0x2e9303[_0x53499f(0x17e)]){console['warn'](_0x53499f(0x184));return;}if(!_0x2e9303[_0x53499f(0x182)]){console[_0x53499f(0x18e)]('param字段不存在');return;}let _0x5b4196=[];switch(_0x2e9303[_0x53499f(0x17e)][_0x53499f(0x18d)]()){case'and':for(let _0x3619af=0x0;_0x3619af<_0x2e9303['param'][_0x53499f(0x15f)];_0x3619af++){let _0x4a83b9=this[_0x53499f(0x173)](_0x2e9303[_0x53499f(0x182)][_0x3619af]);_0x5b4196[_0x53499f(0x18c)](_0x4a83b9);}return a56_0x219db8[_0x53499f(0x179)][_0x53499f(0x16a)](null,_0x5b4196);case'or':for(let _0x59dd31=0x0;_0x59dd31<_0x2e9303[_0x53499f(0x182)][_0x53499f(0x15f)];_0x59dd31++){let _0x41e947=this[_0x53499f(0x173)](_0x2e9303['param'][_0x59dd31]);_0x5b4196[_0x53499f(0x18c)](_0x41e947);}return a56_0x219db8['or'][_0x53499f(0x16a)](null,_0x5b4196);case'not':for(let _0x2c2b3a=0x0;_0x2c2b3a<_0x2e9303[_0x53499f(0x182)]['length'];_0x2c2b3a++){let _0x4b6de2=this[_0x53499f(0x173)](_0x2e9303['param'][_0x2c2b3a]);_0x5b4196['push'](_0x4b6de2);}return a56_0x219db8[_0x53499f(0x167)][_0x53499f(0x16a)](null,_0x5b4196);case'=':return a56_0x219db8['equalTo'](_0x2e9303['param'][0x0],_0x2e9303[_0x53499f(0x182)][0x1]);case _0x53499f(0x15d):return a56_0x219db8[_0x53499f(0x188)](_0x2e9303[_0x53499f(0x182)][0x0],_0x2e9303[_0x53499f(0x182)][0x1]);case'>':return a56_0x219db8[_0x53499f(0x163)](_0x2e9303[_0x53499f(0x182)][0x0],_0x2e9303[_0x53499f(0x182)][0x1]);case'<':return a56_0x219db8[_0x53499f(0x176)](_0x2e9303[_0x53499f(0x182)][0x0],_0x2e9303['param'][0x1]);case'>=':return a56_0x219db8[_0x53499f(0x16e)](_0x2e9303[_0x53499f(0x182)][0x0],_0x2e9303[_0x53499f(0x182)][0x1]);case'<=':return a56_0x219db8[_0x53499f(0x169)](_0x2e9303['param'][0x0],_0x2e9303[_0x53499f(0x182)][0x1]);case'between':return a56_0x219db8[_0x53499f(0x186)](_0x2e9303[_0x53499f(0x182)][0x0],_0x2e9303[_0x53499f(0x182)][0x1],_0x2e9303[_0x53499f(0x182)][0x2]);}}}
@@ -1 +1 @@
1
- const a56_0x5738ce=a56_0x2d07;(function(_0x56351f,_0x4559da){const _0x2479ca=a56_0x2d07,_0x945eb8=_0x56351f();while(!![]){try{const _0x255a05=parseInt(_0x2479ca(0x101))/0x1*(-parseInt(_0x2479ca(0xfd))/0x2)+-parseInt(_0x2479ca(0x100))/0x3*(-parseInt(_0x2479ca(0xfe))/0x4)+-parseInt(_0x2479ca(0xf1))/0x5+-parseInt(_0x2479ca(0x102))/0x6+parseInt(_0x2479ca(0xed))/0x7*(-parseInt(_0x2479ca(0xf3))/0x8)+-parseInt(_0x2479ca(0xf0))/0x9+parseInt(_0x2479ca(0xf7))/0xa*(parseInt(_0x2479ca(0xf8))/0xb);if(_0x255a05===_0x4559da)break;else _0x945eb8['push'](_0x945eb8['shift']());}catch(_0x2a1bcb){_0x945eb8['push'](_0x945eb8['shift']());}}}(a56_0x111c,0x1968f));function a56_0x2d07(_0x5e1d7d,_0x59063b){const _0x111c83=a56_0x111c();return a56_0x2d07=function(_0x2d07e4,_0x654d52){_0x2d07e4=_0x2d07e4-0xec;let _0x867a9a=_0x111c83[_0x2d07e4];return _0x867a9a;},a56_0x2d07(_0x5e1d7d,_0x59063b);}import{ImageWMS as a56_0x54191c}from'ol/source';import{Image as a56_0x4c3d90}from'ol/layer';function a56_0x111c(){const _0x5c7f05=['initialExtent','refresh','21qqEchI','CQL_FILTER','updateParams','1482174WlBaPi','80015dYevNH','projection','72424ecVDml','join','url','initExtent','6420xTAYiK','6963ezSqug','sublayers','EPSG:','getSource','wkid','3068zAbyXw','424076QnVmeP','loadFilter','3QjWrZK','101GNGxQU','273264vBEUOh'];a56_0x111c=function(){return _0x5c7f05;};return a56_0x111c();}import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a56_0x4c3d90{constructor(_0x4dc622,_0x3d0bb0){const _0x4df142=a56_0x2d07;var _0x5c8545;let _0x5acca3=registerProj(_0x4df142(0xfa)+_0x3d0bb0[_0x4df142(0xfc)]),_0xf07079={'LAYERS':(_0x5c8545=_0x4dc622[_0x4df142(0xf9)])===null||_0x5c8545===void 0x0?void 0x0:_0x5c8545[_0x4df142(0xf4)](','),'VERSION':'1.1.0'};_0x4dc622[_0x4df142(0xff)]&&(_0xf07079[_0x4df142(0xee)]=_0x4dc622['loadFilter']),super({'opacity':_0x4dc622['opacity'],'zIndex':_0x4dc622['mapIndex'],'source':new a56_0x54191c({'crossOrigin':'anonymous','url':_0x4dc622[_0x4df142(0xf5)],'params':_0xf07079})}),this['id']=_0x4dc622['id'],this[_0x4df142(0x103)]=_0x3d0bb0[_0x4df142(0xf6)],this[_0x4df142(0xf2)]=_0x5acca3,this['layerInfo']=_0x4dc622;}[a56_0x5738ce(0xec)](){}['setFilter'](_0x2ee18f){const _0x581411=a56_0x5738ce;var _0xa173db;(_0xa173db=this[_0x581411(0xfb)]())===null||_0xa173db===void 0x0?void 0x0:_0xa173db[_0x581411(0xef)]({'CQL_FILTER':_0x2ee18f});}}
1
+ const a57_0x5f2024=a57_0x23d3;(function(_0x32e24e,_0x42566e){const _0x36d616=a57_0x23d3,_0x12de6d=_0x32e24e();while(!![]){try{const _0x7b0fcb=parseInt(_0x36d616(0x1e5))/0x1+parseInt(_0x36d616(0x1ee))/0x2+parseInt(_0x36d616(0x1f6))/0x3+-parseInt(_0x36d616(0x1f0))/0x4*(parseInt(_0x36d616(0x1e9))/0x5)+-parseInt(_0x36d616(0x1f2))/0x6+parseInt(_0x36d616(0x1e8))/0x7*(-parseInt(_0x36d616(0x1fb))/0x8)+-parseInt(_0x36d616(0x1f1))/0x9*(parseInt(_0x36d616(0x1f3))/0xa);if(_0x7b0fcb===_0x42566e)break;else _0x12de6d['push'](_0x12de6d['shift']());}catch(_0x44cf9b){_0x12de6d['push'](_0x12de6d['shift']());}}}(a57_0x15e1,0x9abdb));function a57_0x15e1(){const _0x355db9=['opacity','1480BtNoWX','wkid','39584PuAuaB','url','setFilter','22372sbYrIE','10ckdleG','EPSG:','getSource','initExtent','sublayers','1660172GOrAVM','loadFilter','495332IMVmjv','63207sjEYFL','341442YgHbNp','150xOviBX','layerInfo','updateParams','2295981ZoTnAa','1.1.0','anonymous','CQL_FILTER'];a57_0x15e1=function(){return _0x355db9;};return a57_0x15e1();}import{ImageWMS as a57_0x1ebe52}from'ol/source';function a57_0x23d3(_0x264e69,_0x3121ea){const _0x15e119=a57_0x15e1();return a57_0x23d3=function(_0x23d372,_0x436337){_0x23d372=_0x23d372-0x1e5;let _0x6e52f5=_0x15e119[_0x23d372];return _0x6e52f5;},a57_0x23d3(_0x264e69,_0x3121ea);}import{Image as a57_0x43a299}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a57_0x43a299{constructor(_0x45a738,_0x508fd8){const _0x498ebf=a57_0x23d3;var _0x429b4a;let _0x9d1542=registerProj(_0x498ebf(0x1ea)+_0x508fd8[_0x498ebf(0x1fc)]),_0x2a3622={'LAYERS':(_0x429b4a=_0x45a738[_0x498ebf(0x1ed)])===null||_0x429b4a===void 0x0?void 0x0:_0x429b4a['join'](','),'VERSION':_0x498ebf(0x1f7)};_0x45a738[_0x498ebf(0x1ef)]&&(_0x2a3622[_0x498ebf(0x1f9)]=_0x45a738[_0x498ebf(0x1ef)]),super({'opacity':_0x45a738[_0x498ebf(0x1fa)],'zIndex':_0x45a738['mapIndex'],'source':new a57_0x1ebe52({'crossOrigin':_0x498ebf(0x1f8),'url':_0x45a738[_0x498ebf(0x1e6)],'params':_0x2a3622})}),this['id']=_0x45a738['id'],this['initialExtent']=_0x508fd8[_0x498ebf(0x1ec)],this['projection']=_0x9d1542,this[_0x498ebf(0x1f4)]=_0x45a738;}['refresh'](){}[a57_0x5f2024(0x1e7)](_0x128fb9){const _0x2f7579=a57_0x5f2024;var _0x30a57e;(_0x30a57e=this[_0x2f7579(0x1eb)]())===null||_0x30a57e===void 0x0?void 0x0:_0x30a57e[_0x2f7579(0x1f5)]({'CQL_FILTER':_0x128fb9});}}
@@ -1 +1 @@
1
- (function(_0x59fd61,_0x501006){const _0x16ab20=a57_0x5762,_0x44c8f8=_0x59fd61();while(!![]){try{const _0x25910d=-parseInt(_0x16ab20(0x134))/0x1*(-parseInt(_0x16ab20(0x141))/0x2)+-parseInt(_0x16ab20(0x145))/0x3*(-parseInt(_0x16ab20(0x135))/0x4)+-parseInt(_0x16ab20(0x13e))/0x5+parseInt(_0x16ab20(0x131))/0x6*(-parseInt(_0x16ab20(0x138))/0x7)+parseInt(_0x16ab20(0x136))/0x8*(parseInt(_0x16ab20(0x137))/0x9)+-parseInt(_0x16ab20(0x133))/0xa+-parseInt(_0x16ab20(0x143))/0xb;if(_0x25910d===_0x501006)break;else _0x44c8f8['push'](_0x44c8f8['shift']());}catch(_0x39441c){_0x44c8f8['push'](_0x44c8f8['shift']());}}}(a57_0x4ba2,0x86594));import a57_0x865b62 from'ol/layer/Tile';import a57_0x1b04d4,{optionsFromCapabilities}from'ol/source/WMTS.js';function a57_0x4ba2(){const _0x19431c=['65954dXYQQW','EPSG:','initialExtent','未找到投影信息','解析元数据失败','image/png','1779435CjRhxk','opacity','sublayers','1328ewqDlW','mapIndex','1192994tSkvwe','sourceXml','1539483SJMYmL','boundingBoxExtent','layerInfo','tileMatrixSet','390NEfxCH','wkid','6587100HPCsxx','1427QqmvpU','4rhLCFw','1650168PvyaEp','36JRCivA'];a57_0x4ba2=function(){return _0x19431c;};return a57_0x4ba2();}import{registerProj}from'../utils/RegisterProjUtil';function a57_0x5762(_0x3f7033,_0x377532){const _0x4ba272=a57_0x4ba2();return a57_0x5762=function(_0x57624c,_0x31d767){_0x57624c=_0x57624c-0x12f;let _0x370f5f=_0x4ba272[_0x57624c];return _0x370f5f;},a57_0x5762(_0x3f7033,_0x377532);}export default class GeoserverWMTSLayer extends a57_0x865b62{constructor(_0x40dc1b,_0x533f69){const _0x309c9b=a57_0x5762;var _0x2cc99a;const _0x4fc000=_0x309c9b(0x139)+_0x533f69[_0x309c9b(0x132)];let _0x1a37be=registerProj(_0x4fc000);if(!_0x1a37be)throw new Error(_0x309c9b(0x13b));const _0x4b55fc=optionsFromCapabilities(_0x533f69[_0x309c9b(0x144)],{'layer':(_0x2cc99a=_0x40dc1b[_0x309c9b(0x140)])===null||_0x2cc99a===void 0x0?void 0x0:_0x2cc99a[0x0],'matrixSet':_0x533f69[_0x309c9b(0x130)],'format':_0x309c9b(0x13d)});if(!_0x4b55fc)throw new Error(_0x309c9b(0x13c));super({'opacity':_0x40dc1b[_0x309c9b(0x13f)],'zIndex':_0x40dc1b[_0x309c9b(0x142)],'source':new a57_0x1b04d4(_0x4b55fc)}),this['id']=_0x40dc1b['id'],this[_0x309c9b(0x13a)]=_0x533f69[_0x309c9b(0x146)],this['projection']=_0x1a37be,this[_0x309c9b(0x12f)]=_0x40dc1b;}}
1
+ function a58_0x5388(){const _0x1ef404=['269643SHRYaf','729024VfWidU','image/png','sourceXml','EPSG:','1305ORIhrb','16806087udWexo','layerInfo','636ysYoYJ','21tISxrO','sublayers','wkid','1529920qVuRWR','tileMatrixSet','1826545QBhsyb','mapIndex','opacity','projection','解析元数据失败','982072bxVqZj','10NQUOhl'];a58_0x5388=function(){return _0x1ef404;};return a58_0x5388();}function a58_0x19ec(_0x466783,_0x5deb20){const _0x5388d5=a58_0x5388();return a58_0x19ec=function(_0x19ec6e,_0x3b5ec7){_0x19ec6e=_0x19ec6e-0x1c4;let _0x5bb751=_0x5388d5[_0x19ec6e];return _0x5bb751;},a58_0x19ec(_0x466783,_0x5deb20);}(function(_0x449781,_0xd07753){const _0x150f3c=a58_0x19ec,_0x2a7d02=_0x449781();while(!![]){try{const _0x2802b8=-parseInt(_0x150f3c(0x1c7))/0x1+parseInt(_0x150f3c(0x1cf))/0x2*(-parseInt(_0x150f3c(0x1cc))/0x3)+-parseInt(_0x150f3c(0x1d3))/0x4+-parseInt(_0x150f3c(0x1d5))/0x5+-parseInt(_0x150f3c(0x1c8))/0x6+parseInt(_0x150f3c(0x1d0))/0x7*(-parseInt(_0x150f3c(0x1c5))/0x8)+-parseInt(_0x150f3c(0x1cd))/0x9*(-parseInt(_0x150f3c(0x1c6))/0xa);if(_0x2802b8===_0xd07753)break;else _0x2a7d02['push'](_0x2a7d02['shift']());}catch(_0x569c51){_0x2a7d02['push'](_0x2a7d02['shift']());}}}(a58_0x5388,0x36268));import a58_0x3f02a1 from'ol/layer/Tile';import a58_0x5d06f4,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a58_0x3f02a1{constructor(_0x2bb4bd,_0x12b9e2){const _0x211e9a=a58_0x19ec;var _0x58b7c5;const _0x19ef77=_0x211e9a(0x1cb)+_0x12b9e2[_0x211e9a(0x1d2)];let _0x180e15=registerProj(_0x19ef77);if(!_0x180e15)throw new Error('未找到投影信息');const _0x18090d=optionsFromCapabilities(_0x12b9e2[_0x211e9a(0x1ca)],{'layer':(_0x58b7c5=_0x2bb4bd[_0x211e9a(0x1d1)])===null||_0x58b7c5===void 0x0?void 0x0:_0x58b7c5[0x0],'matrixSet':_0x12b9e2[_0x211e9a(0x1d4)],'format':_0x211e9a(0x1c9)});if(!_0x18090d)throw new Error(_0x211e9a(0x1c4));super({'opacity':_0x2bb4bd[_0x211e9a(0x1d7)],'zIndex':_0x2bb4bd[_0x211e9a(0x1d6)],'source':new a58_0x5d06f4(_0x18090d)}),this['id']=_0x2bb4bd['id'],this['initialExtent']=_0x12b9e2['boundingBoxExtent'],this[_0x211e9a(0x1d8)]=_0x180e15,this[_0x211e9a(0x1ce)]=_0x2bb4bd;}}
@@ -1 +1 @@
1
- function a59_0x4b5d(_0x1c6266,_0x5af256){const _0x27cecc=a59_0x27ce();return a59_0x4b5d=function(_0x4b5de9,_0x28443e){_0x4b5de9=_0x4b5de9-0x167;let _0x1c6e29=_0x27cecc[_0x4b5de9];return _0x1c6e29;},a59_0x4b5d(_0x1c6266,_0x5af256);}const a59_0xcbd114=a59_0x4b5d;(function(_0x5be93e,_0x17604a){const _0x1a1dc6=a59_0x4b5d,_0x59f624=_0x5be93e();while(!![]){try{const _0x5717cf=-parseInt(_0x1a1dc6(0x169))/0x1+-parseInt(_0x1a1dc6(0x178))/0x2*(-parseInt(_0x1a1dc6(0x16d))/0x3)+-parseInt(_0x1a1dc6(0x175))/0x4+parseInt(_0x1a1dc6(0x16f))/0x5+-parseInt(_0x1a1dc6(0x16e))/0x6+parseInt(_0x1a1dc6(0x177))/0x7*(-parseInt(_0x1a1dc6(0x170))/0x8)+parseInt(_0x1a1dc6(0x173))/0x9;if(_0x5717cf===_0x17604a)break;else _0x59f624['push'](_0x59f624['shift']());}catch(_0xbc420a){_0x59f624['push'](_0x59f624['shift']());}}}(a59_0x27ce,0x38f37));import a59_0x1b6a4c from'./ArcgisDynamicLayer';import a59_0x535599 from'./ArcgisFeatureLayer';import a59_0x237c56 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a59_0x4d1020 from'./ArcgisTileLayer';import a59_0x48fc8d from'./GeoserverWMSLayer';import a59_0x2b9156 from'./GeoserverWMTSLayer';import a59_0x31ee41 from'./ArcgisWMSLayer';import a59_0x50cffb from'./ArcgisWMTSLayer';import a59_0xde23c3 from'./GeoserverWFSLayer';function a59_0x27ce(){const _0x2a92cd=['getArcgisWmsLayer','9107730ACiaQS','length','1741304TJvewc','getTDTLayer','2219889FrzsAr','414630yZRHPO','getDynamicLayer','getArcgisFeatureLayer','getArcgisTileLayer','getGeoserverWMTSLayer','286565azlzut','url','push','getGeoserverWFSLayer','3HtMbUp','1316574vQBzVl','1362165oGOJYH','8BkgwTB','sublayers'];a59_0x27ce=function(){return _0x2a92cd;};return a59_0x27ce();}import a59_0x5c5082 from'./GeoserverVectorTile';export default class LayerManagement{static async[a59_0xcbd114(0x179)](_0x41b19d){const _0xd64d51=a59_0xcbd114,_0x591a14=await getDynamicLayerInfo(_0x41b19d[_0xd64d51(0x16a)]?_0x41b19d[_0xd64d51(0x16a)]:'');let _0x438148=new a59_0x1b6a4c(_0x41b19d,_0x591a14);return _0x438148;}static async[a59_0xcbd114(0x167)](_0x5a06d8){const _0x1caf04=await getDynamicLayerInfo(_0x5a06d8['url']?_0x5a06d8['url']:'');let _0x526725=new a59_0x4d1020(_0x5a06d8,_0x1caf04);return _0x526725;}static async[a59_0xcbd114(0x17a)](_0x14949b){const _0x37d6e1=a59_0xcbd114,_0x5718ac=await getDynamicLayerInfo(_0x14949b[_0x37d6e1(0x16a)]?_0x14949b[_0x37d6e1(0x16a)]:'');let _0x51d569=[];if(_0x14949b[_0x37d6e1(0x171)])for(let _0x5c0c8c=0x0;_0x5c0c8c<_0x14949b[_0x37d6e1(0x171)][_0x37d6e1(0x174)];_0x5c0c8c++){const _0x12784a=_0x14949b[_0x37d6e1(0x171)][_0x5c0c8c];_0x51d569[_0x37d6e1(0x16b)](await getFeatureLayerInfo(_0x14949b[_0x37d6e1(0x16a)]?_0x14949b['url']:'',_0x12784a));}let _0x3208f7=new a59_0x535599(_0x14949b,_0x5718ac,_0x51d569);return _0x3208f7;}static async[a59_0xcbd114(0x172)](_0x5beacd){const _0x5e0c8c=a59_0xcbd114;var _0x3c270e;const _0x2877bd=(_0x3c270e=_0x5beacd[_0x5e0c8c(0x171)])===null||_0x3c270e===void 0x0?void 0x0:_0x3c270e[0x0],_0x523620=await getWMSLayerCapabilities(_0x5beacd[_0x5e0c8c(0x16a)]?_0x5beacd[_0x5e0c8c(0x16a)]:'',_0x2877bd==null?'':_0x2877bd);let _0x33e34d=new a59_0x31ee41(_0x5beacd,_0x523620);return _0x33e34d;}static async['getArcgisWMTSLayer'](_0x55f609){const _0x50a286=a59_0xcbd114;var _0x4c8033;const _0x3720a1=(_0x4c8033=_0x55f609['sublayers'])===null||_0x4c8033===void 0x0?void 0x0:_0x4c8033[0x0],_0x2f4153=await getWMTSLayerCapabilities(_0x55f609[_0x50a286(0x16a)]?_0x55f609[_0x50a286(0x16a)]:'',_0x3720a1==null?'':_0x3720a1);let _0x588270=new a59_0x50cffb(_0x55f609,_0x2f4153);return _0x588270;}static async['getGeoserverWmsLayer'](_0x225f95){const _0x2a3849=a59_0xcbd114;var _0x29dd8e;const _0x29315f=(_0x29dd8e=_0x225f95[_0x2a3849(0x171)])===null||_0x29dd8e===void 0x0?void 0x0:_0x29dd8e[0x0],_0x57a704=await getWMSLayerCapabilities(_0x225f95[_0x2a3849(0x16a)]?_0x225f95['url']:'',_0x29315f==null?'':_0x29315f);let _0x5eec68=new a59_0x48fc8d(_0x225f95,_0x57a704);return _0x5eec68;}static async[a59_0xcbd114(0x168)](_0x32c2cf){const _0x250ef4=a59_0xcbd114;var _0x482b75;const _0x5ec537=(_0x482b75=_0x32c2cf[_0x250ef4(0x171)])===null||_0x482b75===void 0x0?void 0x0:_0x482b75[0x0],_0x4431b3=await getWMTSLayerCapabilities(_0x32c2cf['url']?_0x32c2cf['url']:'',_0x5ec537==null?'':_0x5ec537);let _0x53045b=new a59_0x2b9156(_0x32c2cf,_0x4431b3);return _0x53045b;}static async[a59_0xcbd114(0x16c)](_0x1b9d8f){const _0xfab93e=a59_0xcbd114;var _0x4ccaa8;const _0x1fdc5c=(_0x4ccaa8=_0x1b9d8f['sublayers'])===null||_0x4ccaa8===void 0x0?void 0x0:_0x4ccaa8[0x0],_0x432503=await getWFSLayerCapabilities(_0x1b9d8f[_0xfab93e(0x16a)]?_0x1b9d8f['url']:'',_0x1fdc5c==null?'':_0x1fdc5c);let _0x138d52=new a59_0xde23c3(_0x1b9d8f,_0x432503);return _0x138d52;}static async['getGeoserverVectorTileLayer'](_0x489b7c){const _0x3989da=a59_0xcbd114;var _0x4066ea;const _0x208cdd=(_0x4066ea=_0x489b7c['sublayers'])===null||_0x4066ea===void 0x0?void 0x0:_0x4066ea[0x0],_0x3cb759=await getWMTSLayerCapabilities(_0x489b7c[_0x3989da(0x16a)]?_0x489b7c['url']:'',_0x208cdd==null?'':_0x208cdd);let _0x2c5f3b=new a59_0x5c5082(_0x489b7c,_0x3cb759);return _0x2c5f3b;}static async[a59_0xcbd114(0x176)](_0x2aa284){const _0x19dc12=a59_0xcbd114;var _0x460b1c;const _0x3d7c80=(_0x460b1c=_0x2aa284[_0x19dc12(0x171)])===null||_0x460b1c===void 0x0?void 0x0:_0x460b1c[0x0],_0x4eb16c=await getWMTSLayerCapabilities(_0x2aa284[_0x19dc12(0x16a)]?_0x2aa284[_0x19dc12(0x16a)]:'',_0x3d7c80==null?'':_0x3d7c80);let _0x4181c4=new a59_0x237c56(_0x2aa284,_0x4eb16c);return _0x4181c4;}}
1
+ const a60_0x233d74=a60_0x25f2;(function(_0x26732b,_0x4b0c30){const _0x59b19a=a60_0x25f2,_0x4f28ea=_0x26732b();while(!![]){try{const _0x28ce80=-parseInt(_0x59b19a(0x12d))/0x1*(parseInt(_0x59b19a(0x12e))/0x2)+parseInt(_0x59b19a(0x135))/0x3*(-parseInt(_0x59b19a(0x136))/0x4)+parseInt(_0x59b19a(0x12f))/0x5+-parseInt(_0x59b19a(0x132))/0x6+-parseInt(_0x59b19a(0x127))/0x7+parseInt(_0x59b19a(0x138))/0x8*(-parseInt(_0x59b19a(0x131))/0x9)+parseInt(_0x59b19a(0x126))/0xa*(parseInt(_0x59b19a(0x123))/0xb);if(_0x28ce80===_0x4b0c30)break;else _0x4f28ea['push'](_0x4f28ea['shift']());}catch(_0xeefc93){_0x4f28ea['push'](_0x4f28ea['shift']());}}}(a60_0x550c,0x35fbe));import a60_0xe87a3c from'./ArcgisDynamicLayer';import a60_0x4b66c8 from'./ArcgisFeatureLayer';import a60_0x416d1c from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a60_0x1139e9 from'./ArcgisTileLayer';import a60_0x36443a from'./GeoserverWMSLayer';import a60_0x39e4da from'./GeoserverWMTSLayer';import a60_0x2caa1e from'./ArcgisWMSLayer';import a60_0x59de49 from'./ArcgisWMTSLayer';import a60_0x401343 from'./GeoserverWFSLayer';import a60_0x460b91 from'./GeoserverVectorTile';export default class LayerManagement{static async[a60_0x233d74(0x12c)](_0x5142e9){const _0x397f4d=a60_0x233d74,_0x4549ee=await getDynamicLayerInfo(_0x5142e9[_0x397f4d(0x12a)]?_0x5142e9['url']:'');let _0xc7fac0=new a60_0xe87a3c(_0x5142e9,_0x4549ee);return _0xc7fac0;}static async[a60_0x233d74(0x137)](_0x42d91c){const _0x398ddb=a60_0x233d74,_0x9d5635=await getDynamicLayerInfo(_0x42d91c[_0x398ddb(0x12a)]?_0x42d91c[_0x398ddb(0x12a)]:'');let _0x261114=new a60_0x1139e9(_0x42d91c,_0x9d5635);return _0x261114;}static async[a60_0x233d74(0x130)](_0x47f85b){const _0x2d70f0=a60_0x233d74,_0x39b6ae=await getDynamicLayerInfo(_0x47f85b[_0x2d70f0(0x12a)]?_0x47f85b[_0x2d70f0(0x12a)]:'');let _0x32e4b8=[];if(_0x47f85b[_0x2d70f0(0x125)])for(let _0x1ec8b2=0x0;_0x1ec8b2<_0x47f85b[_0x2d70f0(0x125)][_0x2d70f0(0x12b)];_0x1ec8b2++){const _0x5bc9b3=_0x47f85b[_0x2d70f0(0x125)][_0x1ec8b2];_0x32e4b8['push'](await getFeatureLayerInfo(_0x47f85b[_0x2d70f0(0x12a)]?_0x47f85b['url']:'',_0x5bc9b3));}let _0xbc06a7=new a60_0x4b66c8(_0x47f85b,_0x39b6ae,_0x32e4b8);return _0xbc06a7;}static async[a60_0x233d74(0x134)](_0xaf0836){const _0x4b0b76=a60_0x233d74;var _0x2a4820;const _0x1ae70a=(_0x2a4820=_0xaf0836[_0x4b0b76(0x125)])===null||_0x2a4820===void 0x0?void 0x0:_0x2a4820[0x0],_0xa1d375=await getWMSLayerCapabilities(_0xaf0836[_0x4b0b76(0x12a)]?_0xaf0836['url']:'',_0x1ae70a==null?'':_0x1ae70a);let _0x5430ea=new a60_0x2caa1e(_0xaf0836,_0xa1d375);return _0x5430ea;}static async['getArcgisWMTSLayer'](_0xf34556){const _0x504de8=a60_0x233d74;var _0x566856;const _0x46f539=(_0x566856=_0xf34556[_0x504de8(0x125)])===null||_0x566856===void 0x0?void 0x0:_0x566856[0x0],_0x237374=await getWMTSLayerCapabilities(_0xf34556[_0x504de8(0x12a)]?_0xf34556[_0x504de8(0x12a)]:'',_0x46f539==null?'':_0x46f539);let _0x10018e=new a60_0x59de49(_0xf34556,_0x237374);return _0x10018e;}static async[a60_0x233d74(0x133)](_0x6bf982){const _0x9b0f2=a60_0x233d74;var _0x2aeaf1;const _0x3529ba=(_0x2aeaf1=_0x6bf982['sublayers'])===null||_0x2aeaf1===void 0x0?void 0x0:_0x2aeaf1[0x0],_0x3929a1=await getWMSLayerCapabilities(_0x6bf982['url']?_0x6bf982[_0x9b0f2(0x12a)]:'',_0x3529ba==null?'':_0x3529ba);let _0x31f763=new a60_0x36443a(_0x6bf982,_0x3929a1);return _0x31f763;}static async[a60_0x233d74(0x139)](_0x2284e2){const _0x178314=a60_0x233d74;var _0x19d2f1;const _0x10db0e=(_0x19d2f1=_0x2284e2['sublayers'])===null||_0x19d2f1===void 0x0?void 0x0:_0x19d2f1[0x0],_0x4374e8=await getWMTSLayerCapabilities(_0x2284e2[_0x178314(0x12a)]?_0x2284e2[_0x178314(0x12a)]:'',_0x10db0e==null?'':_0x10db0e);let _0x5a3a04=new a60_0x39e4da(_0x2284e2,_0x4374e8);return _0x5a3a04;}static async[a60_0x233d74(0x129)](_0x42050f){const _0x347476=a60_0x233d74;var _0x337fbe;const _0x447e54=(_0x337fbe=_0x42050f[_0x347476(0x125)])===null||_0x337fbe===void 0x0?void 0x0:_0x337fbe[0x0],_0x1633cd=await getWFSLayerCapabilities(_0x42050f[_0x347476(0x12a)]?_0x42050f[_0x347476(0x12a)]:'',_0x447e54==null?'':_0x447e54);let _0x29cc17=new a60_0x401343(_0x42050f,_0x1633cd);return _0x29cc17;}static async[a60_0x233d74(0x128)](_0xabcfa2){const _0x57c15f=a60_0x233d74;var _0x486ff7;const _0x34650f=(_0x486ff7=_0xabcfa2['sublayers'])===null||_0x486ff7===void 0x0?void 0x0:_0x486ff7[0x0],_0x11fe6c=await getWMTSLayerCapabilities(_0xabcfa2['url']?_0xabcfa2[_0x57c15f(0x12a)]:'',_0x34650f==null?'':_0x34650f);let _0x27b451=new a60_0x460b91(_0xabcfa2,_0x11fe6c);return _0x27b451;}static async[a60_0x233d74(0x124)](_0x543497){const _0x23c376=a60_0x233d74;var _0x44d69b;const _0x3711ce=(_0x44d69b=_0x543497['sublayers'])===null||_0x44d69b===void 0x0?void 0x0:_0x44d69b[0x0],_0x4fb0cd=await getWMTSLayerCapabilities(_0x543497[_0x23c376(0x12a)]?_0x543497['url']:'',_0x3711ce==null?'':_0x3711ce);let _0x2163df=new a60_0x416d1c(_0x543497,_0x4fb0cd);return _0x2163df;}}function a60_0x25f2(_0x420842,_0x55afd9){const _0x550c72=a60_0x550c();return a60_0x25f2=function(_0x25f281,_0x3941b2){_0x25f281=_0x25f281-0x123;let _0x5e106d=_0x550c72[_0x25f281];return _0x5e106d;},a60_0x25f2(_0x420842,_0x55afd9);}function a60_0x550c(){const _0x4d1ec4=['7101PSsZPp','1663200xVfbTn','getGeoserverWmsLayer','getArcgisWmsLayer','84aruIMQ','24268bsaazv','getArcgisTileLayer','3664RTQqLl','getGeoserverWMTSLayer','13146749IVOhXk','getTDTLayer','sublayers','10HnmtHO','480844pqVQMe','getGeoserverVectorTileLayer','getGeoserverWFSLayer','url','length','getDynamicLayer','811srDEsj','274ZefHzm','70980OtKwsc','getArcgisFeatureLayer'];a60_0x550c=function(){return _0x4d1ec4;};return a60_0x550c();}
@@ -1 +1 @@
1
- (function(_0x5d63c7,_0x50863d){const _0x2244e2=a60_0x27d4,_0x32f612=_0x5d63c7();while(!![]){try{const _0x2d2428=-parseInt(_0x2244e2(0x7d))/0x1*(-parseInt(_0x2244e2(0x76))/0x2)+parseInt(_0x2244e2(0x72))/0x3*(-parseInt(_0x2244e2(0x7f))/0x4)+-parseInt(_0x2244e2(0x85))/0x5*(parseInt(_0x2244e2(0x82))/0x6)+-parseInt(_0x2244e2(0x7e))/0x7*(parseInt(_0x2244e2(0x73))/0x8)+parseInt(_0x2244e2(0x78))/0x9*(parseInt(_0x2244e2(0x7b))/0xa)+parseInt(_0x2244e2(0x84))/0xb+-parseInt(_0x2244e2(0x80))/0xc*(parseInt(_0x2244e2(0x77))/0xd);if(_0x2d2428===_0x50863d)break;else _0x32f612['push'](_0x32f612['shift']());}catch(_0x2d1be1){_0x32f612['push'](_0x32f612['shift']());}}}(a60_0x2fed,0xbf997));import a60_0x5a69e4 from'ol/layer/Tile';import{WMTS as a60_0x15392a}from'ol/source';function a60_0x2fed(){const _0x166f75=['68774FVlQGx','964197hZyBOr','27gddBKY','layerInfo','1.0.0','3426630zvSWSv','pow','39fIQyeV','91343gTMzLS','740TtoxEs','84bCCRmi','join','29730WXTrYW','opacity','16803611QxRoxq','925NiAwhb','projection','style','tileMatrixSet','sublayers','14271UogMCJ','488TIrhdW','EPSG:4490','boundingBoxExtent'];a60_0x2fed=function(){return _0x166f75;};return a60_0x2fed();}import a60_0x1bced4 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';function a60_0x27d4(_0xa7a370,_0x34e789){const _0x2fed89=a60_0x2fed();return a60_0x27d4=function(_0x27d47e,_0x4e5603){_0x27d47e=_0x27d47e-0x70;let _0x8ab5ed=_0x2fed89[_0x27d47e];return _0x8ab5ed;},a60_0x27d4(_0xa7a370,_0x34e789);}import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a60_0x5a69e4{constructor(_0x3a537a,_0x379d87){const _0x278c1c=a60_0x27d4;let _0x4b68de='';_0x3a537a[_0x278c1c(0x71)]&&_0x3a537a['sublayers']['length']>0x0&&(_0x4b68de=_0x3a537a[_0x278c1c(0x71)][_0x278c1c(0x81)](','));const _0x3aca51=_0x278c1c(0x74);let _0x23abc4=registerProj(_0x3aca51);const _0x16f277=[],_0x5f5da8=[];for(let _0x5cad71=0x1;_0x5cad71<0x13;_0x5cad71++){_0x16f277[_0x5cad71]=getWidth(_0x379d87[_0x278c1c(0x75)])/(0x100*Math[_0x278c1c(0x7c)](0x2,_0x5cad71)),_0x5f5da8[_0x5cad71]=_0x5cad71+'';}super({'opacity':_0x3a537a[_0x278c1c(0x83)],'zIndex':_0x3a537a['mapIndex'],'source':new a60_0x15392a({'style':_0x379d87[_0x278c1c(0x87)],'url':_0x3a537a['url'],'tileGrid':new a60_0x1bced4({'origin':getTopLeft(_0x379d87['boundingBoxExtent']),'resolutions':_0x16f277,'matrixIds':_0x5f5da8}),'layer':_0x4b68de,'matrixSet':_0x379d87[_0x278c1c(0x70)],'version':_0x278c1c(0x7a),'format':_0x379d87['format'][0x0],'projection':_0x3aca51,'requestEncoding':'KVP'})}),this['id']=_0x3a537a['id'],this['initialExtent']=_0x379d87['boundingBoxExtent'],this[_0x278c1c(0x86)]=_0x23abc4,this[_0x278c1c(0x79)]=_0x3a537a;}}
1
+ (function(_0xeccdb3,_0x423122){const _0x1d09af=a61_0x3326,_0x3b0707=_0xeccdb3();while(!![]){try{const _0x56efd1=-parseInt(_0x1d09af(0x1ef))/0x1*(-parseInt(_0x1d09af(0x1f6))/0x2)+parseInt(_0x1d09af(0x1f5))/0x3*(parseInt(_0x1d09af(0x1ee))/0x4)+parseInt(_0x1d09af(0x1e7))/0x5*(-parseInt(_0x1d09af(0x1ed))/0x6)+parseInt(_0x1d09af(0x1e9))/0x7+-parseInt(_0x1d09af(0x1e3))/0x8+parseInt(_0x1d09af(0x1ea))/0x9+-parseInt(_0x1d09af(0x1f3))/0xa*(parseInt(_0x1d09af(0x1e8))/0xb);if(_0x56efd1===_0x423122)break;else _0x3b0707['push'](_0x3b0707['shift']());}catch(_0x194980){_0x3b0707['push'](_0x3b0707['shift']());}}}(a61_0x1103,0x20a49));import a61_0x352fb9 from'ol/layer/Tile';import{WMTS as a61_0x2d7189}from'ol/source';import a61_0x2e12cf from'ol/tilegrid/WMTS';function a61_0x3326(_0x7ee755,_0x2e6adc){const _0x110349=a61_0x1103();return a61_0x3326=function(_0x3326e0,_0x455336){_0x3326e0=_0x3326e0-0x1e1;let _0x9efb74=_0x110349[_0x3326e0];return _0x9efb74;},a61_0x3326(_0x7ee755,_0x2e6adc);}import{registerProj}from'../utils/RegisterProjUtil';function a61_0x1103(){const _0x3fc2fb=['length','boundingBoxExtent','1103208UbkHgB','join','opacity','mapIndex','25arwKBC','6113272mUExBG','1690507DCdJbI','2331675fuTdIA','EPSG:4490','projection','142338BSixcy','928352QYZHnP','519KUATgf','sublayers','KVP','style','10CFCvJM','pow','3TkpVvI','822UIgduO'];a61_0x1103=function(){return _0x3fc2fb;};return a61_0x1103();}import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a61_0x352fb9{constructor(_0x39e812,_0x5931f5){const _0x487a87=a61_0x3326;let _0x14d973='';_0x39e812[_0x487a87(0x1f0)]&&_0x39e812[_0x487a87(0x1f0)][_0x487a87(0x1e1)]>0x0&&(_0x14d973=_0x39e812[_0x487a87(0x1f0)][_0x487a87(0x1e4)](','));const _0x30fc10=_0x487a87(0x1eb);let _0x49b68c=registerProj(_0x30fc10);const _0x1da6d0=[],_0x3964f8=[];for(let _0x1cb100=0x1;_0x1cb100<0x13;_0x1cb100++){_0x1da6d0[_0x1cb100]=getWidth(_0x5931f5[_0x487a87(0x1e2)])/(0x100*Math[_0x487a87(0x1f4)](0x2,_0x1cb100)),_0x3964f8[_0x1cb100]=_0x1cb100+'';}super({'opacity':_0x39e812[_0x487a87(0x1e5)],'zIndex':_0x39e812[_0x487a87(0x1e6)],'source':new a61_0x2d7189({'style':_0x5931f5[_0x487a87(0x1f2)],'url':_0x39e812['url'],'tileGrid':new a61_0x2e12cf({'origin':getTopLeft(_0x5931f5['boundingBoxExtent']),'resolutions':_0x1da6d0,'matrixIds':_0x3964f8}),'layer':_0x14d973,'matrixSet':_0x5931f5['tileMatrixSet'],'version':'1.0.0','format':_0x5931f5['format'][0x0],'projection':_0x30fc10,'requestEncoding':_0x487a87(0x1f1)})}),this['id']=_0x39e812['id'],this['initialExtent']=_0x5931f5[_0x487a87(0x1e2)],this[_0x487a87(0x1ec)]=_0x49b68c,this['layerInfo']=_0x39e812;}}
package/mapView/Map.js CHANGED
@@ -1 +1 @@
1
- const a61_0x3ae1c9=a61_0x4d0a;(function(_0x2ba936,_0x152f34){const _0x212a70=a61_0x4d0a,_0x4d8eaa=_0x2ba936();while(!![]){try{const _0x5d46a8=parseInt(_0x212a70(0x1b5))/0x1+parseInt(_0x212a70(0x18a))/0x2*(parseInt(_0x212a70(0x168))/0x3)+parseInt(_0x212a70(0x194))/0x4+parseInt(_0x212a70(0x16d))/0x5*(-parseInt(_0x212a70(0x15f))/0x6)+parseInt(_0x212a70(0x14e))/0x7*(parseInt(_0x212a70(0x173))/0x8)+parseInt(_0x212a70(0x1ad))/0x9+-parseInt(_0x212a70(0x16b))/0xa;if(_0x5d46a8===_0x152f34)break;else _0x4d8eaa['push'](_0x4d8eaa['shift']());}catch(_0x279fa5){_0x4d8eaa['push'](_0x4d8eaa['shift']());}}}(a61_0x48d4,0xeab24));import'ol/ol.css';import'../assets/main.css';import a61_0x1f9713 from'ol/Map';import a61_0x1efb4e from'ol/events/Event';import{defaults as a61_0x20c877}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a61_0x232867 from'../layers/LayerManager';import a61_0xff18c9 from'ol/layer/Vector';import a61_0x2feeb3 from'ol/source/Vector';function a61_0x48d4(){const _0x9ffca2=['geoserver-vector-tile','getArray','setMaxResolution','getCode','getLayerById','geoserver-wms','MultiPolygon','addFeature','constrainResolution','removeLayerById','getTDTLayer','arcgis-feature','6295569woqCNl','layerInfo','removeLayer','setProjection','addMapLayer','calculateExtent','getGeoserverWFSLayer','locationWKTs','getArcgisTileLayer','getMinZoom','isSelected','getLayerByLayerTag','getZIndex','length','transform','getExtent','EPSG:4490','206322TjquFS','locationWKT','remove','initialExtent','getTempLayerByGeoType','getMaxZoom','oncontextmenu','getLength','lineTempLayer','19446rTfOUz','maxScale','getLayers','19151540LEidsf','projection','185fauPLA','minScale','GeometryCollection','getArcgisFeatureLayer','rgba(255,\x200,\x200,\x201)','getSource','8LtMIYR','zoom','changetype','getProjection','暂不支持【','getLineTempLayer','maxResolution','getDynamicLayer','getPointTempLayer','layerType','polygonTempLayer','addWKTs','setCenter','getLayersByIds','all','Point','maxZoom','pointTempLayer','setGeometry','changelayer','insertAt','getGeoserverVectorTileLayer','push','20EWLVoe','center','addFeatures','getType','tdt-c','geoserver-wmts','getSize','getCoordinates','sortTemLayer','layerIds','5181596VIrZJc','EPSG:','fitLayer','arcgis-tile','getTempLayerById','getPolygonTempLayer','Polygon','fit','setProperties','arcgis-wmts','minResolution','flashGeometrys','filter','locationGeometry','resetViewProjection','add','layerTag','getMetersPerUnit','dispatchEvent','minZoom','rgba(255,\x200,\x200,\x200.2)','_options','interactionManager','MultiLineString','LineString','8776134lmUUvk','MultiPoint','addLayer','】服务类型','extent','addMapLayers','getView','getArcgisWmsLayer','914077SUkjhe','fitLayerById'];a61_0x48d4=function(){return _0x9ffca2;};return a61_0x48d4();}import a61_0x1e6b9d from'../controls/ControlManager';import a61_0x995145 from'../entity/Feature';import a61_0x54fa25 from'../interaction/InteractionManager';import a61_0x4437af from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';function a61_0x4d0a(_0x4de3f8,_0x4858df){const _0x48d482=a61_0x48d4();return a61_0x4d0a=function(_0x4d0af8,_0x5f2899){_0x4d0af8=_0x4d0af8-0x143;let _0x38e00f=_0x48d482[_0x4d0af8];return _0x38e00f;},a61_0x4d0a(_0x4de3f8,_0x4858df);}import a61_0x267a99 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a61_0x1efb4e{constructor(_0x2343e9,_0x56ca11,_0x5cec18){const _0x4e8bf6=a61_0x4d0a;super(_0x2343e9),this[_0x4e8bf6(0x193)]=_0x56ca11,this[_0x4e8bf6(0x175)]=_0x5cec18;}}export default class OLMap extends a61_0x1f9713{constructor(_0x4258fb,_0x50ec64,_0x15a831){const _0x1033af=a61_0x4d0a;_0x50ec64=_0x50ec64?_0x50ec64:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0xc057d3=_0x50ec64['projection']?_0x1033af(0x195)+_0x50ec64[_0x1033af(0x16c)]:_0x1033af(0x15e);_0x50ec64[_0x1033af(0x174)]=_0x50ec64[_0x1033af(0x174)]?_0x50ec64[_0x1033af(0x174)]:0xa,_0x50ec64[_0x1033af(0x1a7)]=_0x50ec64[_0x1033af(0x1a7)]?_0x50ec64[_0x1033af(0x1a7)]:0x0,_0x50ec64[_0x1033af(0x183)]=_0x50ec64[_0x1033af(0x183)]?_0x50ec64[_0x1033af(0x183)]:0x1c,_0x50ec64[_0x1033af(0x14a)]=_0x50ec64[_0x1033af(0x14a)]?_0x50ec64[_0x1033af(0x14a)]:![],_0x50ec64[_0x1033af(0x18b)]=_0x50ec64['center']?_0x50ec64[_0x1033af(0x18b)]:[117.22718,31.820386],registerProj(_0xc057d3);const _0x44d8a4={'target':_0x4258fb,'view':_0x15a831?_0x15a831:new a61_0x4437af({'center':_0x50ec64[_0x1033af(0x18b)],'zoom':_0x50ec64[_0x1033af(0x174)],'projection':_0xc057d3,'minZoom':_0x50ec64[_0x1033af(0x1a7)],'maxZoom':_0x50ec64['maxZoom'],'minResolution':_0x50ec64[_0x1033af(0x19e)],'maxResolution':_0x50ec64[_0x1033af(0x179)],'constrainResolution':_0x50ec64[_0x1033af(0x14a)]}),'controls':a61_0x20c877({'zoom':![]})};super(_0x44d8a4);_0x50ec64[_0x1033af(0x1b1)]&&this[_0x1033af(0x1b3)]()['fit'](_0x50ec64['extent']);const _0x2d6b1c=this['getTarget']();if(_0x2d6b1c instanceof HTMLElement)_0x2d6b1c[_0x1033af(0x165)]=function(_0x23ee2f){return![];};else{const _0x134f9c=document['getElementById'](_0x2d6b1c);_0x134f9c&&(_0x134f9c[_0x1033af(0x165)]=function(_0x53d847){return![];});}this[_0x1033af(0x1aa)]=new a61_0x54fa25(this),this['controlManager']=new a61_0x1e6b9d(this),this[_0x1033af(0x1a9)]=_0x50ec64;}['getView'](){const _0x3ccfb6=a61_0x4d0a;return super[_0x3ccfb6(0x1b3)]();}['fitLayer'](_0x54b159){const _0xeaff82=a61_0x4d0a;var _0x2d82b4;this[_0xeaff82(0x1b3)]()[_0xeaff82(0x19b)](transformExtent(_0x54b159[_0xeaff82(0x162)],(_0x2d82b4=_0x54b159[_0xeaff82(0x16c)])===null||_0x2d82b4===void 0x0?void 0x0:_0x2d82b4['getCode'](),this['getView']()['getProjection']()[_0xeaff82(0x145)]()));}[a61_0x3ae1c9(0x1b6)](_0x364293){const _0x31d416=a61_0x3ae1c9;let _0x2da0cc=this[_0x31d416(0x146)](_0x364293);_0x2da0cc&&this[_0x31d416(0x196)](_0x2da0cc);}async[a61_0x3ae1c9(0x152)](_0x556890){const _0x453fe7=a61_0x3ae1c9;let _0x1a5648;switch(_0x556890[_0x453fe7(0x17c)]){case _0x453fe7(0x14d):_0x1a5648=await a61_0x232867[_0x453fe7(0x170)](_0x556890);break;case'arcgis-dynamic':_0x1a5648=await a61_0x232867[_0x453fe7(0x17a)](_0x556890);break;case _0x453fe7(0x197):_0x1a5648=await a61_0x232867[_0x453fe7(0x156)](_0x556890);break;case'arcgis-wms':_0x1a5648=await a61_0x232867[_0x453fe7(0x1b4)](_0x556890);break;case _0x453fe7(0x19d):_0x1a5648=await a61_0x232867['getArcgisWMTSLayer'](_0x556890);break;case _0x453fe7(0x147):_0x1a5648=await a61_0x232867['getGeoserverWmsLayer'](_0x556890);break;case'geoserver-wfs':_0x1a5648=await a61_0x232867[_0x453fe7(0x154)](_0x556890);break;case _0x453fe7(0x18f):_0x1a5648=await a61_0x232867['getGeoserverWMTSLayer'](_0x556890);break;case _0x453fe7(0x1b7):_0x1a5648=await a61_0x232867[_0x453fe7(0x188)](_0x556890);break;case _0x453fe7(0x18e):_0x1a5648=await a61_0x232867[_0x453fe7(0x14c)](_0x556890);break;default:throw new Error(_0x453fe7(0x177)+_0x556890['layerType']+_0x453fe7(0x1b0));}return this[_0x453fe7(0x1af)](_0x1a5648),this[_0x453fe7(0x1a6)](new ChangeLayerEvent(_0x453fe7(0x186),[_0x556890['id']],'add')),_0x1a5648;}async[a61_0x3ae1c9(0x1b2)](_0x327d48){const _0x16452a=a61_0x3ae1c9;let _0x3e7352=[];const _0x57c8d1=[];for(let _0x169c29=0x0;_0x169c29<_0x327d48[_0x16452a(0x15b)];_0x169c29++){const _0x224143=_0x327d48[_0x169c29];_0x57c8d1[_0x16452a(0x189)](_0x224143['id']),_0x3e7352[_0x16452a(0x189)](this['addMapLayer'](_0x224143));}const _0x5b2900=await Promise[_0x16452a(0x181)](_0x3e7352);return this[_0x16452a(0x1a6)](new ChangeLayerEvent('changelayer',_0x57c8d1,_0x16452a(0x1a3))),_0x5b2900;}[a61_0x3ae1c9(0x1af)](_0x3ac9f5,_0x21eb95=![]){const _0xf58cda=a61_0x3ae1c9,_0x15a400=_0x3ac9f5,_0x5e64cb=this[_0xf58cda(0x146)](_0x15a400['id']);if(_0x5e64cb==null){const _0x2f72cc=_0x15a400['layerInfo']==undefined||_0x15a400['layerInfo'][_0xf58cda(0x16e)]==undefined||_0x15a400[_0xf58cda(0x14f)][_0xf58cda(0x16e)]<0x0?undefined:calculateResolution(_0x15a400[_0xf58cda(0x14f)][_0xf58cda(0x16e)],this[_0xf58cda(0x1b3)]()[_0xf58cda(0x176)]()[_0xf58cda(0x1a5)]()||0x0);_0x3ac9f5['setMinResolution'](_0x2f72cc);const _0x3c09a8=_0x15a400[_0xf58cda(0x14f)]==undefined||_0x15a400[_0xf58cda(0x14f)][_0xf58cda(0x169)]==undefined||_0x15a400[_0xf58cda(0x14f)][_0xf58cda(0x169)]<0x0?undefined:calculateResolution(_0x15a400[_0xf58cda(0x14f)][_0xf58cda(0x169)],this['getView']()[_0xf58cda(0x176)]()[_0xf58cda(0x1a5)]()||0x0);_0x3ac9f5[_0xf58cda(0x144)](_0x3c09a8);const _0x16857a=this[_0xf58cda(0x16a)]()[_0xf58cda(0x143)]()[_0xf58cda(0x15b)];if(!this[_0xf58cda(0x1a9)][_0xf58cda(0x16c)]&&_0x16857a==0x0&&_0x15a400[_0xf58cda(0x16c)]&&_0x15a400['projection'][_0xf58cda(0x145)]()!=this[_0xf58cda(0x1b3)]()['getProjection']()[_0xf58cda(0x145)]()){}let _0x2fecbb=_0x3ac9f5[_0xf58cda(0x15a)]();_0x2fecbb!=undefined&&_0x2fecbb>_0x16857a&&(_0x2fecbb=_0x16857a),this[_0xf58cda(0x16a)]()[_0xf58cda(0x187)](_0x2fecbb==undefined?_0x16857a:_0x2fecbb,_0x3ac9f5),_0x21eb95&&this[_0xf58cda(0x196)](_0x15a400);}}[a61_0x3ae1c9(0x14b)](_0x21388d){const _0x246ce3=a61_0x3ae1c9,_0x154a61=this[_0x246ce3(0x146)](_0x21388d);_0x154a61&&(this[_0x246ce3(0x150)](_0x154a61),this['dispatchEvent'](new ChangeLayerEvent(_0x246ce3(0x186),[_0x21388d],_0x246ce3(0x161))));}[a61_0x3ae1c9(0x146)](_0x280b81){const _0xda58c8=a61_0x3ae1c9;let _0x36ad1f,_0x532358=this[_0xda58c8(0x16a)]()[_0xda58c8(0x143)]();for(let _0x2138ea=0x0;_0x2138ea<_0x532358[_0xda58c8(0x15b)];_0x2138ea++){let _0xc0d13a=_0x532358[_0x2138ea]['id'];if(_0x280b81==_0xc0d13a){_0x36ad1f=_0x532358[_0x2138ea];break;}}return _0x36ad1f;}[a61_0x3ae1c9(0x159)](_0x3ef860){const _0x4a3544=a61_0x3ae1c9;let _0x52faf0,_0x2e5e97=this[_0x4a3544(0x16a)]()[_0x4a3544(0x143)]();for(let _0x4e8464=0x0;_0x4e8464<_0x2e5e97['length'];_0x4e8464++){const _0x545e56=_0x2e5e97[_0x4e8464][_0x4a3544(0x14f)];if(!_0x545e56)continue;let _0x5d7576=_0x545e56[_0x4a3544(0x1a4)];if(_0x5d7576==_0x3ef860){_0x52faf0=_0x2e5e97[_0x4e8464];break;}}return _0x52faf0;}[a61_0x3ae1c9(0x180)](_0xfd871d){const _0x3f20af=a61_0x3ae1c9;let _0x5258e6=this[_0x3f20af(0x16a)]()[_0x3f20af(0x143)]();return _0x5258e6[_0x3f20af(0x1a0)](_0x534fc4=>_0xfd871d['includes'](_0x534fc4['id']));}['getTempLayerById'](_0x2b25e0){const _0x5cbb5b=a61_0x3ae1c9;let _0x4f3fb5,_0x5bad53=this['getLayers']()[_0x5cbb5b(0x143)]();for(let _0x58d52a=0x0;_0x58d52a<_0x5bad53[_0x5cbb5b(0x15b)];_0x58d52a++){const _0x5bbb48=_0x5bad53[_0x58d52a];if(_0x5bbb48['id']===_0x2b25e0){_0x4f3fb5=_0x5bbb48;break;}}if(!_0x4f3fb5){_0x4f3fb5=new a61_0xff18c9({'zIndex':0x270f,'source':new a61_0x2feeb3()}),_0x4f3fb5['id']=_0x2b25e0;const _0x3fff9e=this[_0x5cbb5b(0x16a)]()[_0x5cbb5b(0x166)]();switch(_0x2b25e0){case _0x5cbb5b(0x167):this[_0x5cbb5b(0x16a)]()['insertAt'](_0x3fff9e-0x1>-0x1?_0x3fff9e-0x1:0x0,_0x4f3fb5);break;case _0x5cbb5b(0x17d):this['getLayers']()[_0x5cbb5b(0x187)](_0x3fff9e-0x2>-0x1?_0x3fff9e-0x2:0x0,_0x4f3fb5);break;case _0x5cbb5b(0x184):this['getLayers']()['insertAt'](_0x3fff9e,_0x4f3fb5);break;default:break;}}return _0x4f3fb5;}[a61_0x3ae1c9(0x17b)](){const _0x55cba5=a61_0x3ae1c9;return this[_0x55cba5(0x198)](_0x55cba5(0x184));}['getLineTempLayer'](){const _0x3c419c=a61_0x3ae1c9;return this[_0x3c419c(0x198)](_0x3c419c(0x167));}[a61_0x3ae1c9(0x199)](){const _0x11e2e5=a61_0x3ae1c9;return this[_0x11e2e5(0x198)](_0x11e2e5(0x17d));}['getTempLayerByGeoType'](_0x28d26f){const _0x27e3de=a61_0x3ae1c9;let _0x7e2d0b=this[_0x27e3de(0x17b)]();switch(_0x28d26f){case _0x27e3de(0x182):case _0x27e3de(0x1ae):_0x7e2d0b=this[_0x27e3de(0x17b)]();case _0x27e3de(0x1ac):case _0x27e3de(0x1ab):_0x7e2d0b=this[_0x27e3de(0x178)]();case _0x27e3de(0x19a):case _0x27e3de(0x148):_0x7e2d0b=this[_0x27e3de(0x199)]();}return _0x7e2d0b;}[a61_0x3ae1c9(0x1a2)](_0x4d36bd){const _0x5e478e=a61_0x3ae1c9;let _0x49d3e3=this[_0x5e478e(0x1b3)]()[_0x5e478e(0x157)](),_0x450740=this[_0x5e478e(0x1b3)]()[_0x5e478e(0x164)]();registerProj(_0x4d36bd),this[_0x5e478e(0x1b3)]()[_0x5e478e(0x151)](_0x4d36bd);}[a61_0x3ae1c9(0x192)](){const _0x23043f=a61_0x3ae1c9;let _0x3bccce=[];_0x3bccce['push'](this[_0x23043f(0x17b)]()),_0x3bccce[_0x23043f(0x189)](this[_0x23043f(0x178)]()),_0x3bccce[_0x23043f(0x189)](this['getPolygonTempLayer']());const _0x1c2cad=this['getLayers']()['getArray']()[_0x23043f(0x15b)];for(let _0x2ff3fe=0x0;_0x2ff3fe<_0x3bccce['length'];_0x2ff3fe++){const _0x2e7f3c=_0x3bccce[_0x2ff3fe];this[_0x23043f(0x16a)]()[_0x23043f(0x187)](_0x1c2cad-_0x2ff3fe-0x1,_0x2e7f3c);}}[a61_0x3ae1c9(0x15d)](){const _0x3a5df7=a61_0x3ae1c9;return this[_0x3a5df7(0x1b3)]()[_0x3a5df7(0x153)](this[_0x3a5df7(0x190)]());}['addWKT'](_0x327038,_0x180c74,_0x48e676,_0x16b688=!![],_0x42219e,_0x161568={'color':a61_0x3ae1c9(0x1a8),'opacity':0.2,'outlineColor':a61_0x3ae1c9(0x171),'outlineWidth':0x2}){const _0xb38f5=a61_0x3ae1c9;var _0x2f76e9;const _0x294540=fromWKT(_0x327038,_0x180c74,this[_0xb38f5(0x1b3)]()[_0xb38f5(0x176)]()[_0xb38f5(0x145)]());if(!_0x294540)return;const _0x20c099=this['getTempLayerByGeoType'](_0x294540[_0xb38f5(0x18d)]()),_0x16307c=getStyle(_0x161568),_0x2e9afa=new a61_0x995145();return _0x2e9afa[_0xb38f5(0x185)](_0x294540),_0x2e9afa['setStyle'](_0x16307c),_0x42219e?_0x2e9afa[_0xb38f5(0x19c)](_0x42219e):_0x2e9afa[_0xb38f5(0x19c)]({}),_0x2e9afa['tag']=_0x48e676,(_0x2f76e9=_0x20c099[_0xb38f5(0x172)]())===null||_0x2f76e9===void 0x0?void 0x0:_0x2f76e9[_0xb38f5(0x149)](_0x2e9afa),_0x16b688&&this[_0xb38f5(0x1a1)](_0x294540,undefined,1.2,![]),_0x2e9afa;}[a61_0x3ae1c9(0x17e)](_0x2096a7,_0x18fdad,_0x47b07a,_0x364cd6=!![],_0x5130b2={'color':a61_0x3ae1c9(0x1a8),'opacity':0.2,'outlineColor':a61_0x3ae1c9(0x171),'outlineWidth':0x2},_0x3d9bf2){const _0x2b20d2=a61_0x3ae1c9;var _0x556997;const _0x252d98=fromWKTs(_0x2096a7,_0x18fdad,this[_0x2b20d2(0x1b3)]()['getProjection']()[_0x2b20d2(0x145)]());if(!_0x252d98||_0x252d98[_0x2b20d2(0x15b)]==0x0)return;const _0x218308=this[_0x2b20d2(0x163)](_0x252d98[0x0][_0x2b20d2(0x18d)]()),_0x292642=getStyle(_0x5130b2);let _0x515046=[];for(const _0x2d394b of _0x252d98){const _0x4d14b3=new a61_0x995145();_0x4d14b3[_0x2b20d2(0x185)](_0x2d394b),_0x4d14b3['setStyle'](_0x292642),_0x3d9bf2?_0x4d14b3[_0x2b20d2(0x19c)](_0x3d9bf2):_0x4d14b3[_0x2b20d2(0x19c)]({}),_0x4d14b3['fromType']='import',_0x4d14b3[_0x2b20d2(0x158)]=!![],_0x4d14b3['tag']=_0x47b07a,_0x515046['push'](_0x4d14b3);}return(_0x556997=_0x218308[_0x2b20d2(0x172)]())===null||_0x556997===void 0x0?void 0x0:_0x556997[_0x2b20d2(0x18c)](_0x515046),_0x364cd6&&this['locationGeometrys'](_0x252d98,undefined,1.2,![]),_0x515046;}[a61_0x3ae1c9(0x160)](_0x3723fd,_0xc33887,_0x4cdf0b=1.2,_0x378ea0=!![]){const _0x315b5b=a61_0x3ae1c9;if(!_0x3723fd)return;let _0x1f2ce2=fromWKT(_0x3723fd,_0xc33887,this[_0x315b5b(0x1b3)]()[_0x315b5b(0x176)]()[_0x315b5b(0x145)]());if(!_0x1f2ce2)return;this[_0x315b5b(0x1a1)](_0x1f2ce2,_0xc33887,_0x4cdf0b,_0x378ea0);}[a61_0x3ae1c9(0x155)](_0x48a22f,_0x544b73,_0x58480d=1.2,_0xd22988=!![]){const _0x24501e=a61_0x3ae1c9;if(!_0x48a22f||_0x48a22f[_0x24501e(0x15b)]===0x0)return;const _0x571a16=[];for(let _0x3c0d98=0x0;_0x3c0d98<_0x48a22f[_0x24501e(0x15b)];_0x3c0d98++){let _0x1da429=_0x48a22f[_0x3c0d98],_0x31b026=fromWKT(_0x1da429,_0x544b73,this[_0x24501e(0x1b3)]()[_0x24501e(0x176)]()[_0x24501e(0x145)]());if(!_0x31b026)continue;_0x571a16[_0x24501e(0x189)](_0x31b026);}this['locationGeometrys'](_0x571a16,_0x544b73,_0x58480d,_0xd22988);}[a61_0x3ae1c9(0x1a1)](_0x45d1b6,_0x492c45,_0x3b1433=1.2,_0x44c4d9=!![]){const _0x4ac642=a61_0x3ae1c9;if(!_0x45d1b6)return;let _0xcaacb5=_0x45d1b6;_0x492c45&&(_0xcaacb5=_0x45d1b6[_0x4ac642(0x15c)](_0x492c45,this[_0x4ac642(0x1b3)]()['getProjection']()));switch(_0xcaacb5[_0x4ac642(0x18d)]()){case _0x4ac642(0x182):this[_0x4ac642(0x1b3)]()[_0x4ac642(0x17f)](_0xcaacb5[_0x4ac642(0x191)]());break;case _0x4ac642(0x19a):case _0x4ac642(0x1ae):case _0x4ac642(0x1ab):case _0x4ac642(0x148):case _0x4ac642(0x16f):this['getView']()[_0x4ac642(0x19b)](expandExtent(_0xcaacb5[_0x4ac642(0x15d)](),_0x3b1433));break;}if(_0x44c4d9){const _0x32a75f=new a61_0x267a99(this);_0x32a75f[_0x4ac642(0x19f)]([_0xcaacb5],0x3);}}['locationGeometrys'](_0x246141,_0x5a8e8c,_0x26e719=1.2,_0x540a02=!![]){const _0x1c859c=a61_0x3ae1c9;if(!_0x246141||_0x246141[_0x1c859c(0x15b)]===0x0)return;let _0x1c9a46=null;for(const _0x1726d2 of _0x246141){_0x1c9a46?_0x1c9a46=union(_0x1c9a46,_0x1726d2):_0x1c9a46=_0x1726d2;}_0x1c9a46&&this[_0x1c859c(0x1a1)](_0x1c9a46,_0x5a8e8c,_0x26e719,![]);if(_0x540a02){const _0x4a95b1=new a61_0x267a99(this);_0x4a95b1[_0x1c859c(0x19f)](_0x246141,0x3);}}}
1
+ const a62_0x5638d2=a62_0x2e46;(function(_0x4d13eb,_0x54f66b){const _0x59cdb6=a62_0x2e46,_0x3d8eab=_0x4d13eb();while(!![]){try{const _0x5178bf=-parseInt(_0x59cdb6(0x88))/0x1+-parseInt(_0x59cdb6(0xc2))/0x2+parseInt(_0x59cdb6(0xb8))/0x3+-parseInt(_0x59cdb6(0x97))/0x4*(-parseInt(_0x59cdb6(0xb2))/0x5)+-parseInt(_0x59cdb6(0xd8))/0x6*(-parseInt(_0x59cdb6(0xdd))/0x7)+-parseInt(_0x59cdb6(0xac))/0x8*(-parseInt(_0x59cdb6(0xeb))/0x9)+parseInt(_0x59cdb6(0xe2))/0xa;if(_0x5178bf===_0x54f66b)break;else _0x3d8eab['push'](_0x3d8eab['shift']());}catch(_0x213b7a){_0x3d8eab['push'](_0x3d8eab['shift']());}}}(a62_0x579c,0xcde4c));import'ol/ol.css';import'../assets/main.css';import a62_0x522ee5 from'ol/Map';import a62_0x464d8c from'ol/events/Event';function a62_0x2e46(_0x1dad91,_0x1b0840){const _0x579c3e=a62_0x579c();return a62_0x2e46=function(_0x2e46cd,_0x396d0d){_0x2e46cd=_0x2e46cd-0x87;let _0x58965d=_0x579c3e[_0x2e46cd];return _0x58965d;},a62_0x2e46(_0x1dad91,_0x1b0840);}import{defaults as a62_0x5b7a2a}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a62_0x2fc491 from'../layers/LayerManager';import a62_0x2ecbba from'ol/layer/Vector';function a62_0x579c(){const _0x3ab0c2=['getMaxZoom','addLayer','1940790ecObiq','EPSG:4490','locationGeometrys','setProjection','arcgis-wmts','locationGeometry','setCenter','rgba(255,\x200,\x200,\x201)','push','MultiPolygon','3027824nCMHDh','getDynamicLayer','getArcgisFeatureLayer','lineTempLayer','sortTemLayer','changelayer','minZoom','all','includes','fitLayerById','resetViewProjection','minResolution','constrainResolution','remove','tdt-c','pointTempLayer','getTempLayerById','getSize','setGeometry','fromType','isSelected','calculateExtent','1410852URlRea','dispatchEvent','locationWKTs','getLayers','getArcgisTileLayer','14opKBqu','Polygon','removeLayerById','getCoordinates','extent','13290150ESHhPN','layerInfo','getTDTLayer','getTarget','zoom','center','getLineTempLayer','MultiLineString','arcgis-wms','567iICaUR','arcgis-feature','removeLayer','getLayerByLayerTag','minScale','getLength','getElementById','length','geoserver-wfs','geoserver-wms','暂不支持【','getArcgisWmsLayer','projection','getZIndex','layerIds','filter','addFeature','getSource','getTempLayerByGeoType','950241qGNdnm','setProperties','setMaxResolution','EPSG:','getArray','getView','getMinZoom','getGeoserverWMTSLayer','setMinResolution','locationWKT','layerType','tag','rgba(255,\x200,\x200,\x200.2)','getCode','addWKT','233796dPbxrL','MultiPoint','getType','initialExtent','polygonTempLayer','getProjection','layerTag','getGeoserverWFSLayer','getLayerById','insertAt','getMetersPerUnit','maxZoom','flashGeometrys','geoserver-wmts','getGeoserverVectorTileLayer','import','maxScale','fitLayer','_options','interactionManager','】服务类型','42568qBoxbu','addMapLayer','addMapLayers','getPolygonTempLayer','fit','Point','45glQPFO','getExtent','geoserver-vector-tile','oncontextmenu'];a62_0x579c=function(){return _0x3ab0c2;};return a62_0x579c();}import a62_0x495e20 from'ol/source/Vector';import a62_0x34d857 from'../controls/ControlManager';import a62_0x3868ee from'../entity/Feature';import a62_0x1bfc99 from'../interaction/InteractionManager';import a62_0x36b44b from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a62_0x1b1528 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a62_0x464d8c{constructor(_0x4507d0,_0x2b832a,_0x596122){const _0x39e482=a62_0x2e46;super(_0x4507d0),this[_0x39e482(0xf9)]=_0x2b832a,this['changetype']=_0x596122;}}export default class OLMap extends a62_0x522ee5{constructor(_0x5b220e,_0x3ed6a8,_0x5ef8d8){const _0x2b5ced=a62_0x2e46;_0x3ed6a8=_0x3ed6a8?_0x3ed6a8:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x510a5a=_0x3ed6a8[_0x2b5ced(0xf7)]?_0x2b5ced(0x8b)+_0x3ed6a8[_0x2b5ced(0xf7)]:_0x2b5ced(0xb9);_0x3ed6a8['zoom']=_0x3ed6a8[_0x2b5ced(0xe6)]?_0x3ed6a8['zoom']:0xa,_0x3ed6a8['minZoom']=_0x3ed6a8[_0x2b5ced(0xc8)]?_0x3ed6a8[_0x2b5ced(0xc8)]:0x0,_0x3ed6a8['maxZoom']=_0x3ed6a8[_0x2b5ced(0xa2)]?_0x3ed6a8[_0x2b5ced(0xa2)]:0x1c,_0x3ed6a8[_0x2b5ced(0xce)]=_0x3ed6a8[_0x2b5ced(0xce)]?_0x3ed6a8[_0x2b5ced(0xce)]:![],_0x3ed6a8['center']=_0x3ed6a8[_0x2b5ced(0xe7)]?_0x3ed6a8[_0x2b5ced(0xe7)]:[117.22718,31.820386],registerProj(_0x510a5a);const _0x2ac6f4={'target':_0x5b220e,'view':_0x5ef8d8?_0x5ef8d8:new a62_0x36b44b({'center':_0x3ed6a8[_0x2b5ced(0xe7)],'zoom':_0x3ed6a8[_0x2b5ced(0xe6)],'projection':_0x510a5a,'minZoom':_0x3ed6a8[_0x2b5ced(0xc8)],'maxZoom':_0x3ed6a8[_0x2b5ced(0xa2)],'minResolution':_0x3ed6a8[_0x2b5ced(0xcd)],'maxResolution':_0x3ed6a8['maxResolution'],'constrainResolution':_0x3ed6a8[_0x2b5ced(0xce)]}),'controls':a62_0x5b7a2a({'zoom':![]})};super(_0x2ac6f4);_0x3ed6a8[_0x2b5ced(0xe1)]&&this['getView']()[_0x2b5ced(0xb0)](_0x3ed6a8[_0x2b5ced(0xe1)]);const _0x167930=this[_0x2b5ced(0xe5)]();if(_0x167930 instanceof HTMLElement)_0x167930[_0x2b5ced(0xb5)]=function(_0x3f9644){return![];};else{const _0x5879fd=document[_0x2b5ced(0xf1)](_0x167930);_0x5879fd&&(_0x5879fd[_0x2b5ced(0xb5)]=function(_0x49ffd9){return![];});}this[_0x2b5ced(0xaa)]=new a62_0x1bfc99(this),this['controlManager']=new a62_0x34d857(this),this[_0x2b5ced(0xa9)]=_0x3ed6a8;}[a62_0x5638d2(0x8d)](){return super['getView']();}[a62_0x5638d2(0xa8)](_0x4f6682){const _0x18c758=a62_0x5638d2;var _0x472946;this['getView']()[_0x18c758(0xb0)](transformExtent(_0x4f6682[_0x18c758(0x9a)],(_0x472946=_0x4f6682['projection'])===null||_0x472946===void 0x0?void 0x0:_0x472946['getCode'](),this[_0x18c758(0x8d)]()[_0x18c758(0x9c)]()[_0x18c758(0x95)]()));}[a62_0x5638d2(0xcb)](_0x2b6dc6){let _0x54e9ee=this['getLayerById'](_0x2b6dc6);_0x54e9ee&&this['fitLayer'](_0x54e9ee);}async[a62_0x5638d2(0xad)](_0x52208e){const _0x2ced7f=a62_0x5638d2;let _0x25a545;switch(_0x52208e[_0x2ced7f(0x92)]){case _0x2ced7f(0xec):_0x25a545=await a62_0x2fc491[_0x2ced7f(0xc4)](_0x52208e);break;case'arcgis-dynamic':_0x25a545=await a62_0x2fc491[_0x2ced7f(0xc3)](_0x52208e);break;case'arcgis-tile':_0x25a545=await a62_0x2fc491[_0x2ced7f(0xdc)](_0x52208e);break;case _0x2ced7f(0xea):_0x25a545=await a62_0x2fc491[_0x2ced7f(0xf6)](_0x52208e);break;case _0x2ced7f(0xbc):_0x25a545=await a62_0x2fc491['getArcgisWMTSLayer'](_0x52208e);break;case _0x2ced7f(0xf4):_0x25a545=await a62_0x2fc491['getGeoserverWmsLayer'](_0x52208e);break;case _0x2ced7f(0xf3):_0x25a545=await a62_0x2fc491[_0x2ced7f(0x9e)](_0x52208e);break;case _0x2ced7f(0xa4):_0x25a545=await a62_0x2fc491[_0x2ced7f(0x8f)](_0x52208e);break;case _0x2ced7f(0xb4):_0x25a545=await a62_0x2fc491[_0x2ced7f(0xa5)](_0x52208e);break;case _0x2ced7f(0xd0):_0x25a545=await a62_0x2fc491[_0x2ced7f(0xe4)](_0x52208e);break;default:throw new Error(_0x2ced7f(0xf5)+_0x52208e[_0x2ced7f(0x92)]+_0x2ced7f(0xab));}return this['addLayer'](_0x25a545),this[_0x2ced7f(0xd9)](new ChangeLayerEvent(_0x2ced7f(0xc7),[_0x52208e['id']],'add')),_0x25a545;}async[a62_0x5638d2(0xae)](_0x293482){const _0x399877=a62_0x5638d2;let _0x206795=[];const _0x4c6419=[];for(let _0x2f5a75=0x0;_0x2f5a75<_0x293482[_0x399877(0xf2)];_0x2f5a75++){const _0x21d1b8=_0x293482[_0x2f5a75];_0x4c6419[_0x399877(0xc0)](_0x21d1b8['id']),_0x206795['push'](this['addMapLayer'](_0x21d1b8));}const _0x570947=await Promise[_0x399877(0xc9)](_0x206795);return this[_0x399877(0xd9)](new ChangeLayerEvent(_0x399877(0xc7),_0x4c6419,'add')),_0x570947;}[a62_0x5638d2(0xb7)](_0x127531,_0x23cf31=![]){const _0x120346=a62_0x5638d2,_0x59049a=_0x127531,_0x4e53aa=this[_0x120346(0x9f)](_0x59049a['id']);if(_0x4e53aa==null){const _0x179785=_0x59049a['layerInfo']==undefined||_0x59049a['layerInfo'][_0x120346(0xef)]==undefined||_0x59049a['layerInfo']['minScale']<0x0?undefined:calculateResolution(_0x59049a[_0x120346(0xe3)][_0x120346(0xef)],this[_0x120346(0x8d)]()[_0x120346(0x9c)]()['getMetersPerUnit']()||0x0);_0x127531[_0x120346(0x90)](_0x179785);const _0x310df8=_0x59049a[_0x120346(0xe3)]==undefined||_0x59049a['layerInfo'][_0x120346(0xa7)]==undefined||_0x59049a[_0x120346(0xe3)][_0x120346(0xa7)]<0x0?undefined:calculateResolution(_0x59049a[_0x120346(0xe3)][_0x120346(0xa7)],this[_0x120346(0x8d)]()['getProjection']()[_0x120346(0xa1)]()||0x0);_0x127531[_0x120346(0x8a)](_0x310df8);const _0x46ddb9=this[_0x120346(0xdb)]()[_0x120346(0x8c)]()[_0x120346(0xf2)];if(!this['_options'][_0x120346(0xf7)]&&_0x46ddb9==0x0&&_0x59049a['projection']&&_0x59049a[_0x120346(0xf7)][_0x120346(0x95)]()!=this[_0x120346(0x8d)]()[_0x120346(0x9c)]()['getCode']()){}let _0x1cb725=_0x127531[_0x120346(0xf8)]();_0x1cb725!=undefined&&_0x1cb725>_0x46ddb9&&(_0x1cb725=_0x46ddb9),this['getLayers']()[_0x120346(0xa0)](_0x1cb725==undefined?_0x46ddb9:_0x1cb725,_0x127531),_0x23cf31&&this[_0x120346(0xa8)](_0x59049a);}}[a62_0x5638d2(0xdf)](_0xab3633){const _0x481505=a62_0x5638d2,_0x45fbfa=this[_0x481505(0x9f)](_0xab3633);_0x45fbfa&&(this[_0x481505(0xed)](_0x45fbfa),this['dispatchEvent'](new ChangeLayerEvent(_0x481505(0xc7),[_0xab3633],_0x481505(0xcf))));}[a62_0x5638d2(0x9f)](_0x299d2b){const _0xa6dc50=a62_0x5638d2;let _0x2d5ce6,_0x182502=this[_0xa6dc50(0xdb)]()[_0xa6dc50(0x8c)]();for(let _0x4e67d6=0x0;_0x4e67d6<_0x182502[_0xa6dc50(0xf2)];_0x4e67d6++){let _0x733f5e=_0x182502[_0x4e67d6]['id'];if(_0x299d2b==_0x733f5e){_0x2d5ce6=_0x182502[_0x4e67d6];break;}}return _0x2d5ce6;}[a62_0x5638d2(0xee)](_0x10bf44){const _0x138ab0=a62_0x5638d2;let _0x9af325,_0x5ead0d=this[_0x138ab0(0xdb)]()[_0x138ab0(0x8c)]();for(let _0x308747=0x0;_0x308747<_0x5ead0d[_0x138ab0(0xf2)];_0x308747++){const _0x441477=_0x5ead0d[_0x308747]['layerInfo'];if(!_0x441477)continue;let _0x42758a=_0x441477[_0x138ab0(0x9d)];if(_0x42758a==_0x10bf44){_0x9af325=_0x5ead0d[_0x308747];break;}}return _0x9af325;}['getLayersByIds'](_0x100abc){const _0xe03103=a62_0x5638d2;let _0x485358=this[_0xe03103(0xdb)]()[_0xe03103(0x8c)]();return _0x485358[_0xe03103(0xfa)](_0x41b3ce=>_0x100abc[_0xe03103(0xca)](_0x41b3ce['id']));}[a62_0x5638d2(0xd2)](_0x52ea91){const _0x578b97=a62_0x5638d2;let _0x424dbd,_0x449b22=this['getLayers']()[_0x578b97(0x8c)]();for(let _0x3deae0=0x0;_0x3deae0<_0x449b22['length'];_0x3deae0++){const _0x3e5257=_0x449b22[_0x3deae0];if(_0x3e5257['id']===_0x52ea91){_0x424dbd=_0x3e5257;break;}}if(!_0x424dbd){_0x424dbd=new a62_0x2ecbba({'zIndex':0x270f,'source':new a62_0x495e20()}),_0x424dbd['id']=_0x52ea91;const _0x53ea6f=this[_0x578b97(0xdb)]()[_0x578b97(0xf0)]();switch(_0x52ea91){case _0x578b97(0xc5):this[_0x578b97(0xdb)]()['insertAt'](_0x53ea6f-0x1>-0x1?_0x53ea6f-0x1:0x0,_0x424dbd);break;case'polygonTempLayer':this['getLayers']()[_0x578b97(0xa0)](_0x53ea6f-0x2>-0x1?_0x53ea6f-0x2:0x0,_0x424dbd);break;case _0x578b97(0xd1):this['getLayers']()[_0x578b97(0xa0)](_0x53ea6f,_0x424dbd);break;default:break;}}return _0x424dbd;}['getPointTempLayer'](){const _0x53c1c8=a62_0x5638d2;return this[_0x53c1c8(0xd2)](_0x53c1c8(0xd1));}[a62_0x5638d2(0xe8)](){const _0x22ccdf=a62_0x5638d2;return this['getTempLayerById'](_0x22ccdf(0xc5));}[a62_0x5638d2(0xaf)](){const _0x120c01=a62_0x5638d2;return this[_0x120c01(0xd2)](_0x120c01(0x9b));}[a62_0x5638d2(0x87)](_0x2b127c){const _0x59db5c=a62_0x5638d2;let _0x5e6d37=this['getPointTempLayer']();switch(_0x2b127c){case _0x59db5c(0xb1):case _0x59db5c(0x98):_0x5e6d37=this['getPointTempLayer']();case'LineString':case _0x59db5c(0xe9):_0x5e6d37=this[_0x59db5c(0xe8)]();case _0x59db5c(0xde):case _0x59db5c(0xc1):_0x5e6d37=this['getPolygonTempLayer']();}return _0x5e6d37;}[a62_0x5638d2(0xcc)](_0x5a44ba){const _0x460bf6=a62_0x5638d2;let _0x377640=this[_0x460bf6(0x8d)]()[_0x460bf6(0x8e)](),_0x367a17=this[_0x460bf6(0x8d)]()[_0x460bf6(0xb6)]();registerProj(_0x5a44ba),this[_0x460bf6(0x8d)]()[_0x460bf6(0xbb)](_0x5a44ba);}[a62_0x5638d2(0xc6)](){const _0x220740=a62_0x5638d2;let _0x4e4237=[];_0x4e4237[_0x220740(0xc0)](this['getPointTempLayer']()),_0x4e4237[_0x220740(0xc0)](this[_0x220740(0xe8)]()),_0x4e4237[_0x220740(0xc0)](this['getPolygonTempLayer']());const _0x33352d=this[_0x220740(0xdb)]()['getArray']()[_0x220740(0xf2)];for(let _0x302087=0x0;_0x302087<_0x4e4237['length'];_0x302087++){const _0x4749d1=_0x4e4237[_0x302087];this[_0x220740(0xdb)]()[_0x220740(0xa0)](_0x33352d-_0x302087-0x1,_0x4749d1);}}[a62_0x5638d2(0xb3)](){const _0x26a0e3=a62_0x5638d2;return this[_0x26a0e3(0x8d)]()[_0x26a0e3(0xd7)](this[_0x26a0e3(0xd3)]());}[a62_0x5638d2(0x96)](_0x5682ff,_0x13a504,_0x154feb,_0x2eb613=!![],_0x2cd01,_0x5a9ab2={'color':a62_0x5638d2(0x94),'opacity':0.2,'outlineColor':a62_0x5638d2(0xbf),'outlineWidth':0x2}){const _0x1f0a73=a62_0x5638d2;var _0x16f86a;const _0x4800ec=fromWKT(_0x5682ff,_0x13a504,this[_0x1f0a73(0x8d)]()[_0x1f0a73(0x9c)]()[_0x1f0a73(0x95)]());if(!_0x4800ec)return;const _0x37e227=this['getTempLayerByGeoType'](_0x4800ec['getType']()),_0x14c537=getStyle(_0x5a9ab2),_0x399e49=new a62_0x3868ee();return _0x399e49[_0x1f0a73(0xd4)](_0x4800ec),_0x399e49['setStyle'](_0x14c537),_0x2cd01?_0x399e49[_0x1f0a73(0x89)](_0x2cd01):_0x399e49[_0x1f0a73(0x89)]({}),_0x399e49[_0x1f0a73(0x93)]=_0x154feb,(_0x16f86a=_0x37e227[_0x1f0a73(0xfc)]())===null||_0x16f86a===void 0x0?void 0x0:_0x16f86a[_0x1f0a73(0xfb)](_0x399e49),_0x2eb613&&this[_0x1f0a73(0xbd)](_0x4800ec,undefined,1.2,![]),_0x399e49;}['addWKTs'](_0x6a72d8,_0x6f1745,_0x476c3c,_0x204851=!![],_0x44057a={'color':'rgba(255,\x200,\x200,\x200.2)','opacity':0.2,'outlineColor':a62_0x5638d2(0xbf),'outlineWidth':0x2},_0x559521){const _0xe9bb53=a62_0x5638d2;var _0x5817e2;const _0x2d67e1=fromWKTs(_0x6a72d8,_0x6f1745,this[_0xe9bb53(0x8d)]()[_0xe9bb53(0x9c)]()[_0xe9bb53(0x95)]());if(!_0x2d67e1||_0x2d67e1[_0xe9bb53(0xf2)]==0x0)return;const _0xccde3b=this[_0xe9bb53(0x87)](_0x2d67e1[0x0][_0xe9bb53(0x99)]()),_0x28c77b=getStyle(_0x44057a);let _0x96503d=[];for(const _0x39b416 of _0x2d67e1){const _0x4e7e74=new a62_0x3868ee();_0x4e7e74[_0xe9bb53(0xd4)](_0x39b416),_0x4e7e74['setStyle'](_0x28c77b),_0x559521?_0x4e7e74[_0xe9bb53(0x89)](_0x559521):_0x4e7e74['setProperties']({}),_0x4e7e74[_0xe9bb53(0xd5)]=_0xe9bb53(0xa6),_0x4e7e74[_0xe9bb53(0xd6)]=!![],_0x4e7e74['tag']=_0x476c3c,_0x96503d[_0xe9bb53(0xc0)](_0x4e7e74);}return(_0x5817e2=_0xccde3b[_0xe9bb53(0xfc)]())===null||_0x5817e2===void 0x0?void 0x0:_0x5817e2['addFeatures'](_0x96503d),_0x204851&&this[_0xe9bb53(0xba)](_0x2d67e1,undefined,1.2,![]),_0x96503d;}[a62_0x5638d2(0x91)](_0x4cd804,_0x2ebc44,_0x46adc2=1.2,_0x342219=!![]){const _0x520578=a62_0x5638d2;if(!_0x4cd804)return;let _0x8d9d33=fromWKT(_0x4cd804,_0x2ebc44,this[_0x520578(0x8d)]()[_0x520578(0x9c)]()[_0x520578(0x95)]());if(!_0x8d9d33)return;this[_0x520578(0xbd)](_0x8d9d33,_0x2ebc44,_0x46adc2,_0x342219);}[a62_0x5638d2(0xda)](_0x21eaf7,_0x1ed9d1,_0x2399b3=1.2,_0x30edaa=!![]){const _0x4bb9c0=a62_0x5638d2;if(!_0x21eaf7||_0x21eaf7[_0x4bb9c0(0xf2)]===0x0)return;const _0x5b67f0=[];for(let _0x4b7e8c=0x0;_0x4b7e8c<_0x21eaf7[_0x4bb9c0(0xf2)];_0x4b7e8c++){let _0x2e0f82=_0x21eaf7[_0x4b7e8c],_0x2c7cf1=fromWKT(_0x2e0f82,_0x1ed9d1,this[_0x4bb9c0(0x8d)]()[_0x4bb9c0(0x9c)]()[_0x4bb9c0(0x95)]());if(!_0x2c7cf1)continue;_0x5b67f0[_0x4bb9c0(0xc0)](_0x2c7cf1);}this['locationGeometrys'](_0x5b67f0,_0x1ed9d1,_0x2399b3,_0x30edaa);}['locationGeometry'](_0x14e161,_0x2a09e7,_0xa7a1e7=1.2,_0x59fe82=!![]){const _0x3d825a=a62_0x5638d2;if(!_0x14e161)return;let _0x393618=_0x14e161;_0x2a09e7&&(_0x393618=_0x14e161['transform'](_0x2a09e7,this[_0x3d825a(0x8d)]()[_0x3d825a(0x9c)]()));switch(_0x393618[_0x3d825a(0x99)]()){case _0x3d825a(0xb1):this[_0x3d825a(0x8d)]()[_0x3d825a(0xbe)](_0x393618[_0x3d825a(0xe0)]());break;case _0x3d825a(0xde):case'MultiPoint':case'MultiLineString':case'MultiPolygon':case'GeometryCollection':this[_0x3d825a(0x8d)]()[_0x3d825a(0xb0)](expandExtent(_0x393618['getExtent'](),_0xa7a1e7));break;}if(_0x59fe82){const _0xfbc6=new a62_0x1b1528(this);_0xfbc6[_0x3d825a(0xa3)]([_0x393618],0x3);}}['locationGeometrys'](_0x528709,_0x1f65b5,_0x155817=1.2,_0x2ff06d=!![]){const _0x2044c0=a62_0x5638d2;if(!_0x528709||_0x528709[_0x2044c0(0xf2)]===0x0)return;let _0x29bdd4=null;for(const _0x1cec94 of _0x528709){_0x29bdd4?_0x29bdd4=union(_0x29bdd4,_0x1cec94):_0x29bdd4=_0x1cec94;}_0x29bdd4&&this[_0x2044c0(0xbd)](_0x29bdd4,_0x1f65b5,_0x155817,![]);if(_0x2ff06d){const _0x5046d9=new a62_0x1b1528(this);_0x5046d9[_0x2044c0(0xa3)](_0x528709,0x3);}}}
package/mapView/View.js CHANGED
@@ -1 +1 @@
1
- var a62_0x3054d3=a62_0x50c9;(function(_0x4ca13a,_0x2c1397){var _0x145c24=a62_0x50c9,_0x35bebf=_0x4ca13a();while(!![]){try{var _0x4b4aae=-parseInt(_0x145c24(0x1b5))/0x1+parseInt(_0x145c24(0x1ae))/0x2*(-parseInt(_0x145c24(0x1ac))/0x3)+-parseInt(_0x145c24(0x1ab))/0x4*(-parseInt(_0x145c24(0x1b4))/0x5)+parseInt(_0x145c24(0x1a9))/0x6*(-parseInt(_0x145c24(0x1aa))/0x7)+parseInt(_0x145c24(0x1b0))/0x8*(-parseInt(_0x145c24(0x1b2))/0x9)+-parseInt(_0x145c24(0x1b1))/0xa+parseInt(_0x145c24(0x1af))/0xb;if(_0x4b4aae===_0x2c1397)break;else _0x35bebf['push'](_0x35bebf['shift']());}catch(_0x30c1c6){_0x35bebf['push'](_0x35bebf['shift']());}}}(a62_0xfb64,0x1df0c));function a62_0x50c9(_0x44859c,_0x51f5bd){var _0xfb64f5=a62_0xfb64();return a62_0x50c9=function(_0x50c93c,_0x21a152){_0x50c93c=_0x50c93c-0x1a9;var _0x86aebe=_0xfb64f5[_0x50c93c];return _0x86aebe;},a62_0x50c9(_0x44859c,_0x51f5bd);}import a62_0x4edf59 from'ol/View';import{get}from'ol/proj';function a62_0xfb64(){var _0x45f7aa=['134419LsQuZN','setProjection','27678kGWJYa','161DzNsEx','4SsQajp','2688LEJRpu','projection_','302klWhQh','9550541RjigKp','8FMKpCk','2170610zFXgON','2003013VUIqAk','setProperties','349185GbtGCk'];a62_0xfb64=function(){return _0x45f7aa;};return a62_0xfb64();}export default class OLView extends a62_0x4edf59{constructor(_0x1d8337){super(_0x1d8337);}[a62_0x3054d3(0x1b6)](_0x40b1b1){var _0x23f37a=a62_0x3054d3;this[_0x23f37a(0x1ad)]=get(_0x40b1b1),this[_0x23f37a(0x1b3)]({'projection_':get(_0x40b1b1)});}}
1
+ function a63_0x600d(){var _0x570f3f=['3009740JtLEQL','477927KlQsPh','80PYJKgv','8yFYGlP','4620wJQPIv','20700RBIObT','8228367KXplLt','209kflgbi','1101810TlAVuV','58982NuXOyk','setProperties'];a63_0x600d=function(){return _0x570f3f;};return a63_0x600d();}(function(_0x1260a9,_0x4d965f){var _0x5c8ffa=a63_0x5f00,_0x563450=_0x1260a9();while(!![]){try{var _0x28d066=parseInt(_0x5c8ffa(0x193))/0x1*(parseInt(_0x5c8ffa(0x190))/0x2)+-parseInt(_0x5c8ffa(0x198))/0x3+-parseInt(_0x5c8ffa(0x18f))/0x4*(parseInt(_0x5c8ffa(0x194))/0x5)+parseInt(_0x5c8ffa(0x191))/0x6+-parseInt(_0x5c8ffa(0x195))/0x7*(-parseInt(_0x5c8ffa(0x199))/0x8)+parseInt(_0x5c8ffa(0x192))/0x9+-parseInt(_0x5c8ffa(0x197))/0xa;if(_0x28d066===_0x4d965f)break;else _0x563450['push'](_0x563450['shift']());}catch(_0x8483f){_0x563450['push'](_0x563450['shift']());}}}(a63_0x600d,0x8e84c));function a63_0x5f00(_0x5c9991,_0x2ce37b){var _0x600d14=a63_0x600d();return a63_0x5f00=function(_0x5f0002,_0x5c9bfd){_0x5f0002=_0x5f0002-0x18f;var _0x43540b=_0x600d14[_0x5f0002];return _0x43540b;},a63_0x5f00(_0x5c9991,_0x2ce37b);}import a63_0xe697b3 from'ol/View';import{get}from'ol/proj';export default class OLView extends a63_0xe697b3{constructor(_0x1ffa74){super(_0x1ffa74);}['setProjection'](_0x597dc9){var _0x3b9dab=a63_0x5f00;this['projection_']=get(_0x597dc9),this[_0x3b9dab(0x196)]({'projection_':get(_0x597dc9)});}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ym-gis-2d",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "index.ts",
package/plot/Plot.js CHANGED
@@ -1 +1 @@
1
- (function(_0x57d566,_0xabeadb){const _0x42a45b=a70_0x2826,_0x3b62f0=_0x57d566();while(!![]){try{const _0x211323=-parseInt(_0x42a45b(0x12a))/0x1+parseInt(_0x42a45b(0x128))/0x2+parseInt(_0x42a45b(0x124))/0x3+parseInt(_0x42a45b(0x117))/0x4*(-parseInt(_0x42a45b(0x119))/0x5)+parseInt(_0x42a45b(0x126))/0x6*(parseInt(_0x42a45b(0x125))/0x7)+-parseInt(_0x42a45b(0x120))/0x8*(parseInt(_0x42a45b(0x11f))/0x9)+parseInt(_0x42a45b(0x11b))/0xa;if(_0x211323===_0xabeadb)break;else _0x3b62f0['push'](_0x3b62f0['shift']());}catch(_0x3f3a26){_0x3b62f0['push'](_0x3b62f0['shift']());}}}(a70_0x44e1,0x2a602));function a70_0x2826(_0x407d4d,_0xcef2f9){const _0x44e1df=a70_0x44e1();return a70_0x2826=function(_0x28268a,_0x5f2689){_0x28268a=_0x28268a-0x111;let _0x24c27d=_0x44e1df[_0x28268a];return _0x24c27d;},a70_0x2826(_0x407d4d,_0xcef2f9);}import a70_0x595f4b from'../entity/GeometryType';import a70_0x356f55 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';import a70_0x4b1a29 from'./geometry/polygon/RectAngle';import a70_0x151e0a from'./geometry/polyline/Polyline';import a70_0x1107e8 from'./geometry/point/Point';import a70_0x1202d4 from'./geometry/polygon/Circle';function a70_0x44e1(){const _0x5ed056=['104172wlPUjL','MAX_VALUE','Ellipsoid','Curve','ArrowPincerlike','Polygon','Ellipse','3684RXHiGX','Point','1595ASLqAa','pointermove','1126660mKwKOl','ArrowAttack','Rectangle','toLowerCase','9EqbZXt','2032152MTgAZz','Arrow','AssemblySite','SurfaceClosed','693087zjWPZy','91XKQQLX','65202tWIzzk','PolyLine','681188vxPdhB','Circle'];a70_0x44e1=function(){return _0x5ed056;};return a70_0x44e1();}const defaultStyle={'color':[0x40,0xaf,0xc1],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x511bf3,_0x175c6a){const _0x1282f6=a70_0x2826;_0x511bf3=_0x511bf3[_0x1282f6(0x11e)]();switch(_0x511bf3){case a70_0x595f4b[_0x1282f6(0x118)]:case _0x1282f6(0x11a):return new a70_0x1107e8(_0x175c6a);case a70_0x595f4b[_0x1282f6(0x127)]:return new a70_0x151e0a(_0x175c6a);case a70_0x595f4b[_0x1282f6(0x129)]:return new a70_0x1202d4(_0x175c6a);case a70_0x595f4b['Rectangle']:return new a70_0x4b1a29(_0x175c6a);case a70_0x595f4b[_0x1282f6(0x115)]:return new a70_0x356f55(_0x175c6a);}}export function getPlotCount(_0x102053){const _0x17a561=a70_0x2826;_0x102053=_0x102053[_0x17a561(0x11e)]();let _0x33544c={'fixPoint':0x0,'minPoint':0x0};switch(_0x102053){case a70_0x595f4b[_0x17a561(0x118)]:_0x33544c={'fixPoint':0x1,'minPoint':0x0};break;case a70_0x595f4b['PolyLine']:_0x33544c={'fixPoint':Number[_0x17a561(0x111)],'minPoint':0x1};break;case a70_0x595f4b[_0x17a561(0x115)]:_0x33544c={'fixPoint':Number[_0x17a561(0x111)],'minPoint':0x2};break;case a70_0x595f4b[_0x17a561(0x11d)]:_0x33544c={'fixPoint':0x2,'minPoint':0x1};break;case a70_0x595f4b['Circle']:_0x33544c={'fixPoint':0x2,'minPoint':0x1};break;case a70_0x595f4b[_0x17a561(0x113)]:_0x33544c={'fixPoint':Number[_0x17a561(0x111)],'minPoint':0x1};break;case a70_0x595f4b[_0x17a561(0x116)]:case a70_0x595f4b[_0x17a561(0x112)]:_0x33544c={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x33544c;}export function getStyle(_0x2de0d8,_0x1f92f7,_0x24416e){const _0x4e77e3=a70_0x2826;_0x2de0d8=_0x2de0d8['toLowerCase'](),_0x1f92f7=Object['assign'](Object['assign']({},defaultStyle),_0x1f92f7);switch(_0x2de0d8){case a70_0x595f4b[_0x4e77e3(0x118)]:return function(_0x126509,_0x1982f){return getPointSingleStyle(_0x2de0d8,_0x1f92f7,_0x1982f,_0x24416e);};case a70_0x595f4b[_0x4e77e3(0x127)]:case a70_0x595f4b[_0x4e77e3(0x113)]:return function(_0x1fdf5d,_0x228419){return getPolylineStyle(_0x1f92f7,'',_0x228419,_0x24416e);};case a70_0x595f4b[_0x4e77e3(0x129)]:case a70_0x595f4b[_0x4e77e3(0x11d)]:case a70_0x595f4b[_0x4e77e3(0x116)]:case a70_0x595f4b[_0x4e77e3(0x112)]:case a70_0x595f4b[_0x4e77e3(0x123)]:case a70_0x595f4b[_0x4e77e3(0x115)]:case a70_0x595f4b[_0x4e77e3(0x11c)]:case a70_0x595f4b[_0x4e77e3(0x114)]:case a70_0x595f4b[_0x4e77e3(0x121)]:case a70_0x595f4b[_0x4e77e3(0x122)]:return function(_0x34f679,_0xee05f0){return getPolygonStyle(_0x1f92f7,_0x1f92f7['text'],_0xee05f0,_0x24416e);};}}
1
+ (function(_0x49644d,_0x1652a5){const _0x279d77=a71_0x5402,_0x48630b=_0x49644d();while(!![]){try{const _0x1e4e35=parseInt(_0x279d77(0x107))/0x1+-parseInt(_0x279d77(0x117))/0x2*(parseInt(_0x279d77(0x11a))/0x3)+-parseInt(_0x279d77(0x112))/0x4*(parseInt(_0x279d77(0x11d))/0x5)+-parseInt(_0x279d77(0x11e))/0x6*(parseInt(_0x279d77(0x111))/0x7)+-parseInt(_0x279d77(0x106))/0x8+parseInt(_0x279d77(0x120))/0x9*(-parseInt(_0x279d77(0x11c))/0xa)+-parseInt(_0x279d77(0x119))/0xb*(-parseInt(_0x279d77(0x116))/0xc);if(_0x1e4e35===_0x1652a5)break;else _0x48630b['push'](_0x48630b['shift']());}catch(_0x4169ea){_0x48630b['push'](_0x48630b['shift']());}}}(a71_0x3523,0xacd63));import a71_0x5cc547 from'../entity/GeometryType';import a71_0x3e7ad8 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';function a71_0x3523(){const _0x113ebd=['138960jChOGb','ArrowAttack','toLowerCase','6750040QyWfPc','197177xxuCdA','Curve','Point','Circle','Arrow','Ellipse','Polygon','AssemblySite','text','ArrowPincerlike','9083095zYCiaQ','1283680wqVEeN','assign','PolyLine','Rectangle','12GdtuCx','2456698bBJOVU','Ellipsoid','60141961hMcFIs','3jDgPVN','MAX_VALUE','820SIPiTa','5ZFYDuJ','6JwDAOf','SurfaceClosed'];a71_0x3523=function(){return _0x113ebd;};return a71_0x3523();}import{getPolygonStyle}from'../style/PolygonStyleFormat';import a71_0x25f899 from'./geometry/polygon/RectAngle';import a71_0x3f6b5a from'./geometry/polyline/Polyline';import a71_0x489d0e from'./geometry/point/Point';function a71_0x5402(_0x54ff6a,_0x1d1605){const _0x352388=a71_0x3523();return a71_0x5402=function(_0x5402db,_0x515817){_0x5402db=_0x5402db-0x106;let _0x324791=_0x352388[_0x5402db];return _0x324791;},a71_0x5402(_0x54ff6a,_0x1d1605);}import a71_0xa12e63 from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x1277d8,_0x176757){const _0x312b98=a71_0x5402;_0x1277d8=_0x1277d8[_0x312b98(0x122)]();switch(_0x1277d8){case a71_0x5cc547[_0x312b98(0x109)]:case'pointermove':return new a71_0x489d0e(_0x176757);case a71_0x5cc547[_0x312b98(0x114)]:return new a71_0x3f6b5a(_0x176757);case a71_0x5cc547[_0x312b98(0x10a)]:return new a71_0xa12e63(_0x176757);case a71_0x5cc547[_0x312b98(0x115)]:return new a71_0x25f899(_0x176757);case a71_0x5cc547[_0x312b98(0x10d)]:return new a71_0x3e7ad8(_0x176757);}}export function getPlotCount(_0x7a2a13){const _0x33c2cc=a71_0x5402;_0x7a2a13=_0x7a2a13[_0x33c2cc(0x122)]();let _0x9673ba={'fixPoint':0x0,'minPoint':0x0};switch(_0x7a2a13){case a71_0x5cc547[_0x33c2cc(0x109)]:_0x9673ba={'fixPoint':0x1,'minPoint':0x0};break;case a71_0x5cc547[_0x33c2cc(0x114)]:_0x9673ba={'fixPoint':Number['MAX_VALUE'],'minPoint':0x1};break;case a71_0x5cc547[_0x33c2cc(0x10d)]:_0x9673ba={'fixPoint':Number[_0x33c2cc(0x11b)],'minPoint':0x2};break;case a71_0x5cc547[_0x33c2cc(0x115)]:_0x9673ba={'fixPoint':0x2,'minPoint':0x1};break;case a71_0x5cc547[_0x33c2cc(0x10a)]:_0x9673ba={'fixPoint':0x2,'minPoint':0x1};break;case a71_0x5cc547[_0x33c2cc(0x108)]:_0x9673ba={'fixPoint':Number['MAX_VALUE'],'minPoint':0x1};break;case a71_0x5cc547[_0x33c2cc(0x10c)]:case a71_0x5cc547[_0x33c2cc(0x118)]:_0x9673ba={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x9673ba;}export function getStyle(_0x3fa398,_0x5eff68,_0x498945){const _0x2b2895=a71_0x5402;_0x3fa398=_0x3fa398[_0x2b2895(0x122)](),_0x5eff68=Object[_0x2b2895(0x113)](Object[_0x2b2895(0x113)]({},defaultStyle),_0x5eff68);switch(_0x3fa398){case a71_0x5cc547[_0x2b2895(0x109)]:return function(_0x1aee9b,_0x111727){return getPointSingleStyle(_0x3fa398,_0x5eff68,_0x111727,_0x498945);};case a71_0x5cc547[_0x2b2895(0x114)]:case a71_0x5cc547['Curve']:return function(_0x5428e8,_0x41eab9){return getPolylineStyle(_0x5eff68,'',_0x41eab9,_0x498945);};case a71_0x5cc547[_0x2b2895(0x10a)]:case a71_0x5cc547['Rectangle']:case a71_0x5cc547[_0x2b2895(0x10c)]:case a71_0x5cc547[_0x2b2895(0x118)]:case a71_0x5cc547[_0x2b2895(0x11f)]:case a71_0x5cc547[_0x2b2895(0x10d)]:case a71_0x5cc547[_0x2b2895(0x121)]:case a71_0x5cc547[_0x2b2895(0x110)]:case a71_0x5cc547[_0x2b2895(0x10b)]:case a71_0x5cc547[_0x2b2895(0x10e)]:return function(_0x49f5b0,_0x8c511a){const _0x3b525b=_0x2b2895;return getPolygonStyle(_0x5eff68,_0x5eff68[_0x3b525b(0x10f)],_0x8c511a,_0x498945);};}}
@@ -1 +1 @@
1
- var a63_0x22a589=a63_0x5aa4;(function(_0x3ead15,_0x656a5d){var _0x2e3f1=a63_0x5aa4,_0x12ad97=_0x3ead15();while(!![]){try{var _0x3b7e59=-parseInt(_0x2e3f1(0x132))/0x1*(-parseInt(_0x2e3f1(0x134))/0x2)+parseInt(_0x2e3f1(0x13d))/0x3+-parseInt(_0x2e3f1(0x131))/0x4+parseInt(_0x2e3f1(0x133))/0x5*(parseInt(_0x2e3f1(0x125))/0x6)+parseInt(_0x2e3f1(0x140))/0x7+-parseInt(_0x2e3f1(0x139))/0x8*(parseInt(_0x2e3f1(0x12a))/0x9)+parseInt(_0x2e3f1(0x12e))/0xa*(-parseInt(_0x2e3f1(0x138))/0xb);if(_0x3b7e59===_0x656a5d)break;else _0x12ad97['push'](_0x12ad97['shift']());}catch(_0x8fa375){_0x12ad97['push'](_0x12ad97['shift']());}}}(a63_0x29c8,0x2af43));import{Map}from'ol';function a63_0x5aa4(_0x19ada0,_0x5ac7e5){var _0x29c8d1=a63_0x29c8();return a63_0x5aa4=function(_0x5aa41c,_0x45b8a3){_0x5aa41c=_0x5aa41c-0x124;var _0x3d312c=_0x29c8d1[_0x5aa41c];return _0x3d312c;},a63_0x5aa4(_0x19ada0,_0x5ac7e5);}import{Point as a63_0x413d57}from'ol/geom';function a63_0x29c8(){var _0x45108b=['setPoints','points','1178504teHgPK','2336NHnSjD','2335CKklXL','74EfeBYl','传入的不是地图对象!','getMap','Point','55rGHOay','4968FLPntu','setMap','getPlotType','finishDrawing','753096ilRaBb','updatePoint','setCoordinates','942879GqQfjn','parse','3372lFtphq','generate','type','stringify','length','1035JGtSwy','isPlot','style','setStyle','385270hdAZJB'];a63_0x29c8=function(){return _0x45108b;};return a63_0x29c8();}class Point extends a63_0x413d57{constructor(_0x4c1688){var _0x517d36=a63_0x5aa4;super([]),this[_0x517d36(0x127)]=_0x517d36(0x137),this['points']=_0x4c1688,this[_0x517d36(0x12f)](_0x4c1688);}[a63_0x22a589(0x13b)](){var _0x27b2b8=a63_0x22a589;return this[_0x27b2b8(0x127)];}[a63_0x22a589(0x126)](){var _0x45b6b7=a63_0x22a589;this[_0x45b6b7(0x13f)](this['points'][0x0]);}[a63_0x22a589(0x13a)](_0x58e09d){var _0x583333=a63_0x22a589;if(_0x58e09d&&_0x58e09d instanceof Map)this['map']=_0x58e09d;else throw new Error(_0x583333(0x135));}[a63_0x22a589(0x136)](){return this['map'];}[a63_0x22a589(0x12b)](){return!![];}[a63_0x22a589(0x12f)](_0x34fcec){var _0x3f71f2=a63_0x22a589;_0x34fcec&&_0x34fcec[_0x3f71f2(0x129)]>=0x1&&(this[_0x3f71f2(0x130)]=_0x34fcec,this[_0x3f71f2(0x126)]());}['getPoints'](){return this['points'];}[a63_0x22a589(0x13e)](_0x5f2d27,_0x43e264){var _0x163439=a63_0x22a589;_0x43e264>=0x0&&_0x43e264<this['points']['length']&&(this['points'][_0x43e264]=_0x5f2d27,this[_0x163439(0x126)]());}['updateLastPoint'](_0x485c1a){var _0x366c5f=a63_0x22a589;this[_0x366c5f(0x13e)](_0x485c1a,this['points'][_0x366c5f(0x129)]-0x1);}[a63_0x22a589(0x13c)](){}[a63_0x22a589(0x12d)](_0x490518){var _0x5eb43a=a63_0x22a589;this[_0x5eb43a(0x12c)]=JSON[_0x5eb43a(0x124)](JSON[_0x5eb43a(0x128)](_0x490518));}}export default Point;
1
+ var a64_0xa44490=a64_0x2736;(function(_0x3d0cfb,_0x4fd16d){var _0x745b19=a64_0x2736,_0x2312e5=_0x3d0cfb();while(!![]){try{var _0x45f46d=-parseInt(_0x745b19(0x156))/0x1*(-parseInt(_0x745b19(0x16b))/0x2)+parseInt(_0x745b19(0x165))/0x3+parseInt(_0x745b19(0x158))/0x4+-parseInt(_0x745b19(0x157))/0x5*(parseInt(_0x745b19(0x161))/0x6)+-parseInt(_0x745b19(0x153))/0x7+parseInt(_0x745b19(0x15d))/0x8*(-parseInt(_0x745b19(0x169))/0x9)+parseInt(_0x745b19(0x163))/0xa;if(_0x45f46d===_0x4fd16d)break;else _0x2312e5['push'](_0x2312e5['shift']());}catch(_0x84fc80){_0x2312e5['push'](_0x2312e5['shift']());}}}(a64_0x45f8,0xbe050));import{Map}from'ol';function a64_0x45f8(){var _0xc12c55=['style','8444960Vvmfjc','setPoints','2122062QUmHwM','getPoints','length','updatePoint','1287QlpwRT','getPlotType','1163462EtSoXu','Point','updateLastPoint','parse','5913572hSVvup','map','finishDrawing','1njEUBb','3058075jgwFcs','2541592npvIrV','传入的不是地图对象!','generate','points','setStyle','29888jFcgxC','type','setCoordinates','isPlot','6SQxluV'];a64_0x45f8=function(){return _0xc12c55;};return a64_0x45f8();}function a64_0x2736(_0x128810,_0x5e4e2e){var _0x45f8de=a64_0x45f8();return a64_0x2736=function(_0x2736aa,_0x29b62b){_0x2736aa=_0x2736aa-0x153;var _0x567a3c=_0x45f8de[_0x2736aa];return _0x567a3c;},a64_0x2736(_0x128810,_0x5e4e2e);}import{Point as a64_0x3c10c7}from'ol/geom';class Point extends a64_0x3c10c7{constructor(_0x59208d){var _0x7bf895=a64_0x2736;super([]),this[_0x7bf895(0x15e)]=_0x7bf895(0x16c),this['points']=_0x59208d,this[_0x7bf895(0x164)](_0x59208d);}[a64_0xa44490(0x16a)](){return this['type'];}[a64_0xa44490(0x15a)](){var _0x57c18f=a64_0xa44490;this[_0x57c18f(0x15f)](this['points'][0x0]);}['setMap'](_0x3a0ac9){var _0xf9dc0d=a64_0xa44490;if(_0x3a0ac9&&_0x3a0ac9 instanceof Map)this[_0xf9dc0d(0x154)]=_0x3a0ac9;else throw new Error(_0xf9dc0d(0x159));}['getMap'](){var _0x3fd0dd=a64_0xa44490;return this[_0x3fd0dd(0x154)];}[a64_0xa44490(0x160)](){return!![];}[a64_0xa44490(0x164)](_0x4e6e02){var _0x2bc231=a64_0xa44490;_0x4e6e02&&_0x4e6e02[_0x2bc231(0x167)]>=0x1&&(this[_0x2bc231(0x15b)]=_0x4e6e02,this['generate']());}[a64_0xa44490(0x166)](){var _0x1ba103=a64_0xa44490;return this[_0x1ba103(0x15b)];}[a64_0xa44490(0x168)](_0x446c46,_0x58a094){var _0x2a4467=a64_0xa44490;_0x58a094>=0x0&&_0x58a094<this['points'][_0x2a4467(0x167)]&&(this['points'][_0x58a094]=_0x446c46,this[_0x2a4467(0x15a)]());}[a64_0xa44490(0x16d)](_0x15b1b4){var _0x4bfeee=a64_0xa44490;this['updatePoint'](_0x15b1b4,this[_0x4bfeee(0x15b)][_0x4bfeee(0x167)]-0x1);}[a64_0xa44490(0x155)](){}[a64_0xa44490(0x15c)](_0x5f38db){var _0x538058=a64_0xa44490;this[_0x538058(0x162)]=JSON[_0x538058(0x16e)](JSON['stringify'](_0x5f38db));}}export default Point;
@@ -1 +1 @@
1
- function a64_0x1017(){var _0x20cf38=['map','73638wtfkLT','style','84jZkCzy','145fYOojt','getType','stringify','499404PSVTKR','isPlot','setPoints','writeGeometryObject','276942sAXHjF','length','finishDrawing','points','getGeoJson','getPoints','parse','generate','slice','setStyle','1168517spUbSR','10060896yNMxVH','22980969XwALqC','318427FQXBaX','getPointCount'];a64_0x1017=function(){return _0x20cf38;};return a64_0x1017();}var a64_0x349ee6=a64_0x447d;(function(_0x34a38e,_0x5e5f96){var _0x2252e8=a64_0x447d,_0x301688=_0x34a38e();while(!![]){try{var _0x1b708d=-parseInt(_0x2252e8(0x1e2))/0x1+-parseInt(_0x2252e8(0x1e5))/0x2*(-parseInt(_0x2252e8(0x1cd))/0x3)+parseInt(_0x2252e8(0x1d1))/0x4+parseInt(_0x2252e8(0x1ce))/0x5*(parseInt(_0x2252e8(0x1d5))/0x6)+-parseInt(_0x2252e8(0x1df))/0x7+parseInt(_0x2252e8(0x1e0))/0x8+-parseInt(_0x2252e8(0x1e1))/0x9;if(_0x1b708d===_0x5e5f96)break;else _0x301688['push'](_0x301688['shift']());}catch(_0x19d426){_0x301688['push'](_0x301688['shift']());}}}(a64_0x1017,0xae1bd));import{Polygon}from'ol/geom';import a64_0xa7cf8c from'ol/format/GeoJSON';function a64_0x447d(_0x5ae8be,_0x5501e2){var _0x1017fb=a64_0x1017();return a64_0x447d=function(_0x447db8,_0x3a5772){_0x447db8=_0x447db8-0x1cd;var _0x42f564=_0x1017fb[_0x447db8];return _0x42f564;},a64_0x447d(_0x5ae8be,_0x5501e2);}import a64_0x2ae91d from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){super([]),this['points']=[];}[a64_0x349ee6(0x1cf)](){var _0x412d47=a64_0x349ee6;return this['type']?this['type']:super[_0x412d47(0x1cf)]();}[a64_0x349ee6(0x1d9)](){var _0x3e44d9=a64_0x349ee6;return new a64_0xa7cf8c()[_0x3e44d9(0x1d4)](this);}[a64_0x349ee6(0x1de)](_0x4fe861){var _0xfbae1d=a64_0x349ee6;_0x4fe861&&(this[_0xfbae1d(0x1e6)]=JSON[_0xfbae1d(0x1db)](JSON[_0xfbae1d(0x1d0)](_0x4fe861)));}['setMap'](_0x29b1ee){if(_0x29b1ee&&_0x29b1ee instanceof a64_0x2ae91d)this['map']=_0x29b1ee;else throw new Error('传入的不是地图对象!');}['getMap'](){var _0x1dd3d1=a64_0x349ee6;return this[_0x1dd3d1(0x1e4)];}[a64_0x349ee6(0x1d2)](){return!![];}[a64_0x349ee6(0x1d3)](_0x502999){var _0x1f2826=a64_0x349ee6;this[_0x1f2826(0x1d8)]=!_0x502999?[]:_0x502999,this[_0x1f2826(0x1d8)][_0x1f2826(0x1d6)]>=0x1&&this['generate']();}[a64_0x349ee6(0x1dc)](){}[a64_0x349ee6(0x1da)](){var _0x4bf7e7=a64_0x349ee6;return this[_0x4bf7e7(0x1d8)][_0x4bf7e7(0x1dd)](0x0);}[a64_0x349ee6(0x1e3)](){var _0x5df4ff=a64_0x349ee6;return this[_0x5df4ff(0x1d8)]['length'];}[a64_0x349ee6(0x1d7)](){}}export default BasePolygon;
1
+ var a65_0x220bc0=a65_0x435c;function a65_0x435c(_0x179b28,_0x74b412){var _0x1d03d9=a65_0x1d03();return a65_0x435c=function(_0x435c63,_0x5354fe){_0x435c63=_0x435c63-0x175;var _0x242139=_0x1d03d9[_0x435c63];return _0x242139;},a65_0x435c(_0x179b28,_0x74b412);}(function(_0x1ef435,_0x19ec3f){var _0x2d1352=a65_0x435c,_0x5e5bd3=_0x1ef435();while(!![]){try{var _0x43f0c1=-parseInt(_0x2d1352(0x17b))/0x1*(-parseInt(_0x2d1352(0x183))/0x2)+parseInt(_0x2d1352(0x188))/0x3+parseInt(_0x2d1352(0x17f))/0x4+parseInt(_0x2d1352(0x175))/0x5+parseInt(_0x2d1352(0x18a))/0x6*(-parseInt(_0x2d1352(0x179))/0x7)+-parseInt(_0x2d1352(0x176))/0x8+-parseInt(_0x2d1352(0x189))/0x9;if(_0x43f0c1===_0x19ec3f)break;else _0x5e5bd3['push'](_0x5e5bd3['shift']());}catch(_0x1cc5f0){_0x5e5bd3['push'](_0x5e5bd3['shift']());}}}(a65_0x1d03,0x6e1f4));import{Polygon}from'ol/geom';import a65_0x50a6f1 from'ol/format/GeoJSON';import a65_0x4c8043 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x12bbee=a65_0x435c;super([]),this[_0x12bbee(0x17a)]=[];}[a65_0x220bc0(0x18c)](){var _0xca6605=a65_0x220bc0;return this[_0xca6605(0x18b)]?this['type']:super[_0xca6605(0x18c)]();}[a65_0x220bc0(0x190)](){var _0xd6268f=a65_0x220bc0;return new a65_0x50a6f1()[_0xd6268f(0x18f)](this);}[a65_0x220bc0(0x185)](_0x370c79){var _0x847c33=a65_0x220bc0;_0x370c79&&(this[_0x847c33(0x18e)]=JSON[_0x847c33(0x184)](JSON[_0x847c33(0x178)](_0x370c79)));}[a65_0x220bc0(0x177)](_0x4969e4){var _0x2cca7d=a65_0x220bc0;if(_0x4969e4&&_0x4969e4 instanceof a65_0x4c8043)this['map']=_0x4969e4;else throw new Error(_0x2cca7d(0x187));}['getMap'](){var _0x458b45=a65_0x220bc0;return this[_0x458b45(0x180)];}[a65_0x220bc0(0x17d)](){return!![];}[a65_0x220bc0(0x181)](_0x563f68){var _0x934e9=a65_0x220bc0;this[_0x934e9(0x17a)]=!_0x563f68?[]:_0x563f68,this[_0x934e9(0x17a)]['length']>=0x1&&this[_0x934e9(0x182)]();}[a65_0x220bc0(0x182)](){}[a65_0x220bc0(0x18d)](){var _0x4b6daf=a65_0x220bc0;return this[_0x4b6daf(0x17a)][_0x4b6daf(0x17e)](0x0);}[a65_0x220bc0(0x186)](){var _0x467fcb=a65_0x220bc0;return this[_0x467fcb(0x17a)]['length'];}[a65_0x220bc0(0x17c)](){}}export default BasePolygon;function a65_0x1d03(){var _0x2c7286=['30DLfqYm','type','getType','getPoints','style','writeGeometryObject','getGeoJson','284095iArQIG','4862616nGAvZW','setMap','stringify','685258iOFtQD','points','8lKKYWv','finishDrawing','isPlot','slice','2965552NaLStH','map','setPoints','generate','85548xhhczW','parse','setStyle','getPointCount','传入的不是地图对象!','1607688XQgUKm','1151442zQUXmv'];a65_0x1d03=function(){return _0x2c7286;};return a65_0x1d03();}
@@ -1 +1 @@
1
- const a65_0x492bae=a65_0x359c;(function(_0x4eb0da,_0x3ba0da){const _0x31b458=a65_0x359c,_0x8cf6be=_0x4eb0da();while(!![]){try{const _0x3458dd=-parseInt(_0x31b458(0x10a))/0x1+parseInt(_0x31b458(0x10e))/0x2*(parseInt(_0x31b458(0x10b))/0x3)+parseInt(_0x31b458(0x11b))/0x4*(-parseInt(_0x31b458(0x110))/0x5)+parseInt(_0x31b458(0x10c))/0x6+-parseInt(_0x31b458(0x118))/0x7+-parseInt(_0x31b458(0x106))/0x8*(-parseInt(_0x31b458(0x104))/0x9)+-parseInt(_0x31b458(0x10d))/0xa*(-parseInt(_0x31b458(0x119))/0xb);if(_0x3458dd===_0x3ba0da)break;else _0x8cf6be['push'](_0x8cf6be['shift']());}catch(_0x4aad22){_0x8cf6be['push'](_0x8cf6be['shift']());}}}(a65_0x3492,0xe155a));import{Circle as a65_0x36e607}from'ol/geom';function a65_0x359c(_0x1b7ed8,_0x42faa6){const _0x349273=a65_0x3492();return a65_0x359c=function(_0x359c0f,_0x6d1a37){_0x359c0f=_0x359c0f-0x103;let _0x5292ea=_0x349273[_0x359c0f];return _0x5292ea;},a65_0x359c(_0x1b7ed8,_0x42faa6);}function a65_0x3492(){const _0x512a69=['updateLastPoint','points','writeGeometryObject','updatePoint','setPoints','length','setCenter','5164124CWrJsO','97284DxAJRX','getGeoJson','4153672UEPAzJ','getRadius','562833vdTqPg','toRadians','8mnaoGs','Circle','type','generate','1690844ROzNMn','33kxHAiQ','10852542sQnHfY','1580zoSsth','203876DztbQY','setCenterAndRadius','5jEduoA'];a65_0x3492=function(){return _0x512a69;};return a65_0x3492();}import a65_0x429e9c from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a65_0x1ae4bc}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a65_0x36e607{constructor(_0x506be8){const _0x7dfabe=a65_0x359c;super([]),this[_0x7dfabe(0x112)]=_0x506be8,this[_0x7dfabe(0x108)]=_0x7dfabe(0x107),_0x506be8&&_0x506be8[_0x7dfabe(0x116)]>0x0&&this[_0x7dfabe(0x115)](_0x506be8);}[a65_0x492bae(0x115)](_0x7bd722){const _0x586964=a65_0x492bae;var _0x5d5045;((_0x5d5045=this[_0x586964(0x112)])===null||_0x5d5045===void 0x0?void 0x0:_0x5d5045[_0x586964(0x116)])>0x0&&(_0x7bd722===null||_0x7bd722===void 0x0?void 0x0:_0x7bd722[_0x586964(0x116)])>0x0&&!compareArray(this[_0x586964(0x112)][0x0],_0x7bd722[0x0])?this[_0x586964(0x117)](_0x7bd722[0x0]):(this['points']=!_0x7bd722?[]:_0x7bd722,this[_0x586964(0x112)]['length']>=0x1&&(this['generate']&&this[_0x586964(0x109)]()));}['generate'](){const _0x58b6d6=a65_0x492bae;let _0x3018c6=this[_0x58b6d6(0x112)][_0x58b6d6(0x116)];if(_0x3018c6<0x2)return![];else{const _0x23c744=this[_0x58b6d6(0x112)][0x0],_0x27523d=a65_0x1ae4bc(_0x23c744,this[_0x58b6d6(0x112)][0x1]);this[_0x58b6d6(0x10f)](_0x23c744,Math['sqrt'](_0x27523d));}}[a65_0x492bae(0x117)](_0x1e2de5){const _0xc2cb8a=a65_0x492bae;this[_0xc2cb8a(0x117)](_0x1e2de5),this[_0xc2cb8a(0x112)]=[_0x1e2de5,offset(_0x1e2de5,this[_0xc2cb8a(0x103)](),this[_0xc2cb8a(0x105)](0x5a))],this[_0xc2cb8a(0x109)]();}[a65_0x492bae(0x105)](_0x5f0a9e){return _0x5f0a9e*Math['PI']/0xb4;}[a65_0x492bae(0x11a)](){const _0x489f8f=a65_0x492bae;return new a65_0x429e9c()[_0x489f8f(0x113)](fromCircle(this));}[a65_0x492bae(0x114)](_0x5cf82b,_0x5796a8){const _0x91c1e1=a65_0x492bae;_0x5796a8>=0x0&&_0x5796a8<this[_0x91c1e1(0x112)][_0x91c1e1(0x116)]&&(this['points'][_0x5796a8]=_0x5cf82b,this[_0x91c1e1(0x109)]());}[a65_0x492bae(0x111)](_0x2b89ed){const _0x193f6b=a65_0x492bae;this['updatePoint'](_0x2b89ed,this['points'][_0x193f6b(0x116)]-0x1);}}export default Circle;
1
+ const a66_0x53a10b=a66_0x2378;(function(_0x3936e5,_0x380e06){const _0x718899=a66_0x2378,_0x4c0278=_0x3936e5();while(!![]){try{const _0x3cc5e2=-parseInt(_0x718899(0x1b0))/0x1+-parseInt(_0x718899(0x1b6))/0x2+-parseInt(_0x718899(0x1b1))/0x3*(-parseInt(_0x718899(0x1b3))/0x4)+-parseInt(_0x718899(0x1b2))/0x5+parseInt(_0x718899(0x1ac))/0x6+parseInt(_0x718899(0x1a8))/0x7+parseInt(_0x718899(0x1be))/0x8*(-parseInt(_0x718899(0x1bd))/0x9);if(_0x3cc5e2===_0x380e06)break;else _0x4c0278['push'](_0x4c0278['shift']());}catch(_0x19884e){_0x4c0278['push'](_0x4c0278['shift']());}}}(a66_0x1e5b,0x38899));function a66_0x1e5b(){const _0xd5a3a9=['updatePoint','setPoints','points','1798740rVGLAV','writeGeometryObject','setCenter','Circle','89139wrPCGl','81uswjpm','172545hnCbXM','17692AfVdOT','setCenterAndRadius','getRadius','430660ukBXnp','type','getGeoJson','toRadians','length','generate','updateLastPoint','501543zhQkWu','16OQjslk','1839586KeMeCR'];a66_0x1e5b=function(){return _0xd5a3a9;};return a66_0x1e5b();}import{Circle as a66_0x5631aa}from'ol/geom';import a66_0x1b633d from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a66_0x2ad180}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a66_0x5631aa{constructor(_0x3782a4){const _0x2bea83=a66_0x2378;super([]),this[_0x2bea83(0x1ab)]=_0x3782a4,this[_0x2bea83(0x1b7)]=_0x2bea83(0x1af),_0x3782a4&&_0x3782a4[_0x2bea83(0x1ba)]>0x0&&this[_0x2bea83(0x1aa)](_0x3782a4);}[a66_0x53a10b(0x1aa)](_0x40e43c){const _0x3ce043=a66_0x53a10b;var _0x385c78;((_0x385c78=this['points'])===null||_0x385c78===void 0x0?void 0x0:_0x385c78[_0x3ce043(0x1ba)])>0x0&&(_0x40e43c===null||_0x40e43c===void 0x0?void 0x0:_0x40e43c[_0x3ce043(0x1ba)])>0x0&&!compareArray(this[_0x3ce043(0x1ab)][0x0],_0x40e43c[0x0])?this[_0x3ce043(0x1ae)](_0x40e43c[0x0]):(this[_0x3ce043(0x1ab)]=!_0x40e43c?[]:_0x40e43c,this[_0x3ce043(0x1ab)][_0x3ce043(0x1ba)]>=0x1&&(this[_0x3ce043(0x1bb)]&&this[_0x3ce043(0x1bb)]()));}[a66_0x53a10b(0x1bb)](){const _0x20460d=a66_0x53a10b;let _0x594f05=this[_0x20460d(0x1ab)]['length'];if(_0x594f05<0x2)return![];else{const _0x2aded3=this[_0x20460d(0x1ab)][0x0],_0x27e687=a66_0x2ad180(_0x2aded3,this[_0x20460d(0x1ab)][0x1]);this[_0x20460d(0x1b4)](_0x2aded3,Math['sqrt'](_0x27e687));}}['setCenter'](_0x4a7d40){const _0x2eefda=a66_0x53a10b;this[_0x2eefda(0x1ae)](_0x4a7d40),this[_0x2eefda(0x1ab)]=[_0x4a7d40,offset(_0x4a7d40,this[_0x2eefda(0x1b5)](),this[_0x2eefda(0x1b9)](0x5a))],this[_0x2eefda(0x1bb)]();}['toRadians'](_0x2b6092){return _0x2b6092*Math['PI']/0xb4;}[a66_0x53a10b(0x1b8)](){const _0x445a64=a66_0x53a10b;return new a66_0x1b633d()[_0x445a64(0x1ad)](fromCircle(this));}[a66_0x53a10b(0x1a9)](_0x591c60,_0x431d95){const _0x1e8823=a66_0x53a10b;_0x431d95>=0x0&&_0x431d95<this[_0x1e8823(0x1ab)][_0x1e8823(0x1ba)]&&(this['points'][_0x431d95]=_0x591c60,this[_0x1e8823(0x1bb)]());}[a66_0x53a10b(0x1bc)](_0x39cde0){const _0x1bbb1e=a66_0x53a10b;this[_0x1bbb1e(0x1a9)](_0x39cde0,this[_0x1bbb1e(0x1ab)][_0x1bbb1e(0x1ba)]-0x1);}}function a66_0x2378(_0x1709e2,_0xea7645){const _0x1e5b01=a66_0x1e5b();return a66_0x2378=function(_0x237807,_0x5598b6){_0x237807=_0x237807-0x1a8;let _0x4ebbab=_0x1e5b01[_0x237807];return _0x4ebbab;},a66_0x2378(_0x1709e2,_0xea7645);}export default Circle;
@@ -1 +1 @@
1
- const a66_0x5804da=a66_0x20df;function a66_0x20df(_0x1ba710,_0x1c61f7){const _0x3461a8=a66_0x3461();return a66_0x20df=function(_0x20dfe6,_0x3ea286){_0x20dfe6=_0x20dfe6-0xe6;let _0x2fd866=_0x3461a8[_0x20dfe6];return _0x2fd866;},a66_0x20df(_0x1ba710,_0x1c61f7);}(function(_0x1f9411,_0x230788){const _0xa07335=a66_0x20df,_0x2495a2=_0x1f9411();while(!![]){try{const _0x4a8ae0=-parseInt(_0xa07335(0xec))/0x1*(parseInt(_0xa07335(0xf2))/0x2)+-parseInt(_0xa07335(0xed))/0x3+parseInt(_0xa07335(0xe9))/0x4*(-parseInt(_0xa07335(0xf9))/0x5)+-parseInt(_0xa07335(0xf4))/0x6+-parseInt(_0xa07335(0xeb))/0x7+parseInt(_0xa07335(0xe7))/0x8*(-parseInt(_0xa07335(0xf7))/0x9)+parseInt(_0xa07335(0xfa))/0xa;if(_0x4a8ae0===_0x230788)break;else _0x2495a2['push'](_0x2495a2['shift']());}catch(_0x204593){_0x2495a2['push'](_0x2495a2['shift']());}}}(a66_0x3461,0x494b0));function a66_0x3461(){const _0x59f6f9=['27774xItJAM','Polygon','210FTHLZI','29538070WiFTkm','getPointCount','setPoints','1304YBsWen','generate','55060XpztXn','isPlot','3109974ncITSe','1801FFwEWf','853458eEaGSt','points','setCoordinates','length','stringify','294tEdhjx','updatePoint','3473616EEgVIc','_closed','push'];a66_0x3461=function(){return _0x59f6f9;};return a66_0x3461();}import a66_0x3357c7 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class Polygon extends a66_0x3357c7{constructor(_0xc7d1ac){const _0x40df4e=a66_0x20df;super(),this['type']=_0x40df4e(0xf8),_0xc7d1ac&&_0xc7d1ac[_0x40df4e(0xf0)]>0x0&&getDeepth(_0xc7d1ac)==0x2?this[_0x40df4e(0xe6)](_0xc7d1ac):this['setCoordinates'](_0xc7d1ac);}[a66_0x5804da(0xf5)](_0x1e0f9e){const _0xd5b26b=a66_0x5804da;let _0x297028=_0x1e0f9e[0x0],_0x22e06f=_0x1e0f9e[_0x1e0f9e[_0xd5b26b(0xf0)]-0x1];return _0x297028[0x0]===_0x22e06f[0x0]&&_0x297028[0x1]===_0x22e06f[0x1]&&_0x297028[0x2]===_0x22e06f[0x2];}[a66_0x5804da(0xe8)](){const _0x120688=a66_0x5804da;let _0xbbc833=this[_0x120688(0xfb)]();if(_0xbbc833<0x2)return![];else{let _0x4e49f1=JSON['parse'](JSON[_0x120688(0xf1)](this[_0x120688(0xee)]));_0xbbc833>=0x3&&(!this['_closed'](_0x4e49f1)&&_0x4e49f1[_0x120688(0xf6)](_0x4e49f1[0x0])),this[_0x120688(0xef)]([_0x4e49f1]);}}[a66_0x5804da(0xf3)](_0x499165,_0x4c76b3){const _0x1b5908=a66_0x5804da;_0x4c76b3>=0x0&&_0x4c76b3<this['points'][_0x1b5908(0xf0)]&&(this[_0x1b5908(0xee)][_0x4c76b3]=_0x499165,this[_0x1b5908(0xe8)]());}[a66_0x5804da(0xea)](){return![];}['updateLastPoint'](_0x3d4caa){const _0x15c2d9=a66_0x5804da;this[_0x15c2d9(0xf3)](_0x3d4caa,this[_0x15c2d9(0xee)][_0x15c2d9(0xf0)]-0x1);}}export default Polygon;
1
+ function a67_0x4908(_0x483f87,_0xcf6e9c){const _0x1e9331=a67_0x1e93();return a67_0x4908=function(_0x4908f3,_0x27b33d){_0x4908f3=_0x4908f3-0xb6;let _0x1b299e=_0x1e9331[_0x4908f3];return _0x1b299e;},a67_0x4908(_0x483f87,_0xcf6e9c);}const a67_0x3eb9b9=a67_0x4908;(function(_0x7c9a3d,_0x39a01e){const _0x359858=a67_0x4908,_0x197703=_0x7c9a3d();while(!![]){try{const _0x2af69c=parseInt(_0x359858(0xc5))/0x1*(parseInt(_0x359858(0xbb))/0x2)+-parseInt(_0x359858(0xc3))/0x3+-parseInt(_0x359858(0xc6))/0x4+parseInt(_0x359858(0xb7))/0x5+-parseInt(_0x359858(0xbd))/0x6*(parseInt(_0x359858(0xc9))/0x7)+-parseInt(_0x359858(0xca))/0x8*(-parseInt(_0x359858(0xc0))/0x9)+parseInt(_0x359858(0xc2))/0xa;if(_0x2af69c===_0x39a01e)break;else _0x197703['push'](_0x197703['shift']());}catch(_0x1a1d66){_0x197703['push'](_0x197703['shift']());}}}(a67_0x1e93,0xac5e3));import a67_0x51efb8 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class Polygon extends a67_0x51efb8{constructor(_0x14b5b9){const _0x3e83a5=a67_0x4908;super(),this[_0x3e83a5(0xba)]='Polygon',_0x14b5b9&&_0x14b5b9[_0x3e83a5(0xc1)]>0x0&&getDeepth(_0x14b5b9)==0x2?this['setPoints'](_0x14b5b9):this[_0x3e83a5(0xbe)](_0x14b5b9);}['_closed'](_0x39496f){const _0x2804af=a67_0x4908;let _0x59be45=_0x39496f[0x0],_0xc99caa=_0x39496f[_0x39496f[_0x2804af(0xc1)]-0x1];return _0x59be45[0x0]===_0xc99caa[0x0]&&_0x59be45[0x1]===_0xc99caa[0x1]&&_0x59be45[0x2]===_0xc99caa[0x2];}[a67_0x3eb9b9(0xbc)](){const _0x393508=a67_0x3eb9b9;let _0x1de06a=this[_0x393508(0xc7)]();if(_0x1de06a<0x2)return![];else{let _0x3b26d4=JSON[_0x393508(0xb8)](JSON['stringify'](this['points']));_0x1de06a>=0x3&&(!this['_closed'](_0x3b26d4)&&_0x3b26d4[_0x393508(0xbf)](_0x3b26d4[0x0])),this[_0x393508(0xbe)]([_0x3b26d4]);}}[a67_0x3eb9b9(0xc4)](_0x43d419,_0x299410){const _0x5dd6c7=a67_0x3eb9b9;_0x299410>=0x0&&_0x299410<this['points'][_0x5dd6c7(0xc1)]&&(this['points'][_0x299410]=_0x43d419,this['generate']());}[a67_0x3eb9b9(0xc8)](){return![];}[a67_0x3eb9b9(0xb6)](_0x3d5503){const _0x44f26e=a67_0x3eb9b9;this[_0x44f26e(0xc4)](_0x3d5503,this[_0x44f26e(0xb9)][_0x44f26e(0xc1)]-0x1);}}export default Polygon;function a67_0x1e93(){const _0x352476=['662325JlcRxm','parse','points','type','18LvswDp','generate','131052IELNek','setCoordinates','push','210114HDSMKq','length','8000350HXOjMI','2130651yahHbp','updatePoint','60132OvFjcQ','295984YtyyVU','getPointCount','isPlot','77wTpvRR','88MkrDxd','updateLastPoint'];a67_0x1e93=function(){return _0x352476;};return a67_0x1e93();}
@@ -1 +1 @@
1
- const a67_0x4b250e=a67_0x3e62;function a67_0x3e62(_0x25356b,_0x307cdc){const _0x3bd1f4=a67_0x3bd1();return a67_0x3e62=function(_0x3e62ac,_0x4af625){_0x3e62ac=_0x3e62ac-0xdb;let _0x299737=_0x3bd1f4[_0x3e62ac];return _0x299737;},a67_0x3e62(_0x25356b,_0x307cdc);}(function(_0xec5324,_0x10b870){const _0x498ccf=a67_0x3e62,_0x383d96=_0xec5324();while(!![]){try{const _0x45b6f1=-parseInt(_0x498ccf(0xdc))/0x1*(parseInt(_0x498ccf(0xec))/0x2)+-parseInt(_0x498ccf(0xe5))/0x3*(-parseInt(_0x498ccf(0xea))/0x4)+-parseInt(_0x498ccf(0xe0))/0x5*(parseInt(_0x498ccf(0xee))/0x6)+parseInt(_0x498ccf(0xe2))/0x7*(parseInt(_0x498ccf(0xe4))/0x8)+parseInt(_0x498ccf(0xe3))/0x9+parseInt(_0x498ccf(0xe9))/0xa*(-parseInt(_0x498ccf(0xdf))/0xb)+parseInt(_0x498ccf(0xe1))/0xc;if(_0x45b6f1===_0x10b870)break;else _0x383d96['push'](_0x383d96['shift']());}catch(_0x48f2f3){_0x383d96['push'](_0x383d96['shift']());}}}(a67_0x3bd1,0xaf272));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a67_0x4d0312 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a67_0x4d0312{constructor(_0x3cf6b1){const _0x1f0dd8=a67_0x3e62;super(),this[_0x1f0dd8(0xde)]=_0x1f0dd8(0xdd),_0x3cf6b1&&_0x3cf6b1[_0x1f0dd8(0xed)]>0x0&&getDeepth(_0x3cf6b1)==0x2?this['setPoints'](_0x3cf6b1):this[_0x1f0dd8(0xdb)](_0x3cf6b1);}[a67_0x4b250e(0xeb)](){const _0x51ec40=a67_0x4b250e;if(this[_0x51ec40(0xe7)][_0x51ec40(0xed)]===0x2){let _0x178659=[],_0x3f97b6=boundingExtent(this[_0x51ec40(0xe7)]),_0x404a09=fromExtent(_0x3f97b6);_0x178659=_0x404a09[_0x51ec40(0xe8)](),this[_0x51ec40(0xdb)](_0x178659);}}[a67_0x4b250e(0xe6)](_0x227236,_0x427418){const _0x57d9f6=a67_0x4b250e;_0x427418>=0x0&&_0x427418<this[_0x57d9f6(0xe7)]['length']&&(this[_0x57d9f6(0xe7)][_0x427418]=_0x227236,this[_0x57d9f6(0xeb)]());}['updateLastPoint'](_0x35d1e1){const _0x1484ea=a67_0x4b250e;this[_0x1484ea(0xe6)](_0x35d1e1,this[_0x1484ea(0xe7)][_0x1484ea(0xed)]-0x1);}}export default RectAngle;function a67_0x3bd1(){const _0x3eb6d9=['5bjwMhY','11643312AoZoFP','2863nmQHGU','791172OLbowC','26848cLBdOY','9XzdMDS','updatePoint','points','getCoordinates','3740woiwcc','77540GcpCaa','generate','760dauFFW','length','7681398CFnEUZ','setCoordinates','37ksWrZK','Polygon','type','14036lBDrCY'];a67_0x3bd1=function(){return _0x3eb6d9;};return a67_0x3bd1();}
1
+ const a68_0x224669=a68_0x3964;function a68_0x3964(_0x8d913d,_0xeb3634){const _0xed8f6c=a68_0xed8f();return a68_0x3964=function(_0x39640d,_0x1a9c41){_0x39640d=_0x39640d-0xd3;let _0x2e1d13=_0xed8f6c[_0x39640d];return _0x2e1d13;},a68_0x3964(_0x8d913d,_0xeb3634);}(function(_0x361776,_0x493257){const _0x4c890e=a68_0x3964,_0x270a63=_0x361776();while(!![]){try{const _0x4bfd93=parseInt(_0x4c890e(0xd3))/0x1+-parseInt(_0x4c890e(0xdb))/0x2*(parseInt(_0x4c890e(0xd8))/0x3)+parseInt(_0x4c890e(0xe3))/0x4+parseInt(_0x4c890e(0xde))/0x5*(parseInt(_0x4c890e(0xdf))/0x6)+-parseInt(_0x4c890e(0xe2))/0x7*(-parseInt(_0x4c890e(0xd5))/0x8)+parseInt(_0x4c890e(0xe0))/0x9+-parseInt(_0x4c890e(0xdc))/0xa;if(_0x4bfd93===_0x493257)break;else _0x270a63['push'](_0x270a63['shift']());}catch(_0x29b368){_0x270a63['push'](_0x270a63['shift']());}}}(a68_0xed8f,0x41ec4));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a68_0x5e6059 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a68_0xed8f(){const _0x4f5d17=['1219674DBxTXM','3914586tfAVll','points','7zBSVOf','207840BreghZ','168888QNPCrI','generate','2693320cuiYbI','updateLastPoint','updatePoint','1531308mQMwHb','length','setPoints','2IuXXme','4152900YgWoob','setCoordinates','5rpYpdx'];a68_0xed8f=function(){return _0x4f5d17;};return a68_0xed8f();}class RectAngle extends a68_0x5e6059{constructor(_0x20dd3f){const _0x35321f=a68_0x3964;super(),this['type']='Polygon',_0x20dd3f&&_0x20dd3f[_0x35321f(0xd9)]>0x0&&getDeepth(_0x20dd3f)==0x2?this[_0x35321f(0xda)](_0x20dd3f):this[_0x35321f(0xdd)](_0x20dd3f);}[a68_0x224669(0xd4)](){const _0x590820=a68_0x224669;if(this[_0x590820(0xe1)][_0x590820(0xd9)]===0x2){let _0x192779=[],_0x535212=boundingExtent(this[_0x590820(0xe1)]),_0x358e9b=fromExtent(_0x535212);_0x192779=_0x358e9b['getCoordinates'](),this[_0x590820(0xdd)](_0x192779);}}[a68_0x224669(0xd7)](_0x41cd55,_0x32d5c4){const _0x978226=a68_0x224669;_0x32d5c4>=0x0&&_0x32d5c4<this[_0x978226(0xe1)][_0x978226(0xd9)]&&(this[_0x978226(0xe1)][_0x32d5c4]=_0x41cd55,this['generate']());}[a68_0x224669(0xd6)](_0x38c939){const _0x16d581=a68_0x224669;this[_0x16d581(0xd7)](_0x38c939,this[_0x16d581(0xe1)][_0x16d581(0xd9)]-0x1);}}export default RectAngle;
@@ -1 +1 @@
1
- function a68_0x2388(_0x203fc8,_0x2bd7a5){var _0x138c0a=a68_0x138c();return a68_0x2388=function(_0x238842,_0x58146d){_0x238842=_0x238842-0x15d;var _0x685b28=_0x138c0a[_0x238842];return _0x685b28;},a68_0x2388(_0x203fc8,_0x2bd7a5);}var a68_0x5baeae=a68_0x2388;(function(_0x53a6e8,_0x354141){var _0x4a4c0e=a68_0x2388,_0x55dfb5=_0x53a6e8();while(!![]){try{var _0x128048=-parseInt(_0x4a4c0e(0x168))/0x1*(-parseInt(_0x4a4c0e(0x161))/0x2)+parseInt(_0x4a4c0e(0x15d))/0x3+-parseInt(_0x4a4c0e(0x16b))/0x4*(-parseInt(_0x4a4c0e(0x177))/0x5)+parseInt(_0x4a4c0e(0x15f))/0x6+parseInt(_0x4a4c0e(0x176))/0x7*(-parseInt(_0x4a4c0e(0x165))/0x8)+parseInt(_0x4a4c0e(0x178))/0x9*(-parseInt(_0x4a4c0e(0x16d))/0xa)+-parseInt(_0x4a4c0e(0x167))/0xb*(parseInt(_0x4a4c0e(0x16a))/0xc);if(_0x128048===_0x354141)break;else _0x55dfb5['push'](_0x55dfb5['shift']());}catch(_0x3e272b){_0x55dfb5['push'](_0x55dfb5['shift']());}}}(a68_0x138c,0x56adc));import{LineString}from'ol/geom';import a68_0x15a29c from'ol/format/GeoJSON';function a68_0x138c(){var _0x5ed2be=['83250olFcab','getPoints','2812284ySsTug','setStyle','4446hfWMDm','setPoints','isPlot','generate','36088fzaSIj','getPointCount','4598wUKMSX','31nycwJq','points','6432bfWBim','8mkeeHT','length','1418470vitrdv','style','getMap','stringify','setMap','slice','传入的不是地图对象!','map','writeGeometryObject','259TJCyMh','1160770HhCEpj','18NkOjBQ'];a68_0x138c=function(){return _0x5ed2be;};return a68_0x138c();}import a68_0x57a5c7 from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x1f6f8d=a68_0x2388;super([]),this[_0x1f6f8d(0x169)]=[];}['getPlotType'](){return this['type'];}['getGeoJson'](){var _0x2b373c=a68_0x2388;return new a68_0x15a29c()[_0x2b373c(0x175)](this);}[a68_0x5baeae(0x160)](_0x1e8927){var _0x50454c=a68_0x5baeae;this[_0x50454c(0x16e)]=JSON['parse'](JSON[_0x50454c(0x170)](_0x1e8927));}[a68_0x5baeae(0x171)](_0x3d0301){var _0x52569d=a68_0x5baeae;if(_0x3d0301&&_0x3d0301 instanceof a68_0x57a5c7)this['map']=_0x3d0301;else throw new Error(_0x52569d(0x173));}[a68_0x5baeae(0x16f)](){var _0x190aed=a68_0x5baeae;return this[_0x190aed(0x174)];}[a68_0x5baeae(0x163)](){return!![];}[a68_0x5baeae(0x162)](_0x33ba26){var _0x2d15ec=a68_0x5baeae;this[_0x2d15ec(0x169)]=!_0x33ba26?[]:_0x33ba26,this[_0x2d15ec(0x169)]['length']>=0x1&&(this[_0x2d15ec(0x164)]&&this[_0x2d15ec(0x164)]());}[a68_0x5baeae(0x164)](){}[a68_0x5baeae(0x15e)](){var _0x252079=a68_0x5baeae;return this[_0x252079(0x169)][_0x252079(0x172)](0x0);}[a68_0x5baeae(0x166)](){var _0x5eecef=a68_0x5baeae;return this[_0x5eecef(0x169)][_0x5eecef(0x16c)];}['finishDrawing'](){}}export default Plot;
1
+ var a69_0x124a2e=a69_0x3800;(function(_0x4c26a3,_0x2af2e8){var _0x2c51b2=a69_0x3800,_0x1eda0e=_0x4c26a3();while(!![]){try{var _0xf561c8=-parseInt(_0x2c51b2(0x12d))/0x1+-parseInt(_0x2c51b2(0x124))/0x2*(parseInt(_0x2c51b2(0x136))/0x3)+-parseInt(_0x2c51b2(0x132))/0x4*(-parseInt(_0x2c51b2(0x138))/0x5)+parseInt(_0x2c51b2(0x11f))/0x6+-parseInt(_0x2c51b2(0x137))/0x7+parseInt(_0x2c51b2(0x129))/0x8+parseInt(_0x2c51b2(0x128))/0x9;if(_0xf561c8===_0x2af2e8)break;else _0x1eda0e['push'](_0x1eda0e['shift']());}catch(_0x237bc7){_0x1eda0e['push'](_0x1eda0e['shift']());}}}(a69_0x1f0c,0x84d14));import{LineString}from'ol/geom';function a69_0x3800(_0x371aaf,_0x19ef76){var _0x1f0cb6=a69_0x1f0c();return a69_0x3800=function(_0x380040,_0x4c2122){_0x380040=_0x380040-0x11e;var _0x4a890a=_0x1f0cb6[_0x380040];return _0x4a890a;},a69_0x3800(_0x371aaf,_0x19ef76);}import a69_0x459e19 from'ol/format/GeoJSON';import a69_0x34232 from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x3b5649=a69_0x3800;super([]),this[_0x3b5649(0x130)]=[];}[a69_0x124a2e(0x11e)](){var _0x118a7f=a69_0x124a2e;return this[_0x118a7f(0x135)];}[a69_0x124a2e(0x125)](){var _0x30acd7=a69_0x124a2e;return new a69_0x459e19()[_0x30acd7(0x133)](this);}[a69_0x124a2e(0x12c)](_0x19e6c6){var _0x365da1=a69_0x124a2e;this[_0x365da1(0x121)]=JSON[_0x365da1(0x123)](JSON[_0x365da1(0x12b)](_0x19e6c6));}['setMap'](_0x1d747c){var _0x207e21=a69_0x124a2e;if(_0x1d747c&&_0x1d747c instanceof a69_0x34232)this['map']=_0x1d747c;else throw new Error(_0x207e21(0x122));}[a69_0x124a2e(0x134)](){var _0x1b890e=a69_0x124a2e;return this[_0x1b890e(0x12e)];}[a69_0x124a2e(0x120)](){return!![];}[a69_0x124a2e(0x127)](_0x31dce9){var _0x4e28ad=a69_0x124a2e;this[_0x4e28ad(0x130)]=!_0x31dce9?[]:_0x31dce9,this[_0x4e28ad(0x130)][_0x4e28ad(0x126)]>=0x1&&(this[_0x4e28ad(0x12a)]&&this[_0x4e28ad(0x12a)]());}[a69_0x124a2e(0x12a)](){}['getPoints'](){return this['points']['slice'](0x0);}[a69_0x124a2e(0x12f)](){var _0x55a2dd=a69_0x124a2e;return this['points'][_0x55a2dd(0x126)];}[a69_0x124a2e(0x131)](){}}export default Plot;function a69_0x1f0c(){var _0x472588=['2184128sJrzRR','generate','stringify','setStyle','818538kkvuAL','map','getPointCount','points','finishDrawing','105956SYMUGo','writeGeometryObject','getMap','type','973551RlzmkX','5496183GNrtlR','75TsLWlg','getPlotType','605508wEdyDW','isPlot','style','传入的不是地图对象!','parse','2YxQFda','getGeoJson','length','setPoints','15308775LanMlA'];a69_0x1f0c=function(){return _0x472588;};return a69_0x1f0c();}
@@ -1 +1 @@
1
- var a69_0x33e706=a69_0x3ded;(function(_0x4c3c7d,_0x3e2699){var _0x10ff39=a69_0x3ded,_0x655b5d=_0x4c3c7d();while(!![]){try{var _0x4c5abe=-parseInt(_0x10ff39(0x130))/0x1+-parseInt(_0x10ff39(0x12a))/0x2*(parseInt(_0x10ff39(0x137))/0x3)+-parseInt(_0x10ff39(0x13b))/0x4+-parseInt(_0x10ff39(0x12c))/0x5*(-parseInt(_0x10ff39(0x131))/0x6)+-parseInt(_0x10ff39(0x12d))/0x7+-parseInt(_0x10ff39(0x136))/0x8+-parseInt(_0x10ff39(0x133))/0x9*(-parseInt(_0x10ff39(0x127))/0xa);if(_0x4c5abe===_0x3e2699)break;else _0x655b5d['push'](_0x655b5d['shift']());}catch(_0x16c379){_0x655b5d['push'](_0x655b5d['shift']());}}}(a69_0x2ec9,0x1964c));import a69_0x467642 from'./BaseLine';class Polyline extends a69_0x467642{constructor(_0x59ad40){var _0x3680d2=a69_0x3ded;super(),this[_0x3680d2(0x135)]='LineString',this[_0x3680d2(0x12f)](_0x59ad40);}['generate'](){var _0x534464=a69_0x3ded;this['setCoordinates'](this[_0x534464(0x13a)]);}[a69_0x33e706(0x132)](_0x28a514,_0x1b3b9e){var _0x1e6c70=a69_0x33e706;_0x1b3b9e>=0x0&&_0x1b3b9e<this[_0x1e6c70(0x13a)][_0x1e6c70(0x129)]&&(this[_0x1e6c70(0x13a)][_0x1b3b9e]=_0x28a514,this[_0x1e6c70(0x134)]());}[a69_0x33e706(0x138)](_0x2a58b3){var _0x13c0ad=a69_0x33e706;this[_0x13c0ad(0x132)](_0x2a58b3,this[_0x13c0ad(0x13a)][_0x13c0ad(0x129)]-0x1);}[a69_0x33e706(0x12e)](){return![];}[a69_0x33e706(0x139)](_0x15c7bc){var _0x2473b3=a69_0x33e706;this[_0x2473b3(0x128)]=JSON[_0x2473b3(0x12b)](JSON[_0x2473b3(0x13c)](_0x15c7bc));}}function a69_0x3ded(_0x3a4a84,_0x114813){var _0x2ec94b=a69_0x2ec9();return a69_0x3ded=function(_0x3ded42,_0x5ab6e5){_0x3ded42=_0x3ded42-0x127;var _0x5bd067=_0x2ec94b[_0x3ded42];return _0x5bd067;},a69_0x3ded(_0x3a4a84,_0x114813);}function a69_0x2ec9(){var _0x52877b=['1569416rykYtL','137661EmdMTR','updateLastPoint','setStyle','points','512828lnrgYW','stringify','760tXYPys','style','length','2LtrlsB','parse','235gFnyXD','157423YhIhnX','isPlot','setCoordinates','32469ulvFrP','9282JfQSkT','updatePoint','54063QqKFgq','generate','type'];a69_0x2ec9=function(){return _0x52877b;};return a69_0x2ec9();}export default Polyline;
1
+ function a70_0x3a8a(_0x50da75,_0x79c8c0){var _0x403ecb=a70_0x403e();return a70_0x3a8a=function(_0x3a8a4d,_0x3575ea){_0x3a8a4d=_0x3a8a4d-0xd9;var _0x542c41=_0x403ecb[_0x3a8a4d];return _0x542c41;},a70_0x3a8a(_0x50da75,_0x79c8c0);}var a70_0xcecc71=a70_0x3a8a;(function(_0xcdcd05,_0x5f4dda){var _0x593160=a70_0x3a8a,_0x2af8a3=_0xcdcd05();while(!![]){try{var _0xd76dd2=parseInt(_0x593160(0xdc))/0x1+-parseInt(_0x593160(0xe0))/0x2*(parseInt(_0x593160(0xdf))/0x3)+parseInt(_0x593160(0xea))/0x4*(parseInt(_0x593160(0xdd))/0x5)+-parseInt(_0x593160(0xe2))/0x6+-parseInt(_0x593160(0xde))/0x7+parseInt(_0x593160(0xd9))/0x8*(-parseInt(_0x593160(0xdb))/0x9)+-parseInt(_0x593160(0xda))/0xa*(-parseInt(_0x593160(0xec))/0xb);if(_0xd76dd2===_0x5f4dda)break;else _0x2af8a3['push'](_0x2af8a3['shift']());}catch(_0x230794){_0x2af8a3['push'](_0x2af8a3['shift']());}}}(a70_0x403e,0x4c0d4));function a70_0x403e(){var _0x316da5=['type','length','setStyle','points','116ZMOlns','generate','66fhnJaM','896HolQVx','192650LYGylC','10818kUTblp','6937HXwWmC','105775YtuXSv','410613jEkTpp','76389xmrNFC','16yxAplc','updatePoint','165162ESGbMy','setCoordinates','isPlot','LineString'];a70_0x403e=function(){return _0x316da5;};return a70_0x403e();}import a70_0x3f34e3 from'./BaseLine';class Polyline extends a70_0x3f34e3{constructor(_0xf31c47){var _0x1ba42c=a70_0x3a8a;super(),this[_0x1ba42c(0xe6)]=_0x1ba42c(0xe5),this[_0x1ba42c(0xe3)](_0xf31c47);}[a70_0xcecc71(0xeb)](){var _0x384479=a70_0xcecc71;this[_0x384479(0xe3)](this['points']);}[a70_0xcecc71(0xe1)](_0x381b43,_0xb28bf7){var _0x3cfca6=a70_0xcecc71;_0xb28bf7>=0x0&&_0xb28bf7<this['points'][_0x3cfca6(0xe7)]&&(this[_0x3cfca6(0xe9)][_0xb28bf7]=_0x381b43,this['generate']());}['updateLastPoint'](_0x5a9eec){var _0x241222=a70_0xcecc71;this[_0x241222(0xe1)](_0x5a9eec,this[_0x241222(0xe9)]['length']-0x1);}[a70_0xcecc71(0xe4)](){return![];}[a70_0xcecc71(0xe8)](_0x3d0316){this['style']=JSON['parse'](JSON['stringify'](_0x3d0316));}}export default Polyline;